summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-06-14 00:06:27 +0000
committerreed <reed@pkgsrc.org>2006-06-14 00:06:27 +0000
commitda04fb6a7e07409f8cfe00e446b11292fd39b66b (patch)
treee32c7ab3e6e5bea737fc46e47ac5499a9bec36fd
parentf57063984a8f8bddff4f093e6c1b8f822f983f53 (diff)
downloadpkgsrc-da04fb6a7e07409f8cfe00e446b11292fd39b66b.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).
-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"