summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authortaca <taca>2007-12-05 10:07:14 +0000
committertaca <taca>2007-12-05 10:07:14 +0000
commit71fe4ec542aa42ed5c99800c2a268bf269a4ade4 (patch)
tree988f7f156b3ad24d9b5839d942fff83ed57b2849 /security/sudo
parent09a304d5444b7f5ad07be881f97ad77c33bb968d (diff)
downloadpkgsrc-71fe4ec542aa42ed5c99800c2a268bf269a4ade4.tar.gz
sudo-1.6.9p9.tar.gz was updated now. So, introduce DIST_SUBDIR and
bump PKGREVISION. A little bug fix seems to applied. -rw-r--r-- 1 taca taca 578259 Dec 3 19:38 sudo-1.6.9p9.tar.gz-prev -rw-r--r-- 1 taca taca 578262 Dec 5 00:27 sudo-1.6.9p9.tar.gz diff -dupNr sudo-1.6.9p9-20071203/parse.c sudo-1.6.9p9/parse.c --- sudo-1.6.9p9-20071203/parse.c 2007-11-28 08:29:59.000000000 +0900 +++ sudo-1.6.9p9/parse.c 2007-12-05 00:26:40.000000000 +0900 @@ -90,7 +90,7 @@ #endif /* HAVE_EXTENDED_GLOB */ #ifndef lint -__unused static const char rcsid[] = "$Sudo: parse.c,v 1.160.2.14 2007/10/24 16:43:27 millert Exp $"; +__unused static const char rcsid[] = "$Sudo: parse.c,v 1.160.2.15 2007/12/04 15:26:40 millert Exp $"; #endif /* lint */ /* @@ -202,7 +202,7 @@ sudoers_lookup(pwflag) return(VALIDATE_OK | (no_passwd == TRUE ? FLAG_NOPASS : 0) | (no_execve == TRUE ? FLAG_NOEXEC : 0) | - (setenv_ok == TRUE ? FLAG_SETENV : 0)); + (setenv_ok >= TRUE ? FLAG_SETENV : 0)); } else if ((runas_matches == TRUE && cmnd_matches == FALSE) || (runas_matches == FALSE && cmnd_matches == TRUE)) { /* @@ -212,7 +212,7 @@ sudoers_lookup(pwflag) return(VALIDATE_NOT_OK | (no_passwd == TRUE ? FLAG_NOPASS : 0) | (no_execve == TRUE ? FLAG_NOEXEC : 0) | - (setenv_ok == TRUE ? FLAG_SETENV : 0)); + (setenv_ok >= TRUE ? FLAG_SETENV : 0)); } } top--; diff -dupNr sudo-1.6.9p9-20071203/sudo.c sudo-1.6.9p9/sudo.c --- sudo-1.6.9p9-20071203/sudo.c 2007-12-03 02:13:52.000000000 +0900 +++ sudo-1.6.9p9/sudo.c 2007-12-04 01:12:03.000000000 +0900 @@ -730,8 +730,10 @@ parse_args(argc, argv) while (NewArgc > 0) { if (NewArgv[0][0] == '-') { - if (NewArgv[0][1] != '\0' && NewArgv[0][2] != '\0') + if (NewArgv[0][1] != '\0' && NewArgv[0][2] != '\0') { warnx("please use single character options"); + usage(1); + } switch (NewArgv[0][1]) { case 'p':
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile4
-rw-r--r--security/sudo/distinfo8
2 files changed, 7 insertions, 5 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index ed1b6bb5348..6ae076c4f85 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.101 2007/12/05 04:14:42 taca Exp $
+# $NetBSD: Makefile,v 1.102 2007/12/05 10:07:14 taca Exp $
#
DISTNAME= sudo-1.6.9p9
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.courtesan.com/pub/sudo/ \
@@ -10,6 +11,7 @@ MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.tux.org/pub/security/sudo/ \
http://www.courtesan.com/sudo/dist/OLD/ \
http://www.courtesan.com/sudo/dist/beta/
+DIST_SUBDIR= ${DISTNAME}-20071205
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.courtesan.com/sudo/
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index 10bfbc70032..45d76e0532e 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.46 2007/12/05 04:14:42 taca Exp $
+$NetBSD: distinfo,v 1.47 2007/12/05 10:07:14 taca Exp $
-SHA1 (sudo-1.6.9p9.tar.gz) = d6b54095be0d582fc3ebcff35b1ce6a4165db2b2
-RMD160 (sudo-1.6.9p9.tar.gz) = 463d90bb77f5510084966b4202c23e7f777ff16b
-Size (sudo-1.6.9p9.tar.gz) = 578259 bytes
+SHA1 (sudo-1.6.9p9-20071205/sudo-1.6.9p9.tar.gz) = 2a005b68d8ccea79028e56bd2500a70bfbf3a7b8
+RMD160 (sudo-1.6.9p9-20071205/sudo-1.6.9p9.tar.gz) = ddd37d982ee300f5b341f78c35625eb9078687a7
+Size (sudo-1.6.9p9-20071205/sudo-1.6.9p9.tar.gz) = 578262 bytes
SHA1 (patch-aa) = 5741d965cec49d7bb84bcdd7fd461edb2cc18465
SHA1 (patch-af) = c0a594c8b3a665dc0a84f40754a46bcd7e17ea49
SHA1 (patch-ag) = c3442810139581c003e2c5d911df1bcbdcfc0008