ports/166041: Update port: mail/smtp-gated to 1.4.18.8

KATO Tsuguru tkato432 at yahoo.com
Tue Mar 13 18:10:10 UTC 2012


>Number:         166041
>Category:       ports
>Synopsis:       Update port: mail/smtp-gated to 1.4.18.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 13 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.4.18.8

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/mail/smtp-gated/Makefile mail/smtp-gated/Makefile
--- /usr/ports/mail/smtp-gated/Makefile	2010-12-04 22:33:02.000000000 +0900
+++ mail/smtp-gated/Makefile	2012-03-11 16:57:07.000000000 +0900
@@ -6,33 +6,32 @@
 #
 
 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 at 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
 
-.include <bsd.port.pre.mk>
+GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not compile on powerpc: cannot determine endianness
-.endif
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+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 +47,16 @@
 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 -urN /usr/ports/mail/smtp-gated/distinfo mail/smtp-gated/distinfo
--- /usr/ports/mail/smtp-gated/distinfo	2011-07-04 02:08:40.000000000 +0900
+++ mail/smtp-gated/distinfo	2012-03-11 16:52:14.000000000 +0900
@@ -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 -urN /usr/ports/mail/smtp-gated/pkg-descr mail/smtp-gated/pkg-descr
--- /usr/ports/mail/smtp-gated/pkg-descr	2010-02-16 15:45:01.000000000 +0900
+++ mail/smtp-gated/pkg-descr	2012-03-11 17:04:03.000000000 +0900
@@ -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/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list