summaryrefslogtreecommitdiffstats
path: root/source/ap/man-pages
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-02-24 19:50:05 +0000
committer Eric Hameleers <alien@slackware.com>2024-02-24 21:30:18 +0100
commit0eb4f651daa1f0b4bde7a2497444a30db1f80e2e (patch)
treeffcaf9d73ae639939bcb4e7e05b9fe672f8cd02d /source/ap/man-pages
parent590c390ae31c02c2ccff1570f61cd838a999481f (diff)
downloadcurrent-0eb4f651daa1f0b4bde7a2497444a30db1f80e2e.tar.gz
current-0eb4f651daa1f0b4bde7a2497444a30db1f80e2e.tar.xz
Sat Feb 24 19:50:05 UTC 202420240224195005
a/pkgtools-15.1-noarch-10.txz: Rebuilt. setup.services: typo/syntax error fix. Thanks to gramaxo and pghvlaans. a/xz-5.6.0-x86_64-1.txz: Upgraded. ap/man-pages-6.06-noarch-2.txz: Rebuilt. Restored the previously included posix pages, and added the posix "sh" page since it's more correct than getting the ksh page for "sh". Thanks to pghvlaans. d/git-2.44.0-x86_64-1.txz: Upgraded. kde/kdnssd-5.115.0-x86_64-2.txz: Rebuilt. Recompiled to add Zeroconf support. (This one fooled me because it doesn't actually link to any avahi libraries.) Thanks to audriusk. kde/kid3-3.9.5-x86_64-1.txz: Upgraded. l/libpng-1.6.43-x86_64-1.txz: Upgraded. l/libunistring-1.2-x86_64-1.txz: Upgraded. n/libksba-1.6.6-x86_64-1.txz: Upgraded. n/npth-1.7-x86_64-1.txz: Upgraded. t/texlive-2023.230322-x86_64-7.txz: Rebuilt. Use the bundled zlib to make the bundled lua happy. Thanks to sombragris.
Diffstat (limited to 'source/ap/man-pages')
-rwxr-xr-xsource/ap/man-pages/man-pages.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/source/ap/man-pages/man-pages.SlackBuild b/source/ap/man-pages/man-pages.SlackBuild
index c967ac3c1..87303f8ab 100755
--- a/source/ap/man-pages/man-pages.SlackBuild
+++ b/source/ap/man-pages/man-pages.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=man-pages
VERSION=${VERSION:-$(/bin/ls man-pages-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -44,16 +44,16 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf man-pages-$VERSION
tar xvf $CWD/man-pages-$VERSION.tar.?z
-tar xvf $CWD/man-pages-posix-2017-a.tar.?z
+tar xvf $CWD/man-pages-posix-*.tar.?z
echo "Fixing permissions..."
-chown -R root:root man-pages-$VERSION man-pages-posix-2013-a
-chmod -R a-s,u+rw,go+r-w man-pages-$VERSION man-pages-posix-2013-a
+chown -R root:root man-pages-$VERSION man-pages-posix-*
+chmod -R a-s,u+rw,go+r-w man-pages-$VERSION man-pages-posix-*
find man-pages-$VERSION \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-find man-pages-posix-2013-a \
+find man-pages-posix-* \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
@@ -69,8 +69,10 @@ cp -a man-pages-$VERSION/man* $PKG/usr/man
# isn't likely to help most people and may lead to confusion.
# The pthread manpages are the only POSIX ones that anyone
# has requested saving. If I missed anything important, let me know.
-cp -a man-pages-posix-2013-a/man0p/pthread.h.0p $PKG/usr/man/man3/pthread.h.3p
-cp -a man-pages-posix-2013-a/man3p/pthread_* $PKG/usr/man/man3
+cp -a man-pages-posix-*/man0p/pthread.h.0p $PKG/usr/man/man3/pthread.h.3p
+cp -a man-pages-posix-*/man3p/pthread_* $PKG/usr/man/man3
+# Adding this one to avoid getting ksh for sh:
+cp -a man-pages-posix-*/man1p/sh.1p $PKG/usr/man/man1
# Compress the pages:
echo "Compressing manpages..."
@@ -99,7 +101,7 @@ rm -r $TEMPDIR
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
man-pages-$VERSION/{CONTRIBUTING,Changes,README,man-pages-${VERSION}.Announce,man-pages-${VERSION}.lsm} \
- man-pages-posix-2013-a/POSIX-COPYRIGHT \
+ man-pages-posix-*/POSIX-COPYRIGHT \
$PKG/usr/doc/${PKGNAM}-$VERSION
mkdir -p $PKG/install