pkgfiles_all = {
    "/bin": "APKFILE",
    "/bin/busybox": "APKFILE",
    "/bin/sh": "APKFILE",
    "/dev": "APKFILE",
    "/dev/pts": "APKFILE",
    "/dev/shm": "APKFILE",
    "/etc": "APKFILE",
    "/etc/apk": "APKFILE",
    "/etc/apk/keys": "APKFILE",
    "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub": "APKFILE",
    "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub": "APKFILE",
    "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub": "APKFILE",
    "/etc/apk/protected_paths.d": "APKFILE",
    "/var/local": "APKFILE",
    "/var/lock": "APKFILE",
    "/var/lock/subsys": "APKFILE",
    "/var/log": "APKFILE",
    "/var/mail": "APKFILE",
    "/var/opt": "APKFILE",
    "/var/run": "APKFILE",
    "/var/spool": "APKFILE",
    "/var/spool/cron": "APKFILE",
    "/var/spool/cron/crontabs": "APKFILE",
    "/var/spool/mail": "APKFILE",
    "/var/tmp": "APKFILE",
}

pkgs_all = {
    "alpine-baselayout": "3.2.0-r6",
    "alpine-keys": "2.2-r0",
    "apk-tools": "2.10.5-r1",
    "busybox": "1.31.1-r16",
    "ca-certificates-bundle": "20191127-r2",
    "libc-utils": "0.7.2-r3",
    "libcrypto1.1": "1.1.1g-r0",
    "libssl1.1": "1.1.1g-r0",
    "libtls-standalone": "2.9.1-r1",
    "musl": "1.1.24-r8",
    "musl-utils": "1.1.24-r8",
    "scanelf": "1.2.6-r0",
    "ssl_client": "1.31.1-r16",
    "zlib": "1.2.11-r3",
}

