From owner-freebsd-ports@freebsd.org Tue Nov 28 16:03:06 2017 Return-Path: Delivered-To: freebsd-ports@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 C42C9DBAE04 for ; Tue, 28 Nov 2017 16:03:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A06056ABA2 for ; Tue, 28 Nov 2017 16:03:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9FA5ADBAE03; Tue, 28 Nov 2017 16:03:06 +0000 (UTC) Delivered-To: ports@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 9F523DBAE02 for ; Tue, 28 Nov 2017 16:03:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 42AAB6ABA1; Tue, 28 Nov 2017 16:03:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id A6A21BDD2F; Tue, 28 Nov 2017 17:03:03 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 8682CBDD1E; Tue, 28 Nov 2017 17:03:03 +0100 (CET) Subject: Re: Can PORTVERSION be gYYYYMMDD ? To: Yuri , "ports@freebsd.org" References: From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <35000647-6496-04cb-87ff-229d8a6d09d4@FreeBSD.org> Date: Tue, 28 Nov 2017 17:02:32 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PC1SWnnMwvGPikkfDB3ODFssEgP82XJEv" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2017 16:03:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PC1SWnnMwvGPikkfDB3ODFssEgP82XJEv Content-Type: multipart/mixed; boundary="xvQaVPq8tUbj7O8hItXJO6BBsJNi5JGtK"; protected-headers="v1" From: Mathieu Arnold To: Yuri , "ports@freebsd.org" Message-ID: <35000647-6496-04cb-87ff-229d8a6d09d4@FreeBSD.org> Subject: Re: Can PORTVERSION be gYYYYMMDD ? References: In-Reply-To: --xvQaVPq8tUbj7O8hItXJO6BBsJNi5JGtK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Le 28/11/2017 =C3=A0 09:36, Yuri a =C3=A9crit=C2=A0: > The port audio/ir-lv2 was committed with PORTVERSION=3Dg20130909. > > make in another port with this instruction: > > > RUN_DEPENDS=3Dir-lv2>0:audio/ir-lv2 > doesn't check the version of ir properly, and always tries to rebuild i= t. > > > Is PORTVERSION=3DgYYYYMMDD actually allowed? > > The handbook doesn't mention such format. Section Example=C2=A05.9 here= > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/make= file-distfiles.html#makefile-distname-ex1 > offers PORTVERSION=3D20160710 as an example. > > If it's not allowed, why doesn't framework complain? > > Otherwise, the version check for such ports must be fixed.=20 There is an example a bit further down on that page with the gYYYYMMDD. The idea is that in each label (things between dots) in version numbers, letters are before the numbers. $ pkg version -t 1.0.a1 1.0 < The idea behind using gYYYYMMDD for snapshot of software that never had versions is so that if they ever get a version, gYYYYMMDD is still before version 0, so using PORTEPOCH is not needed. --=20 Mathieu Arnold --xvQaVPq8tUbj7O8hItXJO6BBsJNi5JGtK-- --PC1SWnnMwvGPikkfDB3ODFssEgP82XJEv 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 iQJ8BAEBCgBmBQJaHYi2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IIIcQAKDWuHxM80SeFR1hKh2/ruZM M+hgA582h47FZJ0o7Q9b5COcODhokNhU4jjPH89J+Ud7Nm5QhvX50HAJkSvvlJNo 8vwR955BIh5FXYX9M4TgDXjpFNSrRUwLnw4sQTHkcolYRFGwKJhBI6NYK0kLxRNS KL6N+TfeWBkHG4gFRbk7FfWb3x0uYmQj+ZrlBYebkRkKn1dUGyovD8KkklCHt20E 4RREUy9kCbaaD3GUN2IAaS2zyvuV4Q+sCb93HcluWL16QAi/sHPKyX5xI9zGBgCi YyR+z+VaQ9FRtViwu40tmugcCF50WbkWgBEcb+7NO2Akuxz+WEpygQKX9cPeyLZA og18t6GKE5+B3nfvyk/Onq6SBjJhiJvgZGBLAQu4noRe5aezwKYjhxAnc+wNLIe8 gIVeu3gXq4wYRIM5hsqdm6C1DXFvXEqQi4quayLMnOQg8kHejmdiDXdYDH6Jl+Ek iA3N/l0e/lxIlfPI2temCnWEyiCuKKUDRk4GZ0DwCKo5h297KMc3dA3QVn21dC+T EaBqdb1qncVu+UgY49deiH/1Jntv/dphmL61+H8Ul0y5RG1jCAJj/WT6MjYlG/2H uUVgnw1idqt0KPh1d9ttevR+7hVVr6ISRrGcK4fJXyccMFQdsodRomYMKgd6M3TM 5bvZAE6O8M8ssLzsxcDA =EqWT -----END PGP SIGNATURE----- --PC1SWnnMwvGPikkfDB3ODFssEgP82XJEv--