include $(TOPDIR)/rules.mk
PKG_NAME:=cyrus-sasl
-PKG_VERSION:=2.1.20
+PKG_VERSION:=2.1.23
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.andrew.cmu.edu/pub/cyrus-mail/
-PKG_MD5SUM:=268ead27f4ac39bcfe17d9e38e0f2977
+PKG_MD5SUM:=2eb0e48106f0e9cd8001e654f267ecbc
PKG_BUILD_DEPENDS:=libopenssl
PKG_FIXUP = libtool no-autoreconf
--disable-checkapop \
--enable-cram \
--enable-digest \
+ --without-auth-sasldb \
--disable-otp \
--disable-srp \
--disable-srp-setpass \
--disable-login \
--disable-ntlm \
--disable-sql \
- --with-dblib="none" \
+ --disable-ldapdb \
+ --without-dblib \
--without-gdbm \
--with-devrandom="/dev/urandom" \
--without-pam \
CFLAGS="" \
CPPFLAGS="" \
makemd5
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ all install || \
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
+++ /dev/null
---- cyrus-sasl-2.1.20/lib/client.c~ 2003-11-11 11:26:06.000000000 -0500
-+++ cyrus-sasl-2.1.20/lib/client.c 2005-05-31 22:34:14.000000000 -0400
-@@ -61,7 +61,7 @@
-
- static cmech_list_t *cmechlist; /* global var which holds the list */
-
--static sasl_global_callbacks_t global_callbacks;
-+sasl_global_callbacks_t global_callbacks;
-
- static int _sasl_client_active = 0;
-
+++ /dev/null
---- cyrus-sasl-2.1.20/config/config.sub.orig 2008-04-25 21:22:10.000000000 -0500
-+++ cyrus-sasl-2.1.20/config/config.sub 2008-04-25 21:22:59.000000000 -0500
-@@ -241,7 +241,7 @@
- | mips64vr5000 | mips64vr5000el | mcore | s390 | s390x \
- | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
- | v850 | c4x \
-- | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
-+ | thumb | d10v | d30v | fr30 | avr | avr32 | openrisc | tic80 \
- | pj | pjl | h8500 | z8k)
- basic_machine=$basic_machine-unknown
- ;;
--- /dev/null
+--- a/config/config.sub
++++ b/config/config.sub
+@@ -241,7 +241,7 @@ case $basic_machine in
+ | mips64vr5000 | mips64vr5000el | mcore | s390 | s390x \
+ | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
+ | v850 | c4x \
+- | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
++ | thumb | d10v | d30v | fr30 | avr | avr32 | openrisc | tic80 \
+ | pj | pjl | h8500 | z8k)
+ basic_machine=$basic_machine-unknown
+ ;;