summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/man-db/doinst.sh13
-rw-r--r--system/man-db/man-db.SlackBuild9
-rw-r--r--system/man-db/man-db.info6
3 files changed, 20 insertions, 8 deletions
diff --git a/system/man-db/doinst.sh b/system/man-db/doinst.sh
index 42773f6cd9..4478281966 100644
--- a/system/man-db/doinst.sh
+++ b/system/man-db/doinst.sh
@@ -26,7 +26,12 @@ config etc/man_db.conf.new
# db is corrupted and the user is trying to fix it by reinstalling
# this package).
-[ -x /bin/readlink ] && \
-[ "$( /bin/readlink -f $( pwd ) )" = "/" ] && \
-( [ -x /opt/man-db/bin/mandb ] && /opt/man-db/bin/mandb -c -q ) || \
-( [ -x /usr/bin/mandb ] && /usr/bin/mandb -c -q )
+# the 2>/dev/null was added for 2.7.6 because it complains about
+# missing CACHEDIR.TAG files... which don't matter, because we've
+# got NOCACHE in the config file.
+( \
+ [ -x /bin/readlink ] && \
+ [ "$( /bin/readlink -f $( pwd ) )" = "/" ] && \
+ ( [ -x /opt/man-db/bin/mandb ] && /opt/man-db/bin/mandb -c -q ) || \
+ ( [ -x /usr/bin/mandb ] && /usr/bin/mandb -c -q ) \
+) 2>/dev/null
diff --git a/system/man-db/man-db.SlackBuild b/system/man-db/man-db.SlackBuild
index d922c85a47..21c1ec5b3a 100644
--- a/system/man-db/man-db.SlackBuild
+++ b/system/man-db/man-db.SlackBuild
@@ -6,6 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170125 bkw:
+# - update for 2.7.6.
+# - add --disable-cache-owner. TODO: revisit this at some
+# point. Maybe create a dedicated 'man' user, or use one of the existing
+# users like 'bin' or 'operator'.
+
# 20160726 bkw:
# - update for 2.7.5.
@@ -20,7 +26,7 @@
# - update README and README.Slackware slightly.
PRGNAM=man-db
-VERSION=${VERSION:-2.7.5}
+VERSION=${VERSION:-2.7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -132,6 +138,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--disable-setuid \
+ --disable-cache-owner \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/system/man-db/man-db.info b/system/man-db/man-db.info
index 73b5a8ed74..873e2a5d19 100644
--- a/system/man-db/man-db.info
+++ b/system/man-db/man-db.info
@@ -1,9 +1,9 @@
PRGNAM="man-db"
-VERSION="2.7.5"
+VERSION="2.7.6"
HOMEPAGE="http://www.nongnu.org/man-db/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/man-db/man-db-2.7.5.tar.xz \
+DOWNLOAD="http://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.tar.xz \
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz"
-MD5SUM="37da0bb0400cc7b640f33c26f6052202 \
+MD5SUM="e0aa460ab00b047f3784d70ae8ccfcab \
e54590ec68d6c1239f67b5b44e92022c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""