summaryrefslogtreecommitdiff
path: root/mail/dcc-dccd
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-11-14 04:01:22 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-11-14 04:01:22 +0000
commit5134061b0d0758e18667be26d01c51b38f86c733 (patch)
treeb778f16a5874fac63e44f0c26588c6d1393cc8e7 /mail/dcc-dccd
parentFix build with gcc 4.2. (diff)
Change location of pid file from /var/run to /var/run/dcc because
application changes ownership of the rundir to the user it is running as. PR: 110943 Approved by: portmgr (linimon), maintainer timeout
Notes
Notes: svn path=/head/; revision=202693
Diffstat (limited to 'mail/dcc-dccd')
-rw-r--r--mail/dcc-dccd/Makefile3
-rw-r--r--mail/dcc-dccd/files/dcc-start.sh.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/mail/dcc-dccd/Makefile b/mail/dcc-dccd/Makefile
index 0b6dac2e92fb..f67e6e71d617 100644
--- a/mail/dcc-dccd/Makefile
+++ b/mail/dcc-dccd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dcc-dccd
PORTVERSION= 1.3.50
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/ \
http://www.wa.apana.org.au/~dean/sources/
@@ -38,7 +39,7 @@ DCCGID?= 112
# sed scripting breaks things.
#
-CONFIGURE_ARGS= --homedir=${PREFIX}/dcc --bindir=${PREFIX}/bin --mandir=${MANPREFIX}/man --with-rundir=/var/run
+CONFIGURE_ARGS= --homedir=${PREFIX}/dcc --bindir=${PREFIX}/bin --mandir=${MANPREFIX}/man --with-rundir=/var/run/dcc
.include <bsd.port.pre.mk>
diff --git a/mail/dcc-dccd/files/dcc-start.sh.in b/mail/dcc-dccd/files/dcc-start.sh.in
index b20aaac078a6..e97aaa40aa7f 100644
--- a/mail/dcc-dccd/files/dcc-start.sh.in
+++ b/mail/dcc-dccd/files/dcc-start.sh.in
@@ -27,7 +27,7 @@ load_rc_config $name
: ${dccifd_conf="$dccifd_home/dcc_conf"}
-pidfile=${dccifd_pidfile:-"/var/run/dccifd.pid"}
+pidfile=${dccifd_pidfile:-"/var/run/dcc/dccifd.pid"}
command="${dccifd_home}/libexec/start-dccifd"
procname="${dccifd_home}/libexec/dccifd"
required_dirs="$dccifd_home"