From owner-freebsd-ports@FreeBSD.ORG Mon Sep 20 15:07:33 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37620106567A; Mon, 20 Sep 2010 15:07:33 +0000 (UTC) (envelope-from michael.scheidell@secnap.com) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id E63068FC0C; Mon, 20 Sep 2010 15:07:32 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 46B472B7C6C; Mon, 20 Sep 2010 11:07:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.com; h= content-transfer-encoding:content-type:content-type:subject :subject:mime-version:user-agent:from:from:date:date:message-id; s=dkim; t=1284995251; x=1286809651; bh=0LfU16JGGy7KE5NgKcy2jLMq 7N2cHyubvQqw5Fkx5xk=; b=Vb2at7j/dEQg+EFPwNxqd8qsgnLt/p7HZYhtRKrV xA95i03JuR8QUhmRoepCvuBucwZ9rczrhbyznXDQe0whOYD0NAt7UZL4E3vjsaMM 4aOwahG94daiwIp3i/VLpOGVhq1sOXEg0mjKlqsKQx0N2np9DqcJTLgOtnSuQzt/ EWw= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.13 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id 50B122B7C65; Mon, 20 Sep 2010 11:07:31 -0400 (EDT) Received: from macintosh.secnap.com (10.70.3.3) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.702.0; Mon, 20 Sep 2010 11:07:31 -0400 Message-ID: <4C9778B5.90408@secnap.com> Date: Mon, 20 Sep 2010 11:07:33 -0400 From: Michael Scheidell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: mm@FreeBSD.org Subject: Q about perl 5.12 and included newer port modules. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 15:07:33 -0000 I noticed, while looking at the SpamAssassin Port (p5-Mail-SpamAssassin) that there are at lease one set of pm dependencies that would pull in obsolete (older) ports versions that would overwrite newer, built in modules in perl 5.12. (Thanks Martin for this list below: As I said, its not just SA, but any optional modules SA pulls in need to be regressed back to any other pm that any other module might need) --------------------- Here is a list of directly referenced dependencies, where are the overwriting functions? p5-NetAddr-IP: only in ports p5-Archive-Tar: 5.8.9: not included 5.10.1: 1.52 5.12.2: 1.54 ports: 1.68 p5-Net-DNS: only in ports p5-Compress-Zlib: 5.8.9: not included 5.10.1: 2.020 5.12.2: 2.024 ports: 2.015 p5-IO-Zlib: 5.8.9: not included 5.10.1: 1.09 5.12.2: 1.10 ports: 1.10 p5-HTML-Parser: only in ports p5-IO-Compress: 5.8.9: not included 5.10.1: 2.020 5.12.2: 2.024 ports: 2.015 p5-Test-Harness: 5.8.9: 2.64 5.10.1: 3.17 5.12.2: 3.17 ports: 3.22 p5-libwww: only in ports p5-Encode-Detect: only in ports p5-Mail-Tools: only in ports p5-Time-HiRes: 5.8.9: 1.9715 5.10.1: 1.9719 5.12.2: 1.9719 ports: 1.9721 p5-Mail-SPF: p5-IO-Socket-INET6: p5-IO-Socket-SSL: p5-DBD-mysql: only in ports p5-DBD-Pg: only in ports p5-Digest-SHA1: only in ports p5-Digest-SHA: 5.8.9: not included 5.10.1: 5.47 5.12.2: 5.47 ports: 5.48 p5-Mail-DKIM: only in ports p5-Crypt-OpenSSL-RSA: only in ports p5-IP-Country: only in ports The only one I can see with a lower version is p5-Compress-Zlib. Btw. maybe p5-Time-HiRes can be omitted at all? ------------ I also noticed that the /usr/ports/UPDATING 20100715 note doesn't mention this, and the procedures for updating from 5.10 to 5.12 might being in these obsolete pm's. As the port maintainer for p5-Mail-SpamAssassin, I am looking for ideas, policies, procedures for handling something like this. For the SA port, I can always use if/else statements in the run and build dependencies, looking for PERL version, BUT:..... that only handles the immediate issue. The other issue is that several other dependencies, pulled in automatically, or optionally when you switch a knob, access ports that are not under my control. So, the Question is: track down each dependency (on my own) and submit patches to all the port maintainers, or should 'we' collectively look at all the existing pm's and make sure they don't install older modules? that approach, while global, can (and might) cause problems with automated builds, package builds, and packages on cd/dvd's, since the obsolete port will either be marked 'BROKEN FOR PERL 5.12', or, just silently ignored. Either case, this does go beyond just on perl port (p5-Mail-SpamAssassin)? or should we update any pm's that are older than 5.12? Actually, that itself sounds like the most workable, going fwd solution. if as Martin has found, at least p5-Compress-Zlib in ports is older than comes with perl 5.12, maybe that is the place to start? What would you say would be officially supported policy on this? easiest to maintain and package? -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 ISN: 1259*1300 > *| *SECNAP Network Security Corporation ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ ______________________________________________________________________