summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-08-31 19:26:40 +0000
committerjlam <jlam>1999-08-31 19:26:40 +0000
commit22d54d1b416c430130976c4f840fd7ab7f7a77e2 (patch)
treec541cd0ce2a69107f68eff1995d5dacc303463b7 /security/sudo/Makefile
parent0052f4c3298be2fce570c6ad4f54f0a4b91939d5 (diff)
downloadpkgsrc-22d54d1b416c430130976c4f840fd7ab7f7a77e2.tar.gz
Update sudo to 1.5.9p4. It's the latest stable security release.
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 34778f4666c..43ae9946efd 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.13 1999/05/09 14:10:27 frueauf Exp $
+# $NetBSD: Makefile,v 1.14 1999/08/31 19:26:40 jlam Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
-DISTNAME= cu-sudo.v1.5.9p1
-PKGNAME= sudo-1.5.9p1
-WRKSRC= ${WRKDIR}/sudo.v1.5.9p1
+DISTNAME= cu-sudo.v1.5.9p4
+PKGNAME= sudo-1.5.9p4
+WRKSRC= ${WRKDIR}/sudo.v1.5.9p4
CATEGORIES= security
MASTER_SITES= ftp://ftp.cs.colorado.edu/pub/sudo/
MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.courtesan.com/courtesan/products/sudo/
+HOMEPAGE= http://www.courtesan.com/sudo/
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
.include "../../mk/bsd.prefs.mk"
@@ -22,13 +24,13 @@ SKEY_OPTION= --without-skey
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-C2 ${SKEY_OPTION} --with-nbsdops --disable-path-info
-post-patch:
- cd ${WRKSRC}; for manpg in sudo.man sudoers.man visudo.man; do \
- ${MV} $$manpg $$manpg.hardcoded; \
- ${SED} -e 's|/usr/pkg|${LOCALBASE}|g' $$manpg.hardcoded > $$manpg; \
- done
+pre-configure:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
post-install:
- cd ${WRKSRC} ; ${CP} sample.sudoers ${PREFIX}/etc/sudoers.example
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sudo
+ ${INSTALL_DATA} ${WRKSRC}/sudoers ${PREFIX}/share/examples/sudo/sudoers
+ ${INSTALL_DATA} ${WRKSRC}/sample.sudoers \
+ ${PREFIX}/share/examples/sudo/sudoers.sample
.include "../../mk/bsd.pkg.mk"