docbook-xml: ensure correct uid/gid when built with fakeroot

This commit is contained in:
John McQuah 2023-01-23 15:12:04 -05:00
parent bb3b64f4ec
commit 1dece9ca79
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30pcyjOWUFq1AqUL8UcgKg+7lozQnH3pfC5KZSS2SnAVYCwwaMISKTdvNT2BcPJvZ8yegFqqAh7o43SIPJLq1gw=
SHA256 (Pkgfile) = 388b26617b28ac6b44e73cd85fe8eff3d184dd3b14f5804e6b18dcc195a77ac8
RWSagIOpLGJF332/YIKS1jLK8v/lKWmFTyCZJnFMxqg3D/5pUiozrcgUDNXw5ZX3KxDr0fSRoEo+dOAIvDPw0zVJUkhZOpWMjAQ=
SHA256 (Pkgfile) = 7c1565b70f8fa844e7eb5c74a5420b5fd2b2726e73182d7c1cd42fd7152dcb2a
SHA256 (.footprint) = 0584ac3bc24bb23a9213219ba043fb3d597c042aa9b4922e7e28a76474a7c5e2
SHA256 (docbook-xml-4.5.zyp) = 4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4
SHA256 (docbook-xml-4.4.zyp) = 02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090

View File

@ -37,8 +37,8 @@ build() {
for vminor in 5 4 3 2; do
dest="/usr/share/xml/docbook/xml-dtd-4.$vminor"
install -d -m755 "$PKG$dest"
bsdtar xf "$SRC/$name-4.$vminor.zyp" -C "$PKG$dest" && \
mv "$PKG$dest/catalog.xml" "$PKG$dest/catalog"
bsdtar xf "$SRC/$name-4.$vminor.zyp" --uid 0 --gid 0 -C "$PKG$dest" \
&& mv "$PKG$dest/catalog.xml" "$PKG$dest/catalog"
[ "$vminor" -lt 4 ] && xml="" || xml=" XML"
cd "$PKG$dest"