Date: Tue, 1 Sep 2015 14:08:09 -0700 From: Xin Li <delphij@delphij.net> To: FreeBSD ports <freebsd-ports@freebsd.org> Cc: Ports Management Team <portmgr@freebsd.org> Subject: package version scheme Message-ID: <55E613B9.6000008@delphij.net>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KRNRIVbPOBvA84sEV7U4OBLNJT1M3TTJ7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I hit a conflict between pkg behavior and the Porters' handbook, it confused me. In this example: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefi= le-distfiles.html#idp59327440 The handbook suggested that the right PORTVERSION should be 0.7.1.d if DISTVERSION is 0.7.1d. However, pkg version -t 0.7.1 0.7.1.d gives me >, suggesting that 0.7.1 -> 0.7.1.d would be considered as a downgrade. I'm asking mainly because www/dokuwiki's upstream have a habit of using a letter to denote patchlevel, for instance, 20150810a means first service pack of 20150810, so it's expected to be greater. pkg version -t 20150810 20150810a gives me '<', which is pretty much what I'm expecting, but this sounds wrong based on my previous experience with package tools and the porters handbook. Could you please clarify what would be the correct approach? For now I'm going to continue using PORTREVISION for this port as it's done historically. Thanks in advance! Cheers, --=20 Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die --KRNRIVbPOBvA84sEV7U4OBLNJT1M3TTJ7 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.1.7 (FreeBSD) iQIcBAEBCgAGBQJV5hO5AAoJEJW2GBstM+nsOGMP/jfZUzuua2lcgLImnNO8/Im/ Xg22lf6LQtupmMF7F5+G9a5eQBN+8XymetCYeQzJn/M6kTi7XHn2Hwl9CmV684V6 nfyehsRrg15shPQxf4IcLNv7Sm3R1t2LzymAcuRf6AKDzguad+k9ldEYFU7+r654 IcvnKlv1md6pPP6iiFW+TLPGxesgo+n4vnGIJSUX5gla4yVGasI6yEGTGm+dPNtb 9E2nz7JgWv1chbjU4sfT0or4X7rgoXwqW52az81WRoVmXLLmyzW6FI2CqM8twfZg ltz6yUG7STWbaOD2oXNn3gI4D5Sezmq8kFWB/h8mSRmoSq7R0sluYYFjKVmW4eSD RrpPcicgLeaot6e6N99hg2FJStyQHCeEsfi5lztBwEL2udYbS58mB+I/Yautg/65 ltJ606xf86SAXN09qhGwvj8S/MNl3y8pTdDt3UAtH0rmVw/nBXEvAdsmWYQfeiTN FURTojTZT4B8luwKZaP5hYhG4rN8KlvOG6rhwhDKYk4FX/qz19EDF1kyiH5kc9ex 34tyVnVko5Zoxq8JSswGmR0bn/6/bnunsaG4ytaPSWBv9S0Co9qZH3z7JZIeArxC vWFBkdSG6ZjG5DxnLmNG+4gtF+YlIYS6y6jwRpHYI1T06vIuhu+L2H2zqX61P+An W6aVEvvjB3HM2ltS5Hd2 =M9pc -----END PGP SIGNATURE----- --KRNRIVbPOBvA84sEV7U4OBLNJT1M3TTJ7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E613B9.6000008>