summaryrefslogtreecommitdiffstats
path: root/system/man-db
diff options
context:
space:
mode:
author B. Watson2019-12-01 06:27:32 +0100
committer Willy Sudiarto Raharjo2019-12-15 11:06:21 +0100
commita9997a64f6f19dbd87ce647bb0637468053dec5d (patch)
tree4c9242e9f421c76a0fe062cbf770274334909767 /system/man-db
parent9e9db606a48910e42cf400291b7b2d221d24cd90 (diff)
downloadslackbuilds-a9997a64f6f19dbd87ce647bb0637468053dec5d.tar.gz
system/man-db: Updated for version 2.9.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/man-db')
-rw-r--r--system/man-db/man-db.SlackBuild32
-rw-r--r--system/man-db/man-db.info10
2 files changed, 17 insertions, 25 deletions
diff --git a/system/man-db/man-db.SlackBuild b/system/man-db/man-db.SlackBuild
index 4d5e2e10c6..56740da46d 100644
--- a/system/man-db/man-db.SlackBuild
+++ b/system/man-db/man-db.SlackBuild
@@ -6,11 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 20180801 bkw:
-# - update for v2.8.4.
+# 20191201 bkw: update for v2.9.0 (to match -current again).
+# Also got rid of the systemd-specific stuff properly (via configure opts).
-# 20180611 bkw:
-# - update for v2.8.3, to match what Pat has in -current.
+# 20180801 bkw: update for v2.8.4.
+# 20180611 bkw: update for v2.8.3, to match what Pat has in -current.
# 20180208 bkw: update for man-db 2.8.0, libpipeline 1.5.0.
# This may be the last SBo update, since Pat has imported man-db
@@ -52,7 +52,7 @@
# - update README and README.Slackware slightly.
PRGNAM=man-db
-VERSION=${VERSION:-2.8.4}
+VERSION=${VERSION:-2.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -109,18 +109,15 @@ mkdir -p $TMP $PKG $OUTPUT
# Instead of making it a separate build and external dep, we'll just
# bundle it here.
LIBNAM=libpipeline
-LIBVER=1.5.0
+LIBVER=1.5.1
cd $TMP
rm -rf $LIBNAM-$LIBVER
tar xvf $CWD/$LIBNAM-$LIBVER.tar.gz
cd $LIBNAM-$LIBVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -146,11 +143,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# The 'checking for long filenames' test in the configure script writes to
# /usr/lib, which is bad behaviour for a configure script. Not to mention
@@ -170,6 +164,8 @@ libpipeline_LIBS="-L$PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/lib$LIBDIRSUFFIX/libpipel
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --with-systemdtmpfilesdir=no \
+ --with-systemdsystemunitdir=no \
--disable-setuid \
--disable-cache-owner \
--prefix=/usr \
@@ -185,10 +181,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# This stuff is for systemd, we don't need it (and it might confuse
-# people coming from systemd distros):
-rm -rf $PKG/usr/lib/tmpfiles.d/
-
# There will always be man pages here, regardless of USR=yes or no.
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/man-db/man-db.info b/system/man-db/man-db.info
index 70a6f6a7c1..387e8433ac 100644
--- a/system/man-db/man-db.info
+++ b/system/man-db/man-db.info
@@ -1,10 +1,10 @@
PRGNAM="man-db"
-VERSION="2.8.4"
+VERSION="2.9.0"
HOMEPAGE="http://www.nongnu.org/man-db/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/man-db/man-db-2.8.4.tar.xz \
- http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.0.tar.gz"
-MD5SUM="ab41db551f500e4a595b11203b86c67a \
- b7437a5020190cfa84f09c412db38902"
+DOWNLOAD="http://download.savannah.gnu.org/releases/man-db/man-db-2.9.0.tar.xz \
+ http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.1.tar.gz"
+MD5SUM="897576a19ecbef376a916485608cd790 \
+ 4c8fe6cd85422baafd6e060f896c61bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""