diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2007-08-11 12:31:15 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2007-08-11 12:31:15 +0000 |
commit | 95c64be40fc861862743a1f09a72fee6f89911c9 (patch) | |
tree | e4a8f1f02dc4da7425fb5bdda37ff33987b74fbc | |
parent | 5480228b8a103559754b97c5a07142bae836814e (diff) |
sudo 1.6.8p12: Fix build to work with the newer autotools versions.
-rw-r--r-- | packages/sudo/files/autofoo.patch | 9 | ||||
-rw-r--r-- | packages/sudo/sudo_1.6.8p12.bb | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/packages/sudo/files/autofoo.patch b/packages/sudo/files/autofoo.patch index 4624979bba..995f026a83 100644 --- a/packages/sudo/files/autofoo.patch +++ b/packages/sudo/files/autofoo.patch @@ -2,6 +2,15 @@ Index: sudo-1.6.8p12/configure.in =================================================================== --- sudo-1.6.8p12.orig/configure.in 2004-11-26 04:31:20.000000000 +1100 +++ sudo-1.6.8p12/configure.in 2007-05-16 16:45:20.000000000 +1000 +@@ -1609,7 +1609,7 @@ + AC_CHECK_FUNCS(getspnam, [CHECKSHADOW="false"], [AC_CHECK_LIB(gen, getspnam, AC_DEFINE(HAVE_GETSPNAM) [SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen"])]) + fi + if test "$CHECKSHADOW" = "true"; then +- AC_CHECK_FUNC(getprpwnam, [AC_DEFINE(HAVE_GETPRPWNAM) [CHECKSHADOW="false"; SECUREWARE=1], AC_CHECK_LIB(sec, getprpwnam, AC_DEFINE(HAVE_GETPRPWNAM) [CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"], AC_CHECK_LIB(security, getprpwnam, AC_DEFINE(HAVE_GETPRPWNAM) [CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"], AC_CHECK_LIB(prot, getprpwnam, AC_DEFINE(HAVE_GETPRPWNAM) [CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"])))]) ++ AC_CHECK_FUNC(getprpwnam, [AC_DEFINE(HAVE_GETPRPWNAM) CHECKSHADOW="false"; SECUREWARE=1], [AC_CHECK_LIB(sec, getprpwnam, [AC_DEFINE(HAVE_GETPRPWNAM) CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"], [AC_CHECK_LIB(security, getprpwnam, [AC_DEFINE(HAVE_GETPRPWNAM) CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"], [AC_CHECK_LIB(prot, getprpwnam, [AC_DEFINE(HAVE_GETPRPWNAM) CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"])])])]) + fi + + dnl @@ -1670,7 +1670,7 @@ SUDO_TYPE_INO_T SUDO_FULL_VOID diff --git a/packages/sudo/sudo_1.6.8p12.bb b/packages/sudo/sudo_1.6.8p12.bb index a2e8f86314..f3fa0c6880 100644 --- a/packages/sudo/sudo_1.6.8p12.bb +++ b/packages/sudo/sudo_1.6.8p12.bb @@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3" SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ file://nonrootinstall.patch;patch=1 \ |