diff --git a/slices/ca-certificates-java.yaml b/slices/ca-certificates-java.yaml new file mode 100644 index 000000000..2480f8d5b --- /dev/null +++ b/slices/ca-certificates-java.yaml @@ -0,0 +1,13 @@ +package: ca-certificates-java + +slices: + data: + essential: + - ca-certificates_data + - libnss3_libs + contents: + /etc/default/cacerts: + /etc/ssl/certs/java/: + + # we need to run `keytool` in postinst, but we can't yet do + # this from a mutation script diff --git a/slices/fontconfig-config.yaml b/slices/fontconfig-config.yaml new file mode 100644 index 000000000..28143102c --- /dev/null +++ b/slices/fontconfig-config.yaml @@ -0,0 +1,67 @@ +package: fontconfig-config + +slices: + config: + essential: + - fonts-dejavu-core_config + - fonts-dejavu-core_fonts + contents: + /etc/fonts/conf.avail/10-antialias.conf: + /etc/fonts/conf.avail/10-autohint.conf: + /etc/fonts/conf.avail/10-hinting-full.conf: + /etc/fonts/conf.avail/10-hinting-medium.conf: + /etc/fonts/conf.avail/10-hinting-none.conf: + /etc/fonts/conf.avail/10-hinting-slight.conf: + /etc/fonts/conf.avail/10-no-sub-pixel.conf: + /etc/fonts/conf.avail/10-scale-bitmap-fonts.conf: + /etc/fonts/conf.avail/10-sub-pixel-bgr.conf: + /etc/fonts/conf.avail/10-sub-pixel-rgb.conf: + /etc/fonts/conf.avail/10-sub-pixel-vbgr.conf: + /etc/fonts/conf.avail/10-sub-pixel-vrgb.conf: + /etc/fonts/conf.avail/10-unhinted.conf: + /etc/fonts/conf.avail/11-lcdfilter-default.conf: + /etc/fonts/conf.avail/11-lcdfilter-legacy.conf: + /etc/fonts/conf.avail/11-lcdfilter-light.conf: + /etc/fonts/conf.avail/20-unhint-small-vera.conf: + /etc/fonts/conf.avail/25-unhint-nonlatin.conf: + /etc/fonts/conf.avail/30-metric-aliases.conf: + /etc/fonts/conf.avail/40-nonlatin.conf: + /etc/fonts/conf.avail/45-generic.conf: + /etc/fonts/conf.avail/45-latin.conf: + /etc/fonts/conf.avail/49-sansserif.conf: + /etc/fonts/conf.avail/50-user.conf: + /etc/fonts/conf.avail/51-local.conf: + /etc/fonts/conf.avail/53-monospace-lcd-filter.conf: + /etc/fonts/conf.avail/60-generic.conf: + /etc/fonts/conf.avail/60-latin.conf: + /etc/fonts/conf.avail/65-fonts-persian.conf: + /etc/fonts/conf.avail/65-khmer.conf: + /etc/fonts/conf.avail/65-nonlatin.conf: + /etc/fonts/conf.avail/69-unifont.conf: + /etc/fonts/conf.avail/70-force-bitmaps.conf: + /etc/fonts/conf.avail/70-no-bitmaps.conf: + /etc/fonts/conf.avail/70-yes-bitmaps.conf: + /etc/fonts/conf.avail/80-delicious.conf: + /etc/fonts/conf.avail/90-synthetic.conf: + /etc/fonts/conf.d/10-antialias.conf: + /etc/fonts/conf.d/10-hinting-slight.conf: + /etc/fonts/conf.d/10-scale-bitmap-fonts.conf: + /etc/fonts/conf.d/11-lcdfilter-default.conf: + /etc/fonts/conf.d/20-unhint-small-vera.conf: + /etc/fonts/conf.d/30-metric-aliases.conf: + /etc/fonts/conf.d/40-nonlatin.conf: + /etc/fonts/conf.d/45-generic.conf: + /etc/fonts/conf.d/45-latin.conf: + /etc/fonts/conf.d/49-sansserif.conf: + /etc/fonts/conf.d/50-user.conf: + /etc/fonts/conf.d/51-local.conf: + /etc/fonts/conf.d/60-generic.conf: + /etc/fonts/conf.d/60-latin.conf: + /etc/fonts/conf.d/65-fonts-persian.conf: + /etc/fonts/conf.d/65-nonlatin.conf: + /etc/fonts/conf.d/69-unifont.conf: + /etc/fonts/conf.d/70-no-bitmaps.conf: + /etc/fonts/conf.d/80-delicious.conf: + /etc/fonts/conf.d/90-synthetic.conf: + /etc/fonts/fonts.conf: + /usr/share/xml/fontconfig/fonts.dtd: diff --git a/slices/fonts-dejavu-core.yaml b/slices/fonts-dejavu-core.yaml new file mode 100644 index 000000000..a65731bc0 --- /dev/null +++ b/slices/fonts-dejavu-core.yaml @@ -0,0 +1,11 @@ +package: fonts-dejavu-core + +slices: + config: + contents: + /etc/fonts/conf.avail/*dejavu*conf: + /etc/fonts/conf.d/*dejavu*conf: + + fonts: + contents: + /usr/share/fonts/truetype/dejavu/*ttf: diff --git a/slices/libblkid1.yaml b/slices/libblkid1.yaml new file mode 100644 index 000000000..d4b8dc86f --- /dev/null +++ b/slices/libblkid1.yaml @@ -0,0 +1,8 @@ +package: libblkid1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libblkid.so.1*: diff --git a/slices/libbrotli1.yaml b/slices/libbrotli1.yaml new file mode 100644 index 000000000..6cc724ad7 --- /dev/null +++ b/slices/libbrotli1.yaml @@ -0,0 +1,10 @@ +package: libbrotli1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libbrotlicommon.so.1*: + /usr/lib/*-linux-gnu/libbrotlidec.so.1*: + /usr/lib/*-linux-gnu/libbrotlienc.so.1*: diff --git a/slices/libexpat1.yaml b/slices/libexpat1.yaml new file mode 100644 index 000000000..d8e4c687b --- /dev/null +++ b/slices/libexpat1.yaml @@ -0,0 +1,9 @@ +package: libexpat1 + +slices: + libs: + essential: + - libc6_libs + contents: + /lib/*-linux-gnu/libexpat.so.1*: + /usr/lib/*-linux-gnu/libexpatw.so.1*: diff --git a/slices/libffi8.yaml b/slices/libffi8.yaml new file mode 100644 index 000000000..9dbda5372 --- /dev/null +++ b/slices/libffi8.yaml @@ -0,0 +1,8 @@ +package: libffi8 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libffi.so.8*: diff --git a/slices/libfontconfig1.yaml b/slices/libfontconfig1.yaml new file mode 100644 index 000000000..b65613357 --- /dev/null +++ b/slices/libfontconfig1.yaml @@ -0,0 +1,12 @@ +package: libfontconfig1 + +slices: + libs: + essential: + - libc6_libs + - libexpat1_libs + - libfreetype6_libs + - libuuid1_libs + - fontconfig-config_config + contents: + /usr/lib/*-linux-gnu/libfontconfig.so.1*: diff --git a/slices/libfreetype6.yaml b/slices/libfreetype6.yaml new file mode 100644 index 000000000..96844fece --- /dev/null +++ b/slices/libfreetype6.yaml @@ -0,0 +1,11 @@ +package: libfreetype6 + +slices: + libs: + essential: + - libc6_libs + - zlib1g_libs + - libbrotli1_libs + - libpng16-16_libs + contents: + /usr/lib/*-linux-gnu/libfreetype.so.6*: diff --git a/slices/libglib2.0-0.yaml b/slices/libglib2.0-0.yaml new file mode 100644 index 000000000..2dc1ecd71 --- /dev/null +++ b/slices/libglib2.0-0.yaml @@ -0,0 +1,17 @@ +package: libglib2.0-0 + +slices: + libs: + essential: + - libc6_libs + - libffi8_libs + - libmount1_libs + - libpcre3_libs + - libselinux1_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-gnu/libgio-2.0.so.0*: + /usr/lib/*-linux-gnu/libglib-2.0.so.0*: + /usr/lib/*-linux-gnu/libgmodule-2.0.so.0*: + /usr/lib/*-linux-gnu/libgobject-2.0.so.0*: + /usr/lib/*-linux-gnu/libgthread-2.0.so.0*: diff --git a/slices/libjpeg-turbo8.yaml b/slices/libjpeg-turbo8.yaml new file mode 100644 index 000000000..894cefb9a --- /dev/null +++ b/slices/libjpeg-turbo8.yaml @@ -0,0 +1,8 @@ +package: libjpeg-turbo8 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libjpeg.so.8*: diff --git a/slices/liblcms2-2.yaml b/slices/liblcms2-2.yaml new file mode 100644 index 000000000..76c4abfd8 --- /dev/null +++ b/slices/liblcms2-2.yaml @@ -0,0 +1,8 @@ +package: liblcms2-2 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/liblcms2.so.2*: diff --git a/slices/libmount1.yaml b/slices/libmount1.yaml new file mode 100644 index 000000000..ee85a1fb4 --- /dev/null +++ b/slices/libmount1.yaml @@ -0,0 +1,10 @@ +package: libmount1 + +slices: + libs: + essential: + - libc6_libs + - libselinux1_libs + - libblkid1_libs + contents: + /usr/lib/*-linux-gnu/libmount.so.1*: diff --git a/slices/libnspr4.yaml b/slices/libnspr4.yaml new file mode 100644 index 000000000..5799d3350 --- /dev/null +++ b/slices/libnspr4.yaml @@ -0,0 +1,10 @@ +package: libnspr4 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libnspr4.so: + /usr/lib/*-linux-gnu/libplc4.so: + /usr/lib/*-linux-gnu/libplds4.so: diff --git a/slices/libnss3.yaml b/slices/libnss3.yaml new file mode 100644 index 000000000..fb75242b6 --- /dev/null +++ b/slices/libnss3.yaml @@ -0,0 +1,11 @@ +package: libnss3 + +slices: + libs: + essential: + - libc6_libs + - libnspr4_libs + - libsqlite3-0_libs + contents: + /usr/lib/*-linux-gnu/libnssutil3.so: + /usr/lib/*-linux-gnu/libnss3.so: diff --git a/slices/libpcre2-8-0.yaml b/slices/libpcre2-8-0.yaml new file mode 100644 index 000000000..49810259a --- /dev/null +++ b/slices/libpcre2-8-0.yaml @@ -0,0 +1,8 @@ +package: libpcre2-8-0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libpcre2-8.so.0*: diff --git a/slices/libpcre3.yaml b/slices/libpcre3.yaml new file mode 100644 index 000000000..05616b1da --- /dev/null +++ b/slices/libpcre3.yaml @@ -0,0 +1,9 @@ +package: libpcre3 + +slices: + libs: + essential: + - libc6_libs + contents: + /lib/*-linux-gnu/libpcre.so.3*: + /usr/lib/*-linux-gnu/libpcreposix.so.3*: diff --git a/slices/libpcsclite1.yaml b/slices/libpcsclite1.yaml new file mode 100644 index 000000000..7b34077c3 --- /dev/null +++ b/slices/libpcsclite1.yaml @@ -0,0 +1,8 @@ +package: libpcsclite1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libpcsclite.so.1*: diff --git a/slices/libpng16-16.yaml b/slices/libpng16-16.yaml new file mode 100644 index 000000000..809b0e4f1 --- /dev/null +++ b/slices/libpng16-16.yaml @@ -0,0 +1,8 @@ +package: libpng16-16 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libpng16.so.16*: diff --git a/slices/libselinux1.yaml b/slices/libselinux1.yaml new file mode 100644 index 000000000..1af54b69f --- /dev/null +++ b/slices/libselinux1.yaml @@ -0,0 +1,9 @@ +package: libselinux1 + +slices: + libs: + essential: + - libc6_libs + - libpcre2-8-0_libs + contents: + /lib/*-linux-gnu/libselinux.so.1: diff --git a/slices/libsqlite3-0.yaml b/slices/libsqlite3-0.yaml new file mode 100644 index 000000000..2b5c7da32 --- /dev/null +++ b/slices/libsqlite3-0.yaml @@ -0,0 +1,8 @@ +package: libsqlite3-0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libsqlite3.so.0*: diff --git a/slices/libuuid1.yaml b/slices/libuuid1.yaml new file mode 100644 index 000000000..1a4728086 --- /dev/null +++ b/slices/libuuid1.yaml @@ -0,0 +1,8 @@ +package: libuuid1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-gnu/libuuid.so.1*: diff --git a/slices/media-types.yaml b/slices/media-types.yaml new file mode 100644 index 000000000..9fca2ce22 --- /dev/null +++ b/slices/media-types.yaml @@ -0,0 +1,6 @@ +package: media-types + +slices: + data: + contents: + /etc/mime.types: diff --git a/slices/openjdk-8-jre-headless.yaml b/slices/openjdk-8-jre-headless.yaml new file mode 100644 index 000000000..91f06ac4c --- /dev/null +++ b/slices/openjdk-8-jre-headless.yaml @@ -0,0 +1,120 @@ +package: openjdk-8-jre-headless + +slices: + bins: + essential: + - ca-certificates-java_data + - openjdk-8-jre-headless_libs + - openjdk-8-jre-headless_policy + - openjdk-8-jre-headless_properties + - openjdk-8-jre-headless_certs + - openjdk-8-jre-headless_data + - openjdk-8-jre-headless_jars + - openjdk-8-jre-headless_config + - openjdk-8-jre-headless_profiles + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/bin/java: + + certs: + contents: + /etc/java-8-openjdk/security/blacklisted.certs: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/blacklisted.certs: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/cacerts: + + config: + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/jvm.cfg-default: + + data: + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/currency.data: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/tzdb.dat: + + policy: + contents: + /etc/java-8-openjdk/security/java.policy: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/limited/US_export_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/limited/local_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/unlimited/US_export_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/unlimited/local_policy.jar: + + jars: + essential: + - openjdk-8-jre-headless_libs + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/cldrdata.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/dnsns.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/localedata.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/zipfs.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunec.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunjce_provider.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunpkcs11.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jce.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jsse.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jfr.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/charsets.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/meta-index: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/resources.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/rt.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/management-agent.jar: + + libs: + essential: + - liblcms2-2_libs + - libfontconfig1_libs + - libc6_libs + - libfreetype6_libs + - libgcc-s1_libs + - libpcsclite1_libs + - libstdc++6_libs + - zlib1g_libs + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/jli/libjli.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libattach.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libdt_socket.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libhprof.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libinstrument.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjava.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjava_crw_demo.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjdwp.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjsdt.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libnet.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libnio.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libsaproc.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libsctp.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libverify.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libzip.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2gss.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2pcsc.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2pkcs11.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjaas_unix.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libsunec.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libmanagement.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libawt.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libawt_headless.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libfontmanager.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjavajpeg.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjavalcms.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libmlib_image.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjsig.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/server/libjsig.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/server/libjvm.so: + + profiles: + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/CIEXYZ.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/GRAY.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/LINEAR_RGB.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/PYCC.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/sRGB.pf: + + properties: + contents: + /etc/java-8-openjdk/calendars.properties: + /etc/java-8-openjdk/content-types.properties: + /etc/java-8-openjdk/net.properties: + /etc/java-8-openjdk/flavormap.properties: + /etc/java-8-openjdk/psfontj2d.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/hijrah-config-umalqura.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/flavormap.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/psfontj2d.properties: