aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dcc-dccd
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-11-14 12:01:22 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-11-14 12:01:22 +0800
commit81aadc7634d53ea5ef35d5cf8ba64218988d5fd3 (patch)
tree42265a1ead0e122dd3126ac265c40eab7571be7e /mail/dcc-dccd
parentb9254870dd2f2ef738be2235c7d73277b1bca9cd (diff)
downloadfreebsd-ports-gnome-81aadc7634d53ea5ef35d5cf8ba64218988d5fd3.tar.gz
freebsd-ports-gnome-81aadc7634d53ea5ef35d5cf8ba64218988d5fd3.tar.zst
freebsd-ports-gnome-81aadc7634d53ea5ef35d5cf8ba64218988d5fd3.zip
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
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"