aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtp-gated
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-03-25 00:44:40 +0800
committermiwi <miwi@FreeBSD.org>2012-03-25 00:44:40 +0800
commitd4423f5a376d00c7d6da2bd48e5ce3df1fe08193 (patch)
treecd43a369ec0b5c81a51a09fa2cd036e53a148101 /mail/smtp-gated
parent3dfade681600929ec809d5c054c640f2fbfefe7f (diff)
downloadfreebsd-ports-gnome-d4423f5a376d00c7d6da2bd48e5ce3df1fe08193.tar.gz
freebsd-ports-gnome-d4423f5a376d00c7d6da2bd48e5ce3df1fe08193.tar.zst
freebsd-ports-gnome-d4423f5a376d00c7d6da2bd48e5ce3df1fe08193.zip
- Update to version 1.4.18.8
PR: 166041 Submitted by: Ports Fury Feature safe: yes
Diffstat (limited to 'mail/smtp-gated')
-rw-r--r--mail/smtp-gated/Makefile40
-rw-r--r--mail/smtp-gated/distinfo4
-rw-r--r--mail/smtp-gated/pkg-descr13
3 files changed, 34 insertions, 23 deletions
diff --git a/mail/smtp-gated/Makefile b/mail/smtp-gated/Makefile
index 3b5a3b2a440f..9ad01d7df16b 100644
--- a/mail/smtp-gated/Makefile
+++ b/mail/smtp-gated/Makefile
@@ -6,33 +6,31 @@
#
PORTNAME= smtp-gated
-PORTVERSION= 1.4.16.3
-PORTREVISION= 1
+PORTVERSION= 1.4.18.8
CATEGORIES= mail
MASTER_SITES= http://software.klolik.org/smtp-gated/files/
MAINTAINER= ports@FreeBSD.org
-COMMENT= This software block SMTP sessions used by e-mail worms and viruses
+COMMENT= Proxy for SMTP sessions with virus and spam scan
-HAS_CONFIGURE= yes
-USE_AUTOTOOLS= autoheader
+LICENSE= GPLv2
OPTIONS= NAT "NAT transparent proxy code" On \
CHUNKING "Enable support for SMTP CHUNKING extension" Off \
- ECONNRESET "Be quiet about Connection reset by peer message" Off
+ ECONNRESET "Be quiet about Connection reset by peer message" Off \
+ PCRE "Enable support for PCRE" On
-PLIST_FILES= sbin/smtp-gated
-MAN5= smtp-gated.conf.5
-MAN8= smtp-gated.8
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
-.include <bsd.port.pre.mk>
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
-.if ${ARCH} == "powerpc"
-BROKEN= Does not compile on powerpc: cannot determine endianness
-.endif
+MAN5= smtp-gated.conf.5
+MAN8= smtp-gated.8
+PLIST_FILES= sbin/smtp-gated
-post-patch:
- ${REINPLACE_CMD} -e 's,install-man: install-man5 install-man8 install-manh,install-man: install-man5 install-man8,' ${WRKSRC}/doc/Makefile.in
+.include <bsd.port.options.mk>
.if defined(WITH_NAT)
CONFIGURE_ARGS+= --enable-nat
@@ -48,4 +46,16 @@ CONFIGURE_ARGS+= --enable-chunking
CONFIGURE_ARGS+= --enable-silent-econnreset
.endif
+.if defined(WITH_PCRE)
+LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
+.else
+CONFIGURE_ARGS+= --disable-pcre
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc: cannot determine endianness
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/smtp-gated/distinfo b/mail/smtp-gated/distinfo
index 2ba3c9bea81e..28d362915f9e 100644
--- a/mail/smtp-gated/distinfo
+++ b/mail/smtp-gated/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smtp-gated-1.4.16.3.tar.gz) = 87df8db79f642a18bb2907808937a02c61b0f615c6e57a74a8412c7c8eac25e3
-SIZE (smtp-gated-1.4.16.3.tar.gz) = 371563
+SHA256 (smtp-gated-1.4.18.8.tar.gz) = a1c405617b5b925f42696fb28d4c26484328d62c286c43a308137c139e459bed
+SIZE (smtp-gated-1.4.18.8.tar.gz) = 311763
diff --git a/mail/smtp-gated/pkg-descr b/mail/smtp-gated/pkg-descr
index cefbfe722575..3a9056d5e983 100644
--- a/mail/smtp-gated/pkg-descr
+++ b/mail/smtp-gated/pkg-descr
@@ -1,9 +1,10 @@
-This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T
-router. It depends on netfilter framework of Linux, or ipfw on FreeBSD.
+This software block SMTP sessions used by e-mail worms and viruses on
+the NA(P)T router. It depends on netfilter framework of Linux, or ipfw
+on FreeBSD.
-It acts like proxy, intercepting outgoing SMTP connections and scanning session
-data on-the-fly. When messages is infected, the SMTP session is terminated. It's
-to be used (mostly) by ISPs, so they can eliminate infected hosts from their net
-work, and (preferably) educate their users.
+It acts like proxy, intercepting outgoing SMTP connections and scanning
+session data on-the-fly. When messages is infected, the SMTP session is
+terminated. It's to be used (mostly) by ISPs, so they can eliminate
+infected hosts from their net work, and (preferably) educate their users.
WWW: http://software.klolik.org/smtp-gated/