From owner-freebsd-pkgbase@freebsd.org Sun Apr 17 01:41:48 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BEDDB0A737 for ; Sun, 17 Apr 2016 01:41:48 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7E5F11EF6; Sun, 17 Apr 2016 01:41:48 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 39B091180; Sun, 17 Apr 2016 01:41:48 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sun, 17 Apr 2016 01:41:47 +0000 From: Glen Barber To: Nikolai Lifanov Cc: freebsd-pkgbase@freebsd.org Subject: Re: snapshot package versioning Message-ID: <20160417014147.GO1554@FreeBSD.org> References: <28E37AF4-571F-4662-A5F8-6E63B0302E39@mail.lifanov.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GIP5y49pbaVPin6k" Content-Disposition: inline In-Reply-To: <28E37AF4-571F-4662-A5F8-6E63B0302E39@mail.lifanov.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 01:41:48 -0000 --GIP5y49pbaVPin6k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 16, 2016 at 09:28:05PM -0400, Nikolai Lifanov wrote: > Hello, >=20 > Can we remove the date from package > versions please? The ${ABI} and revision > describe which source was built and it's > a bit odd that a package built before and > after midnight has different versions. >=20 > Another idea, if versions were in 0.s277777 > format, pkg could seamlessly upgrade that to > 11.0 (when it is released). >=20 The date was intentionally chosen for non-RELEASE builds. However, you can set PKG_VERSION however you want. If you want to use the revision, you can do this with: # make packages PKG_VERSION=3D`svn info --show-item last-changed-revision` Glen --GIP5y49pbaVPin6k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXEunbAAoJEAMUWKVHj+KTr3QQAJFt0TTuLmCVV2Y9W9EAUyaE 61Ks8ovdUA+coU96KsgbASr7MOZLKcRuo8Wl6bldqb+f9LlPCSU2m+y7chNTJsN5 QKEcIYhfxlZj+LkHaoaVWqqP54iKTgNJFmZtgJR+eI6Kr3og9vX5/RmIVOcalm7D UmgpEeiJ9DCJNbZP9L0hEsG0+Hj5mgYwzuWSGgbDFSft2QRrVCNCMr9pq9i/jPkC wzusFbiRupD6hpl3neHXJ2JWGJkplS4YmYzj4HT1+K2H/I5KLy56jyrOFNJ84sSx ge599+EXxnY3KLL9gFKN5oPSQmAVzn9MSznMH/1+t6DqsS8RkkxNvN86yAuGEgl4 n/vzAgnQVyoxPyzjbYt8kZs3Z+AgOWAM+irKmXUB7qRHaFrvJXkHjh8PdzKrX8O5 KFhGGOYUrfxT3h3SYhxzKmEz56XGYDCznSXKHlCc4t2THzyfQA4LBVmfvJwfmDF+ /wVbExw4CvjQ4Aolx91kEVotmm6s5+8VjV1QBNDD7i/PJGe3GZ9FQ1mZaTT+w41C AbgrXVVYSQ8voR6+1Byo0LgxyIqg2e5W6qP+XYeHP3R55TDf18Xv9cagCU6Xh1sS DAyW2h7JrBAN6Wy4u+ZGOaBjUpP+z3DZHNR+nhHInbwA1zdui/TOTXBPBr51EVTh OOuNJCjBDlQvglKePQAN =sGCl -----END PGP SIGNATURE----- --GIP5y49pbaVPin6k--