aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-02-12 23:53:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-02-12 23:53:09 +0000
commit4288eb98453efb525e165436489c0ada4ca1be18 (patch)
tree09bfc7e27717eb9cacbaeab1bb02998b5b9563be /mail
parent6e953c8c0f67b6be0e49d29a19d681d037dc6c8b (diff)
downloadports-4288eb98453efb525e165436489c0ada4ca1be18.tar.gz
ports-4288eb98453efb525e165436489c0ada4ca1be18.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/sentinel/Makefile5
-rw-r--r--mail/sentinel/files/000.sentinel.sh2
-rw-r--r--mail/sentinel/pkg-message2
-rw-r--r--mail/sentinel/pkg-plist6
4 files changed, 8 insertions, 7 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile
index 0048dda21a06..b63a65245d29 100644
--- a/mail/sentinel/Makefile
+++ b/mail/sentinel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sentinel
PORTVERSION= 1.7b
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= smfilter
@@ -36,8 +37,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin
- @${MKDIR} /var/sentinel
- ${CHOWN} smmsp:smmsp /var/sentinel
+ @${MKDIR} /var/spool/sentinel
+ ${CHOWN} smmsp:smmsp /var/spool/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 70350d9f70e7..56dfaabfd805 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=/var/sentinel/sentinel.socket
+SOCKET=/var/spool/sentinel/sentinel.socket
case "$1" in
start)
diff --git a/mail/sentinel/pkg-message b/mail/sentinel/pkg-message
index 9be1908fa4aa..9678844accf8 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:/var/sentinel/sentinel.socket, F=T, T=S:2m;R:4m;E:6m')
+INPUT_MAIL_FILTER(`sentinel', `S=local:/var/spool/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 14082aba6cf7..a664ec0da063 100644
--- a/mail/sentinel/pkg-plist
+++ b/mail/sentinel/pkg-plist
@@ -1,9 +1,9 @@
sbin/sentinel
etc/sentinel.cf.dist
etc/rc.d/sentinel.sh-dist
-@exec mkdir /var/sentinel
-@exec chown smmsp:smmsp /var/sentinel
-@unexec rm -rf /var/sentinel
+@exec mkdir /var/spool/sentinel
+@exec chown smmsp:smmsp /var/spool/sentinel
+@unexec rm -rf /var/spool/sentinel
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%@dirrm %%DOCSDIR%%