Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0185bb6ab668d6ee05c38c2224ac1e59a26effcc
commit 0185bb6ab668d6ee05c38c2224ac1e59a26effcc Author: DeX77 <[email protected]> Date: Thu Aug 11 17:18:06 2016 +0200 man-db-2.7.5-5-x86_64 * use sysuser.d for user creation but install to remove diff --git a/source/base/man-db/FrugalBuild b/source/base/man-db/FrugalBuild index dcd0684..8d427c4 100644 --- a/source/base/man-db/FrugalBuild +++ b/source/base/man-db/FrugalBuild @@ -4,7 +4,7 @@ pkgname=man-db pkgver=2.7.5 -pkgrel=4 +pkgrel=5 pkgdesc="A utility for reading man pages" url="http://www.nongnu.org/man-db/" depends=('gdbm>=1.11-3' 'zlib>=1.2.8-3' 'groff>=1.22.3' 'less>=481-3' 'libpipeline>=1.4.1-4') @@ -17,13 +17,16 @@ source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz \ man.sh \ man-colors.sh \ README.Frugalware \ - convert-mans man-db.cron.daily) + convert-mans \ + man-db.cron.daily \ + man-db.conf ) sha1sums=('fd1314f616e055ddde0c02db219f5c9426a0ee5f' \ '33ed8d61d09f8711176fd18b7ae4e3a2d3354cf6' \ 'b51fd2d450c7a0982e605e74010256a40a3fa05e' \ '3a1e22acd8931537d5c2694a536913c02e0d448e' \ '3c7a367d74f1e492033c6b7785b2a4cac7f0eeb1' \ - 'b180d7b4e4dd2323bd4058d9954dcd36b28df796') + 'b180d7b4e4dd2323bd4058d9954dcd36b28df796' \ + '928d8921ab6a814aea832de0709bebe5b2d99baa') Fconfopts="$Fconfopts \ --prefix=/usr \ @@ -50,6 +53,10 @@ build() Fexe /etc/profile.d/man.sh Ffile /etc/profile.d/man-colors.sh Fdoc README.Frugalware + + # Create users using sysuser.d + Fmkdir usr/lib/sysusers.d/ + Ffile /usr/lib/sysusers.d/$pkgname.conf } # optimization OK diff --git a/source/base/man-db/man-db.conf b/source/base/man-db/man-db.conf new file mode 100644 index 0000000..5517ee5 --- /dev/null +++ b/source/base/man-db/man-db.conf @@ -0,0 +1 @@ +u man 70 diff --git a/source/base/man-db/man-db.install b/source/base/man-db/man-db.install index 5762026..8014aa8 100644 --- a/source/base/man-db/man-db.install +++ b/source/base/man-db/man-db.install @@ -1,13 +1,7 @@ -post_install() -{ - getent passwd man 2>&1 > /dev/null || /usr/sbin/useradd -u 70 -s /bin/false -c "man" -d '/' -g root man -} - post_upgrade() { if [[ $(id -u man) != 70 ]]; then /usr/sbin/userdel man; fi - post_install } post_remove() _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
