From nobody Wed Dec 11 13:42:32 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y7cGz2xSqz5gx8w; Wed, 11 Dec 2024 13:42:35 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7cGz26rFz57TM; Wed, 11 Dec 2024 13:42:35 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733924555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BrgwI+hXSfh93GP22eYl9lPOo6gfSG8kKkEaL8XJYzE=; b=oBTRvuu8n1MAmtNVzGgO8BQmQOLTO0OhF4MOPy5uTSaDDNtvbY/VS1kaVriA6O+Bg/P+L8 XO+bsyKjK2TlHGzJ1bxGo+W+KBTmHJspnXy6y3vRyGu3XwJOGxjX/C/a1j8nHgU9B9Cl0Q 4Pet8w2ODxd1nJ4OOvrPdIJeJMApSzw7cZdp823HtA6B6S/y9nChjWbW6OYwAJW6MAeQmA S39j9mYtRM58LJkVL8xE3gRUchTfhinw5saAjp7DzRF8kRNoEjyru9WF0bHMaU1gtdY5wP Mtf3Walr6ccq5RmM314n7jXF0uqsfR3v6KbUPUa9q7jS94nhaRgHj7i7MwfDSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733924555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BrgwI+hXSfh93GP22eYl9lPOo6gfSG8kKkEaL8XJYzE=; b=ZoHw7dXgKb/WwLEdH/KbUfflOSmGHsgbtUFUcYU0OZFI/SezitJHUM2b1+sSE/ECGAJb5b MLFNrR/xSHFpCPVr3wGgADX+Icfxd8BpRphQz+0TsDmlB5IeibtQ9gp0AGP7FljMX09MDs DT90XGc6CEczpf2JehalHro95t9ZbYk3rK6cZxOYq2ctdf22jfRJPB4Rtbs9GuUn4InBWP a/pV/sL3LiwvSIhN3P81OzpjDaSwyS4nOLwQGHkuS3KoPX9OXmkyaTWR5Du40yYAXMHAnI B8NMC+nfFR9foZz0ya6s3cbGdtIT+N5aAS7VsrQGPUd3J46xFZtwzYeg5lT1jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733924555; a=rsa-sha256; cv=none; b=ZrM+s+E363zhMqhxP8uqP7JWoTObj+frT0dmadsRbIF1K8RofSgoiRFn9fQnn8ybQaLH3D zt/0C8hIM6JJB6a9QZBUWTN0QYcMOsiBXW6FIu3TlRyfGwSQGScKqGsWEaY3dr0ScldrSI Dj5Xbwac87TVlNAVX7oUh2g0BiL1Klsbxy2eksAd1AbydkL18CAyo4rpLERQ//omRVfyY3 tfmvt+yse2B8aV8BifmUCx0kbf2p3hZDFcxeQAaB/LULPbUyPpp7yDod4dYPQBU7hVKB4m ma3+ZNjYvSm1KCASrYTw8jvhyqhjdgbuuUbgVC/4Pm4artnMyhN6uN27b9UOqQ== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Y7cGz1896zYN9; Wed, 11 Dec 2024 13:42:35 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 75D7F1CCAE9; Wed, 11 Dec 2024 14:42:32 +0100 (CET) Date: Wed, 11 Dec 2024 14:42:32 +0100 From: Baptiste Daroussin To: Vladimir Druzenko Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: a5fc087131e6 - main - kmod: append osversion to the portversion Message-ID: References: <202412100817.4BA8H5CD007352@gitrepo.freebsd.org> <375ccf1a-d78f-4ad6-93cf-5237a64906c9@freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <375ccf1a-d78f-4ad6-93cf-5237a64906c9@freebsd.org> On Tue 10 Dec 13:55, Vladimir Druzenko wrote: > 10.12.2024 13:52, Baptiste Daroussin пишет: > > On Tue 10 Dec 13:32, Vladimir Druzenko wrote: > > > 10.12.2024 11:17, Baptiste Daroussin пишет: > > > > The branch main has been updated by bapt: > > > > > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=a5fc087131e66513d1c74f8427c924afff580a15 > > > > > > > > commit a5fc087131e66513d1c74f8427c924afff580a15 > > > > Author: Baptiste Daroussin > > > > AuthorDate: 2024-12-09 08:57:35 +0000 > > > > Commit: Baptiste Daroussin > > > > CommitDate: 2024-12-10 08:17:02 +0000 > > > > > > > > kmod: append osversion to the portversion > > > > The version is now > > > > kmodpackagename-._, > > > > This is necessary to make sure that the same packages built on a newer > > > > version of FreeBSD on a given branch is considered as an upgrade of the > > > > default provided one. > > > > In the current model of support, all packages are built on the lowest > > > > supported version of a given branch, which means right now all packages > > > > are built on 14.1, this results as since 14.2 has been released and up > > > > to the time 14.1 is EOLed we do not provide working binary packages for > > > > kernel modules and related for 14.2. > > > > With this we will be able to provide a dedicated repo built against 14.2 > > > > that will be usable by users and pkg upgrade will simply update to the > > > > right version. > > > > https://reviews.freebsd.org/D47997 > > > > --- > > > > Mk/Uses/kmod.mk | 2 ++ > > > > Mk/bsd.port.mk | 2 +- > > > > 2 files changed, 3 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk > > > > index a28077e67697..36bc49462fdf 100644 > > > > --- a/Mk/Uses/kmod.mk > > > > +++ b/Mk/Uses/kmod.mk > > > > @@ -25,6 +25,8 @@ IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE} > > > > CATEGORIES+= kld > > > > +_OS_SUFX?= .${OSVERSION} > > > > + > > > > PIE_UNSAFE= kernel modules are not executable > > > > SSP_UNSAFE= kernel module supports SSP natively > > > > diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk > > > > index 360fff6fc4cd..01dc08c265f5 100644 > > > > --- a/Mk/bsd.port.mk > > > > +++ b/Mk/bsd.port.mk > > > > @@ -1386,7 +1386,7 @@ PORTEPOCH?= 0 > > > > _SUF2= ,${PORTEPOCH} > > > > . endif > > > > -PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} > > > > +PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_OS_SUFX}${_SUF1}${_SUF2} > > > > PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} > > > > DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} > > > > DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL} > > > Hello! > > > > > > INDEX have incorrect versions, for example: > > > virtualbox-ose-additions-6.1.50.1499999 > > > virtualbox-ose-additions-legacy-5.2.44.1499999_6 > > > virtualbox-ose-additions-nox11-6.1.50.1499999 > > > virtualbox-ose-additions-nox11-legacy-5.2.44.1499999_5 > > > virtualbox-ose-kmod-6.1.50.1499999 > > > virtualbox-ose-kmod-legacy-5.2.44.1499999_7 > > > > > > $ awk -F'|' '{print $1}' /usr/ports/INDEX-14 | grep 1499999 | wc -l > > >      239 > > Ah yes index building... I need to think about it. > > > > Index should have died long ago... > > > > Best regards, > > Bapt > > How to quickly check for new versions without INDEX? > Sorry I don't have alternative for this use case beside building INDEX locally, but INDEX is not accurate anymore for a long time, this is yet another breakage in the INDEX land. Best regards, Bapt