pkgs_allinfo = {
    "alpine-baselayout": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:alpine-baselayout:alpine-baselayout:3.2.0-r6:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine_baselayout:alpine-baselayout:3.2.0-r6:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine-baselayout:alpine_baselayout:3.2.0-r6:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine_baselayout:alpine_baselayout:3.2.0-r6:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine:alpine-baselayout:3.2.0-r6:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine:alpine_baselayout:3.2.0-r6:*:*:*:*:*:*:*",
        ],
        "files": [
            "/dev",
            "/dev/pts",
            "/dev/shm",
            "/etc",
            "/etc/fstab",
            "/etc/group",
            "/etc/hostname",
            "/etc/hosts",
            "/etc/inittab",
            "/etc/modules",
            "/etc/motd",
            "/etc/mtab",
            "/etc/passwd",
            "/etc/profile",
            "/etc/protocols",
            "/etc/services",
            "/etc/shadow",
            "/etc/shells",
            "/etc/sysctl.conf",
            "/etc/apk",
            "/etc/conf.d",
            "/etc/crontabs",
            "/etc/crontabs/root",
            "/etc/init.d",
            "/etc/modprobe.d",
            "/etc/modprobe.d/aliases.conf",
            "/etc/modprobe.d/blacklist.conf",
            "/etc/modprobe.d/i386.conf",
            "/etc/modprobe.d/kms.conf",
            "/etc/modules-load.d",
            "/etc/network",
            "/etc/network/if-down.d",
            "/etc/network/if-post-down.d",
            "/etc/network/if-pre-up.d",
            "/etc/network/if-up.d",
            "/etc/opt",
            "/etc/periodic",
            "/etc/periodic/15min",
            "/etc/periodic/daily",
            "/etc/periodic/hourly",
            "/etc/periodic/monthly",
            "/etc/periodic/weekly",
            "/etc/profile.d",
            "/etc/profile.d/color_prompt",
            "/etc/profile.d/locale",
            "/etc/sysctl.d",
            "/home",
            "/lib",
            "/lib/firmware",
            "/lib/mdev",
            "/lib/modules-load.d",
            "/lib/sysctl.d",
            "/lib/sysctl.d/00-alpine.conf",
            "/media",
            "/media/cdrom",
            "/media/floppy",
            "/media/usb",
            "/mnt",
            "/opt",
            "/proc",
            "/root",
            "/run",
            "/sbin",
            "/sbin/mkmntdirs",
            "/srv",
            "/sys",
            "/tmp",
            "/usr",
            "/usr/lib",
            "/usr/lib/modules-load.d",
            "/usr/local",
            "/usr/local/bin",
            "/usr/local/lib",
            "/usr/local/share",
            "/usr/sbin",
            "/usr/share",
            "/usr/share/man",
            "/usr/share/misc",
            "/var",
            "/var/run",
            "/var/cache",
            "/var/cache/misc",
            "/var/empty",
            "/var/lib",
            "/var/lib/misc",
            "/var/local",
            "/var/lock",
            "/var/lock/subsys",
            "/var/log",
            "/var/mail",
            "/var/opt",
            "/var/spool",
            "/var/spool/mail",
            "/var/spool/cron",
            "/var/spool/cron/crontabs",
            "/var/tmp",
        ],
        "license": "GPL-2.0-only",
        "name": "alpine-baselayout",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r6",
        "size": "409600",
        "sourcepkg": "alpine-baselayout",
        "type": "APKG",
        "version": "3.2.0",
    },
    "alpine-keys": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:alpine-keys:alpine-keys:2.2-r0:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine_keys:alpine-keys:2.2-r0:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine-keys:alpine_keys:2.2-r0:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine_keys:alpine_keys:2.2-r0:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine:alpine-keys:2.2-r0:*:*:*:*:*:*:*",
            "cpe:2.3:a:alpine:alpine_keys:2.2-r0:*:*:*:*:*:*:*",
        ],
        "files": [
            "/etc",
            "/etc/apk",
            "/etc/apk/keys",
            "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
            "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub",
            "/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub",
            "/usr",
            "/usr/share",
            "/usr/share/apk",
            "/usr/share/apk/keys",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub",
            "/usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub",
            "/usr/share/apk/keys/aarch64",
            "/usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub",
            "/usr/share/apk/keys/armhf",
            "/usr/share/apk/keys/armhf/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub",
            "/usr/share/apk/keys/mips64",
            "/usr/share/apk/keys/mips64/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub",
            "/usr/share/apk/keys/ppc64le",
            "/usr/share/apk/keys/ppc64le/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub",
            "/usr/share/apk/keys/s390x",
            "/usr/share/apk/keys/s390x/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub",
            "/usr/share/apk/keys/x86",
            "/usr/share/apk/keys/x86/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
            "/usr/share/apk/keys/x86/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub",
            "/usr/share/apk/keys/x86_64",
            "/usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
            "/usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub",
        ],
        "license": "MIT",
        "name": "alpine-keys",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r0",
        "size": "106496",
        "sourcepkg": "alpine-keys",
        "type": "APKG",
        "version": "2.2",
    },
    "apk-tools": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:apk-tools:apk-tools:2.10.5-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:apk_tools:apk-tools:2.10.5-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:apk-tools:apk_tools:2.10.5-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:apk_tools:apk_tools:2.10.5-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:apk:apk-tools:2.10.5-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:apk:apk_tools:2.10.5-r1:*:*:*:*:*:*:*",
        ],
        "files": [
            "/etc",
            "/etc/apk",
            "/etc/apk/keys",
            "/etc/apk/protected_paths.d",
            "/sbin",
            "/sbin/apk",
            "/var",
            "/var/cache",
            "/var/cache/misc",
            "/var/lib",
            "/var/lib/apk",
        ],
        "license": "GPL-2.0-only",
        "name": "apk-tools",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r1",
        "size": "262144",
        "sourcepkg": "apk-tools",
        "type": "APKG",
        "version": "2.10.5",
    },
    "busybox": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:busybox:busybox:1.31.1-r16:*:*:*:*:*:*:*"],
        "files": [
            "/bin",
            "/bin/busybox",
            "/bin/sh",
            "/etc",
            "/etc/securetty",
            "/etc/udhcpd.conf",
            "/etc/logrotate.d",
            "/etc/logrotate.d/acpid",
            "/etc/network",
            "/etc/network/if-down.d",
            "/etc/network/if-post-down.d",
            "/etc/network/if-post-up.d",
            "/etc/network/if-pre-down.d",
            "/etc/network/if-pre-up.d",
            "/etc/network/if-up.d",
            "/etc/network/if-up.d/dad",
            "/sbin",
            "/tmp",
            "/usr",
            "/usr/sbin",
            "/usr/share",
            "/usr/share/udhcpc",
            "/usr/share/udhcpc/default.script",
            "/var",
            "/var/cache",
            "/var/cache/misc",
            "/var/lib",
            "/var/lib/udhcpd",
        ],
        "license": "GPL-2.0-only",
        "name": "busybox",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r16",
        "size": "962560",
        "sourcepkg": "busybox",
        "type": "APKG",
        "version": "1.31.1",
    },
    "ca-certificates-bundle": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:ca_certificates_bundle:ca_certificates_bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca_certificates_bundle:ca-certificates-bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca-certificates-bundle:ca_certificates_bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca-certificates-bundle:ca-certificates-bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca_certificates:ca_certificates_bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca_certificates:ca-certificates-bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca-certificates:ca_certificates_bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca-certificates:ca-certificates-bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca:ca_certificates_bundle:20191127-r2:*:*:*:*:*:*:*",
            "cpe:2.3:a:ca:ca-certificates-bundle:20191127-r2:*:*:*:*:*:*:*",
        ],
        "files": [
            "/etc",
            "/etc/ssl",
            "/etc/ssl/cert.pem",
            "/etc/ssl/certs",
            "/etc/ssl/certs/ca-certificates.crt",
        ],
        "license": "MPL-2.0 GPL-2.0-or-later",
        "name": "ca-certificates-bundle",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r2",
        "size": "233472",
        "sourcepkg": "ca-certificates",
        "type": "APKG",
        "version": "20191127",
    },
    "libc-utils": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:libc-utils:libc_utils:0.7.2-r3:*:*:*:*:*:*:*",
            "cpe:2.3:a:libc_utils:libc_utils:0.7.2-r3:*:*:*:*:*:*:*",
            "cpe:2.3:a:libc-utils:libc-utils:0.7.2-r3:*:*:*:*:*:*:*",
            "cpe:2.3:a:libc_utils:libc-utils:0.7.2-r3:*:*:*:*:*:*:*",
            "cpe:2.3:a:libc:libc_utils:0.7.2-r3:*:*:*:*:*:*:*",
            "cpe:2.3:a:libc:libc-utils:0.7.2-r3:*:*:*:*:*:*:*",
        ],
        "files": [],
        "license": "BSD-2-Clause AND BSD-3-Clause",
        "name": "libc-utils",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r3",
        "size": "4096",
        "sourcepkg": "libc-dev",
        "type": "APKG",
        "version": "0.7.2",
    },
    "libcrypto1.1": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:libcrypto1.1:libcrypto1.1:1.1.1g-r0:*:*:*:*:*:*:*"],
        "files": [
            "/etc",
            "/etc/ssl",
            "/etc/ssl/ct_log_list.cnf",
            "/etc/ssl/ct_log_list.cnf.dist",
            "/etc/ssl/openssl.cnf",
            "/etc/ssl/openssl.cnf.dist",
            "/etc/ssl/certs",
            "/etc/ssl/misc",
            "/etc/ssl/misc/CA.pl",
            "/etc/ssl/misc/tsget",
            "/etc/ssl/misc/tsget.pl",
            "/etc/ssl/private",
            "/lib",
            "/lib/libcrypto.so.1.1",
            "/usr",
            "/usr/lib",
            "/usr/lib/libcrypto.so.1.1",
            "/usr/lib/engines-1.1",
            "/usr/lib/engines-1.1/afalg.so",
            "/usr/lib/engines-1.1/capi.so",
            "/usr/lib/engines-1.1/padlock.so",
        ],
        "license": "OpenSSL",
        "name": "libcrypto1.1",
        "origin": "Timo Teras <timo.teras@iki.fi>",
        "release": "r0",
        "size": "2760704",
        "sourcepkg": "openssl",
        "type": "APKG",
        "version": "1.1.1g",
    },
    "libssl1.1": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:libssl1.1:libssl1.1:1.1.1g-r0:*:*:*:*:*:*:*"],
        "files": [
            "/lib",
            "/lib/libssl.so.1.1",
            "/usr",
            "/usr/lib",
            "/usr/lib/libssl.so.1.1",
        ],
        "license": "OpenSSL",
        "name": "libssl1.1",
        "origin": "Timo Teras <timo.teras@iki.fi>",
        "release": "r0",
        "size": "540672",
        "sourcepkg": "openssl",
        "type": "APKG",
        "version": "1.1.1g",
    },
    "libtls-standalone": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:libtls-standalone:libtls-standalone:2.9.1-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:libtls_standalone:libtls-standalone:2.9.1-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:libtls-standalone:libtls_standalone:2.9.1-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:libtls_standalone:libtls_standalone:2.9.1-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:libtls:libtls-standalone:2.9.1-r1:*:*:*:*:*:*:*",
            "cpe:2.3:a:libtls:libtls_standalone:2.9.1-r1:*:*:*:*:*:*:*",
        ],
        "files": [
            "/usr",
            "/usr/lib",
            "/usr/lib/libtls-standalone.so.1",
            "/usr/lib/libtls-standalone.so.1.0.0",
        ],
        "license": "ISC",
        "name": "libtls-standalone",
        "origin": "N/A",
        "release": "r1",
        "size": "110592",
        "sourcepkg": "libtls-standalone",
        "type": "APKG",
        "version": "2.9.1",
    },
    "musl": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:musl:musl:1.1.24-r8:*:*:*:*:*:*:*"],
        "files": ["/lib", "/lib/ld-musl-x86_64.so.1", "/lib/libc.musl-x86_64.so.1"],
        "license": "MIT",
        "name": "musl",
        "origin": "Timo Ter\u00e4s <timo.teras@iki.fi>",
        "release": "r8",
        "size": "614400",
        "sourcepkg": "musl",
        "type": "APKG",
        "version": "1.1.24",
    },
    "musl-utils": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:musl-utils:musl-utils:1.1.24-r8:*:*:*:*:*:*:*",
            "cpe:2.3:a:musl_utils:musl-utils:1.1.24-r8:*:*:*:*:*:*:*",
            "cpe:2.3:a:musl-utils:musl_utils:1.1.24-r8:*:*:*:*:*:*:*",
            "cpe:2.3:a:musl_utils:musl_utils:1.1.24-r8:*:*:*:*:*:*:*",
            "cpe:2.3:a:musl:musl-utils:1.1.24-r8:*:*:*:*:*:*:*",
            "cpe:2.3:a:musl:musl_utils:1.1.24-r8:*:*:*:*:*:*:*",
        ],
        "files": [
            "/sbin",
            "/sbin/ldconfig",
            "/usr",
            "/usr/bin",
            "/usr/bin/getconf",
            "/usr/bin/getent",
            "/usr/bin/iconv",
            "/usr/bin/ldd",
        ],
        "license": "MIT BSD GPL2+",
        "name": "musl-utils",
        "origin": "Timo Ter\u00e4s <timo.teras@iki.fi>",
        "release": "r8",
        "size": "151552",
        "sourcepkg": "musl",
        "type": "APKG",
        "version": "1.1.24",
    },
    "scanelf": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:scanelf:scanelf:1.2.6-r0:*:*:*:*:*:*:*"],
        "files": ["/usr", "/usr/bin", "/usr/bin/scanelf"],
        "license": "GPL-2.0-only",
        "name": "scanelf",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r0",
        "size": "94208",
        "sourcepkg": "pax-utils",
        "type": "APKG",
        "version": "1.2.6",
    },
    "ssl_client": {
        "arch": "x86_64",
        "cpes": [
            "cpe:2.3:a:ssl_client:ssl-client:1.31.1-r16:*:*:*:*:*:*:*",
            "cpe:2.3:a:ssl-client:ssl-client:1.31.1-r16:*:*:*:*:*:*:*",
            "cpe:2.3:a:ssl_client:ssl_client:1.31.1-r16:*:*:*:*:*:*:*",
            "cpe:2.3:a:ssl-client:ssl_client:1.31.1-r16:*:*:*:*:*:*:*",
            "cpe:2.3:a:ssl:ssl-client:1.31.1-r16:*:*:*:*:*:*:*",
            "cpe:2.3:a:ssl:ssl_client:1.31.1-r16:*:*:*:*:*:*:*",
        ],
        "files": ["/usr", "/usr/bin", "/usr/bin/ssl_client"],
        "license": "GPL-2.0-only",
        "name": "ssl_client",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r16",
        "size": "28672",
        "sourcepkg": "busybox",
        "type": "APKG",
        "version": "1.31.1",
    },
    "zlib": {
        "arch": "x86_64",
        "cpes": ["cpe:2.3:a:zlib:zlib:1.2.11-r3:*:*:*:*:*:*:*"],
        "files": ["/lib", "/lib/libz.so.1", "/lib/libz.so.1.2.11"],
        "license": "Zlib",
        "name": "zlib",
        "origin": "Natanael Copa <ncopa@alpinelinux.org>",
        "release": "r3",
        "size": "110592",
        "sourcepkg": "zlib",
        "type": "APKG",
        "version": "1.2.11",
    },
}

pkgs_plus_source_all = {
    "alpine-baselayout": "3.2.0-r6",
    "alpine-keys": "2.2-r0",
    "apk-tools": "2.10.5-r1",
    "busybox": "1.31.1-r16",
    "ca-certificates": "20191127-r2",
    "ca-certificates-bundle": "20191127-r2",
    "libc-dev": "0.7.2-r3",
    "libc-utils": "0.7.2-r3",
    "libcrypto1.1": "1.1.1g-r0",
    "libssl1.1": "1.1.1g-r0",
    "libtls-standalone": "2.9.1-r1",
    "musl": "1.1.24-r8",
    "musl-utils": "1.1.24-r8",
    "openssl": "1.1.1g-r0",
    "pax-utils": "1.2.6-r0",
    "scanelf": "1.2.6-r0",
    "ssl_client": "1.31.1-r16",
    "zlib": "1.2.11-r3",
}
