aboutsummaryrefslogtreecommitdiffstats
path: root/mail/opensmtpd
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2015-07-15 23:53:21 +0800
committerashish <ashish@FreeBSD.org>2015-07-15 23:53:21 +0800
commit9c449619e5e18a12694435cd63b0b62401008918 (patch)
treed9f2c89fe47a99b59a875f2bd68fe731ac9912df /mail/opensmtpd
parent0f7a73070011770c7e946ba51875611e46204bb4 (diff)
downloadfreebsd-ports-gnome-9c449619e5e18a12694435cd63b0b62401008918.tar.gz
freebsd-ports-gnome-9c449619e5e18a12694435cd63b0b62401008918.tar.zst
freebsd-ports-gnome-9c449619e5e18a12694435cd63b0b62401008918.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
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