summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authortaca <taca>2007-10-28 02:05:44 +0000
committertaca <taca>2007-10-28 02:05:44 +0000
commit366ed3d5cba0b69d8cb5478f0cdfba09544a43aa (patch)
tree85f7caeb5175e999868930470850f89eab9c8ace /security/sudo/Makefile
parent6170e4fb88da371d9f1f9ae47c6fb2b7e6ff1da5 (diff)
downloadpkgsrc-366ed3d5cba0b69d8cb5478f0cdfba09544a43aa.tar.gz
Update sudo package to 1.6.9p7.
pkgsrc change: added DESTDIR support. Major changes since Sudo 1.6.9p6: o Reverted back to to using TCSAFLUSH instead of TCSADRAIN when turning off echo during password reading. o Fixed a configure bug that was preventing the addition of -lutil for login.conf support on FreeBSD and NetBSD. o Added a configure check for struct in6_addr since some systems define AF_INET6 but have no real IPv6 support.
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 923b892fd5f..58b0e6d0683 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.98 2007/10/10 00:08:24 taca Exp $
+# $NetBSD: Makefile,v 1.99 2007/10/28 02:05:44 taca Exp $
#
-DISTNAME= sudo-1.6.9p6
+DISTNAME= sudo-1.6.9p7
CATEGORIES= security
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.courtesan.com/pub/sudo/ \
@@ -21,6 +21,7 @@ USE_LIBTOOL= yes
OWN_DIRS+= ${VARBASE}/run
GNU_CONFIGURE= yes
BUILD_DEFS+= VARBASE
+PKG_DESTDIR_SUPPORT= destdir
.include "../../mk/bsd.prefs.mk"
@@ -37,16 +38,16 @@ CONFIGURE_ARGS+= --with-logpath=${VARBASE:Q}/log/sudo.log
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info
-DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
-EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+DOCDIR= share/doc/${PKGBASE}
+EGDIR= share/examples/${PKGBASE}
CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers 0 0 0440
SPECIAL_PERMS+= bin/sudo ${SETUID_ROOT_PERMS}
+INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/sudoers ${EGDIR}/sudoers
- ${INSTALL_DATA} ${WRKSRC}/README* ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sudoers ${DESTDIR}${PREFIX}/${EGDIR}/sudoers
+ ${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../mk/bsd.pkg.mk"