pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Update cyrus-sasl (and plugins, authd) to 2.1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a9f11da7da8
branches:  trunk
changeset: 519494:3a9f11da7da8
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Oct 04 12:07:53 2006 +0000

description:
Update cyrus-sasl (and plugins, authd) to 2.1.22.

New in 2.1.22
-------------

* Added support for spliting big data blocks (bigger than maxbuf)
  into multiple SASL packets in sasl_encodev
* Various sasl_decode64() fixes
* Increase canonicalization buffer size to 1024 bytes
* Call do_authorization() after successful APOP authentication
* Allow for configuration file location to be configurable independently
  of plugin location (bug # 2795)
* Added sasl_set_path function, which provides a more convenient way
  of setting plugin and config paths. Changed the default
  sasl_getpath_t/sasl_getconfpath_t callbacks to calculate
  the value only once and cache it for later use.
* Fixed load_config to search for the config file in all directories
  (bug # 2796). Changed the default search path to be
  /usr/lib/sasl2:/etc/sasl2
* Don't ignore log_level configuration option in default UNIX syslog
  logging callback
* (Windows) Minor IPv6 related changes in Makefiles for Visual Studio 6
* (Windows) Fixed bug of not setting the CODEGEN (code generation option)
  nmake option if STATIC nmake option is set.
* Several fixed to DIGEST-MD5 plugin:
  - Enable RC4 cipher in Windows build of DIGEST-MD5
  - Server side: handle missing realm option as if realm="" was sent
  - Fix DIGEST-MD5 to properly advertise maxssf when both DES and RC4
    are disabled
  - Check that DIGEST-MD5 SASL packet are no shorter than 16 bytes
* Several changes/fixed to SASLDB plugin:
  - Prevent spurious SASL_NOUSER errors
  - Added ability to keep BerkleyDB handle open between operations
    (for performance reason). New behavior can be enabled
    with --enable-keep-db-open.
* Better error checking in SQL (MySQL) auxprop plugin code
* Added support for HTTP POST password validation in saslauthd
* Added new application ("pluginviewer") that helps report information
  about installed plugins
* Allow for building with OpenSSL 0.9.8
* Allow for building with OpenLDAP 2.3+
* Several quoting fixes to configure script
* A large number of other minor bugfixes and cleanups

diffstat:

 security/cyrus-sasl/Makefile.common       |   4 ++--
 security/cyrus-sasl/PLIST                 |   5 ++++-
 security/cyrus-sasl/distinfo              |  26 ++++++++++++--------------
 security/cyrus-sasl/patches/patch-aa      |   6 +++---
 security/cyrus-sasl/patches/patch-ab      |   6 +++---
 security/cyrus-sasl/patches/patch-ac      |   6 +++---
 security/cyrus-sasl/patches/patch-ae      |   8 ++++----
 security/cyrus-sasl/patches/patch-af      |  13 -------------
 security/cyrus-sasl/patches/patch-ai      |  16 ++++++++--------
 security/cyrus-sasl/patches/patch-ak      |   6 +++---
 security/cyrus-sasl/patches/patch-al      |   8 ++++----
 security/cyrus-sasl/patches/patch-aq      |  10 +++++-----
 security/cyrus-sasl/patches/patch-at      |  12 ------------
 security/cyrus-saslauthd/Makefile         |   5 ++---
 security/cyrus-saslauthd/PLIST            |   3 ++-
 security/cyrus-saslauthd/distinfo         |  18 +++++++++---------
 security/cyrus-saslauthd/patches/patch-aa |   9 ++++-----
 security/cyrus-saslauthd/patches/patch-ab |  11 +++++------
 security/cyrus-saslauthd/patches/patch-ae |   8 ++++----
 security/cyrus-saslauthd/patches/patch-af |  24 ++++++++++++------------
 security/cyrus-saslauthd/patches/patch-ag |   6 +++---
 21 files changed, 92 insertions(+), 118 deletions(-)

diffs (truncated from 547 to 300 lines):

diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/Makefile.common
--- a/security/cyrus-sasl/Makefile.common       Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/Makefile.common       Wed Oct 04 12:07:53 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2006/04/18 17:41:30 jlam Exp $
+# $NetBSD: Makefile.common,v 1.10 2006/10/04 12:07:53 obache Exp $
 #
 # This file is currently included by:
 #
@@ -16,7 +16,7 @@
 # This Makefile fragment should be included _below_ any SASL_PLUGIN
 # definition and _above_ any CONFIGURE_ARGS definitions.
 
-DISTNAME=      cyrus-sasl-2.1.21
+DISTNAME=      cyrus-sasl-2.1.22
 CATEGORIES=    security
 MASTER_SITES=  ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
                ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/PLIST
--- a/security/cyrus-sasl/PLIST Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/PLIST Wed Oct 04 12:07:53 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2006/04/18 17:41:30 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/10/04 12:07:53 obache Exp $
 include/sasl/hmac-md5.h
 include/sasl/md5.h
 include/sasl/md5global.h
@@ -30,6 +30,7 @@
 man/man3/sasl_errdetail.3
 man/man3/sasl_errors.3
 man/man3/sasl_errstring.3
+man/man3/sasl_getconfpath_t.3
 man/man3/sasl_getopt_t.3
 man/man3/sasl_getpath_t.3
 man/man3/sasl_getprop.3
@@ -50,8 +51,10 @@
 man/man3/sasl_setprop.3
 man/man3/sasl_user_exists.3
 man/man3/sasl_verifyfile_t.3
+man/man8/pluginviewer.8
 man/man8/sasldblistusers2.8
 man/man8/saslpasswd2.8
+sbin/pluginviewer
 sbin/sasldblistusers2
 sbin/saslpasswd2
 share/doc/cyrus-sasl/advanced.html
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/distinfo
--- a/security/cyrus-sasl/distinfo      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/distinfo      Wed Oct 04 12:07:53 2006 +0000
@@ -1,19 +1,17 @@
-$NetBSD: distinfo,v 1.15 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: distinfo,v 1.16 2006/10/04 12:07:53 obache Exp $
 
-SHA1 (cyrus-sasl-2.1.21.tar.gz) = 6449f730c963d29d43600a95373a6e2db52d6d66
-RMD160 (cyrus-sasl-2.1.21.tar.gz) = 93e0e1868453c5781602b5cce23e746b8823a26b
-Size (cyrus-sasl-2.1.21.tar.gz) = 1584931 bytes
-SHA1 (patch-aa) = 0267569a89aade1c5aa455d618ebb0016022ecc4
-SHA1 (patch-ab) = 55cd67f8856239ab90696456a16af9498a4354ae
-SHA1 (patch-ac) = 671c462164f0c763b4a646aca9afe293be9448ef
+SHA1 (cyrus-sasl-2.1.22.tar.gz) = d23454ab12054714ab97d229c86cb934ce63fbb1
+RMD160 (cyrus-sasl-2.1.22.tar.gz) = 086e20d01588cb86decad001244b72a37223354c
+Size (cyrus-sasl-2.1.22.tar.gz) = 1609278 bytes
+SHA1 (patch-aa) = a20fca0058a04d00debb78d8cc051ec8d8f57af2
+SHA1 (patch-ab) = e1cb24eb8888ae93846efbb5ef42028ac52a44bd
+SHA1 (patch-ac) = 1b653bee1a1b98e8e197911cc193c2c9b6d9f736
 SHA1 (patch-ad) = c3fe38777a281b6800115711b732254f72887107
-SHA1 (patch-ae) = cfd176eea2e1dba320be14a7d9bf2a4426ba39ad
-SHA1 (patch-af) = 40ec1378971536daddc543a66a1923451a4c381c
+SHA1 (patch-ae) = ac9403e8cdbebb8be04947c9ff8a7505002b3a36
 SHA1 (patch-ag) = 6a2713504078dad681dcc6f7ba296972d03d5b15
 SHA1 (patch-ah) = 595e58bd756e75bda5f25a19119f2fc7c27bc7d9
-SHA1 (patch-ai) = 6309e9117be65e64de635cb004385e9badcd687c
-SHA1 (patch-ak) = 1f727d2bc0536ac5d9ba28f5e4cf01c6c1998987
-SHA1 (patch-al) = d706fb15cdff279251bed0a2c0a7b5cd1bad3584
+SHA1 (patch-ai) = 8b09b26e66f64895de069ebccb582d6d5f38287d
+SHA1 (patch-ak) = e76a0ac7559845ed374c63f0261df9817e383ac1
+SHA1 (patch-al) = d1bfddb749b2f234d3750e3a83bf800bdba4cec4
 SHA1 (patch-ap) = eb87cd283f99da69916a7eb251000f2d9254f17d
-SHA1 (patch-aq) = 6d2f126a52c589a4789d1d3e3d3e8ab5e31cd82f
-SHA1 (patch-at) = cf35ac66873a5bc18216e13a1240019da99563ca
+SHA1 (patch-aq) = e7ed617db1935ed8f8c23d934da70582468c7dea
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-aa
--- a/security/cyrus-sasl/patches/patch-aa      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-aa      Wed Oct 04 12:07:53 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.8 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-aa,v 1.9 2006/10/04 12:07:53 obache Exp $
 
---- configure.in.orig  2005-05-07 00:54:18.000000000 -0400
+--- configure.in.orig  2006-05-18 15:06:13.000000000 -0400
 +++ configure.in
 @@ -44,12 +44,7 @@ dnl
  AC_INIT(lib/saslint.h)
@@ -15,7 +15,7 @@
  
  AC_CONFIG_AUX_DIR(config)
  AC_CANONICAL_HOST
-@@ -506,7 +501,6 @@ SASL_KERBEROS_V4_CHK
+@@ -528,7 +523,6 @@ SASL_KERBEROS_V4_CHK
  SASL_GSSAPI_CHK
  
  if test "$gssapi" != "no"; then
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-ab
--- a/security/cyrus-sasl/patches/patch-ab      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-ab      Wed Oct 04 12:07:53 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.5 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-ab,v 1.6 2006/10/04 12:07:53 obache Exp $
 
---- aclocal.m4.orig    2005-05-15 01:58:02.000000000 -0400
+--- aclocal.m4.orig    2006-05-18 15:30:08.000000000 -0400
 +++ aclocal.m4
 @@ -1696,7 +1696,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
            LIBS="$saved_LIBS -l$dbname"
@@ -11,7 +11,7 @@
              dblib="no")
            if test "$dblib" = "berkeley"; then break; fi
            done
-@@ -3010,8 +3010,11 @@ if test "$gssapi" != no; then
+@@ -3016,8 +3016,11 @@ if test "$gssapi" != no; then
    AC_MSG_RESULT([with implementation ${gss_impl}])
    AC_CHECK_LIB(resolv,res_search,GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS -lresolv")
    SASL_MECHS="$SASL_MECHS libgssapiv2.la"
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-ac
--- a/security/cyrus-sasl/patches/patch-ac      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-ac      Wed Oct 04 12:07:53 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-ac,v 1.5 2006/10/04 12:07:53 obache Exp $
 
---- cmulocal/sasl2.m4.orig     2005-05-07 00:15:17.000000000 -0400
+--- cmulocal/sasl2.m4.orig     2006-05-18 15:25:34.000000000 -0400
 +++ cmulocal/sasl2.m4
-@@ -249,8 +249,11 @@ if test "$gssapi" != no; then
+@@ -252,8 +252,11 @@ if test "$gssapi" != no; then
    AC_MSG_RESULT([with implementation ${gss_impl}])
    AC_CHECK_LIB(resolv,res_search,GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS -lresolv")
    SASL_MECHS="$SASL_MECHS libgssapiv2.la"
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-ae
--- a/security/cyrus-sasl/patches/patch-ae      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-ae      Wed Oct 04 12:07:53 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.3 2006/04/13 21:32:40 wiz Exp $
+$NetBSD: patch-ae,v 1.4 2006/10/04 12:07:53 obache Exp $
 
---- sample/server.c.orig       Sun Oct 27 14:15:37 2002
-+++ sample/server.c    Sun Oct 27 14:15:40 2002
-@@ -117,9 +117,9 @@
+--- sample/server.c.orig       2004-03-29 09:56:40.000000000 -0500
++++ sample/server.c
+@@ -117,9 +117,9 @@ int *listensock(const char *port, const 
        }
  #if defined(IPV6_V6ONLY) && !(defined(__FreeBSD__) && __FreeBSD__ < 3)
        if (r->ai_family == AF_INET6) {
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-af
--- a/security/cyrus-sasl/patches/patch-af      Wed Oct 04 07:42:22 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.4 2006/04/13 21:32:40 wiz Exp $
-
---- lib/client.c.orig  2003-11-12 02:26:06.000000000 +1000
-+++ lib/client.c
-@@ -61,8 +61,6 @@
- 
- static cmech_list_t *cmechlist; /* global var which holds the list */
- 
--static sasl_global_callbacks_t global_callbacks;
--
- static int _sasl_client_active = 0;
- 
- static int init_mechlist()
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-ai
--- a/security/cyrus-sasl/patches/patch-ai      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-ai      Wed Oct 04 12:07:53 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.5 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-ai,v 1.6 2006/10/04 12:07:53 obache Exp $
 
---- configure.orig     2005-05-15 01:58:28.000000000 -0400
+--- configure.orig     2006-05-18 15:30:13.000000000 -0400
 +++ configure
-@@ -1331,8 +1331,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+@@ -1334,8 +1334,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
  
  
@@ -11,7 +11,7 @@
  if test -r "$cache_file"; then
    # Some versions of bash will fail to source /dev/null (special
    # files actually), so we avoid doing that.
-@@ -1350,8 +1348,6 @@ echo "$as_me: creating cache $cache_file
+@@ -1353,8 +1351,6 @@ echo "$as_me: creating cache $cache_file
    >$cache_file
  fi
  
@@ -20,7 +20,7 @@
  ac_aux_dir=
  for ac_dir in config $srcdir/config; do
    if test -f $ac_dir/install-sh; then
-@@ -5155,7 +5151,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+@@ -5156,7 +5152,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
    ac_status=$?
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
@@ -29,7 +29,7 @@
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
-@@ -5912,7 +5908,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+@@ -5913,7 +5909,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
    ac_status=$?
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
@@ -38,7 +38,7 @@
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
-@@ -11158,8 +11154,15 @@ if test $ac_cv_lib_resolv_res_search = y
+@@ -11304,8 +11300,15 @@ if test $ac_cv_lib_resolv_res_search = y
  fi
  
    SASL_MECHS="$SASL_MECHS libgssapiv2.la"
@@ -56,7 +56,7 @@
  
    cmu_save_LIBS="$LIBS"
    LIBS="$LIBS $GSSAPIBASE_LIBS"
-@@ -11257,11 +11260,6 @@ fi
+@@ -11403,11 +11406,6 @@ fi
  
  
  if test "$gssapi" != "no"; then
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-ak
--- a/security/cyrus-sasl/patches/patch-ak      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-ak      Wed Oct 04 12:07:53 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ak,v 1.4 2006/04/13 21:32:41 wiz Exp $
+$NetBSD: patch-ak,v 1.5 2006/10/04 12:07:53 obache Exp $
 
---- Makefile.am.orig   2004-10-19 19:48:11.000000000 -0400
+--- Makefile.am.orig   2006-05-19 10:29:48.000000000 -0400
 +++ Makefile.am
 @@ -69,7 +69,7 @@ else 
  INSTALLOSX = 
@@ -8,6 +8,6 @@
  
 -SUBDIRS=include sasldb plugins lib utils doc man $(PWC) $(SAM) $(JAV) $(SAD)
 +SUBDIRS=include sasldb plugins lib utils doc man $(PWC) $(SAM) $(JAV)
- EXTRA_DIST=config cmulocal win32 mac dlcompat-20010505 NTMakefile
+ EXTRA_DIST=config cmulocal win32 mac dlcompat-20010505 NTMakefile INSTALL.TXT
  
  dist-hook:
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-al
--- a/security/cyrus-sasl/patches/patch-al      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-al      Wed Oct 04 12:07:53 2006 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-al,v 1.4 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-al,v 1.5 2006/10/04 12:07:53 obache Exp $
 
---- Makefile.in.orig   2005-05-15 01:58:33.000000000 -0400
+--- Makefile.in.orig   2006-05-19 10:30:34.000000000 -0400
 +++ Makefile.in
-@@ -241,7 +241,7 @@ AUTOMAKE_OPTIONS = 1.7
+@@ -242,7 +242,7 @@ AUTOMAKE_OPTIONS = 1.7
  @MACOSX_FALSE@INSTALLOSX = 
  @MACOSX_TRUE@INSTALLOSX = install-exec-local-osx
  
 -SUBDIRS = include sasldb plugins lib utils doc man $(PWC) $(SAM) $(JAV) $(SAD)
 +SUBDIRS = include sasldb plugins lib utils doc man $(PWC) $(SAM) $(JAV)
- EXTRA_DIST = config cmulocal win32 mac dlcompat-20010505 NTMakefile
+ EXTRA_DIST = config cmulocal win32 mac dlcompat-20010505 NTMakefile INSTALL.TXT
  
  framedir = /Library/Frameworks/SASL2.framework
diff -r 8dd2d84bdac0 -r 3a9f11da7da8 security/cyrus-sasl/patches/patch-aq
--- a/security/cyrus-sasl/patches/patch-aq      Wed Oct 04 07:42:22 2006 +0000
+++ b/security/cyrus-sasl/patches/patch-aq      Wed Oct 04 12:07:53 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aq,v 1.4 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-aq,v 1.5 2006/10/04 12:07:53 obache Exp $
 
---- sasldb/Makefile.in.orig    2005-05-15 01:58:41.000000000 -0400
+--- sasldb/Makefile.in.orig    2006-05-18 15:30:16.000000000 -0400
 +++ sasldb/Makefile.in
-@@ -239,26 +239,18 @@ extra_common_sources = db_none.c db_ndbm
+@@ -240,26 +240,18 @@ extra_common_sources = db_none.c db_ndbm
  EXTRA_DIST = NTMakefile
  
  noinst_LTLIBRARIES = libsasldb.la
@@ -29,7 +29,7 @@
  LTLIBRARIES = $(noinst_LTLIBRARIES)
  
  libsasldb_la_LDFLAGS =
-@@ -278,10 +270,9 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(
+@@ -279,10 +271,9 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(
  CCLD = $(CC)
  LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
@@ -42,7 +42,7 @@
  
  all: all-am
  



Home | Main Index | Thread Index | Old Index