Date: Tue, 21 Oct 2014 15:33:06 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-ports@freebsd.org Subject: Re: PORTVERSION when there is no upstream version number Message-ID: <54466EA2.5060903@infracaninophile.co.uk> In-Reply-To: <54466385.1010603@lungenarzt-wien.at> References: <54466385.1010603@lungenarzt-wien.at>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5ji5QhpKh4cVMAhokGTpdvIG0jwP8ceNh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/21/14 14:45, Manuel Wiesinger wrote: > Hi, >=20 > what is the best practice for setting PORTVERSION, when the upstream > port has no version number? Is it fine to go with the date like 2014102= 1? >=20 Using the date in this sort of case is a pretty good idea, but you should prefix it by '0.0.'. The porter's handbook says: "The idea is to make it easier to sort ports by looking at the version string. In particular, make sure version number components are always delimited by a period, and if the date is part of the string, use the 0.0.yyyy.mm.dd format, not dd.mm.yyyy or the non-Y2K compliant yy.mm.dd format. It is important to prefix the version with 0.0. in case a release with an actual version number is made, which would be numerically less than yyyy." > I'm trying to port postscreen-stats, which is just a collection of smal= l > scripts without any version numbering. > See: https://github.com/jvehent/Postscreen-Stats However, since you're porting something distributed via Github see the specific instructions here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefi= le-distfiles.html#5.4.2.1 Cheers, Matthew --5ji5QhpKh4cVMAhokGTpdvIG0jwP8ceNh 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 iQJ8BAEBCgBmBQJURm6oXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnLDcQAI5Pok02Guxk+HlO0vZICjA3 uL+QkVL3rIGgCcL0awGPVQ3k/zAtuyE6sb1eBKQZbJ43ww7xrJekmfF86vFnhtNk ZnWQinEaGr9j03QlmkfCJZ7KGxeOSbc1CzPKVsaAzSBKaTG7T1+UxrTw/uJjyP8j DvrMpUrb1ewUlfz8/hn2wZqKJIKgOrsdE8zzUBrg53PazgIpOm3PNWK8DW4V7tqY HCuZSAJ4br/6VuRPOmZnbR1ovZ0uas/QZcYpyl1x1an4OZJLnhhobZ+efWxboWHR XcaAzl+6LR3hh2og/OMCplRXpDwpDhFf1fWrMsCtdXCNsLO0mTzlt76a4w0Qcx/9 5SfUifTYHGVQiNGF4fxfzJ4sJ/VSRnpSVEUQPp5LngDEsrgvN4RUOLWZe3bFhNBS J+q+z0ravcouCGNfOC4FbtyiRpaywR6WUx8x13HMGVcm8VKhaFrDE7BkxVbJkQbH MVyuIopBY/6qF2Zjl7T+taNLxQEK7/elUbwL2IaOmj887m43ElylkLKgaX+3Gt7W uVwPPmUHpHTJHBTQxIXI+y0GmL/EzbEH+Km4PuFTBIn3pgWssL1kh2V+xBbCG83C 7n4Y2sU5pSe0k769hqLHYIQT1+QcP8NHC728ajUxEGEwwKZkyNVhaGbwq6cMPG6j yUrTL+5UlItY2W14Fwqt =TWMR -----END PGP SIGNATURE----- --5ji5QhpKh4cVMAhokGTpdvIG0jwP8ceNh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54466EA2.5060903>