summaryrefslogtreecommitdiff
path: root/package/cyrus-sasl
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/cyrus-sasl
Initial import
Diffstat (limited to 'package/cyrus-sasl')
-rw-r--r--package/cyrus-sasl/Config.in14
-rw-r--r--package/cyrus-sasl/Makefile74
-rw-r--r--package/cyrus-sasl/ipkg/libsasl2.control4
3 files changed, 92 insertions, 0 deletions
diff --git a/package/cyrus-sasl/Config.in b/package/cyrus-sasl/Config.in
new file mode 100644
index 000000000..6a03bbfb4
--- /dev/null
+++ b/package/cyrus-sasl/Config.in
@@ -0,0 +1,14 @@
+config ADK_COMPILE_CYRUS_SASL
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBSASL2
+
+config ADK_PACKAGE_LIBSASL2
+ prompt "libsasl2.......................... General purpose authentication library"
+ tristate
+ default n
+ select ADK_COMPILE_CYRUS_SASL
+ help
+ A general purpose authentication library.
+
+ http://asg.web.cmu.edu/sasl/
diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile
new file mode 100644
index 000000000..56a1d3838
--- /dev/null
+++ b/package/cyrus-sasl/Makefile
@@ -0,0 +1,74 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= cyrus-sasl
+PKG_VERSION:= 2.1.22
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 45dde9d19193ae9dd388eb68b2027bc9
+MASTER_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --disable-sample \
+ --enable-staticdlopen \
+ --disable-java \
+ --disable-alwaystrue \
+ --disable-checkapop \
+ --enable-cram \
+ --enable-digest \
+ --disable-otp \
+ --disable-srp \
+ --disable-srp-setpass \
+ --disable-krb4 \
+ --disable-gssapi \
+ --disable-gss_mutexes \
+ --enable-plain \
+ --enable-anon \
+ --disable-login \
+ --disable-ntlm \
+ --disable-sql \
+ --without-dblib \
+ --without-gdbm \
+ --with-devrandom="/dev/urandom" \
+ --without-pam \
+ --without-saslauthd \
+ --without-authdaemond \
+ --without-pwcheck \
+ --with-ipctype=unix \
+ --with-openssl="${STAGING_DIR}/usr" \
+ --without-des \
+ --without-opie \
+ --without-ldap \
+ --without-mysql \
+ --without-pgsql \
+ --without-sqlite \
+ --without-rc4 \
+ --without-dmalloc \
+ --without-sfio \
+ --disable-static
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+pre-build:
+ ${MAKE} -C ${WRKBUILD}/include \
+ CC="${HOSTCC}" \
+ LINK="${HOSTCC} -o makemd5 -lc" \
+ LIBS="" \
+ CFLAGS="" \
+ LDFLAGS="" \
+ CPPFLAGS="" \
+ makemd5
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
+ ${CP} ${WRKINST}/usr/lib/libsasl2.so.* ${IDIR_LIBSASL2}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so.* ${IDIR_LIBSASL2}/usr/lib/sasl2/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cyrus-sasl/ipkg/libsasl2.control b/package/cyrus-sasl/ipkg/libsasl2.control
new file mode 100644
index 000000000..82e0f0a48
--- /dev/null
+++ b/package/cyrus-sasl/ipkg/libsasl2.control
@@ -0,0 +1,4 @@
+Package: libsasl2
+Priority: optional
+Section: libs
+Description: a general purpose authentication library