From owner-freebsd-perl@FreeBSD.ORG Mon Feb 13 11:05:47 2006 Return-Path: X-Original-To: perl@freebsd.org 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 ACF4516A422 for ; Mon, 13 Feb 2006 11:05:47 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5454743DA0 for ; Mon, 13 Feb 2006 11:05:37 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1DB5bYo069125 for ; Mon, 13 Feb 2006 11:05:37 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1DB5aYl069119 for perl@freebsd.org; Mon, 13 Feb 2006 11:05:36 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Feb 2006 11:05:36 GMT Message-Id: <200602131105.k1DB5aYl069119@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Feb 2006 11:05:47 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/03/03] ports/63670 perl lang/perl5.8: 'Unable to read from thread o [2006/01/31] ports/92601 perl mail/p5-Mail-SpamAssassin: SpamAssassin w 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/11/20] ports/89333 perl Fix the cannot create lockfile /root/.spa o [2006/02/07] ports/93000 perl p5-Mail-SpamAssassin DomainKeys support i 2 problems total. From owner-freebsd-perl@FreeBSD.ORG Tue Feb 14 19:59:29 2006 Return-Path: X-Original-To: freebsd-perl@freebsd.org 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 A6FDE16A433 for ; Tue, 14 Feb 2006 19:59:29 +0000 (GMT) (envelope-from paul+fbsd@it.ca) Received: from mail2.dm.egate.net (mail2.dm.egate.net [216.235.1.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423A343D49 for ; Tue, 14 Feb 2006 19:59:27 +0000 (GMT) (envelope-from paul+fbsd@it.ca) Received: from mail.it.ca (root@[216.235.7.67]) by mail2.dm.egate.net (8.12.11/8.12.10) with ESMTP id k1EJxQHZ041039 for ; Tue, 14 Feb 2006 14:59:26 -0500 (EST) (envelope-from paul+fbsd@it.ca) Received: from mail.it.ca (paul@mail [216.235.7.67]) by mail.it.ca (8.13.3/8.13.3) with ESMTP id k1EJxGNR002333 for ; Tue, 14 Feb 2006 14:59:16 -0500 (EST) (envelope-from paul+fbsd@it.ca) Received: (from paul@localhost) by mail.it.ca (8.13.3/8.13.3/Submit) id k1EJxGms002332 for freebsd-perl@freebsd.org; Tue, 14 Feb 2006 14:59:16 -0500 (EST) (envelope-from paul+fbsd@it.ca) X-Authentication-Warning: mail.it.ca: paul set sender to paul+fbsd@it.ca using -f Date: Tue, 14 Feb 2006 14:59:16 -0500 From: Paul Chvostek To: freebsd-perl@freebsd.org Message-ID: <20060214195916.GA1400@it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: the PERL make variable... X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-perl@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: Tue, 14 Feb 2006 19:59:29 -0000 Hiya. I posted this to freebsd-ports a few days ago and got no response. Perhaps someone here can lend an opinion. On a number of occasions in the past, when creating ports of Perl scripts, I've included a make target with something like: post-patch: @${SED} '1s:/usr/bin/perl:${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/... Most of these were originally submitted back in 4.x days, when PERL was often /usr/local/bin/perl. The handbook and bsd.port.mk are clear that the variable should be used for shell magic. But I submitted two new ports last week had this use of PERL removed upon commit. The committer claimed he didn't the purpose of the PERL make variable, and that pointing to the perl binary at /usr/bin/perl was the best way to go. Almost 2000 ports use the PERL variable, and I haven't seen any announcements indicating that it was going away. Was the committer who handled my ports just a little too eager to shrink the Makefiles? :) At this point, the ports are in, missing the post-patch target. Should they stay as-is, or I submit a change, or let them be until after the upcoming release? p -- Paul Chvostek it.canada, hosting and development http://www.it.ca/ From owner-freebsd-perl@FreeBSD.ORG Thu Feb 16 16:33:54 2006 Return-Path: X-Original-To: perl@freebsd.org 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 8600616A420 for ; Thu, 16 Feb 2006 16:33:54 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (trantor.komkon.org [65.217.243.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B4243D4C for ; Thu, 16 Feb 2006 16:33:53 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (str@localhost.komkon.org [127.0.0.1]) by trantor.komkon.org (8.13.3/8.13.3) with ESMTP id k1GGXrq2027766; Thu, 16 Feb 2006 11:33:53 -0500 (EST) (envelope-from str@trantor.komkon.org) Received: (from str@localhost) by trantor.komkon.org (8.13.3/8.13.3/Submit) id k1GGXq6c027765; Thu, 16 Feb 2006 11:33:52 -0500 (EST) (envelope-from str) Date: Thu, 16 Feb 2006 11:33:52 -0500 (EST) From: Igor Roshchin Message-Id: <200602161633.k1GGXq6c027765@trantor.komkon.org> To: perl@freebsd.org X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on trantor.komkon.org Cc: Subject: perl version hardcoded in ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 16 Feb 2006 16:33:54 -0000 Hello! I just was upgrading the perl port on a 5.4-R box, and found that many ports that require perl (previously installed via portupgrade) have it hardcoded with the version number, e.g. monthly:#!/usr/local/bin/perl5.8.6 oldlog2new:#!/usr/local/bin/perl5.8.6 sa-learn:#!/usr/local/bin/perl5.8.6 -T -w sa-update:#!/usr/local/bin/perl5.8.6 -T -w spamassassin:#!/usr/local/bin/perl5.8.6 -T -w spamd:#!/usr/local/bin/perl5.8.6 -T -w splitlog:#!/usr/local/bin/perl5.8.6 wwwerrs:#!/usr/local/bin/perl5.8.6 wwwstat:#!/usr/local/bin/perl5.8.6 In this case most of the files are from wwwstat and spamassassin. While it might be warranted in some instances, I don't believe it is really required for many (if not most) of these packages. I think they should use /usr/local/bin/perl instead. I suspect, that it is the fault of the mechanism built in the portupgrade (or ports building system) Best regards, Igor Igor Roshchin System Administrator KomKon Sites From owner-freebsd-perl@FreeBSD.ORG Thu Feb 16 19:12:00 2006 Return-Path: X-Original-To: perl@freebsd.org 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 73FB616A422 for ; Thu, 16 Feb 2006 19:12:00 +0000 (GMT) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFAC43D77 for ; Thu, 16 Feb 2006 19:11:54 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id CBB78125420; Thu, 16 Feb 2006 20:11:53 +0100 (CET) Date: Thu, 16 Feb 2006 20:11:53 +0100 From: Anton Berezin To: Igor Roshchin Message-ID: <20060216191153.GA92183@heechee.tobez.org> References: <200602161633.k1GGXq6c027765@trantor.komkon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602161633.k1GGXq6c027765@trantor.komkon.org> User-Agent: Mutt/1.4.2.1i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: perl@freebsd.org Subject: Re: perl version hardcoded in ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 16 Feb 2006 19:12:00 -0000 On Thu, Feb 16, 2006 at 11:33:52AM -0500, Igor Roshchin wrote: > I just was upgrading the perl port on a 5.4-R box, > and found that many ports that require perl (previously installed > via portupgrade) have it hardcoded with the version number, e.g. > > monthly:#!/usr/local/bin/perl5.8.6 > oldlog2new:#!/usr/local/bin/perl5.8.6 > sa-learn:#!/usr/local/bin/perl5.8.6 -T -w > sa-update:#!/usr/local/bin/perl5.8.6 -T -w > spamassassin:#!/usr/local/bin/perl5.8.6 -T -w > spamd:#!/usr/local/bin/perl5.8.6 -T -w > splitlog:#!/usr/local/bin/perl5.8.6 > wwwerrs:#!/usr/local/bin/perl5.8.6 > wwwstat:#!/usr/local/bin/perl5.8.6 > > In this case most of the files are from wwwstat and spamassassin. Have you tried to run perl-after-upgrade script, as per UPDATING dating from the last time lang/perl5.8 was updated? > While it might be warranted in some instances, > I don't believe it is really required for many (if not most) > of these packages. I think they should use /usr/local/bin/perl > instead. > I suspect, that it is the fault of the mechanism built in > the portupgrade (or ports building system) Yes, I think using ${PERL} rather than ${PERL5} is more correct for those substitutions/patches. Nevertheless, perl-after-upgrade's job is to fix those cases. Cheers, \Anton. -- An undefined problem has an infinite number of solutions. -- Robert A. Humphrey From owner-freebsd-perl@FreeBSD.ORG Fri Feb 17 08:26:40 2006 Return-Path: X-Original-To: freebsd-perl@freebsd.org 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 3BA1D16A420 for ; Fri, 17 Feb 2006 08:26:40 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from relay-a12.mbrd.ru (relay-a12.mbrd.ru [194.117.71.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 634DB43D46 for ; Fri, 17 Feb 2006 08:26:39 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-a12.mbrd.ru with esmtpa (Exim 4.x) id 1FA0wl-00074G-W9 for freebsd-perl@freebsd.org; Fri, 17 Feb 2006 11:26:36 +0300 Message-ID: <43F588BF.9060104@FreeBSD.org> Date: Fri, 17 Feb 2006 11:26:39 +0300 From: Sergey Matveychuk User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-perl@freebsd.org References: <20060214195916.GA1400@it.ca> In-Reply-To: <20060214195916.GA1400@it.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: the PERL make variable... X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 17 Feb 2006 08:26:40 -0000 Paul Chvostek wrote: > The handbook and bsd.port.mk are clear that the variable should be used > for shell magic. But I submitted two new ports last week had this use > of PERL removed upon commit. The committer claimed he didn't the > purpose of the PERL make variable, and that pointing to the perl binary > at /usr/bin/perl was the best way to go. The Porter's Handbook is right, the committer is wrong. -- Sem.