aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2008-04-26 03:15:33 +0800
committerache <ache@FreeBSD.org>2008-04-26 03:15:33 +0800
commit55bde79844b311c949b29c4983fa425076dcd4c1 (patch)
tree144af7176698a73669d48478933452d33589684b /mail
parent2e789b8855d1b4bf598308d8331e9644046b94ab (diff)
downloadfreebsd-ports-gnome-55bde79844b311c949b29c4983fa425076dcd4c1.tar.gz
freebsd-ports-gnome-55bde79844b311c949b29c4983fa425076dcd4c1.tar.zst
freebsd-ports-gnome-55bde79844b311c949b29c4983fa425076dcd4c1.zip
Upgrade to 4.0
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-greylist/Makefile15
-rw-r--r--mail/milter-greylist/distinfo6
-rw-r--r--mail/milter-greylist/pkg-plist2
3 files changed, 15 insertions, 8 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index bbe869218e0f..4d92ad5dd7ce 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= milter-greylist
-PORTVERSION= 3.0
+PORTVERSION= 4.0
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
DISTNAME= milter-greylist-${PORTVERSION}
@@ -42,12 +42,13 @@ WITH_SENDMAIL_BASE=yes
.if defined(WITH_SENDMAIL_BASE)
.if exists(/usr/lib/libmilter.a)
+_MILT_DEP=
MILTERBASE= /usr
.else
BROKEN= "Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes"
.endif
.else
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
+_MILT_DEP= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
MILTERBASE?= ${LOCALBASE}
.endif
@@ -58,10 +59,16 @@ MILTERBASE?= ${LOCALBASE}
.if ${OSVERSION} < 502102
IGNORE= Using libspf2 requires a thread safe resolver
.else
-LIB_DEPENDS+= spf2.2:${PORTSDIR}/mail/libspf2
-CONFIGURE_ARGS+= --with-libspf2=${LOCALBASE}
+BUILD_DEPENDS+= libspf2>=1.2.5:${PORTSDIR}/mail/libspf2
+CONFIGURE_ARGS+= --with-libspf2=${LOCALBASE}
.endif
.endif
+.if defined(WITH_GEOIP)
+BUILD_DEPENDS+= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
+CONFIGURE_ARGS+= --with-libGeoIP=${LOCALBASE}
+.endif
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+BUILD_DEPENDS+= ${_MILT_DEP}
CFLAGS+= ${PTHREAD_CFLAGS}
LIBS+= ${PTHREAD_LIBS}
diff --git a/mail/milter-greylist/distinfo b/mail/milter-greylist/distinfo
index 1e5c612be67d..fcce84c5f556 100644
--- a/mail/milter-greylist/distinfo
+++ b/mail/milter-greylist/distinfo
@@ -1,3 +1,3 @@
-MD5 (milter-greylist-3.0.tgz) = ffdd5588c78a405c107d4c8a40c7e01a
-SHA256 (milter-greylist-3.0.tgz) = 8962c29b730eb024e83d142f8c2ff36ffc41b65f6111ca6707752173b25c8cd0
-SIZE (milter-greylist-3.0.tgz) = 141461
+MD5 (milter-greylist-4.0.tgz) = 2834933b27298d30630eea621cbfdcf5
+SHA256 (milter-greylist-4.0.tgz) = 8b348062af8f46879a21a190070d72616536365f6e1e318eff18c3fcb024c875
+SIZE (milter-greylist-4.0.tgz) = 185107
diff --git a/mail/milter-greylist/pkg-plist b/mail/milter-greylist/pkg-plist
index 809895e7f9a4..ab750df836a2 100644
--- a/mail/milter-greylist/pkg-plist
+++ b/mail/milter-greylist/pkg-plist
@@ -4,7 +4,7 @@ etc/rc.d/milter-greylist.sh
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%EXAMPLESDIR%%/greylist.conf
@exec /bin/mkdir -p /var/milter-greylist
-@exec /usr/sbin/chown smmsp /var/milter-greylist
+@exec /usr/sbin/chown -R mailnull /var/milter-greylist
@exec [ -f /var/db/milter-greylist/greylist.db ] && printf '\n\n************************************************************\n************************************************************\n** **\n** WARNING **\n** **\n** The default dump file location has changed. **\n** Please move greylist.db from /var/db/milter-greylist/ **\n** to /var/milter-greylist/ and update your greylist.conf **\n** accordingly. **\n** **\n************************************************************\n************************************************************\n' ||true
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%