commit 6124f0cd99c8c50685fd2b87bda62f73542f4dc6 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Dec 29 18:04:33 2015 +0900 docbook-xml: use bsdtar instead of unzip, fix file permissions diff --git a/docbook-xml/.footprint b/docbook-xml/.footprint index 15fddab..8f0129f 100644 --- a/docbook-xml/.footprint +++ b/docbook-xml/.footprint @@ -6,35 +6,35 @@ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/xml/ drwxr-xr-x root/root usr/share/xml/docbook/ drwxr-xr-x root/root usr/share/xml/docbook/xml-dtd-4.1.2/ --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/calstblx.dtd --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbcentx.mod --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbgenent.mod --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbhierx.mod --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbnotnx.mod --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbpoolx.mod --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/docbook.cat --rwxrw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/docbookx.dtd -drwxrwxr-x root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/ --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsb.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsc.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsn.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amso.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsr.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-box.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-cyr1.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-cyr2.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-dia.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk1.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk2.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk3.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk4.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-lat1.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-num.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-pub.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-tech.ent --rw-rw-r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/soextblx.dtd +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/calstblx.dtd +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbcentx.mod +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbgenent.mod +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbhierx.mod +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbnotnx.mod +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/dbpoolx.mod +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/docbook.cat +-rwxr--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/docbookx.dtd +drwxr-xr-x root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/ +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsb.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsc.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsn.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amso.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-amsr.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-box.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-cyr1.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-cyr2.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-dia.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk1.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk2.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk3.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-grk4.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-lat1.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-num.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-pub.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/ent/iso-tech.ent +-rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.1.2/soextblx.dtd drwxr-xr-x root/root usr/share/xml/docbook/xml-dtd-4.2/ -rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.2/calstblx.dtd -rw-r--r-- root/root usr/share/xml/docbook/xml-dtd-4.2/dbcentx.mod diff --git a/docbook-xml/Pkgfile b/docbook-xml/Pkgfile index e050743..08cfbf0 100644 --- a/docbook-xml/Pkgfile +++ b/docbook-xml/Pkgfile @@ -6,7 +6,7 @@ name=docbook-xml version=4.5 -release=3 +release=4 source=(http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip \ http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip \ http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip \ @@ -21,11 +21,11 @@ unpack_source() { for DB_VER in 4.5 4.4 4.3 4.2 do mkdir $SRC/$name-$DB_VER - unzip -q -d $SRC/$name-$DB_VER $PKGMK_SOURCE_DIR/$name-$DB_VER.zip + bsdtar -xz --no-same-owner -C $SRC/$name-$DB_VER -f $PKGMK_SOURCE_DIR/$name-$DB_VER.zip done # now 4.1.2, named differently mkdir $SRC/$name-4.1.2 - unzip -q -d $SRC/$name-4.1.2 $PKGMK_SOURCE_DIR/docbkx412.zip + bsdtar -xz --no-same-owner -C $SRC/$name-4.1.2 -f $PKGMK_SOURCE_DIR/docbkx412.zip } build() { @@ -258,4 +258,6 @@ build() { $PKG/etc/xml/$name rm -f $PKG/usr/share/xml/docbook/xml-dtd-4.{4,5}/ent/README + + chmod -R g-w $PKG/usr/share }