pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/sudo Update sudo pacakge to 1.6.9p5.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d0a1a496116
branches: trunk
changeset: 533143:7d0a1a496116
user: taca <taca%pkgsrc.org@localhost>
date: Sun Sep 09 12:54:36 2007 +0000
description:
Update sudo pacakge to 1.6.9p5.
617) Fixed a bug in the IP address matching introduced by the IPV6 merge.
618) For "visudo -f file" we now use the permissions of the original file
and not the hard-coded sudoers owner/group/mode. This makes
it possible to use visudo with a revision control system.
619) Fixed sudoedit when used on a non-existent file.
620) Regenerated configure using autoconf 2.6.1 and libtool 1.5.24.
621) Groups and netgroups are now valid in an LDAP sudoRunas statement.
diffstat:
security/sudo/Makefile | 4 +-
security/sudo/distinfo | 12 +-
security/sudo/patches/patch-af | 40 ++--
security/sudo/patches/patch-ag | 296 ++--------------------------------------
4 files changed, 48 insertions(+), 304 deletions(-)
diffs (truncated from 475 to 300 lines):
diff -r 37a04f1e73b4 -r 7d0a1a496116 security/sudo/Makefile
--- a/security/sudo/Makefile Sun Sep 09 11:43:45 2007 +0000
+++ b/security/sudo/Makefile Sun Sep 09 12:54:36 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2007/08/18 15:09:11 taca Exp $
+# $NetBSD: Makefile,v 1.97 2007/09/09 12:54:36 taca Exp $
#
-DISTNAME= sudo-1.6.9p4
+DISTNAME= sudo-1.6.9p5
CATEGORIES= security
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.courtesan.com/pub/sudo/ \
diff -r 37a04f1e73b4 -r 7d0a1a496116 security/sudo/distinfo
--- a/security/sudo/distinfo Sun Sep 09 11:43:45 2007 +0000
+++ b/security/sudo/distinfo Sun Sep 09 12:54:36 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.40 2007/08/18 15:09:12 taca Exp $
+$NetBSD: distinfo,v 1.41 2007/09/09 12:54:37 taca Exp $
-SHA1 (sudo-1.6.9p4.tar.gz) = 40890e6744572c1fcf23c05f7a1bea49d2cf4fe2
-RMD160 (sudo-1.6.9p4.tar.gz) = 6dbd89c5ef8df4272ecd812e71b784a1da488f71
-Size (sudo-1.6.9p4.tar.gz) = 581385 bytes
+SHA1 (sudo-1.6.9p5.tar.gz) = 170ee1c1625d42ad6c33726f4f0d85dcb70b7461
+RMD160 (sudo-1.6.9p5.tar.gz) = 307e71c0f0d4f0f913bc98fc9a13273c5c3ad602
+Size (sudo-1.6.9p5.tar.gz) = 574384 bytes
SHA1 (patch-aa) = 98ca6552bc305aeeb726d48f1d722480f792a0ba
-SHA1 (patch-af) = e411f12789f9d5b5fda8b88af3730c89859f5eda
-SHA1 (patch-ag) = c1b89fff452c78120a97622df29125ed6ac5c9a2
+SHA1 (patch-af) = 1863dc637d1d2720d832bf9c7ec60e11365473ba
+SHA1 (patch-ag) = 9cdd8836addc9d2317bccff7ea7fe407d1e8256e
diff -r 37a04f1e73b4 -r 7d0a1a496116 security/sudo/patches/patch-af
--- a/security/sudo/patches/patch-af Sun Sep 09 11:43:45 2007 +0000
+++ b/security/sudo/patches/patch-af Sun Sep 09 12:54:36 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.16 2007/08/18 15:09:13 taca Exp $
+$NetBSD: patch-af,v 1.17 2007/09/09 12:54:37 taca Exp $
---- configure.in.orig 2007-07-16 22:51:21.000000000 -0400
-+++ configure.in 2007-07-23 11:15:42.000000000 -0400
-@@ -123,7 +123,6 @@
+--- configure.in.orig 2007-09-07 01:19:57.000000000 +0900
++++ configure.in
+@@ -129,7 +129,6 @@ dnl
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
@@ -10,7 +10,7 @@
dnl
dnl Deprecated --with options (these all warn or generate an error)
-@@ -246,6 +245,19 @@
+@@ -252,6 +251,19 @@ AC_ARG_WITH(csops, [ --with-csops
;;
esac])
@@ -29,9 +29,9 @@
+
AC_ARG_WITH(passwd, [ --without-passwd don't use passwd/shadow file for authentication],
[case $with_passwd in
- yes) ;;
-@@ -1466,7 +1478,7 @@
- AC_CHECK_FUNCS(auth_challenge, [with_bsdauth=maybe])
+ yes|no) AC_MSG_CHECKING(whether to use shadow/passwd file authentication)
+@@ -1470,7 +1482,7 @@ case "$host" in
+ AC_CHECK_FUNCS(auth_challenge, [AUTH_EXCL_DEF="BSD_AUTH"])
fi
;;
- *-*-freebsd*)
@@ -39,19 +39,19 @@
# FreeBSD has a real setreuid(2) starting with 2.1 and
# backported to 2.0.5. We just take 2.1 and above...
case "$OSREV" in
-@@ -1482,6 +1494,8 @@
- fi
- : ${with_pam='maybe'}
+@@ -1484,6 +1496,8 @@ case "$host" in
+ CHECKSHADOW="false"
+ test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
: ${with_logincap='maybe'}
+ # We really want libutil.
+ SUDO_LIBS="${SUDO_LIBS} -lutil"
;;
*-*-*openbsd*)
# OpenBSD has a real setreuid(2) starting with 3.3 but
-@@ -1515,10 +1529,12 @@
+@@ -1512,10 +1526,12 @@ case "$host" in
+ CHECKSHADOW="false"
+ test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
: ${with_logincap='maybe'}
- dnl future versions of NetBSD (> 2.0) may include pam
- : ${with_pam='maybe'}
+ # We really want libutil.
+ SUDO_LIBS="${SUDO_LIBS} -lutil"
;;
@@ -60,15 +60,15 @@
- SUDO_LIBS="${SUDO_LIBS} -lmd"
+ SUDO_LIBS="${SUDO_LIBS} -lutil -lmd"
fi
- if test "$CHECKSHADOW" = "true"; then
- CHECKSHADOW="false"
-@@ -1895,16 +1911,6 @@
+ CHECKSHADOW="false"
+ test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
+@@ -2047,16 +2063,6 @@ if test ${with_kerb5-'no'} != "no" -a -z
fi
dnl
-dnl Some systems put login_cap(3) in libutil
-dnl
--if test "$with_logincap" = "yes"; then
+-if test ${with_logincap-'no'} = "yes"; then
- case "$OS" in
- freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
- ;;
@@ -76,6 +76,6 @@
-fi
-
-dnl
- dnl PAM support. Systems that might support PAM set with_pam=maybe
- dnl and we do that actual tests here.
+ dnl extra AFS libs and includes
dnl
+ if test ${with_AFS-'no'} = "yes"; then
diff -r 37a04f1e73b4 -r 7d0a1a496116 security/sudo/patches/patch-ag
--- a/security/sudo/patches/patch-ag Sun Sep 09 11:43:45 2007 +0000
+++ b/security/sudo/patches/patch-ag Sun Sep 09 12:54:36 2007 +0000
@@ -1,35 +1,17 @@
-$NetBSD: patch-ag,v 1.8 2007/07/30 08:41:20 joerg Exp $
+$NetBSD: patch-ag,v 1.9 2007/09/09 12:54:38 taca Exp $
---- configure.orig 2007-07-17 02:47:55.000000000 +0000
+--- configure.orig 2007-09-07 01:21:13.000000000 +0900
+++ configure
-@@ -561,7 +561,7 @@ do
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
-- eval enable_$ac_feature='$ac_optarg' ;;
-+ eval "enable_$ac_feature='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-@@ -743,7 +743,7 @@ do
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
-- eval with_$ac_package='$ac_optarg' ;;
-+ eval "with_$ac_package='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-@@ -968,7 +968,7 @@ Fine tuning of the installation director
+@@ -1436,7 +1436,7 @@ Fine tuning of the installation director
+ --bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
-- --sysconfdir=DIR read-only single-machine data [/etc]
+- --sysconfdir=DIR read-only single-machine data [etc]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
-@@ -1032,6 +1032,7 @@ Optional Packages:
+@@ -1505,6 +1505,7 @@ Optional Packages:
--with-devel add development options
--with-efence link with -lefence for malloc() debugging
--with-csops add CSOps standard options
@@ -37,16 +19,7 @@
--without-passwd don't use passwd/shadow file for authentication
--with-skey=DIR enable S/Key support
--with-opie=DIR enable OPIE support
-@@ -1310,7 +1311,7 @@ do
- -* ) ac_must_keep_next=true ;;
- esac
- fi
-- ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\""
-+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
- # Get rid of the leading space.
- ac_sep=" "
- ;;
-@@ -1634,7 +1635,6 @@ shadow_libs_optional=
+@@ -2118,7 +2119,6 @@ shadow_libs_optional=
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
@@ -54,8 +27,8 @@
-@@ -1826,6 +1826,23 @@ esac
- fi;
+@@ -2310,6 +2310,23 @@ fi
+
+# Check whether --with-nbsdops or --without-nbsdops was given.
@@ -75,46 +48,10 @@
+fi;
+
+
- # Check whether --with-passwd or --without-passwd was given.
+ # Check whether --with-passwd was given.
if test "${with_passwd+set}" = set; then
- withval="$with_passwd"
-@@ -5335,7 +5352,7 @@ else
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
-- netbsd* | freebsd* | openbsd* | darwin* )
-+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
- # This has been around since 386BSD, at least. Likely further.
- if test -x /sbin/sysctl; then
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-@@ -5477,7 +5494,7 @@ darwin* | rhapsody*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
--freebsd* | kfreebsd*-gnu)
-+freebsd* | kfreebsd*-gnu | dragonfly*)
- if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
- case $host_cpu in
- i*86 )
-@@ -9003,7 +9020,7 @@ if test -z "$aix_libpath"; then aix_libp
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
-@@ -9787,7 +9804,7 @@ kfreebsd*-gnu)
- dynamic_linker='GNU ld.so'
- ;;
-
--freebsd*)
-+freebsd* | dragonfly*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || $ECHO aout`
- version_type=freebsd-$objformat
- case $version_type in
-@@ -11372,7 +11389,7 @@ done
+ withval=$with_passwd; case $with_passwd in
+@@ -11981,7 +11998,7 @@ done
fi
;;
@@ -123,19 +60,19 @@
# FreeBSD has a real setreuid(2) starting with 2.1 and
# backported to 2.0.5. We just take 2.1 and above...
case "$OSREV" in
-@@ -11388,6 +11405,8 @@ done
- fi
- : ${with_pam='maybe'}
+@@ -11995,6 +12012,8 @@ done
+ CHECKSHADOW="false"
+ test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
: ${with_logincap='maybe'}
+ # We really want libutil.
+ SUDO_LIBS="${SUDO_LIBS} -lutil"
;;
*-*-*openbsd*)
# OpenBSD has a real setreuid(2) starting with 3.3 but
-@@ -11420,10 +11439,12 @@ done
- fi
+@@ -12023,10 +12042,12 @@ done
+ CHECKSHADOW="false"
+ test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
: ${with_logincap='maybe'}
- : ${with_pam='maybe'}
+ # We really want libutil.
+ SUDO_LIBS="${SUDO_LIBS} -lutil"
;;
@@ -144,198 +81,5 @@
- SUDO_LIBS="${SUDO_LIBS} -lmd"
+ SUDO_LIBS="${SUDO_LIBS} -lutil -lmd"
fi
- if test "$CHECKSHADOW" = "true"; then
- CHECKSHADOW="false"
-@@ -17731,7 +17752,7 @@ else
- echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;}
- echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
- echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
--if test "${ac_cv_lib_socket_socket_lnsl+set}" = set; then
-+if test "${ac_cv_lib_socket_socket+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
-@@ -17780,20 +17801,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-- ac_cv_lib_socket_socket_lnsl=yes
-+ ac_cv_lib_socket_socket=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
--ac_cv_lib_socket_socket_lnsl=no
Home |
Main Index |
Thread Index |
Old Index