Commit graph

18 commits

Author SHA1 Message Date
obache
d564a6c823 Force to detect correct library when ${SASL_DBTYPE}=="berkeley".
Reported by David Carrel in pkgsrc-users@.
2006-11-02 13:02:39 +00:00
obache
1e0df3a9b8 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
2006-10-04 12:07:53 +00:00
jlam
b885afa1a3 Updated security/cyrus-sasl to 2.1.21. Changes from version 2.1.20 include:
* lib/dlopen.c: log the reason for opendir() failure
  when loading plugin.
* lib/common.c: honor log level setting
* sample/sample-client.c, sample/sample-server.c: Fixed several
  64 bit portability warnings.
* utils/testsuite.c: Fixed several 64 bit portability warnings.
* utils/saslpasswd.c: Fixed typo in an auxprop name.
* include/saslplug.h, lib/common.c, lib/saslint.h,
  lib/server.c: Added sasl_server_plugin_info().
* lib/common.c: initialize path in case caller didn't.
2006-04-18 17:41:30 +00:00
wiz
5c20b924a9 Add current contents of security/cyrus-sasl2, starting its move
to security/cyrus-sasl (to make PKGNAME match directory name).
2006-04-13 21:32:40 +00:00
jlam
e8b16d2e6e Remove security/cyrus-sasl and security/cy-login. These packages
tracked the Cyrus SASL 1.5.x releases, which are no longer maintained.
Adjust packages to use security/cyrus-sasl2 instead for SASL support.
This closes PR pkg/28218 and PR pkg/29736.
2005-03-28 09:39:56 +00:00
martti
5fc154101c On NetBSD use /dev/urandom insted of /dev/random (PR#19275).
Bump PKGREVISION.
2002-12-16 10:55:03 +00:00
jlam
366cb19d6c Fix sasl-config script so that "sasl-config --libs" returns the full list
of libraries and linker flags needed to link against libsasl.  Bump
PKGREVISION and bump the BUILDLINK_DEPENDS as packages will be needing to
use a version of cyrus-sasl with a correct sasl-config.
2002-10-21 06:03:41 +00:00
seb
32e335d7fc Use int32_t while dealing with sasldb version not long! This fix cyrus sasl
on sparc64.
Bump PKGREVISION.
2002-10-07 19:16:46 +00:00
jlam
f2f4bdcbf4 Remove dependency on autoconf/automake and finish buildlink2 conversion. 2002-09-07 07:37:37 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
0b78108b2e Build and install "saslauthd", a daemon running as root that performs
plaintext password authentication for Cyrus SASL.  This will allow daemons
_not_ running as root to perform SASL PLAIN authentication (including
getpwent and PAM).  Bump PKGREVISION to 1.
2002-07-31 03:23:06 +00:00
wiz
dc41591fd2 Make it compile with SASL_USE_GSSAPI=YES. Closes pkg/16040 by
Rodolphe de SAINT LEGER.
2002-03-24 23:30:18 +00:00
skrll
e2ee1971dd Update to 1.5.27. Changes are mostly bugfixes including a fix for the
format string vulnerability described in

        http://www.securityfocus.com/bid/3498

Closes pkg/15149 from <naoki@fukaumi.org>
2002-01-13 14:23:37 +00:00
martti
23ac7969fc Added optional GSSAPI support. To activate this feature, please set
SASL_USE_GSSAPI=YES in /etc/mk.conf
2001-12-10 12:43:21 +00:00
jlam
78332fa503 Use "/dev/urandom" for random data source if it exists.
Fixes:	pkg/11469 by Chris Jones <chris@cjones.org>
	pkg/12092 by Jesse Off <joff@nuewmonics.com>
2001-01-31 22:47:53 +00:00
jlam
4890f5ad3c Update cyrus-sasl to 1.5.24nb2:
* Move headers to ${PREFIX}/include and get rid of need for the MD5
  headers.
* Move creation of cyrus user and mail group from cyrus-imapd to cyrus-sasl.
* Always compile support for pwcheck.
* Supply a ${PREFIX}/etc/rc.d/pwcheck script that drops in the rc.d startup
  scheme.
* Supply a sasl-config script that can return compiler flags needed for
  linking against -lsasl.
* Install documentation.
* Supply DEINSTALL/INSTALL scripts to manage the /var/pwcheck directory
  and /etc/sasldb shared secrets database.
* Improve the descriptions in the COMMENT and DESCR files.
* Make me the maintainer.
2000-12-10 09:43:36 +00:00
wiz
1c4f98b518 Fix kerberos4 recognition if ${PREFIX} != /usr/local.
Also change libdes recognition so that it builds with openssl. Fixes pkg/11170.
2000-12-08 14:32:00 +00:00
jlam
0369f1e81d Reimport cyrus-sasl under security, since it's an authentication and
security library.
2000-08-25 15:23:49 +00:00