diff options
author | ache <ache@FreeBSD.org> | 2004-02-13 07:35:00 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-02-13 07:35:00 +0800 |
commit | e8aca367153f5a022fe265c2fbf3d71665c3ef83 (patch) | |
tree | c1ca924307c273d018ef9b08fda99943844ae23c /mail | |
parent | 1f61c9e4ff2fda422f741a3bab1295cb7740e405 (diff) | |
download | freebsd-ports-graphics-e8aca367153f5a022fe265c2fbf3d71665c3ef83.tar.gz freebsd-ports-graphics-e8aca367153f5a022fe265c2fbf3d71665c3ef83.tar.zst freebsd-ports-graphics-e8aca367153f5a022fe265c2fbf3d71665c3ef83.zip |
Move statedir to /var/spool
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-sender/Makefile | 3 | ||||
-rw-r--r-- | mail/milter-sender/files/patch-ab | 2 | ||||
-rw-r--r-- | mail/milter-sender/pkg-message | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile index 6ce8f6201d5..9eb6080be96 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 4e0435c463f..b4c2a5f4ca1 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 d4efe73e402..28d863a1e9d 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`, |