- Update to version 1.4.18.8

PR:		166041
Submitted by:	Ports Fury
Feature safe:	yes
This commit is contained in:
Martin Wilke 2012-03-24 16:44:40 +00:00
parent 7d5a8531c3
commit 0a8c4afc1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293763
3 changed files with 34 additions and 23 deletions

View File

@ -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
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= sbin/smtp-gated
MAN5= smtp-gated.conf.5
MAN8= smtp-gated.8
PLIST_FILES= sbin/smtp-gated
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc: cannot determine endianness
.endif
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>

View File

@ -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

View File

@ -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/