2003-07-18 00:50:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2003/07/17 22:53:15 grant Exp $
|
2000-04-21 12:57:33 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= smtpd-2.0
|
2003-05-05 18:40:38 +02:00
|
|
|
PKGREVISION= 1
|
2000-04-21 12:57:33 +02:00
|
|
|
CATEGORIES= mail security
|
|
|
|
MASTER_SITES= ftp://ftp.obtuse.com/pub/smtpd/
|
|
|
|
|
|
|
|
PATCHFILES= patch-smtpd-2.0-RBL.gz
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2000-04-21 12:57:33 +02:00
|
|
|
HOMEPAGE= http://www.obtuse.com/smtpd.html
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Store and forward SMTP proxy
|
2000-04-21 12:57:33 +02:00
|
|
|
|
|
|
|
SPOOL= /var/spool/smtpd
|
|
|
|
|
|
|
|
pre-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
-${INSTALL_DATA_DIR} ${SPOOL}/etc
|
2000-04-21 12:57:33 +02:00
|
|
|
for f in antirelay_check_rules_example antispam_check_rules.example smtpd_check_rules.example ; do ${INSTALL_DATA} ${WRKSRC}/$$f ${SPOOL}/etc; done
|
|
|
|
${CHOWN} -R uucp.mail ${SPOOL}
|
|
|
|
${CHMOD} -R g=,o= ${SPOOL}
|
|
|
|
${CP} /etc/localtime /etc/resolv.conf ${SPOOL}/etc
|
|
|
|
|
2001-04-27 15:52:18 +02:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smtpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/smtpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/smtpd
|
|
|
|
|
2000-04-21 12:57:33 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|