Hello community,
here is the log from the commit of package sudo
checked in at Tue Oct 30 12:29:53 CET 2007.
--------
--- sudo/sudo.changes 2007-10-10 12:03:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/sudo/sudo.changes 2007-10-30 12:20:35.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Oct 30 12:17:37 CET 2007 - prusnak@suse.cz
+
+- updated to 1.6.9p7
+ * go back to using TCSAFLUSH instead of TCSADRAIN when turning off
+ echo during password reading
+ * fixed a configure bug that was preventing the addition of -lutil
+ for login.conf support on FreeBSD and NetBSD
+ * add configure check for struct in6_addr since some systems define
+ AF_INET6 but have no real IPv6 support
+
+-------------------------------------------------------------------
Old:
----
sudo-1.6.9p6-defaults.diff
sudo-1.6.9p6-env.diff
sudo-1.6.9p6-ldap.diff
sudo-1.6.9p6.pamd
sudo-1.6.9p6-__P.diff
sudo-1.6.9p6-prompt.diff
sudo-1.6.9p6-secure_path.diff
sudo-1.6.9p6-strip.diff
sudo-1.6.9p6-sudoers.diff
sudo-1.6.9p6.tar.bz2
New:
----
sudo-1.6.9p7-defaults.diff
sudo-1.6.9p7-env.diff
sudo-1.6.9p7-ldap.diff
sudo-1.6.9p7.pamd
sudo-1.6.9p7-__P.diff
sudo-1.6.9p7-prompt.diff
sudo-1.6.9p7-secure_path.diff
sudo-1.6.9p7-strip.diff
sudo-1.6.9p7-sudoers.diff
sudo-1.6.9p7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sudo.spec ++++++
--- /var/tmp/diff_new_pack.hP3035/_old 2007-10-30 12:29:38.000000000 +0100
+++ /var/tmp/diff_new_pack.hP3035/_new 2007-10-30 12:29:38.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package sudo (Version 1.6.9p6)
+# spec file for package sudo (Version 1.6.9p7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,7 +13,7 @@
Name: sudo
BuildRequires: openldap2-devel pam-devel postfix
PreReq: coreutils
-Version: 1.6.9p6
+Version: 1.6.9p7
Release: 1
AutoReqProv: on
Group: System/Base
@@ -114,6 +114,14 @@
%{_libexecdir}/sudo
/var/run/sudo
%changelog
+* Tue Oct 30 2007 - prusnak@suse.cz
+- updated to 1.6.9p7
+ * go back to using TCSAFLUSH instead of TCSADRAIN when turning off
+ echo during password reading
+ * fixed a configure bug that was preventing the addition of -lutil
+ for login.conf support on FreeBSD and NetBSD
+ * add configure check for struct in6_addr since some systems define
+ AF_INET6 but have no real IPv6 support
* Wed Oct 10 2007 - prusnak@suse.cz
- update to 1.6.9p6
* worked around bugs in the session support of some PAM
++++++ sudo-1.6.9p6-defaults.diff -> sudo-1.6.9p7-defaults.diff ++++++
++++++ sudo-1.6.9p6-env.diff -> sudo-1.6.9p7-env.diff ++++++
++++++ sudo-1.6.9p6-ldap.diff -> sudo-1.6.9p7-ldap.diff ++++++
++++++ sudo-1.6.9p6-__P.diff -> sudo-1.6.9p7-__P.diff ++++++
++++++ sudo-1.6.9p6-prompt.diff -> sudo-1.6.9p7-prompt.diff ++++++
++++++ sudo-1.6.9p6-secure_path.diff -> sudo-1.6.9p7-secure_path.diff ++++++
++++++ sudo-1.6.9p6-strip.diff -> sudo-1.6.9p7-strip.diff ++++++
++++++ sudo-1.6.9p6-sudoers.diff -> sudo-1.6.9p7-sudoers.diff ++++++
++++++ sudo-1.6.9p6.tar.bz2 -> sudo-1.6.9p7.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/CHANGES new/sudo-1.6.9p7/CHANGES
--- old/sudo-1.6.9p6/CHANGES 2007-10-09 15:28:09.000000000 +0200
+++ new/sudo-1.6.9p7/CHANGES 2007-10-24 15:32:27.000000000 +0200
@@ -1975,3 +1975,15 @@
624) inttypes.h is now included when appropriate if it is present.
625) Simplified alias allocation in the parser.
+
+Sudo 1.6.9p6 released.
+
+626) Go back to using TCSAFLUSH instead of TCSADRAIN when turning
+ off echo in tgetpass().
+
+627) Fixed addition of -lutil for logincap on FreeBSD and NetBSD.
+
+628) Add configure check for struct in6_addr since some systems define
+ AF_INET6 but have no real IPv6 support.
+
+Sudo 1.6.9p7 released.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/config.h.in new/sudo-1.6.9p7/config.h.in
--- old/sudo-1.6.9p6/config.h.in 2007-10-09 02:05:16.000000000 +0200
+++ new/sudo-1.6.9p7/config.h.in 2007-10-23 19:16:45.000000000 +0200
@@ -171,6 +171,9 @@
/* Define to 1 if your Kerberos is Heimdal. */
#undef HAVE_HEIMDAL
+/* Define to 1 if contains struct in6_addr. */
+#undef HAVE_IN6_ADDR
+
/* Define to 1 if you have the `initgroups' function. */
#undef HAVE_INITGROUPS
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/configure new/sudo-1.6.9p7/configure
--- old/sudo-1.6.9p6/configure 2007-10-09 02:08:06.000000000 +0200
+++ new/sudo-1.6.9p7/configure 2007-10-23 19:19:18.000000000 +0200
@@ -13674,6 +13674,11 @@
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
+ case "$OS" in
+ freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
+ ;;
+ esac
+
fi
done
@@ -14068,10 +14073,8 @@
#include
#if TIME_WITH_SYS_TIME
# include
-# include
-#else
-# include
#endif
+#include
typedef struct timespec ac__type_new_;
int
@@ -14121,6 +14124,73 @@
fi
+{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5
+echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
+if test "${ac_cv_type_struct_in6_addr+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+#include
+
+typedef struct in6_addr ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_struct_in6_addr=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_struct_in6_addr=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5
+echo "${ECHO_T}$ac_cv_type_struct_in6_addr" >&6; }
+if test $ac_cv_type_struct_in6_addr = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IN6_ADDR 1
+_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_IN6_ADDR 1
+_ACEOF
+
+fi
+
{ echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
if test "${sudo_cv_type_size_t+set}" = set; then
@@ -20535,13 +20605,6 @@
LIBS="$_LIBS"
fi
-if test ${with_logincap-'no'} = "yes"; then
- case "$OS" in
- freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
- ;;
- esac
-fi
-
if test ${with_AFS-'no'} = "yes"; then
# looks like the "standard" place for AFS libs is /usr/afsws/lib
@@ -23384,3 +23447,5 @@
+
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/configure.in new/sudo-1.6.9p7/configure.in
--- old/sudo-1.6.9p6/configure.in 2007-10-09 02:06:05.000000000 +0200
+++ new/sudo-1.6.9p7/configure.in 2007-10-24 18:43:25.000000000 +0200
@@ -1,6 +1,6 @@
dnl
dnl Process this file with GNU autoconf to produce a configure script.
-dnl $Sudo: configure.in,v 1.413.2.24 2007/10/09 00:06:05 millert Exp $
+dnl $Sudo: configure.in,v 1.413.2.27 2007/10/24 16:43:25 millert Exp $
dnl
dnl Copyright (c) 1994-1996,1998-2007 Todd C. Miller
dnl
@@ -1632,7 +1632,12 @@
fi
fi
if test ${with_logincap-'no'} != "no"; then
- AC_CHECK_HEADERS(login_cap.h)
+ AC_CHECK_HEADERS(login_cap.h, [
+ case "$OS" in
+ freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
+ ;;
+ esac
+ ])
fi
if test ${with_project-'no'} != "no"; then
AC_CHECK_HEADER(project.h, AC_DEFINE(HAVE_PROJECT_H)
@@ -1650,10 +1655,10 @@
AC_CHECK_TYPE([struct timespec], [AC_DEFINE(HAVE_TIMESPEC)], [], [#include
#if TIME_WITH_SYS_TIME
# include
-# include
-#else
-# include
-#endif])
+#endif
+#include ])
+AC_CHECK_TYPES([struct in6_addr], [AC_DEFINE(HAVE_IN6_ADDR)], [], [#include
+#include ])
SUDO_TYPE_SIZE_T
SUDO_TYPE_SSIZE_T
SUDO_TYPE_DEV_T
@@ -2060,16 +2065,6 @@
fi
dnl
-dnl Some systems put login_cap(3) in libutil
-dnl
-if test ${with_logincap-'no'} = "yes"; then
- case "$OS" in
- freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
- ;;
- esac
-fi
-
-dnl
dnl extra AFS libs and includes
dnl
if test ${with_AFS-'no'} = "yes"; then
@@ -2411,6 +2406,7 @@
AH_TEMPLATE(HAVE_GETSPNAM, [Define to 1 if you have the `getspnam' function (SVR4-style shadow passwords)])
AH_TEMPLATE(HAVE_GETSPWUID, [Define to 1 if you have the `getspwuid' function. (HP-UX <= 9.X shadow passwords)])
AH_TEMPLATE(HAVE_HEIMDAL, [Define to 1 if your Kerberos is Heimdal.])
+AH_TEMPLATE(HAVE_IN6_ADDR, [Define to 1 if contains struct in6_addr.])
AH_TEMPLATE(HAVE_ISCOMSEC, [Define to 1 if you have the `iscomsec' function. (HP-UX >= 10.x check for shadow enabled)])
AH_TEMPLATE(HAVE_ISSECURE, [Define to 1 if you have the `issecure' function. (SunOS 4.x check for shadow enabled)])
AH_TEMPLATE(HAVE_KERB4, [Define to 1 if you use Kerberos IV.])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/interfaces.c new/sudo-1.6.9p7/interfaces.c
--- old/sudo-1.6.9p6/interfaces.c 2007-08-14 17:19:25.000000000 +0200
+++ new/sudo-1.6.9p7/interfaces.c 2007-10-24 18:43:26.000000000 +0200
@@ -89,7 +89,7 @@
#include "interfaces.h"
#ifndef lint
-__unused static const char rcsid[] = "$Sudo: interfaces.c,v 1.72.2.6 2007/08/14 15:19:25 millert Exp $";
+__unused static const char rcsid[] = "$Sudo: interfaces.c,v 1.72.2.7 2007/10/24 16:43:26 millert Exp $";
#endif /* lint */
@@ -104,7 +104,7 @@
{
struct ifaddrs *ifa, *ifaddrs;
struct sockaddr_in *sin;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct sockaddr_in6 *sin6;
#endif
int i;
@@ -121,7 +121,7 @@
switch(ifa->ifa_addr->sa_family) {
case AF_INET:
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
#endif
num_interfaces++;
@@ -151,7 +151,7 @@
interfaces[i].family = AF_INET;
i++;
break;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
sin6 = (struct sockaddr_in6 *)ifa->ifa_addr;
memcpy(&interfaces[i].addr, &sin6->sin6_addr,
@@ -162,7 +162,7 @@
interfaces[i].family = AF_INET6;
i++;
break;
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
#ifdef HAVE_FREEIFADDRS
@@ -325,7 +325,7 @@
dump_interfaces()
{
int i;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
char addrbuf[INET6_ADDRSTRLEN], maskbuf[INET6_ADDRSTRLEN];
#endif
@@ -336,7 +336,7 @@
printf("\t%s / ", inet_ntoa(interfaces[i].addr.ip4));
puts(inet_ntoa(interfaces[i].netmask.ip4));
break;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
inet_ntop(AF_INET6, &interfaces[i].addr.ip6,
addrbuf, sizeof(addrbuf));
@@ -344,7 +344,7 @@
maskbuf, sizeof(maskbuf));
printf("\t%s / %s\n", addrbuf, maskbuf);
break;
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/interfaces.h new/sudo-1.6.9p7/interfaces.h
--- old/sudo-1.6.9p6/interfaces.h 2007-08-13 18:30:02.000000000 +0200
+++ new/sudo-1.6.9p7/interfaces.h 2007-10-24 18:43:27.000000000 +0200
@@ -17,7 +17,7 @@
* Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
- * $Sudo: interfaces.h,v 1.8.2.2 2007/08/13 16:30:02 millert Exp $
+ * $Sudo: interfaces.h,v 1.8.2.3 2007/10/24 16:43:27 millert Exp $
*/
#ifndef _SUDO_INTERFACES_H
@@ -30,13 +30,13 @@
int family; /* AF_INET or AF_INET6 */
union {
struct in_addr ip4;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr ip6;
#endif
} addr;
union {
struct in_addr ip4;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr ip6;
#endif
} netmask;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/Makefile.in new/sudo-1.6.9p7/Makefile.in
--- old/sudo-1.6.9p6/Makefile.in 2007-10-09 15:29:20.000000000 +0200
+++ new/sudo-1.6.9p7/Makefile.in 2007-10-25 17:52:02.000000000 +0200
@@ -20,7 +20,7 @@
#
# @configure_input@
#
-# $Sudo: Makefile.in,v 1.246.2.16 2007/10/09 13:29:20 millert Exp $
+# $Sudo: Makefile.in,v 1.246.2.17 2007/10/25 15:52:02 millert Exp $
#
#### Start of system configuration section. ####
@@ -131,7 +131,7 @@
LIBOBJS = @LIBOBJS@ @ALLOCA@
-VERSION = 1.6.9p6
+VERSION = 1.6.9p7
DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES HISTORY INSTALL INSTALL.configure \
LICENSE Makefile.in PORTING README README.LDAP \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/parse.c new/sudo-1.6.9p7/parse.c
--- old/sudo-1.6.9p6/parse.c 2007-08-25 04:37:11.000000000 +0200
+++ new/sudo-1.6.9p7/parse.c 2007-10-24 18:43:27.000000000 +0200
@@ -90,7 +90,7 @@
#endif /* HAVE_EXTENDED_GLOB */
#ifndef lint
-__unused static const char rcsid[] = "$Sudo: parse.c,v 1.160.2.13 2007/08/25 02:37:11 millert Exp $";
+__unused static const char rcsid[] = "$Sudo: parse.c,v 1.160.2.14 2007/10/24 16:43:27 millert Exp $";
#endif /* lint */
/*
@@ -390,13 +390,13 @@
int i;
struct in_addr addr;
struct interface *ifp;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr addr6;
int j;
#endif
int family;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
if (inet_pton(AF_INET6, n, &addr6) > 0) {
family = AF_INET6;
} else
@@ -417,7 +417,7 @@
== addr.s_addr)
return(TRUE);
break;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
if (memcmp(ifp->addr.ip6.s6_addr, addr6.s6_addr,
sizeof(addr6.s6_addr)) == 0)
@@ -428,7 +428,7 @@
}
if (j == sizeof(addr6.s6_addr))
return(TRUE);
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
@@ -443,13 +443,13 @@
int i;
struct in_addr addr, mask;
struct interface *ifp;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr addr6, mask6;
int j;
#endif
int family;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
if (inet_pton(AF_INET6, n, &addr6) > 0)
family = AF_INET6;
else
@@ -470,7 +470,7 @@
mask.s_addr = htonl(mask.s_addr);
}
}
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
else {
if (inet_pton(AF_INET6, m, &mask6) <= 0) {
j = atoi(m);
@@ -484,7 +484,7 @@
}
}
}
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
for (i = 0; i < num_interfaces; i++) {
ifp = &interfaces[i];
@@ -494,7 +494,7 @@
case AF_INET:
if ((ifp->addr.ip4.s_addr & mask.s_addr) == addr.s_addr)
return(TRUE);
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
for (j = 0; j < sizeof(addr6.s6_addr); j++) {
if ((ifp->addr.ip6.s6_addr[j] & mask6.s6_addr[j]) != addr6.s6_addr[j])
@@ -502,7 +502,7 @@
}
if (j == sizeof(addr6.s6_addr))
return(TRUE);
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/sudo.cat new/sudo-1.6.9p7/sudo.cat
--- old/sudo-1.6.9p6/sudo.cat 2007-10-09 15:30:15.000000000 +0200
+++ new/sudo-1.6.9p7/sudo.cat 2007-10-25 17:52:21.000000000 +0200
@@ -61,7 +61,7 @@
-1.6.9p6 October 9, 2007 1
+1.6.9p7 October 24, 2007 1
@@ -127,7 +127,7 @@
-1.6.9p6 October 9, 2007 2
+1.6.9p7 October 24, 2007 2
@@ -193,7 +193,7 @@
-1.6.9p6 October 9, 2007 3
+1.6.9p7 October 24, 2007 3
@@ -259,7 +259,7 @@
-1.6.9p6 October 9, 2007 4
+1.6.9p7 October 24, 2007 4
@@ -325,7 +325,7 @@
-1.6.9p6 October 9, 2007 5
+1.6.9p7 October 24, 2007 5
@@ -391,7 +391,7 @@
-1.6.9p6 October 9, 2007 6
+1.6.9p7 October 24, 2007 6
@@ -457,7 +457,7 @@
-1.6.9p6 October 9, 2007 7
+1.6.9p7 October 24, 2007 7
@@ -523,7 +523,7 @@
-1.6.9p6 October 9, 2007 8
+1.6.9p7 October 24, 2007 8
@@ -589,6 +589,6 @@
-1.6.9p6 October 9, 2007 9
+1.6.9p7 October 24, 2007 9
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/sudoers.cat new/sudo-1.6.9p7/sudoers.cat
--- old/sudo-1.6.9p6/sudoers.cat 2007-10-09 15:30:15.000000000 +0200
+++ new/sudo-1.6.9p7/sudoers.cat 2007-10-25 17:52:21.000000000 +0200
@@ -61,7 +61,7 @@
-1.6.9p6 October 9, 2007 1
+1.6.9p7 October 24, 2007 1
@@ -127,7 +127,7 @@
-1.6.9p6 October 9, 2007 2
+1.6.9p7 October 24, 2007 2
@@ -193,7 +193,7 @@
-1.6.9p6 October 9, 2007 3
+1.6.9p7 October 24, 2007 3
@@ -259,7 +259,7 @@
-1.6.9p6 October 9, 2007 4
+1.6.9p7 October 24, 2007 4
@@ -325,7 +325,7 @@
-1.6.9p6 October 9, 2007 5
+1.6.9p7 October 24, 2007 5
@@ -391,7 +391,7 @@
-1.6.9p6 October 9, 2007 6
+1.6.9p7 October 24, 2007 6
@@ -457,7 +457,7 @@
-1.6.9p6 October 9, 2007 7
+1.6.9p7 October 24, 2007 7
@@ -523,7 +523,7 @@
-1.6.9p6 October 9, 2007 8
+1.6.9p7 October 24, 2007 8
@@ -589,7 +589,7 @@
-1.6.9p6 October 9, 2007 9
+1.6.9p7 October 24, 2007 9
@@ -655,7 +655,7 @@
-1.6.9p6 October 9, 2007 10
+1.6.9p7 October 24, 2007 10
@@ -721,7 +721,7 @@
-1.6.9p6 October 9, 2007 11
+1.6.9p7 October 24, 2007 11
@@ -787,7 +787,7 @@
-1.6.9p6 October 9, 2007 12
+1.6.9p7 October 24, 2007 12
@@ -853,7 +853,7 @@
-1.6.9p6 October 9, 2007 13
+1.6.9p7 October 24, 2007 13
@@ -919,7 +919,7 @@
-1.6.9p6 October 9, 2007 14
+1.6.9p7 October 24, 2007 14
@@ -985,7 +985,7 @@
-1.6.9p6 October 9, 2007 15
+1.6.9p7 October 24, 2007 15
@@ -1051,7 +1051,7 @@
-1.6.9p6 October 9, 2007 16
+1.6.9p7 October 24, 2007 16
@@ -1117,7 +1117,7 @@
-1.6.9p6 October 9, 2007 17
+1.6.9p7 October 24, 2007 17
@@ -1183,7 +1183,7 @@
-1.6.9p6 October 9, 2007 18
+1.6.9p7 October 24, 2007 18
@@ -1249,7 +1249,7 @@
-1.6.9p6 October 9, 2007 19
+1.6.9p7 October 24, 2007 19
@@ -1315,7 +1315,7 @@
-1.6.9p6 October 9, 2007 20
+1.6.9p7 October 24, 2007 20
@@ -1381,7 +1381,7 @@
-1.6.9p6 October 9, 2007 21
+1.6.9p7 October 24, 2007 21
@@ -1447,7 +1447,7 @@
-1.6.9p6 October 9, 2007 22
+1.6.9p7 October 24, 2007 22
@@ -1513,7 +1513,7 @@
-1.6.9p6 October 9, 2007 23
+1.6.9p7 October 24, 2007 23
@@ -1579,6 +1579,6 @@
-1.6.9p6 October 9, 2007 24
+1.6.9p7 October 24, 2007 24
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/sudoers.man.in new/sudo-1.6.9p7/sudoers.man.in
--- old/sudo-1.6.9p6/sudoers.man.in 2007-10-09 15:30:47.000000000 +0200
+++ new/sudo-1.6.9p7/sudoers.man.in 2007-10-25 17:52:03.000000000 +0200
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.\" $Sudo: sudoers.man.in,v 1.45.2.15 2007/10/09 13:30:47 millert Exp $
+.\" $Sudo: sudoers.man.in,v 1.45.2.16 2007/10/25 15:52:03 millert Exp $
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
@@ -150,7 +150,7 @@
.\" ========================================================================
.\"
.IX Title "SUDOERS @mansectform@"
-.TH SUDOERS @mansectform@ "October 9, 2007" "1.6.9p6" "MAINTENANCE COMMANDS"
+.TH SUDOERS @mansectform@ "October 24, 2007" "1.6.9p7" "MAINTENANCE COMMANDS"
.SH "NAME"
sudoers \- list of which users may execute what
.SH "DESCRIPTION"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/sudo.man.in new/sudo-1.6.9p7/sudo.man.in
--- old/sudo-1.6.9p6/sudo.man.in 2007-10-09 15:30:47.000000000 +0200
+++ new/sudo-1.6.9p7/sudo.man.in 2007-10-25 17:52:02.000000000 +0200
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.\" $Sudo: sudo.man.in,v 1.29.2.13 2007/10/09 13:30:47 millert Exp $
+.\" $Sudo: sudo.man.in,v 1.29.2.14 2007/10/25 15:52:02 millert Exp $
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
@@ -150,7 +150,7 @@
.\" ========================================================================
.\"
.IX Title "SUDO @mansectsu@"
-.TH SUDO @mansectsu@ "October 9, 2007" "1.6.9p6" "MAINTENANCE COMMANDS"
+.TH SUDO @mansectsu@ "October 24, 2007" "1.6.9p7" "MAINTENANCE COMMANDS"
.SH "NAME"
sudo, sudoedit \- execute a command as another user
.SH "SYNOPSIS"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/testsudoers.c new/sudo-1.6.9p7/testsudoers.c
--- old/sudo-1.6.9p6/testsudoers.c 2007-08-25 04:45:09.000000000 +0200
+++ new/sudo-1.6.9p7/testsudoers.c 2007-10-24 18:43:27.000000000 +0200
@@ -75,7 +75,7 @@
#endif /* HAVE_FNMATCH */
#ifndef lint
-__unused static const char rcsid[] = "$Sudo: testsudoers.c,v 1.88.2.5 2007/08/25 02:45:09 millert Exp $";
+__unused static const char rcsid[] = "$Sudo: testsudoers.c,v 1.88.2.6 2007/10/24 16:43:27 millert Exp $";
#endif /* lint */
@@ -180,13 +180,13 @@
int i;
struct in_addr addr;
struct interface *ifp;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr addr6;
int j;
#endif
int family;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
if (inet_pton(AF_INET6, n, &addr6) > 0) {
family = AF_INET6;
} else
@@ -207,7 +207,7 @@
== addr.s_addr)
return(TRUE);
break;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
if (memcmp(ifp->addr.ip6.s6_addr, addr6.s6_addr,
sizeof(addr6.s6_addr)) == 0)
@@ -218,7 +218,7 @@
}
if (j == sizeof(addr6.s6_addr))
return(TRUE);
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
@@ -233,13 +233,13 @@
int i;
struct in_addr addr, mask;
struct interface *ifp;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
struct in6_addr addr6, mask6;
int j;
#endif
int family;
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
if (inet_pton(AF_INET6, n, &addr6) > 0)
family = AF_INET6;
else
@@ -260,7 +260,7 @@
mask.s_addr = htonl(mask.s_addr);
}
}
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
else {
if (inet_pton(AF_INET6, m, &mask6) <= 0) {
j = atoi(m);
@@ -274,7 +274,7 @@
}
}
}
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
for (i = 0; i < num_interfaces; i++) {
ifp = &interfaces[i];
@@ -284,7 +284,7 @@
case AF_INET:
if ((ifp->addr.ip4.s_addr & mask.s_addr) == addr.s_addr)
return(TRUE);
-#ifdef AF_INET6
+#ifdef HAVE_IN6_ADDR
case AF_INET6:
for (j = 0; j < sizeof(addr6.s6_addr); j++) {
if ((ifp->addr.ip6.s6_addr[j] & mask6.s6_addr[j]) != addr6.s6_addr[j])
@@ -292,7 +292,7 @@
}
if (j == sizeof(addr6.s6_addr))
return(TRUE);
-#endif /* AF_INET6 */
+#endif /* HAVE_IN6_ADDR */
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/tgetpass.c new/sudo-1.6.9p7/tgetpass.c
--- old/sudo-1.6.9p6/tgetpass.c 2007-10-08 18:01:10.000000000 +0200
+++ new/sudo-1.6.9p7/tgetpass.c 2007-10-17 17:39:43.000000000 +0200
@@ -70,7 +70,7 @@
#include "sudo.h"
#ifndef lint
-__unused static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111.2.4 2007/10/08 16:01:10 millert Exp $";
+__unused static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111.2.5 2007/10/17 15:39:43 millert Exp $";
#endif /* lint */
#ifndef TCSASOFT
@@ -89,26 +89,36 @@
#endif
/*
- * Abstract method of getting at the term flags.
+ * QNX 6 (at least) has issues with TCSAFLUSH.
*/
-#undef TERM
-#undef tflags
-#ifdef HAVE_TERMIOS_H
-# define TERM termios
-# define tflags c_lflag
-# define term_getattr(f, t) tcgetattr(f, t)
-# define term_setattr(f, t) tcsetattr(f, TCSADRAIN|TCSASOFT, t)
-#else
+#ifdef __QNX__
+#undef TCSAFLUSH
+#define TCSAFLUSH TCSADRAIN
+#endif
+
+/*
+ * Compat macros for non-termios systems.
+ */
+#ifndef HAVE_TERMIOS_H
# ifdef HAVE_TERMIO_H
-# define TERM termio
-# define tflags c_lflag
-# define term_getattr(f, t) ioctl(f, TCGETA, t)
-# define term_setattr(f, t) ioctl(f, TCSETAF, t)
+# undef termios
+# define termios termio
+# define tcgetattr(f, t) ioctl(f, TCGETA, t)
+# define tcsetattr(f, a, t) ioctl(f, a, t)
+# undef TCSAFLUSH
+# define TCSAFLUSH TCSETAF
+# undef TCSANOW
+# define TCSANOW TCSETA
# else
-# define TERM sgttyb
-# define tflags sg_flags
-# define term_getattr(f, t) ioctl(f, TIOCGETP, t)
-# define term_setattr(f, t) ioctl(f, TIOCSETP, t)
+# undef termios
+# define termios sgttyb
+# define c_lflag sg_flags
+# define tcgetattr(f, t) ioctl(f, TIOCGETP, t)
+# define tcsetattr(f, a, t) ioctl(f, a, t)
+# undef TCSAFLUSH
+# define TCSAFLUSH TIOCSETP
+# undef TCSANOW
+# define TCSANOW TIOCSETN
# endif /* HAVE_TERMIO_H */
#endif /* HAVE_TERMIOS_H */
@@ -128,7 +138,7 @@
{
sigaction_t sa, savealrm, saveint, savehup, savequit, saveterm;
sigaction_t savetstp, savettin, savettou;
- struct TERM term, oterm;
+ struct termios term, oterm;
char *pass;
static char buf[SUDO_PASS_MAX + 1];
int input, output, save_errno;
@@ -162,14 +172,14 @@
(void) sigaction(SIGTTOU, &sa, &savettou);
/* Turn echo off/on as specified by flags. */
- if (term_getattr(input, &oterm) == 0) {
+ if (tcgetattr(input, &oterm) == 0) {
(void) memcpy(&term, &oterm, sizeof(term));
if (!ISSET(flags, TGP_ECHO))
- CLR(term.tflags, (ECHO | ECHONL));
+ CLR(term.c_lflag, ECHO|ECHONL);
#ifdef VSTATUS
term.c_cc[VSTATUS] = _POSIX_VDISABLE;
#endif
- (void) term_setattr(input, &term);
+ (void) tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
} else {
memset(&term, 0, sizeof(term));
memset(&oterm, 0, sizeof(oterm));
@@ -186,13 +196,16 @@
alarm(0);
save_errno = errno;
- if (!ISSET(term.tflags, ECHO))
+ if (!ISSET(term.c_lflag, ECHO))
(void) write(output, "\n", 1);
}
/* Restore old tty settings and signals. */
- if (memcmp(&term, &oterm, sizeof(term)) != 0)
- (void) term_setattr(input, &oterm);
+ if (memcmp(&term, &oterm, sizeof(term)) != 0) {
+ while (tcsetattr(input, TCSANOW|TCSASOFT, &oterm) == -1 &&
+ errno == EINTR)
+ continue;
+ }
(void) sigaction(SIGALRM, &savealrm, NULL);
(void) sigaction(SIGINT, &saveint, NULL);
(void) sigaction(SIGHUP, &savehup, NULL);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/TROUBLESHOOTING new/sudo-1.6.9p7/TROUBLESHOOTING
--- old/sudo-1.6.9p6/TROUBLESHOOTING 2007-06-10 19:25:49.000000000 +0200
+++ new/sudo-1.6.9p7/TROUBLESHOOTING 2007-10-25 15:23:44.000000000 +0200
@@ -162,7 +162,7 @@
unfathomable. A "cd" command is totally useless since a child process
cannot affect the current working directory of the parent (your shell).
-Q) When I run sudo it says I am not alllowed to run the command as root
+Q) When I run sudo it says I am not allowed to run the command as root
but I don't want to run it as root, I want to run it as another user.
My sudoers file entry looks like:
bob ALL=(oracle) ALL
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/version.h new/sudo-1.6.9p7/version.h
--- old/sudo-1.6.9p6/version.h 2007-10-09 15:29:20.000000000 +0200
+++ new/sudo-1.6.9p7/version.h 2007-10-25 17:52:03.000000000 +0200
@@ -17,12 +17,12 @@
* Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
- * $Sudo: version.h,v 1.66.2.9 2007/10/09 13:29:20 millert Exp $
+ * $Sudo: version.h,v 1.66.2.10 2007/10/25 15:52:03 millert Exp $
*/
#ifndef _SUDO_VERSION_H
#define _SUDO_VERSION_H
-static const char version[] = "1.6.9p6";
+static const char version[] = "1.6.9p7";
#endif /* _SUDO_VERSION_H */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/visudo.cat new/sudo-1.6.9p7/visudo.cat
--- old/sudo-1.6.9p6/visudo.cat 2007-10-09 15:30:16.000000000 +0200
+++ new/sudo-1.6.9p7/visudo.cat 2007-10-25 17:52:21.000000000 +0200
@@ -61,7 +61,7 @@
-1.6.9p6 October 9, 2007 1
+1.6.9p7 October 24, 2007 1
@@ -127,7 +127,7 @@
-1.6.9p6 October 9, 2007 2
+1.6.9p7 October 24, 2007 2
@@ -193,6 +193,6 @@
-1.6.9p6 October 9, 2007 3
+1.6.9p7 October 24, 2007 3
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sudo-1.6.9p6/visudo.man.in new/sudo-1.6.9p7/visudo.man.in
--- old/sudo-1.6.9p6/visudo.man.in 2007-10-09 15:30:48.000000000 +0200
+++ new/sudo-1.6.9p7/visudo.man.in 2007-10-25 17:52:03.000000000 +0200
@@ -17,7 +17,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.\" $Sudo: visudo.man.in,v 1.20.2.11 2007/10/09 13:30:48 millert Exp $
+.\" $Sudo: visudo.man.in,v 1.20.2.12 2007/10/25 15:52:03 millert Exp $
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
@@ -149,7 +149,7 @@
.\" ========================================================================
.\"
.IX Title "VISUDO @mansectsu@"
-.TH VISUDO @mansectsu@ "October 9, 2007" "1.6.9p6" "MAINTENANCE COMMANDS"
+.TH VISUDO @mansectsu@ "October 24, 2007" "1.6.9p7" "MAINTENANCE COMMANDS"
.SH "NAME"
visudo \- edit the sudoers file
.SH "SYNOPSIS"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org