summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-11 01:08:08 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-11 01:08:08 +0000
commit1d842814d04d2f804c16efd6e600c17870e3b541 (patch)
tree191f82a1c2abfd396c6a2f9d6b62fe484d6b7de4 /sys-apps
parentfixing Manifest (diff)
downloadgentoo-2-1d842814d04d2f804c16efd6e600c17870e3b541.tar.gz
gentoo-2-1d842814d04d2f804c16efd6e600c17870e3b541.tar.bz2
gentoo-2-1d842814d04d2f804c16efd6e600c17870e3b541.zip
fix cache directory perms #40322
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/man/ChangeLog5
-rw-r--r--sys-apps/man/man-1.5m.ebuild15
2 files changed, 10 insertions, 10 deletions
diff --git a/sys-apps/man/ChangeLog b/sys-apps/man/ChangeLog
index 0daebe4fdcfd..929e64ce13d8 100644
--- a/sys-apps/man/ChangeLog
+++ b/sys-apps/man/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/man
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.42 2004/02/08 20:57:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.43 2004/02/11 01:08:08 vapier Exp $
+
+ 10 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Make sure cache directories are created with correct permissions #40322.
08 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
Enable search database updating by default and move it to cron.weekly #38321.
diff --git a/sys-apps/man/man-1.5m.ebuild b/sys-apps/man/man-1.5m.ebuild
index 40c3ed77da95..61d87422a673 100644
--- a/sys-apps/man/man-1.5m.ebuild
+++ b/sys-apps/man/man-1.5m.ebuild
@@ -1,7 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m.ebuild,v 1.8 2004/02/08 20:54:31 vapier Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m.ebuild,v 1.9 2004/02/11 01:08:08 vapier Exp $
inherit eutils
@@ -94,21 +93,20 @@ src_install() {
dodoc COPYING LSM README* TODO
- if [ -n "`use nls`" ]
- then
+ if use nls ; then
cd ${S}/msgs
./inst.sh ?? ${D}/usr/share/locale/%L/%N
fi
- chown root:man ${D}/usr/bin/man
- chmod 2555 ${D}/usr/bin/man
-
# Needed for makewhatis
keepdir /var/cache/man
-
exeinto /etc/cron.weekly
doexe ${FILESDIR}/makewhatis.cron
+ fowners root:man /usr/bin/man
+ fperms 2555 /usr/bin/man
+
+ diropts -m0775 -g man
for x in $(awk '
/^MANSECT/ {
split($2, sects, ":")
@@ -119,4 +117,3 @@ src_install() {
keepdir /var/cache/man/${x}
done
}
-