man-db: enable seccomp support.

This commit is contained in:
travankor 2019-09-13 02:12:45 -07:00 committed by Helmut Pozimski
parent 66190e1b04
commit 6025dbcb11

View file

@ -1,24 +1,25 @@
# Template file for 'man-db' # Template file for 'man-db'
pkgname=man-db pkgname=man-db
version=2.8.7 version=2.8.7
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-db=db --with-pager=less --with-gzip=/usr/bin/gzip configure_args="--with-db=db --with-pager=less --with-gzip=/usr/bin/gzip
--with-bzip2=/usr/bin/bzip2 --disable-rpath --enable-threads=posix --with-bzip2=/usr/bin/bzip2 --disable-rpath --enable-threads=posix
--with-lzma=/usr/bin/lzma --with-xz=/usr/bin/xz --disable-setuid --with-lzma=/usr/bin/lzma --with-xz=/usr/bin/xz --disable-setuid
--without-included-regex --enable-automatic-create --without-included-regex --enable-automatic-create --with-libseccomp
--with-systemdsystemunitdir=no" --without-systemdsystemunitdir --without-systemdtmpfilesdir"
hostmakedepends="groff pkg-config" hostmakedepends="groff pkg-config"
makedepends="db-devel gettext-devel groff libpipeline-devel zlib-devel" makedepends="db-devel gettext-devel groff libpipeline-devel libseccomp-devel
zlib-devel"
depends="bzip2 coreutils grep groff gzip less" depends="bzip2 coreutils grep groff gzip less"
conf_files="/etc/man_db.conf" conf_files="/etc/man_db.conf"
provides="man-0_1" short_desc="On-line manual database"
short_desc="The on-line manual database"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://www.nongnu.org/man-db/" homepage="https://www.nongnu.org/man-db/"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326 checksum=b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326
provides="man-0_1"
lib32disabled=yes lib32disabled=yes
alternatives=" alternatives="
@ -37,7 +38,6 @@ pre_configure() {
} }
post_install() { post_install() {
rm -r ${DESTDIR}/usr/lib/tmpfiles.d
# Rename files for alternatives # Rename files for alternatives
for f in apropos man whatis; do for f in apropos man whatis; do
mv ${DESTDIR}/usr/bin/{$f,mandb-$f} mv ${DESTDIR}/usr/bin/{$f,mandb-$f}