[Pkg-cyrus-sasl2-commits] r189 - in /cyrus-sasl-2.1/trunk/debian:
changelog rules
fabbe at users.alioth.debian.org
fabbe at users.alioth.debian.org
Sat Feb 24 11:51:51 CET 2007
Author: fabbe
Date: Sat Feb 24 11:51:51 2007
New Revision: 189
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=189
Log:
Allow turning off SQL, LDAP and GSSAPI support at build time, to ease bootstrapping of new architectures.
Modified:
cyrus-sasl-2.1/trunk/debian/changelog
cyrus-sasl-2.1/trunk/debian/rules
Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=189&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Sat Feb 24 11:51:51 2007
@@ -2,7 +2,11 @@
* NOT RELEASED YET
- -- Fabian Fagerholm <fabbe at debian.org> Thu, 14 Dec 2006 00:12:42 +0200
+ [ Fabian Fagerholm ]
+ * debian/rules: allow turning off SQL, LDAP and GSSAPI at build time,
+ to ease bootstrapping new architectures (Closes: #404268).
+
+ -- Fabian Fagerholm <fabbe at debian.org> Sat, 24 Feb 2007 12:49:46 +0200
cyrus-sasl2 (2.1.22.dfsg1-8) unstable; urgency=high
Modified: cyrus-sasl-2.1/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/rules?rev=189&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/rules (original)
+++ cyrus-sasl-2.1/trunk/debian/rules Sat Feb 24 11:51:51 2007
@@ -35,6 +35,29 @@
CFLAGS += -O0
else
CFLAGS += -O2
+endif
+
+# SQL support may be turned off during the build, but is on by default.
+ifeq (,$(findstring no-sql,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_SQL=--enable-sql
+else
+ CONFIGURE_SQL=--disable-sql
+endif
+
+# LDAP support may be turned off during the build, but is on by default.
+ifeq (,$(findstring no-ldap,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_LDAP=--with-ldap
+ CONFIGURE_LDAPDB=--enable-ldapdb
+else
+ CONFIGURE_LDAP=--without-ldap
+ CONFIGURE_LDAPDB=--disable-ldapdb
+endif
+
+# GSSAPI support may be turned off during the build, but is on by default
+ifeq (,$(findstring no-gssapi,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_GSSAPI=--enable-gssapi
+else
+ CONFIGURE_GSSAPI=--disable-gssapi
endif
# Prepare shared library version numbers.
@@ -115,7 +138,7 @@
--disable-srp \
--disable-srp-setpass \
--disable-krb4 \
- --enable-gssapi \
+ $(CONFIGURE_GSSAPI) \
--enable-gss_mutexes \
--enable-auth-sasldb \
--enable-plain \
@@ -123,12 +146,12 @@
--enable-login \
--enable-ntlm \
--disable-passdss \
- --enable-sql \
- --enable-ldapdb \
+ $(CONFIGURE_SQL) \
+ $(CONFIGURE_LDAPDB) \
--disable-macos-framework \
--with-pam \
--with-saslauthd=/var/run/saslauthd \
- --with-ldap \
+ $(CONFIGURE_LDAP) \
--with-pgsql=/usr/include/postgresql \
--with-configdir=/etc/sasl:/usr/lib/sasl2 \
--sysconfdir=/etc \
More information about the Pkg-cyrus-sasl2-commits
mailing list