openbsd-ports/mail/postfwd/Makefile
giovanni 2c4dd5a552 Import mail/postfwd, a postfix policy server
help and ok brad@ and landry@

Postfwd is a policy server that combines complex Postfix restrictions
in a ruleset similar to those of most firewalls. Postfwd
uses the Postfix policy delegation protocol to control access to
the mail system before a message has been accepted. It allows you
to choose an action (e.g. reject, dunno) for a combination of several
SMTP parameters (like sender and recipient address, size or the
client's TLS fingerprint).
2013-03-20 14:22:06 +00:00

36 lines
888 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/03/20 14:22:06 giovanni Exp $
COMMENT = Postfix policy server
DISTNAME = postfwd-1.34
CATEGORIES = mail
HOMEPAGE = http://www.postfwd.org/
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM =Yes
MASTER_SITES = ${HOMEPAGE}
RUN_DEPENDS = devel/p5-Net-Server \
devel/p5-IO-Multiplex \
net/p5-Net-DNS
USE_GROFF = Yes
PKG_ARCH = *
NO_BUILD = Yes
NO_TEST = Yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sbin/postfwd2 ${PREFIX}/sbin/postfwd2
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/postfwd/
${INSTALL_DATA} ${WRKSRC}/etc/postfwd.cf.sample ${PREFIX}/share/examples/postfwd/postfwd.cf.sample
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postfwd/
${INSTALL_DATA} ${WRKSRC}/doc/postfwd2* ${PREFIX}/share/doc/postfwd/
${INSTALL_MAN} ${WRKSRC}/man/man8/postfwd2.8 ${PREFIX}/man/man8/postfwd2.8
.include <bsd.port.mk>