pkgsrc/security/cyrus-sasl/Makefile.common
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

86 lines
2.6 KiB
Text

# $NetBSD: Makefile.common,v 1.10 2006/10/04 12:07:53 obache Exp $
#
# This file is currently included by:
#
# security/cyrus-sasl/Makefile
# security/cy2-anonymous/Makefile
# security/cy2-crammd5/Makefile
# security/cy2-digestmd5/Makefile
# security/cy2-gssapi/Makefile
# security/cy2-login/Makefile
# security/cy2-ntlm/Makefile
# security/cy2-otp/Makefile
# security/cy2-plain/Makefile
# security/cy2-sql/Makefile
#
# This Makefile fragment should be included _below_ any SASL_PLUGIN
# definition and _above_ any CONFIGURE_ARGS definitions.
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/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://asg.web.cmu.edu/sasl/
DISTINFO_FILE= ${.CURDIR}/../cyrus-sasl/distinfo
PATCHDIR= ${.CURDIR}/../cyrus-sasl/patches
.include "../../mk/bsd.prefs.mk"
.if defined(SASL_PLUGIN) && !empty(SASL_PLUGIN:M[yY][eE][sS])
BUILDLINK_ABI_DEPENDS.cyrus-sasl+= \
cyrus-sasl>=${PKGVERSION:S/nb*//}
. include "../../security/cyrus-sasl/buildlink3.mk"
CPPFLAGS+= -I${BUILDLINK_PREFIX.cyrus-sasl}/include/sasl
.endif
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q}
DOCDIR= ${PREFIX}/share/doc/cyrus-sasl
PLUGINDIR= ${PREFIX}/lib/sasl2
CONFIGURE_ARGS+= --with-plugindir=${PLUGINDIR:Q}
CONFIGURE_ARGS+= --disable-java
# Authentication mechanisms
CONFIGURE_ARGS+= --disable-anon # ANONYMOUS
CONFIGURE_ARGS+= --disable-checkapop # CHECKAPOP
CONFIGURE_ARGS+= --disable-cram # CRAM-MD5
CONFIGURE_ARGS+= --disable-digest # DIGEST-MD5
CONFIGURE_ARGS+= --disable-gssapi # GSSAPI
CONFIGURE_ARGS+= --disable-krb4 # KERBEROS_V4
CONFIGURE_ARGS+= --disable-ldapdb # LDAP
CONFIGURE_ARGS+= --disable-login # LOGIN
CONFIGURE_ARGS+= --disable-ntlm # NTLM
CONFIGURE_ARGS+= --disable-otp # OTP
CONFIGURE_ARGS+= --disable-passdss # PASSDSS
CONFIGURE_ARGS+= --disable-plain # PLAIN
CONFIGURE_ARGS+= --disable-sql # SQL
CONFIGURE_ARGS+= --disable-srp # SRP
CONFIGURE_ARGS+= --disable-srp-setpass
CONFIGURE_ARGS+= --with-dblib=none
CONFIGURE_ARGS+= --without-openssl
CONFIGURE_ARGS+= --without-pam
CONFIGURE_ARGS+= --without-saslauthd
# Left here as reference for patch makers...
# clean up a bit to help package maintainer produce patch files
#
#USE_TOOLS+= automake
#
#post-extract:
# ${_PKG_SILENT}${_PKG_DEBUG} \
# ${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
#
#pre-configure:
# cd ${WRKSRC}; \
# aclocal -I cmulocal -I config; \
# autoheader; \
# automake -a --gnu -i ; \
# autoconf