Date: Sun, 2 Jan 2005 12:32:12 GMT From: Dominic Marks <dom@helenmarks.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75718: Maintainer Update: devel/distcc Message-ID: <200501021232.j02CWCOF050290@mail.helenmarks.co.uk> Resent-Message-ID: <200501021240.j02CeRDf020229@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75718 >Category: ports >Synopsis: Maintainer Update: devel/distcc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 02 12:40:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dominic Marks >Release: FreeBSD 5.3-STABLE i386 >Organization: Helen Marks Marketing Ltd >Environment: FreeBSD 5.3-STABLE i386 >Description: devel/distcc 2.16 -> 2.18.3 http://distcc.samba.org/ftp/distcc/distcc-2.18.3.NEWS Consists mostly of bug fixes. Only one change in the way distcc works. You must specify a network on which connections are allowed, connections from all networks will still be admitted but connections outside the specified network will be logged and dropped. The 127.0.0.0/8 network is the default for the port. All existing users and all new users will need to update/add a distccd_flags variable in /etc/rc.conf, a template for which can be found in the rc.d script. Perhaps a new variable, which simply contained the trusted network address would be better, like distccd_network="192.168.10.2/24" Comments? >How-To-Repeat: NA. >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/distcc/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 18 Aug 2004 07:41:13 -0000 1.43 +++ Makefile 2 Jan 2005 09:30:56 -0000 @@ -6,7 +6,7 @@ # PORTNAME= distcc -PORTVERSION= 2.16 +PORTVERSION= 2.18.3 CATEGORIES= devel ipv6 MASTER_SITES= http://distcc.samba.org/ftp/distcc/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/devel/distcc/distinfo,v retrieving revision 1.30 diff -u -r1.30 distinfo --- distinfo 28 Jul 2004 18:32:05 -0000 1.30 +++ distinfo 2 Jan 2005 09:30:56 -0000 @@ -1,2 +1,2 @@ -MD5 (distcc-2.16.tar.bz2) = c28aae996fb4646db27204d9cd6a78dc -SIZE (distcc-2.16.tar.bz2) = 336681 +MD5 (distcc-2.18.3.tar.bz2) = 0d6b80a1efc3a3d816c4f4175f63eaa2 +SIZE (distcc-2.18.3.tar.bz2) = 341601 Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/devel/distcc/pkg-message,v retrieving revision 1.2 diff -u -r1.2 pkg-message --- pkg-message 18 Jan 2003 17:06:23 -0000 1.2 +++ pkg-message 2 Jan 2005 09:30:56 -0000 @@ -1,9 +1,27 @@ WARNING: distcc[d] performs NO AUTHENTICATION at all and should ONLY be used in trusted networks! +NEW in 2.18 +Distccd now requires the --allow (-a) argument when running +in daemon mode. This option restricts distcc to a specific +network, by default this port uses 127.0.0.0/8, you should +change this by specifying your own distccd_flags in +/etc/rc.conf, see the script in etc/rc.d/distccd.sh for a +template. + +Additionally it is reccomended that you add entries to +/etc/syslog.conf to record all distccd log messages to a file +such as /var/log/distccd.log. + +Example syslog.conf entry: + +!distccd +*.* /var/log/distccd.log + The daemon runs on port 3632 by default. You can change that value by calling distccd with the -p parameter, e.g. -`distccd -p 4711'. +`distccd -p 4711'. Do not edit the rc.d script to achieve this +instead override the value of distccd_flags in /etc/rc.conf. Note that remote daemons currently won't work if they cannot resolve the reverse DNS of the master machine Index: files/distccd.sh.sample =================================================================== RCS file: /home/ncvs/ports/devel/distcc/files/distccd.sh.sample,v retrieving revision 1.3 diff -u -r1.3 distccd.sh.sample --- files/distccd.sh.sample 28 Jul 2004 20:54:39 -0000 1.3 +++ files/distccd.sh.sample 2 Jan 2005 09:30:56 -0000 @@ -14,7 +14,7 @@ # distccd_enable=${distccd_enable-"NO"} -distccd_flags=${distccd_flags-"--user distcc --daemon -P %%DISTCCD_PIDFILE%%"} +distccd_flags=${distccd_flags-"-a 127.0.0.0/8 --user distcc --daemon -P %%DISTCCD_PIDFILE%%"} . %%RC_SUBR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501021232.j02CWCOF050290>