Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2017 17:02:32 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Yuri <yuri@freebsd.org>, "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Can PORTVERSION be gYYYYMMDD ?
Message-ID:  <35000647-6496-04cb-87ff-229d8a6d09d4@FreeBSD.org>
In-Reply-To: <e71788d7-25bc-17d0-160e-ccec2bc1ff8c@freebsd.org>
References:  <e71788d7-25bc-17d0-160e-ccec2bc1ff8c@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--PC1SWnnMwvGPikkfDB3ODFssEgP82XJEv
Content-Type: multipart/mixed; boundary="xvQaVPq8tUbj7O8hItXJO6BBsJNi5JGtK";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: Yuri <yuri@freebsd.org>, "ports@freebsd.org" <ports@freebsd.org>
Message-ID: <35000647-6496-04cb-87ff-229d8a6d09d4@FreeBSD.org>
Subject: Re: Can PORTVERSION be gYYYYMMDD ?
References: <e71788d7-25bc-17d0-160e-ccec2bc1ff8c@freebsd.org>
In-Reply-To: <e71788d7-25bc-17d0-160e-ccec2bc1ff8c@freebsd.org>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35000647-6496-04cb-87ff-229d8a6d09d4>