From nobody Wed Mar 06 06:50:43 2024 X-Original-To: freebsd-ports@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 4TqNQF0zw1z5Bv3N for ; Wed, 6 Mar 2024 06:51:49 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TqNQC6NMLz4YdM for ; Wed, 6 Mar 2024 06:51:47 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=nqCoZkPo; dmarc=pass (policy=quarantine) header.from=leidinger.net; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1709707896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=63UHwmCEaYPPv2qUWYdePWfaPor/e9UntpDNo+hi+4E=; b=nqCoZkPo4MQg0IVIgWgwnV6R7I4kP8LlnuyuvaEUDTEp5uEC9rhCplUEBzUbfnCUNE4Cg0 nrQbJQc2sHkkzIV6qLTH8yricoOfEOqbnj93rMF4zgKSkW5O6g3mWxOwcfj+XdVxmckgwf mweaIEYG+izS9jdWTv41sqp6P8Il5oi8D9RzOCbpkl/zf1XVjsqF2iTIxPdhEd9XSJVxh4 0HxinZ8VN/njPrKKSvQu8WL+Xr+e9+8wUL8GA6eEJjak6eiuwSfhPrzR4uUABo/8M6xleA 4Hha1osQtyOgg0GttprzF7IawzLZmMqoehT3I1IChWwhdg8yoCIVdS+qzylloA== Date: Wed, 06 Mar 2024 07:50:43 +0100 From: Alexander Leidinger To: Freebsd Ports Subject: PORTEPOCH reset when PKGNAMESUFFIX changes? Message-ID: <0acc264da5f038589d31a3d5be30fcda@Leidinger.net> Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_69d7e518117fa4625c786c4942a10b29"; micalg=pgp-sha256 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_DN_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4TqNQC6NMLz4YdM This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_69d7e518117fa4625c786c4942a10b29 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, Does poudriere/pkg take the PKGNAMESUFFIX into account for a given origin? The context of the question is: I have a patch for a php-using port which flavourizes it. It will go from no PKGNAMESUFFIX to the usual php version as PKGNAMESUFFIX. So the package name will change from abc-1.2.3_x,y to abc-phpXX-1.2.3_x,y. The question from the port maintainer is now, if it is possible to reset the PORTEPOCH and the PORTREVISION to 0 (remove the corresponding lines). Before subpackages, it was not necessary for pkg/poudriere to look at package name, the origin and the version (including epoch and revision) would have been enough. For flavours I still think it is necessary to only look at the origin, and not the package name. Now with subpackages I'm not sure what the correct answer is. Can someone share some hard facts about this? Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_69d7e518117fa4625c786c4942a10b29 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmXoElEACgkQEg2wmwP4 2IZr1g/+LE8rVdeYSPR4T+TmeSAIRzDIsHBRB/aCq9ubPqQQ4TxJIyLRUYA+26Xe d0BfwOytIcsefaK8iSEH1xUP4hBgCtK3GNLke+Skorkh9/izn+rz/iVv2IbMplD+ 6woxZXyFG0oRx41Fa9Iazbdw+xTtfrozvn1KF1HqBJqoof1RSIF2fywqs5OChwTN wZ+WLoarY7eyL+HyQnAZgVyHQai47K9jO7u8W6juY72nQb3Srete557POw+JHPu4 e5YvAUkVcCzA2ve2E0KZ7o1Z2N+UhUdSHbC+O9Kzz60fwqh9YcHFfG6xijQ8/EDu np4VI+9soCZCCVdFiROyA9/Bzv7OyRaWIhTuBPG82PBsS9x+ddT7cT8iVapa9I9s SkEGaVxkEXJjRlKgADBnHj/btbeRB+CoBgioAKtBFU8OnpkLBT7E3qj9sxrRTy9K UMoYz32c7gDxsBr91i5bJzK+RUPSKYxsnYpvNEw1NkuT5fnfGlRQO8g75Me1XMvN g2e6gigY+S4NzfOhvZ3d3QXmmzPvFhISOkjNiduenIRea82L1T/c16rNiq0EIAY4 Wm12JPD21LLA9IKRC+Dpk/GRzeWk3mbgGJd2q1teYoHBrl7+LQzbYELMcnYSUTgD iE3Davy57rB7dlym0bV8SZvv4aPDqQZNlBCuL84C+gBU07xX6Ws= =rIlS -----END PGP SIGNATURE----- --=_69d7e518117fa4625c786c4942a10b29--