summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorreed <reed>2006-06-14 00:06:27 +0000
committerreed <reed>2006-06-14 00:06:27 +0000
commite482061eb45e3cfc7d52d5bd1b07197dbaf60e5e (patch)
treee32c7ab3e6e5bea737fc46e47ac5499a9bec36fd /security/sudo
parent099e1198a32b65a4a0084b686db12e5455b73f89 (diff)
downloadpkgsrc-e482061eb45e3cfc7d52d5bd1b07197dbaf60e5e.tar.gz
Make sudo use VARBASE.
Always use "man" instead of catpages. Make sure "run" directory is precreated, so you don't get: /usr/bin/sudo sudo: can't mkdir /var/run/sudo: No such file or directory Bump PKGREVISION. Okayed by maintainer back in December. The only concern was that /var/run may not be for all platforms, but this is same as other packages to (not specific to sudo).
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 22f0e006bd8..666bc938edc 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.87 2006/01/15 11:32:06 adrianp Exp $
+# $NetBSD: Makefile,v 1.88 2006/06/14 00:06:27 reed Exp $
#
DISTNAME= sudo-1.6.8p12
PKGNAME= sudo-1.6.8pl12
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.courtesan.com/pub/sudo/ \
@@ -19,12 +19,16 @@ COMMENT= Allow others to run commands as root
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
+OWN_DIRS+= ${VARBASE}/run
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ENV+= NROFFPROG=${CAT} # to always install man instead of cat
CONFIGURE_ARGS+= --disable-root-mailer
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --with-timedir=${VARBASE:Q}/run/sudo
+CONFIGURE_ARGS+= --with-logpath=${VARBASE:Q}/log/sudo.log
.include "options.mk"