aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2016-02-25 01:50:42 +0800
committermi <mi@FreeBSD.org>2016-02-25 01:50:42 +0800
commit1c1a5cc6156f4120265bc6381ccd397788472e2d (patch)
treebf047803dfd0efa532ae1473e02ba7588c26d54a /mail
parentecf4710e1e447222847166406ee7a9fe450a05da (diff)
downloadfreebsd-ports-gnome-1c1a5cc6156f4120265bc6381ccd397788472e2d.tar.gz
freebsd-ports-gnome-1c1a5cc6156f4120265bc6381ccd397788472e2d.tar.zst
freebsd-ports-gnome-1c1a5cc6156f4120265bc6381ccd397788472e2d.zip
Upgrade my little milter from 1.0.1 to 1.0.2:
* pre-emptively fix compiler warnings from clang-3.8 * cleanup white-space * remove obsolete option (FFR 421, which Sendmail decided not to support)
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-skem/Makefile8
-rw-r--r--mail/milter-skem/distinfo4
-rw-r--r--mail/milter-skem/files/patch-cleanup.c22
3 files changed, 5 insertions, 29 deletions
diff --git a/mail/milter-skem/Makefile b/mail/milter-skem/Makefile
index e846b2eac534..712634d8c4d0 100644
--- a/mail/milter-skem/Makefile
+++ b/mail/milter-skem/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= skem
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.2
CATEGORIES= mail
MASTER_SITES= http://virtual-estates.net/skem/
@@ -19,19 +19,17 @@ USES= tar:bzip2 uidfix
PLIST_FILES= sbin/skem \
man/man8/skem.8.gz
-OPTIONS_DEFINE= SKEM_MILTER421 SKEM_NO_CLEANUP SKEM_NO_LOGWATCHER SKEM_NETINET6 SKEM_NETINET
-SKEM_MILTER421_DESC= Sendmail was built with -D_FFR_MILTER_421
+OPTIONS_DEFINE= SKEM_NO_CLEANUP SKEM_NO_LOGWATCHER SKEM_NETINET6 SKEM_NETINET
SKEM_NO_CLEANUP_DESC= Omit the auto-cleanup module
SKEM_NO_LOGWATCHER_DESC= Omit the log-watching module
SKEM_NETINET6_DESC= Support IPv6 addresses (not tested)
SKEM_NETINET_DESC= Support IPv4 addresses
OPTIONS_DEFAULT= SKEM_NETINET
+NO_WRKSUBDIR= yes
.include <bsd.port.options.mk>
-MAKE_ENV+= PTHREAD_LIBS="-lpthread"
-
.for o in ${PORT_OPTIONS:MSKEM_*}
. if ${PORT_OPTIONS:M$o}
MAKE_ARGS+= -D$o
diff --git a/mail/milter-skem/distinfo b/mail/milter-skem/distinfo
index 2e990ecf6f50..87d726f9f027 100644
--- a/mail/milter-skem/distinfo
+++ b/mail/milter-skem/distinfo
@@ -1,2 +1,2 @@
-SHA256 (skem-1.0.1.tar.bz2) = ac5c895a46e087d70e146659cbc241bc13e1c7b2bea64cb9541fe2f7405883fc
-SIZE (skem-1.0.1.tar.bz2) = 14179
+SHA256 (skem-1.0.2.tar.bz2) = bed37274ffaef0f9136588ec5330b3056e7b00eae6057cdbdcc9482ec09a561c
+SIZE (skem-1.0.2.tar.bz2) = 13978
diff --git a/mail/milter-skem/files/patch-cleanup.c b/mail/milter-skem/files/patch-cleanup.c
deleted file mode 100644
index d125f076815b..000000000000
--- a/mail/milter-skem/files/patch-cleanup.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- cleanup.c Sun Jan 1 08:19:39 2006
-+++ newcleanup.c Sun Jan 1 08:19:18 2006
-@@ -15,6 +15,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <sys/types.h>
-+#include <inttypes.h>
- #include <dirent.h>
- #include <sys/stat.h>
- #include <sys/time.h>
-@@ -50,9 +51,9 @@
- return NULL;
- }
- }
-- syslog(LOG_DEBUG, "periodic cleanup: period %ld seconds%s, "
-+ syslog(LOG_DEBUG, "periodic cleanup: period %jd seconds%s, "
- "permanent bans removed after %u seconds since last seen",
-- O.cleanupperiod.tv_sec,
-+ (intmax_t)O.cleanupperiod.tv_sec,
- O.cleanupperiod.tv_sec ? "" : " (one shot)",
- O.permcleanup);
- for (result = 0, select_failures = 0;