aboutsummaryrefslogtreecommitdiff
path: root/mail/opensmtpd
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2015-07-15 15:53:21 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2015-07-15 15:53:21 +0000
commit6b1d89f11206e35a3c3fcb056384a21ee2f4f082 (patch)
treed9f2c89fe47a99b59a875f2bd68fe731ac9912df /mail/opensmtpd
parentb9d52546ac9d5132818f409611fe4ccaac3f1488 (diff)
downloadports-6b1d89f11206e35a3c3fcb056384a21ee2f4f082.tar.gz
ports-6b1d89f11206e35a3c3fcb056384a21ee2f4f082.zip
- Update to 5.7.1p1
- Add TABLE_DB option to add support for aliases db - Sort options in alphabetical order PR: 201241 Submitted by: brnrd
Notes
Notes: svn path=/head/; revision=392161
Diffstat (limited to 'mail/opensmtpd')
-rw-r--r--mail/opensmtpd/Makefile15
-rw-r--r--mail/opensmtpd/distinfo4
-rw-r--r--mail/opensmtpd/pkg-plist6
3 files changed, 14 insertions, 11 deletions
diff --git a/mail/opensmtpd/Makefile b/mail/opensmtpd/Makefile
index 59e58005d323..d63bdfd3b54e 100644
--- a/mail/opensmtpd/Makefile
+++ b/mail/opensmtpd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opensmtpd
-PORTVERSION= 5.4.6
+PORTVERSION= 5.7.1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.opensmtpd.org/archives/ \
@@ -17,13 +17,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
-OPTIONS_DEFINE= CA_BUNDLE PAM LIBASRDEVEL MAILERCONF
+OPTIONS_DEFINE= CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB
-OPTIONS_DEFAULT= CA_BUNDLE PAM
+OPTIONS_DEFAULT= CA_BUNDLE PAM TABLE_DB
CA_BUNDLE_DESC= Install CA bundle for OpenSSL
LIBASRDEVEL_DESC= Use development version of libasr
MAILERCONF_DESC= Activate OpenSMTPD in mailer.conf(5)
+TABLE_DB_DESC= Build table-db plugin (aliases)
USES= cpe libtool
USE_OPENSSL= yes
@@ -44,12 +45,14 @@ GROUPS= _smtpd
OPTIONS_SUB= yes
-LIBASRDEVEL_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr
-LIBASRDEVEL_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr-devel
-
CA_BUNDLE_CONFIGURE_ON= --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+LIBASRDEVEL_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr
+LIBASRDEVEL_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr-devel
+
PAM_CONFIGURE_ON= --with-pam --with-pam-service=smtpd
+TABLE_DB_CONFIGURE_ON= --enable-table-db
+
.include <bsd.port.mk>
diff --git a/mail/opensmtpd/distinfo b/mail/opensmtpd/distinfo
index c5d9cf70761d..195802178ed4 100644
--- a/mail/opensmtpd/distinfo
+++ b/mail/opensmtpd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (opensmtpd-5.4.6p1.tar.gz) = f9ee7eafcc0e2e019428cae83844e0166bd56583471e6a3a1cb148cd11a51af5
-SIZE (opensmtpd-5.4.6p1.tar.gz) = 797347
+SHA256 (opensmtpd-5.7.1p1.tar.gz) = 67e9dd9682ca8c181e84e66c76245a4a8f6205834f915a2c021cdfeb22049e3a
+SIZE (opensmtpd-5.7.1p1.tar.gz) = 708295
diff --git a/mail/opensmtpd/pkg-plist b/mail/opensmtpd/pkg-plist
index f3352cd8d6d0..47f97e94cb72 100644
--- a/mail/opensmtpd/pkg-plist
+++ b/mail/opensmtpd/pkg-plist
@@ -1,13 +1,13 @@
etc/mail/smtpd.conf.sample
libexec/opensmtpd/encrypt
libexec/opensmtpd/mail.local
-libexec/opensmtpd/makemap
+%%TABLE_DB%%libexec/opensmtpd/makemap
sbin/smtpctl
sbin/smtpd
-man/man8/newaliases.8.gz
+%%TABLE_DB%%man/man8/makemap.8.gz
+%%TABLE_DB%%man/man8/newaliases.8.gz
man/man8/sendmail.8.gz
man/man8/smtpd.8.gz
-man/man8/makemap.8.gz
man/man8/smtpctl.8.gz
man/man5/table.5.gz
man/man5/smtpd.conf.5.gz