summaryrefslogtreecommitdiff
path: root/mail/milter-sender
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-02-12 23:35:00 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-02-12 23:35:00 +0000
commit6e953c8c0f67b6be0e49d29a19d681d037dc6c8b (patch)
tree4e985fa67c1c2928f3b0e1b46b4a628765f0c0e1 /mail/milter-sender
parentUpdate to 0.5 release. (diff)
Move statedir to /var/spool
Notes
Notes: svn path=/head/; revision=100797
Diffstat (limited to 'mail/milter-sender')
-rw-r--r--mail/milter-sender/Makefile3
-rw-r--r--mail/milter-sender/files/patch-ab2
-rw-r--r--mail/milter-sender/pkg-message2
3 files changed, 4 insertions, 3 deletions
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile
index 6ce8f6201d50..9eb6080be96c 100644
--- a/mail/milter-sender/Makefile
+++ b/mail/milter-sender/Makefile
@@ -7,6 +7,7 @@
PORTNAME= milter-sender
PORTVERSION= 0.50
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.snert.com/Software/download/
DISTFILES= libsnert-1.31.tgz milter-sender-${PORTVERSION}.tgz
@@ -38,7 +39,7 @@ DOCS= CHANGES.TXT index.shtml style.css mailto.js \
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS+= --with-db --localstatedir=/var \
+CONFIGURE_ARGS+= --with-db --localstatedir=/var/spool \
--enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
pre-configure:
diff --git a/mail/milter-sender/files/patch-ab b/mail/milter-sender/files/patch-ab
index 4e0435c463f3..b4c2a5f4ca10 100644
--- a/mail/milter-sender/files/patch-ab
+++ b/mail/milter-sender/files/patch-ab
@@ -10,7 +10,7 @@
-./milter-sender help=1 >${MILTER_CF}.sample
-chmod g+r ${MAILDIR} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}.sample*
-chgrp ${GROUP} ${MAILDIR} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}.sample*
-+./milter-sender help=1 | sed 's|^MilterSocket=.*|MilterSocket=unix:/var/milter-sender/socket|' >${MILTER_CF}.sample
++./milter-sender help=1 | sed 's|^MilterSocket=.*|MilterSocket=unix:/var/spool/milter-sender/socket|' >${MILTER_CF}.sample
+[ ! -f ${MILTER_CF} ] && cp ${MILTER_CF}.sample ${MILTER_CF}
+chmod g+r ${MAILDIR} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}*
+chgrp ${GROUP} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}*
diff --git a/mail/milter-sender/pkg-message b/mail/milter-sender/pkg-message
index d4efe73e402b..28d863a1e9de 100644
--- a/mail/milter-sender/pkg-message
+++ b/mail/milter-sender/pkg-message
@@ -5,7 +5,7 @@ In order to run this port, please add the following lines to
INPUT_MAIL_FILTER(
`milter-sender',
- `S=unix:/var/milter-sender/socket, F=T, T=C:1m;S:30s;R:6m;E:1m'
+ `S=unix:/var/spool/milter-sender/socket, F=T, T=C:1m;S:30s;R:6m;E:1m'
)dnl
define(
`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`,