diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2003-10-12 02:34:23 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2003-10-12 02:34:23 +0000 |
commit | 29db69436ac2a1c0ad1be187087f1f3433cbd9e0 (patch) | |
tree | f0d1b6bb2d40e2108a3eba133a1e2fa71d87976b /mail/sentinel | |
parent | 829c2e8e175f8e8b048aa8bf6bd34af94751bc14 (diff) | |
download | ports-29db69436ac2a1c0ad1be187087f1f3433cbd9e0.tar.gz ports-29db69436ac2a1c0ad1be187087f1f3433cbd9e0.zip |
Notes
Diffstat (limited to 'mail/sentinel')
-rw-r--r-- | mail/sentinel/Makefile | 12 | ||||
-rw-r--r-- | mail/sentinel/files/000.sentinel.sh | 2 | ||||
-rw-r--r-- | mail/sentinel/pkg-message | 2 | ||||
-rw-r--r-- | mail/sentinel/pkg-plist | 6 |
4 files changed, 8 insertions, 14 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile index db7af24a7cc0..2f2ca999e87c 100644 --- a/mail/sentinel/Makefile +++ b/mail/sentinel/Makefile @@ -7,7 +7,7 @@ PORTNAME= sentinel PORTVERSION= 1.6.5b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= smfilter @@ -17,8 +17,6 @@ COMMENT= A sendmail milter API implementation LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre -USE_REINPLACE= yes - .include <bsd.port.pre.mk> .if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a) @@ -27,10 +25,6 @@ IGNORE= requires Sendmail 8.12 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -post-patch: - @${REINPLACE_CMD} -e \ - 's|:/var|:${PREFIX}/var|g' ${WRKSRC}/sentinel.cf.SAMPLE - do-build: cd ${WRKSRC} && \ ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} \ @@ -39,8 +33,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin - @${MKDIR} ${PREFIX}/var/sentinel - ${CHOWN} smmsp:smmsp ${PREFIX}/var/sentinel + @${MKDIR} /var/sentinel + ${CHOWN} smmsp:smmsp /var/sentinel ${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) diff --git a/mail/sentinel/files/000.sentinel.sh b/mail/sentinel/files/000.sentinel.sh index 08df334defaf..70350d9f70e7 100644 --- a/mail/sentinel/files/000.sentinel.sh +++ b/mail/sentinel/files/000.sentinel.sh @@ -7,7 +7,7 @@ fi SMFILTER=${PREFIX}/sbin/sentinel CONFIG=${PREFIX}/etc/sentinel.cf -SOCKET=${PREFIX}/var/sentinel/sentinel.socket +SOCKET=/var/sentinel/sentinel.socket case "$1" in start) diff --git a/mail/sentinel/pkg-message b/mail/sentinel/pkg-message index 52369153b0aa..9be1908fa4aa 100644 --- a/mail/sentinel/pkg-message +++ b/mail/sentinel/pkg-message @@ -3,7 +3,7 @@ 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') +INPUT_MAIL_FILTER(`sentinel', `S=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 fa998dedb350..02e1ec62f6a4 100644 --- a/mail/sentinel/pkg-plist +++ b/mail/sentinel/pkg-plist @@ -1,8 +1,8 @@ sbin/sentinel etc/sentinel.cf.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 +@exec mkdir /var/sentinel +@exec chown smmsp:smmsp /var/sentinel +@unexec rm -rf /var/sentinel %%PORTDOCS%%share/doc/sentinel/README %%PORTDOCS%%@dirrm share/doc/sentinel |