pkgsrc/security/courier-authlib/patches/patch-ab

32 lines
893 B
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.5 2007/10/15 15:37:01 jlam Exp $
--- configure.orig Sat Sep 29 14:43:43 2007
+++ configure
@@ -23855,7 +23855,7 @@ done
test -n "$PG_CONFIG" || PG_CONFIG="pg_config"
-PGSQL_LIBS="-lpq"
Update security/courier-authlib to 0.57. Changes from version 0.55 include: * authlib: create the authtest and authpasswd manual pages. * authdaemon.c (auth_generic): Silly bug in auth_generic(). * authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd(). * authpgsqllib.c (auth_pgsql_setpass): Ditto. * authmysqllib.c (auth_mysql_setpass): Ditto. * authmysqllib.c (auth_mysql_setpass): Fix a memory leak. * authpipe: more fixes to the authpipe module. * authpipe: various fixes to the authpipe module. * authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe module. * New authpipe authentication module. * authldap.schema: Add mailhost to the recommended LDAP schema. * README_authlib.sgml: Document updated authpipe protocol. * cryptpassword.c (authcryptpasswd): Fix handling of encryption hints. * checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on crypted passwords. * checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords. * authdaemond.c: Strip full name/gecos field after the first comma. * authdaemond: Pass LOGGEROPTS option to authdaemond. * liblog/logger.c: Fix wrong args to setuidgid(). * liblog/logger.c: Added -droproot option to courierlogger. * liblock/lockdaemon.c: Try to recover if upgraded daemon process runs under a different uid. * Changed -uid and -gid options to -user and -group for consistency with couriertcpd. Change them to affect courierlogger itself, after it has spawned any child. * Optional default domain for authentication requests. * Fix the error code when an empty password is provided.
2005-08-11 02:03:16 +02:00
+test -n "$PGSQL_LIBS" || PGSQL_LIBS="-lpq"
# Check whether --with-pgsql-libs was given.
if test "${with_pgsql_libs+set}" = set; then
@@ -25649,7 +25649,7 @@ rm -f authdaemonrc.h authldaprc.h authmy
result=""
-if test -x "$COURIERCONFIG"
+if false && test -x "$COURIERCONFIG"
then
$COURIERCONFIG >conftest.out || exit 1
sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
@@ -25661,7 +25661,7 @@ then
result=" (from courier-config)"
fi
-if test -x "$bindir/courierauthconfig"
+if false && test -x "$bindir/courierauthconfig"
then
$bindir/courierauthconfig --configfiles >conftest.out || exit 1
sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1