freebsd-ports/mail/smtp-gated/Makefile
Edwin Groothuis 7f29ea0aec New port: mail/smtp-gated
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.

	WWW: http://smtp-proxy.klolik.org/

PR:		ports/91223
Submitted by:	Krzysztof Pawlowski <msciciel@darkzone.ma.cx>
2006-01-02 22:19:23 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: smtp-gated
# Date created: 1 January 2006
# Whom: msciciel
#
# $FreeBSD$
#
PORTNAME= smtp-gated
PORTVERSION= 1.4.12.r9
PORTREVISION= 0
CATEGORIES= mail
MASTER_SITES= http://smtp-proxy.klolik.org/
DISTNAME= ${PORTNAME}-1.4.12-rc9
MAINTAINER= msciciel@darkzone.ma.cx
COMMENT= This software block SMTP sessions used by e-mail worms and viruses
HAS_CONFIGURE= yes
USE_AUTOTOOLS= autoheader:259
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
.include <bsd.port.pre.mk>
.if defined(WITH_NAT)
CONFIGURE_ARGS+= --enable-nat
.else
CONFIGURE_ARGS+= --disable-nat
.endif
.if defined(WITH_CHUNKING)
CONFIGURE_ARGS+= --enable-chunking
.endif
.if defined(WITH_ECONNRESET)
CONFIGURE_ARGS+= --enable-silent-econnreset
.endif
PLIST_FILES= sbin/smtp-gated
MAN5= smtp-gated.conf.5
MAN8= smtp-gated.8
.include <bsd.port.post.mk>