From 322ea479427d3a922fb07207fe3ec14439fc23e7 Mon Sep 17 00:00:00 2001 From: taca Date: Thu, 21 May 2009 03:42:49 +0000 Subject: Update sudo package to 1.7.1. pkgsrc change: add LICENSE. What's new in Sudo 1.7.1? * A new Defaults option "pwfeedback" will cause sudo to provide visual feedback when the user is entering a password. * A new Defaults option "fast_glob" will cause sudo to use the fnmatch() function for file name globbing instead of glob(). When this option is enabled, sudo will not check the file system when expanding wildcards. This is faster but a side effect is that relative paths with wildcard will no longer work. * New BSM audit support for systems that support it such as FreeBSD and Mac OS X. * The file name specified with the #include directive may now include a %h escape which is expanded to the short form of hostname. * The -k flag may now be specified along with a command, causing the user's timestamp file to be ignored. * New support for Tivoli-based LDAP START_TLS, present in AIX. * New support for /etc/netsvc.conf on AIX. * The unused alias checks in visudo now handle the case of an alias referring to another alias. --- security/sudo/Makefile | 5 +++-- security/sudo/distinfo | 10 +++++----- security/sudo/patches/patch-aa | 20 ++++++++++---------- 3 files changed, 18 insertions(+), 17 deletions(-) (limited to 'security/sudo') diff --git a/security/sudo/Makefile b/security/sudo/Makefile index ebf21be54af..bab487cb855 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.114 2009/02/05 13:48:12 taca Exp $ +# $NetBSD: Makefile,v 1.115 2009/05/21 03:42:49 taca Exp $ # -DISTNAME= sudo-1.7.0 +DISTNAME= sudo-1.7.1 CATEGORIES= security MASTER_SITES= http://www.courtesan.com/sudo/dist/ \ ftp://ftp.courtesan.com/pub/sudo/ \ @@ -16,6 +16,7 @@ DIST_SUBDIR= ${DISTNAME}-200805130 MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.courtesan.com/sudo/ COMMENT= Allow others to run commands as root +LICENSE= modified-bsd PKG_INSTALLATION_TYPES= overwrite pkgviews diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 179b31058da..6ce1d77812a 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.57 2009/02/05 13:48:12 taca Exp $ +$NetBSD: distinfo,v 1.58 2009/05/21 03:42:49 taca Exp $ -SHA1 (sudo-1.7.0-200805130/sudo-1.7.0.tar.gz) = 77bb230148b305e8608a3e552f1747507a84a55c -RMD160 (sudo-1.7.0-200805130/sudo-1.7.0.tar.gz) = 62c1dbe97a4b46ea2352023ecb8b30dc4afedf58 -Size (sudo-1.7.0-200805130/sudo-1.7.0.tar.gz) = 744311 bytes -SHA1 (patch-aa) = b5a7c0b6fc0355b78f3d661afc62d20f4dcc1318 +SHA1 (sudo-1.7.1-200805130/sudo-1.7.1.tar.gz) = f76ad5ff5dac253c14dfedfdbddd99b4cf7f54a2 +RMD160 (sudo-1.7.1-200805130/sudo-1.7.1.tar.gz) = e9c2e165ead15e5cab6a8d32facc0d38135d0ff9 +Size (sudo-1.7.1-200805130/sudo-1.7.1.tar.gz) = 755823 bytes +SHA1 (patch-aa) = 80e25b6ddf5e071ba05c035d0c333c867814a436 SHA1 (patch-af) = 41b41124744b36feb7f65d5b706874c06e096744 SHA1 (patch-ag) = 0ae45801e8146bab8bb998fdc48b1fd05b56f96b diff --git a/security/sudo/patches/patch-aa b/security/sudo/patches/patch-aa index 314191f6768..656b2f1a712 100644 --- a/security/sudo/patches/patch-aa +++ b/security/sudo/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.20 2009/02/05 13:48:12 taca Exp $ +$NetBSD: patch-aa,v 1.21 2009/05/21 03:42:49 taca Exp $ ---- Makefile.in.orig 2008-12-04 05:40:58.000000000 +0900 +--- Makefile.in.orig 2009-03-12 08:19:56.000000000 +0900 +++ Makefile.in -@@ -197,7 +197,7 @@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c +@@ -198,7 +198,7 @@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c sudo_noexec.la: sudo_noexec.lo @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.20 2009/02/05 13:48:12 taca Exp $ # Uncomment the following if you want "make distclean" to clean the parser @DEV@GENERATED = gram.h gram.c toke.c def_data.c def_data.h -@@ -399,36 +399,36 @@ sudoers.ldap.cat: sudoers.ldap.man +@@ -406,36 +406,36 @@ sudoers.ldap.cat: sudoers.ldap.man ChangeLog: cvs2cl --follow-only trunk @@ -25,27 +25,27 @@ $NetBSD: patch-aa,v 1.20 2009/02/05 13:48:12 taca Exp $ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \ $(DESTDIR)$(noexecdir) - install-binaries: $(PROGS) + install-binaries: install-dirs $(PROGS) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo -+ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4511 -s sudo $(DESTDIR)$(sudodir)/sudo ++ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4111 -s sudo $(DESTDIR)$(sudodir)/sudo rm -f $(DESTDIR)$(sudodir)/sudoedit ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo -@SELINUX@ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s visudo $(DESTDIR)$(visudodir)/visudo -+@SELINUX@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s sesh $(DESTDIR)$(libexecdir)/sesh ++@SELINUX@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh - install-noexec: sudo_noexec.la + install-noexec: install-dirs sudo_noexec.la - test -f .libs/$(noexecfile) && $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir) + test -f .libs/$(noexecfile) && $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir) - install-sudoers: + install-sudoers: install-dirs test -f $(DESTDIR)$(sudoersdir)/sudoers || \ - $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \ + $(INSTALL) -o $(sudoers_uid) -g $(sudoers_gid) -m $(sudoers_mode) \ $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers - install-man: + install-man: install-dirs - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @mansrcdir@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) @rm -f $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu) -- cgit v1.2.3