diff options
author | taca <taca@pkgsrc.org> | 2010-09-21 03:05:27 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-21 03:05:27 +0000 |
commit | 34ccea250cca9723c61f3716506f82e8b149d617 (patch) | |
tree | 4ecd7e80730122ffe3144954081250bb5c821ca5 /security/sudo/patches | |
parent | bfa30968e5163a9f2bf6b49313d4e9c9e1d63242 (diff) | |
download | pkgsrc-34ccea250cca9723c61f3716506f82e8b149d617.tar.gz |
* Fix PLIST when "ldap" is enabled in PKG_OPTIONS.
* Install README.LDAP when "ldap" is enabled in PKG_OPTIONS.
* Fix build problem when "kerberos" is enabled in PKG_OPTIONS.
Bump PKGREVISION since default PLIST has changed.
Diffstat (limited to 'security/sudo/patches')
-rw-r--r-- | security/sudo/patches/patch-aa | 6 | ||||
-rw-r--r-- | security/sudo/patches/patch-af | 27 | ||||
-rw-r--r-- | security/sudo/patches/patch-ag | 20 |
3 files changed, 40 insertions, 13 deletions
diff --git a/security/sudo/patches/patch-aa b/security/sudo/patches/patch-aa index 4f29daeb8cb..887433ced6f 100644 --- a/security/sudo/patches/patch-aa +++ b/security/sudo/patches/patch-aa @@ -1,4 +1,8 @@ -$NetBSD: patch-aa,v 1.24 2010/09/10 17:11:27 spz Exp $ +$NetBSD: patch-aa,v 1.25 2010/09/21 03:05:27 taca Exp $ + +* Fix libtools's link option. +* Prevent to install sudoers files and directory. +* Use standard instal(8) option instead of shell wrapper. --- Makefile.in.orig 2010-09-03 21:43:57.000000000 +0000 +++ Makefile.in diff --git a/security/sudo/patches/patch-af b/security/sudo/patches/patch-af index 2d6f42d303b..32978e8321a 100644 --- a/security/sudo/patches/patch-af +++ b/security/sudo/patches/patch-af @@ -1,4 +1,11 @@ -$NetBSD: patch-af,v 1.25 2010/09/10 17:11:27 spz Exp $ +$NetBSD: patch-af,v 1.26 2010/09/21 03:05:27 taca Exp $ + +* Add "--with-nbsdops" option, NetBSD standard options. +* Link with util(3) in the case of DragonFly, too. +* When specified "--with-kerb5" option, test existence of several functions + even if there is krb5-config. krb5-config dosen't give all definitions for + functions (HAVE_KRB5_*). +* Remove setting sysconfdir to "/etc". --- configure.in.orig 2010-09-06 12:03:33.000000000 +0000 +++ configure.in @@ -30,15 +37,15 @@ $NetBSD: patch-af,v 1.25 2010/09/10 17:11:27 spz Exp $ ;; esac ]) -@@ -2317,6 +2329,8 @@ if test ${with_kerb5-'no'} != "no"; then - if test -n "$KRB5CONFIG"; then - AC_DEFINE(HAVE_KERB5) - AUTH_OBJS="$AUTH_OBJS kerb5.o" -+ fi -+ if test ${with_kerb5-'no'} != "no"; then - CPPFLAGS="$CPPFLAGS `krb5-config --cflags`" - SUDO_LIBS="$SUDO_LIBS `krb5-config --libs`" - dnl +@@ -2370,6 +2382,8 @@ if test ${with_kerb5-'no'} != "no" -a -z + AC_CHECK_LIB(krb5support, main, [SUDO_LIBS="${SUDO_LIBS} -lkrb5support"]) + ]) + AUTH_OBJS="$AUTH_OBJS kerb5.o" ++fi ++if test ${with_kerb5-'no'} != "no"; then + _LIBS="$LIBS" + LIBS="${LIBS} ${SUDO_LIBS}" + AC_CHECK_FUNCS(krb5_verify_user krb5_init_secure_context) @@ -2798,7 +2812,6 @@ test "$libexecdir" = '${exec_prefix}/lib test "$includedir" = '${prefix}/include' && includedir='$(prefix)/include' test "$datarootdir" = '${prefix}/share' && datarootdir='$(prefix)/share' diff --git a/security/sudo/patches/patch-ag b/security/sudo/patches/patch-ag index e6e508f5db3..eb5f53d6c13 100644 --- a/security/sudo/patches/patch-ag +++ b/security/sudo/patches/patch-ag @@ -1,4 +1,11 @@ -$NetBSD: patch-ag,v 1.16 2010/09/10 17:11:27 spz Exp $ +$NetBSD: patch-ag,v 1.17 2010/09/21 03:05:27 taca Exp $ + +* Add "--with-nbsdops" option, NetBSD standard options. +* Link with util(3) in the case of DragonFly, too. +* When specified "--with-kerb5" option, test existence of several functions + even if there is krb5-config. krb5-config dosen't give all definitions for + functions (HAVE_KRB5_*). +* Remove setting sysconfdir to "/etc". --- configure.orig 2010-09-06 12:03:39.000000000 +0000 +++ configure @@ -51,7 +58,16 @@ $NetBSD: patch-ag,v 1.16 2010/09/10 17:11:27 spz Exp $ ;; esac -@@ -18468,7 +18485,6 @@ test "$libexecdir" = '${exec_prefix}/lib +@@ -17124,6 +17141,8 @@ fi + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + AUTH_OBJS="$AUTH_OBJS kerb5.o" ++fi ++if test ${with_kerb5-'no'} != "no"; then + _LIBS="$LIBS" + LIBS="${LIBS} ${SUDO_LIBS}" + for ac_func in krb5_verify_user krb5_init_secure_context +@@ -18468,7 +18487,6 @@ test "$libexecdir" = '${exec_prefix}/lib test "$includedir" = '${prefix}/include' && includedir='$(prefix)/include' test "$datarootdir" = '${prefix}/share' && datarootdir='$(prefix)/share' test "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' && docdir='$(datarootdir)/doc/$(PACKAGE_TARNAME)' |