[arch-commits] Commit in man-db/repos (4 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Feb 19 09:21:47 UTC 2009
Date: Thursday, February 19, 2009 @ 04:21:47
Author: andyrtr
Revision: 27330
Merged revisions 27329 via svnmerge from
svn+ssh://archlinux.org/srv/svn-packages/man-db/trunk
........
r27329 | andyrtr | 2009-02-19 09:20:53 +0000 (Do, 19 Feb 2009) | 2 lines
upgpkg: man-db 2.5.3-2
make it depend on groff that is requiered to cat man-pages properly; cleanup install script, make the cronjob silent
........
Modified:
man-db/repos/testing-x86_64/ (properties)
man-db/repos/testing-x86_64/PKGBUILD
man-db/repos/testing-x86_64/man-db.cron.daily
man-db/repos/testing-x86_64/man-db.install
-------------------+
PKGBUILD | 10 ++++++----
man-db.cron.daily | 2 +-
man-db.install | 23 ++++-------------------
3 files changed, 11 insertions(+), 24 deletions(-)
Property changes on: man-db/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /man-db/trunk:1-27324
+ /man-db/trunk:1-27329
Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2009-02-19 09:20:53 UTC (rev 27329)
+++ testing-x86_64/PKGBUILD 2009-02-19 09:21:47 UTC (rev 27330)
@@ -4,13 +4,14 @@
pkgname=man-db
pkgver=2.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="A utility for reading man pages"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/man-db/"
license=('GPL' 'LGPL')
-depends=( 'bash' 'gdbm' 'zlib')
-optdepends=('groff' 'less' 'gzip')
+depends=( 'bash' 'gdbm' 'zlib' 'groff')
+optdepends=('less' 'gzip')
+backup=(etc/man_db.conf)
conflicts=('man')
provides=('man')
replaces=('man')
@@ -19,7 +20,8 @@
convert-mans man-db.cron.daily)
md5sums=('656507b8ff6abd1b7a9af9692ba22edc'
'2b7662a7d5b33fe91f9f3e034361a2f6'
- '1da25ff14b258a6c7f925fda47a6e166')
+ 'acdff891e224511cf26c92de77347db8')
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
Modified: testing-x86_64/man-db.cron.daily
===================================================================
--- testing-x86_64/man-db.cron.daily 2009-02-19 09:20:53 UTC (rev 27329)
+++ testing-x86_64/man-db.cron.daily 2009-02-19 09:21:47 UTC (rev 27330)
@@ -14,7 +14,7 @@
fi
# regenerate man database
-/usr/bin/mandb
+/usr/bin/mandb --quiet
exit 0
Modified: testing-x86_64/man-db.install
===================================================================
--- testing-x86_64/man-db.install 2009-02-19 09:20:53 UTC (rev 27329)
+++ testing-x86_64/man-db.install 2009-02-19 09:21:47 UTC (rev 27330)
@@ -1,25 +1,10 @@
-pre_install() {
- /bin/true
-}
-
post_install() {
- useradd -G users -d /var/cache/man man
- chown -R man.users /var/cache/man
+ echo "it's recommended to create an initial"
+ echo "databse running as root:"
+ echo "\"/usr/bin/mandb --quiet\""
}
-pre_upgrade() {
- /bin/true
-}
-
-post_upgrade() {
- chown -R man.users /var/cache/man
-}
-
-pre_remove() {
- /bin/true
-}
-
post_remove() {
- userdel man
+ rm -rf /var/cache/man
}
More information about the arch-commits
mailing list