diff options
author | B. Watson <yalhcru@gmail.com> | 2017-01-25 17:31:12 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-04 07:00:04 +0700 |
commit | 1b452b611e92199d0db099be5bdb03aab009e8d7 (patch) | |
tree | 47f19902a4d15882082f675a57f9900bb1a80dc7 /system/man-db | |
parent | 7932cf4c848d7809b5cf1e494a87449833098fdc (diff) |
system/man-db: Updated for version 2.7.6.
Diffstat (limited to 'system/man-db')
-rw-r--r-- | system/man-db/doinst.sh | 13 | ||||
-rw-r--r-- | system/man-db/man-db.SlackBuild | 9 | ||||
-rw-r--r-- | system/man-db/man-db.info | 6 |
3 files changed, 20 insertions, 8 deletions
diff --git a/system/man-db/doinst.sh b/system/man-db/doinst.sh index 42773f6cd9913..4478281966298 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 d922c85a474d7..21c1ec5b3a62c 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 73b5a8ed74b64..873e2a5d19027 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="" |