commit 9778370301ee51897d121998ceac8b95f88c6b03 Author: Juergen Daubert <jue@jue.li> Date: Thu Feb 25 18:31:31 2016 +0100 jre: remove broken libraries, install dependency file for revdep, move man-pages diff --git a/jre/.footprint b/jre/.footprint index 36c3948..174336c 100644 --- a/jre/.footprint +++ b/jre/.footprint @@ -1,3 +1,6 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/revdep.d/ +-rw-r--r-- root/root etc/revdep.d/jre drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/java -> ../lib/java/bin/java @@ -27,8 +30,6 @@ drwxr-xr-x root/root usr/lib/jre/lib/amd64/ drwxr-xr-x root/root usr/lib/jre/lib/amd64/jli/ -rwxr-xr-x root/root usr/lib/jre/lib/amd64/jli/libjli.so -rwxr-xr-x root/root usr/lib/jre/lib/amd64/jvm.cfg --rwxr-xr-x root/root usr/lib/jre/lib/amd64/libavplugin-53.so --rwxr-xr-x root/root usr/lib/jre/lib/amd64/libavplugin-54.so -rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt.so -rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt_headless.so -rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt_xawt.so @@ -350,17 +351,18 @@ drwxr-xr-x root/root usr/lib/jre/plugin/ drwxr-xr-x root/root usr/lib/jre/plugin/desktop/ -rw-r--r-- root/root usr/lib/jre/plugin/desktop/sun_java.desktop -rw-r--r-- root/root usr/lib/jre/plugin/desktop/sun_java.png -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/java.1.gz --rw-r--r-- root/root usr/man/man1/javaws.1.gz --rw-r--r-- root/root usr/man/man1/jjs.1.gz --rw-r--r-- root/root usr/man/man1/keytool.1.gz --rw-r--r-- root/root usr/man/man1/orbd.1.gz --rw-r--r-- root/root usr/man/man1/pack200.1.gz --rw-r--r-- root/root usr/man/man1/policytool.1.gz --rw-r--r-- root/root usr/man/man1/rmid.1.gz --rw-r--r-- root/root usr/man/man1/rmiregistry.1.gz --rw-r--r-- root/root usr/man/man1/servertool.1.gz --rw-r--r-- root/root usr/man/man1/tnameserv.1.gz --rw-r--r-- root/root usr/man/man1/unpack200.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/java.1.gz +-rw-r--r-- root/root usr/share/man/man1/javaws.1.gz +-rw-r--r-- root/root usr/share/man/man1/jjs.1.gz +-rw-r--r-- root/root usr/share/man/man1/keytool.1.gz +-rw-r--r-- root/root usr/share/man/man1/orbd.1.gz +-rw-r--r-- root/root usr/share/man/man1/pack200.1.gz +-rw-r--r-- root/root usr/share/man/man1/policytool.1.gz +-rw-r--r-- root/root usr/share/man/man1/rmid.1.gz +-rw-r--r-- root/root usr/share/man/man1/rmiregistry.1.gz +-rw-r--r-- root/root usr/share/man/man1/servertool.1.gz +-rw-r--r-- root/root usr/share/man/man1/tnameserv.1.gz +-rw-r--r-- root/root usr/share/man/man1/unpack200.1.gz diff --git a/jre/Pkgfile b/jre/Pkgfile index e0f44fb..a3ecfb8 100644 --- a/jre/Pkgfile +++ b/jre/Pkgfile @@ -5,19 +5,27 @@ name=jre version=1.8.0_74 -release=1 +release=2 source=(file:///$name-8u${version#*_}-linux-x64.tar.gz) build(){ cd $name$version - install -d $PKG/usr/{bin,man,lib/$name} - mv man/man1 $PKG/usr/man + install -d $PKG/usr/{bin,share/man,lib/$name} + mv man/man1 $PKG/usr/share/man mv bin lib plugin $PKG/usr/lib/$name + # several symlinks ln -s $name $PKG/usr/lib/java ln -s ../lib/java/bin/java $PKG/usr/bin/java ln -s ../lib/java/bin/javaws $PKG/usr/bin/javaws ln -s ../lib/java/bin/keytool $PKG/usr/bin/keytool ln -s ../lib/java/bin/jcontrol $PKG/usr/bin/jcontrol + + # remove broken libraries + rm $PKG/usr/lib/jre/lib/amd64/libavplugin-*.so + + # revdep + install -d $PKG/etc/revdep.d + printf '%s\n%s\n' /usr/lib/jre/lib/amd64/{,server} > $PKG/etc/revdep.d/jre }