pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/sudo Don't hardcode "0 0" for the root user a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6bc32821143f
branches: trunk
changeset: 540210:6bc32821143f
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Apr 02 15:06:07 2008 +0000
description:
Don't hardcode "0 0" for the root user and group -- use ${REAL_ROOT_USER}
and ${REAL_ROOT_GROUP} instead. The pkginstall framework checks for
the name of the user and group, not the uid and gid, when comparing
permissions. This fixes the following spurious warning from appearing:
The following files are used by sudo-1.6.9p15 and have
the wrong ownership and/or permissions:
/usr/pkg/etc/sudoers (m=0440, o=0, g=0)
diffstat:
security/sudo/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 4085439125c9 -r 6bc32821143f security/sudo/Makefile
--- a/security/sudo/Makefile Wed Apr 02 13:36:44 2008 +0000
+++ b/security/sudo/Makefile Wed Apr 02 15:06:07 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2008/03/29 14:16:58 taca Exp $
+# $NetBSD: Makefile,v 1.111 2008/04/02 15:06:07 jlam Exp $
#
DISTNAME= sudo-1.6.9p15
@@ -42,7 +42,8 @@
DOCDIR= share/doc/${PKGBASE}
EGDIR= share/examples/${PKGBASE}
-CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers 0 0 0440
+CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0440
SPECIAL_PERMS+= bin/sudo ${SETUID_ROOT_PERMS}
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
Home |
Main Index |
Thread Index |
Old Index