pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dovecot add pam as a supported option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf4a8a261503
branches:  trunk
changeset: 498283:bf4a8a261503
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Aug 19 04:57:01 2005 +0000

description:
add pam as a supported option.

bump PKGREVISION since this is a change from the previous behaviour,
where PAM support was autodetected. it must now be explicitly enabled
via PKG_OPTIONS.dovecot.

diffstat:

 mail/dovecot/Makefile   |   3 ++-
 mail/dovecot/options.mk |  14 ++++++++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r de240134a55a -r bf4a8a261503 mail/dovecot/Makefile
--- a/mail/dovecot/Makefile     Fri Aug 19 04:44:09 2005 +0000
+++ b/mail/dovecot/Makefile     Fri Aug 19 04:57:01 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.37 2005/08/19 04:57:01 grant Exp $
 
 DISTNAME=              dovecot-0.99.14
+PKGREVISION=           1
 CATEGORIES=            mail
 MASTER_SITES=          http://www.dovecot.org/releases/
 
diff -r de240134a55a -r bf4a8a261503 mail/dovecot/options.mk
--- a/mail/dovecot/options.mk   Fri Aug 19 04:44:09 2005 +0000
+++ b/mail/dovecot/options.mk   Fri Aug 19 04:57:01 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2005/01/08 19:58:16 schmonz Exp $
+# $NetBSD: options.mk,v 1.7 2005/08/19 04:57:01 grant Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.dovecot
-PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pgsql sasl
+PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pgsql sasl pam
 .include "../../mk/bsd.options.mk"
 
 ###
@@ -55,3 +55,13 @@
 CONFIGURE_ARGS+=       --with-cyrus-sasl2
 .  include "../../security/cyrus-sasl2/buildlink3.mk"
 .endif
+
+###
+### PAM support.
+###
+.if !empty(PKG_OPTIONS:Mpam)
+CONFIGURE_ARGS+=       --with-pam
+.  include "../../mk/pam.buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-pam
+.endif



Home | Main Index | Thread Index | Old Index