From owner-freebsd-perl@FreeBSD.ORG Sun Jun 6 06:45:46 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD4B16A4CE for ; Sun, 6 Jun 2004 06:45:46 -0700 (PDT) Received: from postal.netaxs.com (postal.netaxs.com [207.8.186.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C2943D46 for ; Sun, 6 Jun 2004 06:45:46 -0700 (PDT) (envelope-from clear@alum.mit.edu) Received: from alum.mit.edu (root@unix5.netaxs.com [207.8.186.7]) i56DiL4j025199 for ; Sun, 6 Jun 2004 09:44:22 -0400 (EDT) Message-ID: <40C32007.7D770F28@alum.mit.edu> Date: Sun, 06 Jun 2004 09:45:43 -0400 From: Jed Clear Organization: Dis X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-perl@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Want to build but not install system perl - FBSD 4.x X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 13:45:46 -0000 I have a FreeBSD 4.x machine (K6) that acts as a build server. It also has the perl 5.8 port installed and use.perl set to port. I recently built 4.10 from CVS on it, and the installworld went fine on the K6. I have a much weaker machine (486) that does not have (or need) the perl 5.8 port installed. For reasons that should be obvious, I don't do buildworlds on the 486, I NFS mount the /usr/src and /usr/obj from the K6 to do installworlds on the 486. On the 486, the 4.10 installworld died while trying to install the perl libraries. My initial kludge was to first copy over the make.conf PERL values, so the installworld would complete, then manually build /usr/src/gnu/usr.bin/perl on the K6 and manually install the same on the 486. In retrospect, I probably could have improved that considerably, but there has to be a better way. My question is can I tweak the make.conf on the K6 to build the system perl, but not use or installworld it? Removing NOPERL seems like it would cause the build of system perl, but I'm not sure if it would also cause it to be installed. Installing it on the K6 wouldn't be too bad, however I want to make sure port perl continues to be used on the K6. Is there a good explanation of the make.conf PERL variables as well as the interaction of system and port perl in FreeBSD somewhere? Thanks, -Jed From owner-freebsd-perl@FreeBSD.ORG Sun Jun 6 08:25:43 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8D3516A4CE for ; Sun, 6 Jun 2004 08:25:43 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EEEA43D46 for ; Sun, 6 Jun 2004 08:25:42 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i56FPRR3001129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Jun 2004 16:25:28 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i56FPROt001128; Sun, 6 Jun 2004 16:25:27 +0100 (BST) (envelope-from matthew) Date: Sun, 6 Jun 2004 16:25:27 +0100 From: Matthew Seaman To: Jed Clear Message-ID: <20040606152527.GA1037@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Jed Clear , freebsd-perl@freebsd.org References: <40C32007.7D770F28@alum.mit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <40C32007.7D770F28@alum.mit.edu> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.2.2 (smtp.infracaninophile.co.uk [0.0.0.0]); Sun, 06 Jun 2004 16:25:28 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040604, clamav-milter version 0.71c on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-perl@freebsd.org Subject: Re: Want to build but not install system perl - FBSD 4.x X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 15:25:43 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 06, 2004 at 09:45:43AM -0400, Jed Clear wrote: > My question is can I tweak the make.conf on the K6 to build the system > perl, but not use or installworld it? Removing NOPERL seems like it > would cause the build of system perl, but I'm not sure if it would also > cause it to be installed. Installing it on the K6 wouldn't be too bad, > however I want to make sure port perl continues to be used on the K6.=20 > Is there a good explanation of the make.conf PERL variables as well as > the interaction of system and port perl in FreeBSD somewhere? I don't think that's actually impossible, but it would require quite a lot of faffing about to get right -- you would have to end up with separate trees under /usr/obj for the 486 and non-486 builds, and you'ld have to have quite a complicated /etc/make.conf and probably some sort of external variable setting to singnal if you were doing a 486 build. Probably what you should do instead is set up a jail on your build server machine and use that to do make worlds for your 486 box. It will be a lot simpler in the long run. You should be able to use a loopback NFS mount, or mount_null(8) so you only have one copy of /usr/src that you need to keep cvsup'd to date. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAwzdniD657aJF7eIRAn1mAJ9Y2M8v+r2xnxYyK7kjBykQnlSpGACfW+DQ Y6TZiwGG71epURUqhszEK54= =9QgR -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- From owner-freebsd-perl@FreeBSD.ORG Mon Jun 7 10:21:26 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D45A16A4CE for ; Mon, 7 Jun 2004 10:21:26 +0000 (GMT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E21A843D55 for ; Mon, 7 Jun 2004 10:21:25 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i57ALPEh031207 for ; Mon, 7 Jun 2004 03:21:25 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i57ALOan031206 for perl@freebsd.org; Mon, 7 Jun 2004 03:21:24 -0700 (PDT) (envelope-from obrien) Date: Mon, 7 Jun 2004 03:21:24 -0700 From: "David O'Brien" To: perl@freebsd.org Message-ID: <20040607102124.GA31190@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: [PATCH] p5-Mail-SpamAssassin X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 10:21:26 -0000 Does anyone have a problem with the below patch? -- -- David (obrien@FreeBSD.org) Index: files/patch-CmdLearn.pm =================================================================== RCS file: files/patch-CmdLearn.pm diff -N files/patch-CmdLearn.pm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-CmdLearn.pm 3 Jan 2004 04:19:29 -0000 @@ -0,0 +1,11 @@ +--- lib/Mail/SpamAssassin/CmdLearn.pm.orig Thu Sep 18 21:02:40 2003 ++++ lib/Mail/SpamAssassin/CmdLearn.pm Fri Jan 2 20:18:28 2004 +@@ -43,2 +43,3 @@ + 'showdots' => \$opt{'showdots'}, ++ 'quiet' => \$opt{'quiet'}, + 'no-rebuild|norebuild' => \$opt{'norebuild'}, +@@ -233,3 +234,3 @@ + print STDERR "\n" if ($opt{showdots}); +- print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n"; ++ print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n" if (!$opt{quiet}); + }; Index: files/patch-sa-learn.raw =================================================================== RCS file: files/patch-sa-learn.raw diff -N files/patch-sa-learn.raw --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-sa-learn.raw 3 Jan 2004 02:59:53 -0000 @@ -0,0 +1,6 @@ +--- sa-learn.raw.orig Mon Sep 15 15:59:24 2003 ++++ sa-learn.raw Fri Jan 2 18:59:25 2004 +@@ -75,2 +75,3 @@ + --showdots Show progress using dots ++ --quiet Donot output status from command run + --no-rebuild Skip building databases after scan From owner-freebsd-perl@FreeBSD.ORG Mon Jun 7 10:49:39 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E9B16A4CE; Mon, 7 Jun 2004 10:49:39 +0000 (GMT) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D5143D46; Mon, 7 Jun 2004 10:49:37 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id BFBCD175A9; Mon, 7 Jun 2004 12:49:33 +0200 (CEST) Date: Mon, 7 Jun 2004 12:49:33 +0200 From: Anton Berezin To: David O'Brien Message-ID: <20040607104933.GC22945@heechee.tobez.org> References: <20040607102124.GA31190@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040607102124.GA31190@dragon.nuxi.com> User-Agent: Mutt/1.5.6i cc: perl@freebsd.org Subject: Re: [PATCH] p5-Mail-SpamAssassin X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 10:49:39 -0000 On Mon, Jun 07, 2004 at 03:21:24AM -0700, David O'Brien wrote: > Does anyone have a problem with the below patch? > Index: files/patch-CmdLearn.pm > =================================================================== > RCS file: files/patch-CmdLearn.pm > diff -N files/patch-CmdLearn.pm > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ files/patch-CmdLearn.pm 3 Jan 2004 04:19:29 -0000 > @@ -0,0 +1,11 @@ > +--- lib/Mail/SpamAssassin/CmdLearn.pm.orig Thu Sep 18 21:02:40 2003 > ++++ lib/Mail/SpamAssassin/CmdLearn.pm Fri Jan 2 20:18:28 2004 > +@@ -43,2 +43,3 @@ > + 'showdots' => \$opt{'showdots'}, > ++ 'quiet' => \$opt{'quiet'}, > + 'no-rebuild|norebuild' => \$opt{'norebuild'}, > +@@ -233,3 +234,3 @@ > + print STDERR "\n" if ($opt{showdots}); > +- print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n"; > ++ print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n" if (!$opt{quiet}); > + }; > Index: files/patch-sa-learn.raw > =================================================================== > RCS file: files/patch-sa-learn.raw > diff -N files/patch-sa-learn.raw > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ files/patch-sa-learn.raw 3 Jan 2004 02:59:53 -0000 > @@ -0,0 +1,6 @@ > +--- sa-learn.raw.orig Mon Sep 15 15:59:24 2003 > ++++ sa-learn.raw Fri Jan 2 18:59:25 2004 > +@@ -75,2 +75,3 @@ > + --showdots Show progress using dots > ++ --quiet Donot output status from command run > + --no-rebuild Skip building databases after scan s/donot/do not/ Have you submitted the patch to SA authors, btw? Otherwise I have no problem with the patch going in. \Anton. -- Floating point will almost always have enough precision for the task at hand, and by the time it doesn't, it will. :-) -- Larry Wall From owner-freebsd-perl@FreeBSD.ORG Mon Jun 7 11:03:25 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 303FF16A4CE for ; Mon, 7 Jun 2004 11:03:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164E143D49 for ; Mon, 7 Jun 2004 11:03:25 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i57B3OPQ044976 for ; Mon, 7 Jun 2004 11:03:24 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i57B3Ocs044970 for perl@freebsd.org; Mon, 7 Jun 2004 11:03:24 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Jun 2004 11:03:24 GMT Message-Id: <200406071103.i57B3Ocs044970@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: perl@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 11:03:25 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/09/28] bin/57315 perl Safe.pm security hole in 4.x base system' 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/02/14] ports/62825 perl conflict between perl-5.8.2 and other por o [2004/03/03] ports/63670 perl 'Unable to read from thread kernel pipe' 2 problems total. Non-critical problems