# Ports collection makefile for: smtpd # Date created: 06 Feb 1998 # Whom: Joao Carlos Mendes Luis # # $FreeBSD$ # PORTNAME= smtpd PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= mail security MASTER_SITES= ftp://ftp.obtuse.com/pub/smtpd/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= patch-smtpd-2.0-RBL.gz MAINTAINER= ports@FreeBSD.org COMMENT= Obtuse smtpd/smtpfwdd, part of the Juniper firewall toolkit RUN_DEPENDS= ${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/sendmail-old # Directory where smtpd will chroot to, and put the received mail # If you change it here, change also patches/patch-aa SPOOLBASE= /var/smtpd post-patch: @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.tmp @${SED} s+!!SPOOLBASE!!+${SPOOLBASE}+g < ${WRKSRC}/Makefile.tmp \ > ${WRKSRC}/Makefile pre-install: @${ECHO_CMD} "Does not work with Sendmail-8.12, checking Version:" ${LOCALBASE}/sbin/sendmail -d -t ${PREFIX}/etc/rc.d/smtpd.sh @${CHMOD} 0700 ${PREFIX}/etc/rc.d/smtpd.sh @${CHOWN} 0:0 ${PREFIX}/etc/rc.d/smtpd.sh @${ECHO_CMD} "Done!" @${CAT} ${PKGMESSAGE} .include