pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/sudo sudo-1.6.9p9.tar.gz was updated now. So...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fddbf5705e1
branches:  trunk
changeset: 536184:7fddbf5705e1
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Dec 05 10:07:14 2007 +0000

description:
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:

 security/sudo/Makefile |  4 +++-
 security/sudo/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r e0a5eaabaa31 -r 7fddbf5705e1 security/sudo/Makefile
--- a/security/sudo/Makefile    Wed Dec 05 08:48:24 2007 +0000
+++ b/security/sudo/Makefile    Wed Dec 05 10:07:14 2007 +0000
@@ -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 @@
                        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@localhost
 HOMEPAGE=              http://www.courtesan.com/sudo/
diff -r e0a5eaabaa31 -r 7fddbf5705e1 security/sudo/distinfo
--- a/security/sudo/distinfo    Wed Dec 05 08:48:24 2007 +0000
+++ b/security/sudo/distinfo    Wed Dec 05 10:07:14 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index