From owner-freebsd-perl@FreeBSD.ORG Thu Feb 10 10:31:24 2011 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA20106564A for ; Thu, 10 Feb 2011 10:31:24 +0000 (UTC) (envelope-from milki@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id A364A8FC1A for ; Thu, 10 Feb 2011 10:31:24 +0000 (UTC) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1070) id 6BF39119D1E; Thu, 10 Feb 2011 02:31:24 -0800 (PST) Date: Thu, 10 Feb 2011 02:31:24 -0800 From: milki To: Anton Berezin Message-ID: <20110210103124.GH81862@hal.rescomp.berkeley.edu> References: <20110210091512.GE81862@hal.rescomp.berkeley.edu> <20110210093934.GA75152@heechee.tobez.org> <20110210094416.GG81862@hal.rescomp.berkeley.edu> <20110210101414.GB75152@heechee.tobez.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RIYY1s2vRbPFwWeW" Content-Disposition: inline In-Reply-To: <20110210101414.GB75152@heechee.tobez.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-perl@freebsd.org Subject: Re: MASTER_SITES/MASTER_SITE_SUBDIR for perl 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, 10 Feb 2011 10:31:24 -0000 --RIYY1s2vRbPFwWeW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 11:14 Thu 10 Feb , Anton Berezin wrote: > > Wouldn't an option be to actually dynamically generation the SUBDIR = = = =20 > > based on cpan's 02package.details.txt then? >=20 > Could you clarify what you mean by that? >=20 > During the port creation/update by a maintainer? Nothing prevents the > maintainer to use whatever tools to make this happen. It seems some authors are already doing this. It's just the current default MASTER_SITES use the /modules/by_module synatx so the SUBDIR must recures up the tree before going into /authors/id or /by-authors and that portlint will complain. If CPAN defaults to the author url, I think it would be more reliable to default to the same urls. >=20 > During the actual port installation? I think that would be a bad > idea. I was originally thinking of this method, but it does seem pretty cumbersome: find a mirror/retreat and extract 02package.details.txt and parse out author path. However, the file only contains the path for the latest version so it would not be compatible at all. --=20 milki milki@rescomp.berkeley.edu RSSP-IT programmers --RIYY1s2vRbPFwWeW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBAgAGBQJNU758AAoJEFEOn02jGA1hWuUH/A+9u+LLIpxzC1qT/ExXvteU Bsem8UZICdfJUtKf155hic6FUwofBpAUXBzrJedJCE9HqZJt6FAovpcVj+sp2A1x 62rXI3wrRNnSqK0nMuwPNO947EN6KhbeMZkp83ubOu9DsAarfFS3PsJTCp2SbIcw FpYW0eg7uNUh2wfjtndCeKEjIFz+wVQhnu2VIwn1Y+DFQYJMDhjEoMOcfaGIEqab FdpEqe2ayieFtsl2PJ2US9eH+JgeF+tqP6TLCmL2TLIhypWlI6H0KymmLsatZrwq qprV3Coe1sjAuxn/M+lAxhlikkPCo/MoYWDUvWkL/EwcIn1rqweHGY05HR1GfB8= =Y8t1 -----END PGP SIGNATURE----- --RIYY1s2vRbPFwWeW--