pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/sudo Make sudo use VARBASE.
details: https://anonhg.NetBSD.org/pkgsrc/rev/496d0c3d238b
branches: trunk
changeset: 514545:496d0c3d238b
user: reed <reed%pkgsrc.org@localhost>
date: Wed Jun 14 00:06:27 2006 +0000
description:
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:
security/sudo/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r bf41df9d781e -r 496d0c3d238b security/sudo/Makefile
--- a/security/sudo/Makefile Tue Jun 13 23:48:45 2006 +0000
+++ b/security/sudo/Makefile Wed Jun 14 00:06:27 2006 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index