From owner-freebsd-ports@FreeBSD.ORG Mon Aug 29 15:10:30 2011 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 C6C36106566B for ; Mon, 29 Aug 2011 15:10:30 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 81D9D8FC0C for ; Mon, 29 Aug 2011 15:10:30 +0000 (UTC) Received: by vws18 with SMTP id 18so6010688vws.13 for ; Mon, 29 Aug 2011 08:10:29 -0700 (PDT) Received: by 10.52.70.100 with SMTP id l4mr166531vdu.23.1314630629708; Mon, 29 Aug 2011 08:10:29 -0700 (PDT) Received: from [192.168.0.9] (ool-43529a81.dyn.optonline.net [67.82.154.129]) by mx.google.com with ESMTPS id q10sm18423vdv.30.2011.08.29.08.10.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 08:10:28 -0700 (PDT) Message-ID: <4E5BABD0.9090300@xaerolimit.net> Date: Mon, 29 Aug 2011 11:10:08 -0400 From: Chris Brennan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20110828210511.3d2e0604@cox.net> In-Reply-To: <20110828210511.3d2e0604@cox.net> X-Enigmail-Version: 1.3.1 OpenPGP: id=D5B20C0C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig162BE095E4E3961AA7E6E36E" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: MASTER_SITE_SOURCEFORGE: how do *you* handle it? 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, 29 Aug 2011 15:10:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig162BE095E4E3961AA7E6E36E Content-Type: multipart/mixed; boundary="------------020504000704020102070705" This is a multi-part message in MIME format. --------------020504000704020102070705 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/28/2011 10:05 PM, Conrad J. Sabatier wrote: > I'm wondering how other ports maintainers are dealing with their=20 > definitions of MASTER_SITES=3D, DISTFILES=3D, DISTNAME=3D, etc. with > regards to Sourceforge. >=20 > In browsing a number of projects recently on Sourceforge, I've > noticed that the paths to project distfiles are now using the > element "projects" rather than "project". >=20 > What I'm looking for is how to declare things in a clean and elegant=20 > fashion in a port's Makefile to handle these cases, one that will=20 > hopefully not require any revisions for later upgrades. Is it > necessary to just scrap the "SF" definition entirely and hardcode the > URL? >=20 > In addition, I've run across a few projects that use slightly > differing versions of the project name, either somewhere in the path > or for the distfile name itself. For example, looking at the > "scidvspc" project earlier today, I noticed this: >=20 > The link for the distfile is defined as: >=20 > http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.5.tg= z/download > > Clicking the download link, one is presented with alternatives in > case the download doesn't start automatically. >=20 > The "mirror" link: >=20 > https://sourceforge.net/settings/mirror_choices?projectname=3Dscidvspc&= filename=3Dsource/scid_vs_pc-4.5.tgz > > The "direct link": >=20 > https://downloads.sourceforge.net/project/scidvspc/source/scid_vs_pc-4.= 5.tgz?r=3D&ts=3D1314582468&use_mirror=3Dsuperb-sea2 > > Frankly, I'm baffled as to how our current definition of=20 > "MASTER_SITES=3DSF/" is supposed to handle all of this. >=20 > Can anyone point me towards a source of enlightenment? :-) >=20 > Thanks! >=20 Slightly related and unrelated at the same time. So sorry if I drifted too far. I was discussing this very concept about a month ago with a friend. I was trying to update my PortableApps.om installation and the script I had written to fetch updated apps broke because I couldn't figure out how to handle these new url's. It would see SF's idea of a direct link is a redirect, thus obfuscating the real servers even more and the path the project is in.... --=20 > Chris Brennan -- A: Yes. >> Q: Are you sure? >>> A: Because it reverses the logical flow of conversation. >>>> Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/=20 > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ --------------020504000704020102070705-- --------------enig162BE095E4E3961AA7E6E36E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOW6vXAAoJEO7NmoTVsgwM0/oH/1IV5lTptFG0ArHqwGJ/0hnz RGuUGTU+DcJWYeppWFihjGlwjWpM/vRJ/gkRdve/HLv9kzeZBV8P4pA4+dg3lh0d 4o8VtVpFQfM5fff/y2MW/Dy3N2YG5J4lBdOIjXDYTtIdYrT26dlv7E5H/nWIa+RB TnpJG3lmULNHPxW7K/wBZcNHx7GviGmIulAXcPpzoeeLx+K0jvF8Sy8B9VLhDiJm DXx0tPCXXp5rOmslIobcRoSN37g4ehxTq+TdBZ4yDHEg9KAV4zdeMgA/4UIJWvga tyg2zxgS+iFcdfuvyotE0vKZTwG7OIX1p7HMbHhnsd8ysCPSF6OOSmIYQ/hV1b4= =RvHP -----END PGP SIGNATURE----- --------------enig162BE095E4E3961AA7E6E36E--