]> git.pld-linux.org Git - packages/dovecot.git/commitdiff
- more auth mechanisms+bconds
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 8 Jul 2003 11:21:14 +0000 (11:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dovecot.spec -> 1.3

dovecot.spec

index 108f81ff0335be96bc941a35ec1a8b965b77663d..6a9e744dd2633e2773ed1bc7390cb580dc2878a6 100644 (file)
@@ -1,3 +1,9 @@
+#
+# Conditional build:
+# _without_ldap                - without LDAP auth
+# _without_pgsql       - without PostgreSQL auth
+# _without_sasl                - without SASL auth
+#
 Summary:       IMAP and POP3 server written with security primarily in mind
 Summary(pl):   Serwer IMAP i POP3 pisany g³ównie z my¶l± o bezpieczeñstwie
 Name:          dovecot
@@ -10,7 +16,12 @@ Source0:     http://dovecot.procontrol.fi/%{name}-%{version}.tar.gz
 URL:           http://dovecot.procontrol.fi/
 BuildRequires: autoconf
 BuildRequires: automake
+%{!?_without_sasl:BuildRequires:       cyrus-sasl-devel >= 2.0}
 BuildRequires: libtool
+%{!?_without_ldap:BuildRequires:       openldap-devel}
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+%{!?_without_pgsql:BuildRequires:      postgresql-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -87,7 +98,13 @@ Stan:
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{?debug:--enable-debug} \
+       %{!?_without_ldap:--with-ldap} \
+       %{!?_without_pgsql:--with-pgsql} \
+       %{!?_without_sasl:--with-cyrus-sasl2} \
+       --with-ssl=openssl \
+       --with-ssl-dir=/var/lib/openssl
 
 %{__make}
 
This page took 0.036189 seconds and 4 git commands to generate.