Article View: muc.lists.freebsd.ports
Article #76Re: PORTNAME changes
From: Jason Bacon
Date: Sun, 25 Oct 2026 21:44
Date: Sun, 25 Oct 2026 21:44
43 lines
7489 bytes
7489 bytes
On 10/25/26 08:15, Piotr Smyrak wrote: > On Sun, 25 Oct 2026 07:48:31 -0500 > Jason Bacon <bacon4000@gmail.com> wrote: > >> Do we have a way to change PORTNAME without breaking pkg-upgrade? >> >> Pkgssrc has the SUPERSEDES variable: >> >> https://www.netbsd.org/docs/pkgsrc/submit.html#renaming-package >> >> I'm not seeing anything equivalent in the FreeBSD ports docs, though. >> >> So, if a PORTNAME doesn't follow all the rules (e.g. regarding >> upper/lower case), I'm thinking it's better to leave it alone rather >> than bring it up to code and cause pkg-upgrade to fail for everyone >> who has the port installed. >> > > That shall be helpful: > https://docs.freebsd.org/en/books/porters-handbook/book/#moved-and-updating-moved Thanks, I was aware of those, but I don't believe they have any effect on pkg-upgrade. MOVED just documents changes to the port's pathname under $PORTSDIR. UPDATING just documents extra steps to manually take when updating a port. What I'm looking for, and what SUPERSEDES provides in pkgsrc, is a way to make pkg-upgrade(8) aware of a change to the PORTNAME variable. If PORTNAME is changes from xzy to Xyz, pkg-upgrade will fail to upgrade xzy unless the user explicitly uses --case-insensitive. If PORTNAME is changed from xyz to xyz2, there appears to be no way at all to make pkg-upgrade recognize that they are the same port and an upgrade should occur. -- Life is a game. Play hard. Play fair. Have fun. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<42a6b7b1-071e-4e6b-b553-b08cb3b14064@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <20261025141534.120fafa7@daleth.home>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Jason Bacon <bacon4000@gmail.com>
Newsgroups: muc.lists.freebsd.ports
Subject: Re: PORTNAME changes
Date: Sun, 25 Oct 2026 16:44:22 -0500
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-ports@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <42a6b7b1-071e-4e6b-b553-b08cb3b14064@gmail.com>
References: <> <20261025141534.120fafa7@daleth.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="30960"; mail-complaints-to="news-admin@muc.de"
User-Agent: Mozilla Thunderbird
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1792964684; h=from:from:sender:sender: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:list-id:list-help:
list-owner:list-unsubscribe:list-subscribe:list-post;
bh=5jQDnNz2b0QT2aXO21aSMAlJNiddqjRxC4LgY/SOifE=;
b=Dv4uCe1+QcBTEPz0E5Vl9slfKr77d/NeB++b6ssHBzJ1ynJRbUtG1bhXFg7U9eLo4gTqPi
YeIDCabNE7eLo3HdPa/4ymetRf/YpZab1fifM/bg3Ws9flXUH7Tesc897QQdtSRvMGSiQ5
PYiOvyyotFYL/apy2CfaFhXdHAc942e2xHLarto5OY0Zsv7zv/4h5rqWFCUHSgV/icooh5
hPCUHjt5KRxFDTK5BOLvrUXFaaRRgCXw+UMV1aR1kBzDs+cff3YxYemR6B9jlthH+2V8bs
DX2PJONsdiPRVLUgldfhi8RXTQcNsvwANDXPXBXsYxfRXsJP2ZrUZzaNKKYL0A==
X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
dkim=pass header.d=gmail.com header.s=20251104 header.b=CfhvGcF3;
spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::112e as permitted sender) smtp.mailfrom=bacon4000@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792964664; x=1793569464; darn=freebsd.org;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=5jQDnNz2b0QT2aXO21aSMAlJNiddqjRxC4LgY/SOifE=;
b=CfhvGcF3jIhxcAyo/P2tgf7/43gw0d+WJmp5BX5NmHmHgWFVephmEBHMsEu6Zb7fjd
rgu2zQhpGKkPF/jUtapKbRKEmsbsOEMqT4O0CginvzytjR/X71vD4MNCN6aAjKmo9Vxi
jhNZvtMv0yGmtZCM1IL0sGTSOTHhnkuYNu6W/csvROqhPHfyhqYjUAkKqFA2KAmfFita
nqyQFqR6lPvCZffy2t+wr5UebAxB+Q53re1XpSsLta3unDN0KbW9rPQZyZg/lwvHpfqa
7l2HR7q/TBm1/4QZNWpT9QYseoCKGI6dZ9lhESDRfm11wmtbW6XDAfON0AfzLDXkgSIM
9vfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792964664; x=1793569464;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=5jQDnNz2b0QT2aXO21aSMAlJNiddqjRxC4LgY/SOifE=;
b=gXw4ksU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
FS3XmCGdhgPzDmMKqkDVER6a3STH6RjtzrBHKPNShhYc1Tr3mQ==
X-BeenThere: freebsd-ports@freebsd.org
Precedence: list
Content-Language: en-US
In-Reply-To: <20261025141534.120fafa7@daleth.home>
X-Spamd-Bar: -
X-Spamd-Result: default: False [-1.00 / 15.00];
DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
R_DKIM_ALLOW(-0.20)[gmail.com:s=20251104];
R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56];
MIME_GOOD(-0.10)[text/plain];
FREEMAIL_FROM(0.00)[gmail.com];
ARC_NA(0.00)[];
FREEMAIL_ENVFROM(0.00)[gmail.com];
DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
RCVD_VIA_SMTP_AUTH(0.00)[];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
TO_DN_SOME(0.00)[];
MIME_TRACE(0.00)[0:+];
MID_RHS_MATCH_FROM(0.00)[];
RCPT_COUNT_TWO(0.00)[2];
RCVD_COUNT_TWO(0.00)[2];
FROM_EQ_ENVFROM(0.00)[];
FROM_HAS_DN(0.00)[];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112e:from];
TO_MATCH_ENVRCPT_SOME(0.00)[];
RCVD_TLS_LAST(0.00)[];
PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org];
MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org];
DKIM_TRACE(0.00)[gmail.com:+]
X-Rspamd-Queue-Id: 4jCVdj2QH3z4WHd
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes