diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2003-09-07 14:09:23 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2003-09-07 14:09:23 +0000 |
commit | b592f32da637ddcb95aef63f7f6f64fb4303ae9d (patch) | |
tree | d912cbfaee1848f6bef7bb4b405e2030de3447c7 /mail/sentinel | |
parent | 4f455641ff27f12ff39aaf00f7e8f2866c86647f (diff) | |
download | ports-b592f32da637ddcb95aef63f7f6f64fb4303ae9d.tar.gz ports-b592f32da637ddcb95aef63f7f6f64fb4303ae9d.zip |
Notes
Diffstat (limited to 'mail/sentinel')
-rw-r--r-- | mail/sentinel/Makefile | 11 | ||||
-rw-r--r-- | mail/sentinel/pkg-message | 10 | ||||
-rw-r--r-- | mail/sentinel/pkg-plist | 2 |
3 files changed, 20 insertions, 3 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile index b89a108b4f2e..bc0433dee513 100644 --- a/mail/sentinel/Makefile +++ b/mail/sentinel/Makefile @@ -7,7 +7,7 @@ PORTNAME= sentinel PORTVERSION= 1.6.5b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= smfilter @@ -19,6 +19,10 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre USE_REINPLACE= yes +.if !exists(/usr/lib/libmilter.a) +IGNORE= requires Sendmail 8.12; upgrade the base system +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|:/var|:${PREFIX}/var|g' ${WRKSRC}/sentinel.cf.SAMPLE @@ -33,11 +37,14 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin @${MKDIR} ${PREFIX}/var/sentinel ${CHOWN} smmsp:smmsp ${PREFIX}/var/sentinel - ${INSTALL_DATA} ${FILESDIR}/000.sentinel.sh ${PREFIX}/etc/rc.d/000.sentinel.sh-dist + ${INSTALL_DATA} ${FILESDIR}/000.sentinel.sh ${PREFIX}/etc/rc.d/sentinel.sh-dist ${INSTALL_DATA} ${WRKSRC}/sentinel.cf.SAMPLE ${PREFIX}/etc/sentinel.cf.dist .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/mail/sentinel/pkg-message b/mail/sentinel/pkg-message new file mode 100644 index 000000000000..52369153b0aa --- /dev/null +++ b/mail/sentinel/pkg-message @@ -0,0 +1,10 @@ +************************************************************************ + +In order to run this port, please add the following line to +/etc/mail/YOUR-CONF.mc: + +INPUT_MAIL_FILTER(`sentinel', `S=local:/usr/local/var/sentinel/sentinel.socket, F=T, T=S:2m;R:4m;E:6m') + +Don't forget remake sendmail configuration file after modifying YOUR-CONF.mc + +************************************************************************ diff --git a/mail/sentinel/pkg-plist b/mail/sentinel/pkg-plist index bb34c5311960..fa998dedb350 100644 --- a/mail/sentinel/pkg-plist +++ b/mail/sentinel/pkg-plist @@ -1,6 +1,6 @@ sbin/sentinel etc/sentinel.cf.dist -etc/rc.d/000.sentinel.sh-dist +etc/rc.d/sentinel.sh-dist @exec mkdir %D/var/sentinel @exec chown smmsp:smmsp %D/var/sentinel @unexec rmdir %D/var/sentinel 2>/dev/null || true |