View | Details | Raw Unified | Return to bug 166041
Collapse All | Expand All

(-)mail/smtp-gated/Makefile (-15 / +26 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	smtp-gated
8
PORTNAME=	smtp-gated
9
PORTVERSION=	1.4.16.3
9
PORTVERSION=	1.4.18.8
10
PORTREVISION=	1
11
CATEGORIES=	mail
10
CATEGORIES=	mail
12
MASTER_SITES=	http://software.klolik.org/smtp-gated/files/
11
MASTER_SITES=	http://software.klolik.org/smtp-gated/files/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	This software block SMTP sessions used by e-mail worms and viruses
14
COMMENT=	Proxy for SMTP sessions with virus and spam scan
16
15
17
HAS_CONFIGURE=	yes
16
LICENSE=	GPLv2
18
USE_AUTOTOOLS=	autoheader
19
17
20
OPTIONS=	NAT "NAT transparent proxy code" On \
18
OPTIONS=	NAT "NAT transparent proxy code" On \
21
		CHUNKING "Enable support for SMTP CHUNKING extension" Off \
19
		CHUNKING "Enable support for SMTP CHUNKING extension" Off \
22
		ECONNRESET "Be quiet about Connection reset by peer message" Off
20
		ECONNRESET "Be quiet about Connection reset by peer message" Off \
21
		PCRE "Enable support for PCRE" On
23
22
24
PLIST_FILES=	sbin/smtp-gated
25
MAN5=		smtp-gated.conf.5
26
MAN8=		smtp-gated.8
27
23
28
.include <bsd.port.pre.mk>
24
GNU_CONFIGURE=	yes
25
MAKE_JOBS_SAFE=	yes
29
26
30
.if ${ARCH} == "powerpc"
27
CPPFLAGS+=	-I${LOCALBASE}/include
31
BROKEN=		Does not compile on powerpc: cannot determine endianness
28
LDFLAGS+=	-L${LOCALBASE}/lib
32
.endif
29
30
MAN5=		smtp-gated.conf.5
31
MAN8=		smtp-gated.8
32
PLIST_FILES=	sbin/smtp-gated
33
33
34
post-patch:
34
.include <bsd.port.options.mk>
35
	${REINPLACE_CMD} -e 's,install-man: install-man5 install-man8 install-manh,install-man: install-man5 install-man8,' ${WRKSRC}/doc/Makefile.in
36
35
37
.if defined(WITH_NAT)
36
.if defined(WITH_NAT)
38
CONFIGURE_ARGS+=	--enable-nat
37
CONFIGURE_ARGS+=	--enable-nat
Lines 48-51 Link Here
48
CONFIGURE_ARGS+=	--enable-silent-econnreset
47
CONFIGURE_ARGS+=	--enable-silent-econnreset
49
.endif
48
.endif
50
49
50
.if defined(WITH_PCRE)
51
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
52
.else
53
CONFIGURE_ARGS+=	--disable-pcre
54
.endif
55
56
.include <bsd.port.pre.mk>
57
58
.if ${ARCH} == "powerpc"
59
BROKEN=		Does not compile on powerpc: cannot determine endianness
60
.endif
61
51
.include <bsd.port.post.mk>
62
.include <bsd.port.post.mk>
(-)mail/smtp-gated/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (smtp-gated-1.4.16.3.tar.gz) = 87df8db79f642a18bb2907808937a02c61b0f615c6e57a74a8412c7c8eac25e3
1
SHA256 (smtp-gated-1.4.18.8.tar.gz) = a1c405617b5b925f42696fb28d4c26484328d62c286c43a308137c139e459bed
2
SIZE (smtp-gated-1.4.16.3.tar.gz) = 371563
2
SIZE (smtp-gated-1.4.18.8.tar.gz) = 311763
(-)mail/smtp-gated/pkg-descr (-6 / +7 lines)
Lines 1-9 Link Here
1
This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T
1
This software block SMTP sessions used by e-mail worms and viruses on
2
router. It depends on netfilter framework of Linux, or ipfw on FreeBSD.
2
the NA(P)T router. It depends on netfilter framework of Linux, or ipfw
3
on FreeBSD.
3
4
4
It acts like proxy, intercepting outgoing SMTP connections and scanning session
5
It acts like proxy, intercepting outgoing SMTP connections and scanning
5
data on-the-fly. When messages is infected, the SMTP session is terminated. It's
6
session data on-the-fly. When messages is infected, the SMTP session is
6
to be used (mostly) by ISPs, so they can eliminate infected hosts from their net
7
terminated. It's to be used (mostly) by ISPs, so they can eliminate
7
work, and (preferably) educate their users.
8
infected hosts from their net work, and (preferably) educate their users.
8
9
9
WWW: http://software.klolik.org/smtp-gated/
10
WWW: http://software.klolik.org/smtp-gated/

Return to bug 166041