View | Details | Raw Unified | Return to bug 87512
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	distcc
8
PORTNAME=	distcc
9
PORTVERSION=	2.18.3
9
PORTVERSION=	2.18.3
10
PORTREVISION=	1
10
CATEGORIES=	devel ipv6
11
CATEGORIES=	devel ipv6
11
MASTER_SITES=	http://distcc.samba.org/ftp/distcc/
12
MASTER_SITES=	http://distcc.samba.org/ftp/distcc/
12
13
(-)files/distccd.sh.sample (-1 / +13 lines)
Lines 22-28 Link Here
22
rcvar=`set_rcvar`
22
rcvar=`set_rcvar`
23
23
24
command=%%PREFIX%%/sbin/${name}
24
command=%%PREFIX%%/sbin/${name}
25
pidfile=%%DISTCCD_PIDFILE%%
25
# extract pid file from distccd_flags (if any)
26
pidfile="`echo ${distccd_flags} |sed -nE -e 's/^.*-P ([^ ]+).*$/\1/p'`"
27
# set default value
28
pidfile=${pidfile:-%%DISTCCD_PIDFILE%%}
29
30
distccd_precmd()
31
{
32
	# distccd drops root privileges and then attempts to create the pid file
33
	touch ${pidfile}
34
	chown distcc:distcc ${pidfile}
35
}
36
37
start_precmd="distccd_precmd"
26
38
27
load_rc_config ${name}
39
load_rc_config ${name}
28
run_rc_command "$1"
40
run_rc_command "$1"

Return to bug 87512