|
@@ -4,7 +4,8 @@
|
|
|
include ${ADK_TOPDIR}/rules.mk
|
|
include ${ADK_TOPDIR}/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:= cyrus-sasl
|
|
PKG_NAME:= cyrus-sasl
|
|
|
-PKG_VERSION:= 2.1.28
|
|
|
|
|
|
|
+PKG_VERSION:= b2e733c5f7351fadecadb797882e71d2529f4053
|
|
|
|
|
+PKG_GIT:= hash
|
|
|
PKG_RELEASE:= 1
|
|
PKG_RELEASE:= 1
|
|
|
PKG_HASH:= 3e38933a30b9ce183a5488b4f6a5937a702549cde0d3287903d80968ad4ec341
|
|
PKG_HASH:= 3e38933a30b9ce183a5488b4f6a5937a702549cde0d3287903d80968ad4ec341
|
|
|
PKG_DESCR:= general purpose authentication library
|
|
PKG_DESCR:= general purpose authentication library
|
|
@@ -12,14 +13,11 @@ PKG_SECTION:= libs/crypto
|
|
|
PKG_DEPENDS:= libopenssl
|
|
PKG_DEPENDS:= libopenssl
|
|
|
PKG_BUILDDEP:= openssl
|
|
PKG_BUILDDEP:= openssl
|
|
|
PKG_URL:= http://cyrusimap.org/
|
|
PKG_URL:= http://cyrusimap.org/
|
|
|
-PKG_SITES:= https://github.com/cyrusimap/cyrus-sasl/archive/refs/tags/
|
|
|
|
|
|
|
+PKG_SITES:= https://github.com/cyrusimap/cyrus-sasl.git
|
|
|
PKG_LIBNAME:= libsasl2
|
|
PKG_LIBNAME:= libsasl2
|
|
|
PKG_OPTS:= dev
|
|
PKG_OPTS:= dev
|
|
|
|
|
|
|
|
-PKG_NOPARALLEL:= 1
|
|
|
|
|
-
|
|
|
|
|
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
|
|
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
|
|
|
-WRKDIST= ${WRKDIR}/$(PKG_NAME)-$(PKG_NAME)-${PKG_VERSION}
|
|
|
|
|
|
|
|
|
|
include ${ADK_TOPDIR}/mk/package.mk
|
|
include ${ADK_TOPDIR}/mk/package.mk
|
|
|
|
|
|
|
@@ -27,25 +25,19 @@ $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG
|
|
|
|
|
|
|
|
AUTOTOOL_STYLE:= autogen
|
|
AUTOTOOL_STYLE:= autogen
|
|
|
CONFIGURE_ARGS+= --enable-plain \
|
|
CONFIGURE_ARGS+= --enable-plain \
|
|
|
- --enable-login \
|
|
|
|
|
--disable-anon \
|
|
--disable-anon \
|
|
|
- --disable-cram \
|
|
|
|
|
- --disable-digest \
|
|
|
|
|
--disable-scram \
|
|
--disable-scram \
|
|
|
--with-ipctype=unix \
|
|
--with-ipctype=unix \
|
|
|
--with-devrandom="/dev/urandom" \
|
|
--with-devrandom="/dev/urandom" \
|
|
|
--with-openssl="${STAGING_TARGET_DIR}/usr" \
|
|
--with-openssl="${STAGING_TARGET_DIR}/usr" \
|
|
|
--disable-sample \
|
|
--disable-sample \
|
|
|
- --disable-java \
|
|
|
|
|
--disable-alwaystrue \
|
|
--disable-alwaystrue \
|
|
|
--disable-checkapop \
|
|
--disable-checkapop \
|
|
|
--disable-otp \
|
|
--disable-otp \
|
|
|
--disable-srp \
|
|
--disable-srp \
|
|
|
--disable-srp-setpass \
|
|
--disable-srp-setpass \
|
|
|
- --disable-krb4 \
|
|
|
|
|
--disable-gssapi \
|
|
--disable-gssapi \
|
|
|
--disable-gss_mutexes \
|
|
--disable-gss_mutexes \
|
|
|
- --disable-ntlm \
|
|
|
|
|
--disable-sql \
|
|
--disable-sql \
|
|
|
--disable-static \
|
|
--disable-static \
|
|
|
--without-dblib \
|
|
--without-dblib \
|
|
@@ -54,25 +46,14 @@ CONFIGURE_ARGS+= --enable-plain \
|
|
|
--without-saslauthd \
|
|
--without-saslauthd \
|
|
|
--without-authdaemond \
|
|
--without-authdaemond \
|
|
|
--without-pwcheck \
|
|
--without-pwcheck \
|
|
|
- --without-des \
|
|
|
|
|
--without-opie \
|
|
--without-opie \
|
|
|
--without-ldap \
|
|
--without-ldap \
|
|
|
--without-mysql \
|
|
--without-mysql \
|
|
|
--without-pgsql \
|
|
--without-pgsql \
|
|
|
--without-sqlite \
|
|
--without-sqlite \
|
|
|
- --without-rc4 \
|
|
|
|
|
--without-dmalloc \
|
|
--without-dmalloc \
|
|
|
--without-sfio
|
|
--without-sfio
|
|
|
|
|
|
|
|
-pre-build:
|
|
|
|
|
- ${MAKE} -C ${WRKBUILD}/include \
|
|
|
|
|
- CC="${CC_FOR_BUILD}" \
|
|
|
|
|
- LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
|
|
|
|
|
- LIBS="" \
|
|
|
|
|
- CFLAGS="${CFLAGS_FOR_BUILD}" \
|
|
|
|
|
- LDFLAGS="" \
|
|
|
|
|
- CPPFLAGS="" \
|
|
|
|
|
- makemd5
|
|
|
|
|
|
|
|
|
|
libsasl2-install:
|
|
libsasl2-install:
|
|
|
${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
|
|
${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
|