PORTVERSION when there is no upstream version number
Hi, 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 20141021? I'm trying to port postscreen-stats, which is just a collection of small scripts without any version numbering. See: https://github.com/jvehent/Postscreen-Stats Regards, Manuel ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: PORTVERSION when there is no upstream version number
On 10/21/14 14:45, Manuel Wiesinger wrote: Hi, 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 20141021? 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..mm.dd format, not dd.mm. 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 . I'm trying to port postscreen-stats, which is just a collection of small 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/makefile-distfiles.html#5.4.2.1 Cheers, Matthew signature.asc Description: OpenPGP digital signature
Re: PORTVERSION when there is no upstream version number
On Tue, Oct 21, 2014 at 8:45 AM, Manuel Wiesinger man...@lungenarzt-wien.at wrote: Hi, 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 20141021? I'm trying to port postscreen-stats, which is just a collection of small scripts without any version numbering. See: https://github.com/jvehent/Postscreen-Stats According to the Porters Handbook: https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html You can set PORTVERSION to 0.0..mm.dd or 1.0 (if original author is not going to release another version). -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: PORTVERSION when there is no upstream version number
On 10/21/14 16:37, Scot Hetzel wrote: You can set PORTVERSION to 0.0..mm.dd or 1.0 (if original author is not going to release another version). I've missed exactly that part. Thanks, Manuel ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org