From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 2 12:40:28 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BBBE16A4CF for ; Sun, 2 Jan 2005 12:40:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B298743D53 for ; Sun, 2 Jan 2005 12:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j02CeRRV020233 for ; Sun, 2 Jan 2005 12:40:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j02CeRDf020229; Sun, 2 Jan 2005 12:40:27 GMT (envelope-from gnats) Resent-Date: Sun, 2 Jan 2005 12:40:27 GMT Resent-Message-Id: <200501021240.j02CeRDf020229@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dominic Marks Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8130916A4CE for ; Sun, 2 Jan 2005 12:32:18 +0000 (GMT) Received: from mail.helenmarks.co.uk (mail.helenmarks.co.uk [82.68.196.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EBC343D46 for ; Sun, 2 Jan 2005 12:32:17 +0000 (GMT) (envelope-from dom@mail.helenmarks.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id B167A1709F for ; Sun, 2 Jan 2005 12:32:15 +0000 (GMT) Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49910-01 for ; Sun, 2 Jan 2005 12:32:13 +0000 (GMT) Received: from mail.helenmarks.co.uk (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.helenmarks.co.uk (Postfix) with ESMTP id D85B81709E for ; Sun, 2 Jan 2005 12:32:12 +0000 (GMT) Received: (from dom@localhost) by mail.helenmarks.co.uk (8.13.1/8.13.1/Submit) id j02CWCOF050290; Sun, 2 Jan 2005 12:32:12 GMT (envelope-from dom) Message-Id: <200501021232.j02CWCOF050290@mail.helenmarks.co.uk> Date: Sun, 2 Jan 2005 12:32:12 GMT From: Dominic Marks To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75718: Maintainer Update: devel/distcc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dominic Marks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 12:40:28 -0000 >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: