diff options
author | taca <taca@pkgsrc.org> | 2015-02-19 09:48:27 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-02-19 09:48:27 +0000 |
commit | a308f927bb27923e41d9d9be6ed808f8bbee6b68 (patch) | |
tree | 8d57edba32d91958f5c6e16782c8d7946323ec08 | |
parent | fac458449696f9ff78cda48e0cc89a73cfc07b59 (diff) | |
download | pkgsrc-a308f927bb27923e41d9d9be6ed808f8bbee6b68.tar.gz |
Add tcpwrapper PKG_OPTIONS and enable it default.
Bump PKGREVISION.
-rw-r--r-- | mail/dovecot2/Makefile | 4 | ||||
-rw-r--r-- | mail/dovecot2/PLIST | 3 | ||||
-rw-r--r-- | mail/dovecot2/options.mk | 17 |
3 files changed, 17 insertions, 7 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index ed389753d6a..ca20ec1886f 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.70 2015/01/14 21:44:38 wiz Exp $ +# $NetBSD: Makefile,v 1.71 2015/02/19 09:48:27 taca Exp $ # # when updating to a new release, update ABI depends in # the buildlink3.mk file as well, since the plugins' version # must match (see PR 49563). DISTNAME= dovecot-2.2.15 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/ diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST index 2516e298426..341fc0a9a29 100644 --- a/mail/dovecot2/PLIST +++ b/mail/dovecot2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.37 2014/11/02 07:34:51 taca Exp $ +@comment $NetBSD: PLIST,v 1.38 2015/02/19 09:48:27 taca Exp $ bin/doveadm bin/doveconf bin/dsync @@ -504,6 +504,7 @@ libexec/dovecot/script libexec/dovecot/script-login libexec/dovecot/ssl-params libexec/dovecot/stats +${PLIST.tcpwrappers}libexec/dovecot/tcpwrap libexec/dovecot/xml2text man/man1/deliver.1 man/man1/doveadm-acl.1 diff --git a/mail/dovecot2/options.mk b/mail/dovecot2/options.mk index 6569dd5b8b1..fbd8ef14833 100644 --- a/mail/dovecot2/options.mk +++ b/mail/dovecot2/options.mk @@ -1,15 +1,15 @@ -# $NetBSD: options.mk,v 1.7 2014/12/12 09:38:32 wiz Exp $ +# $NetBSD: options.mk,v 1.8 2015/02/19 09:48:27 taca Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot -PKG_SUPPORTED_OPTIONS= gssapi kqueue ldap mysql pam pgsql sqlite +PKG_SUPPORTED_OPTIONS= gssapi kqueue ldap mysql pam pgsql sqlite tcpwrappers PKG_OPTIONS_OPTIONAL_GROUPS= ssl PKG_OPTIONS_GROUP.ssl= gnutls ssl -PKG_SUGGESTED_OPTIONS= pam sqlite ssl +PKG_SUGGESTED_OPTIONS= pam sqlite ssl tcpwrappers .if defined(PKG_HAVE_KQUEUE) PKG_SUGGESTED_OPTIONS+= kqueue .endif -PLIST_VARS+= ssl +PLIST_VARS+= ssl tcpwrappers .include "../../mk/bsd.options.mk" @@ -92,3 +92,12 @@ CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --without-gssapi .endif + +### +### tcpwrappers support +### +.if !empty(PKG_OPTIONS:Mtcpwrappers) +CONFIGURE_ARGS+= --with-libwrap +. include "../../security/tcp_wrappers/buildlink3.mk" +PLIST.tcpwrappers= yes +.endif |