From nobody Mon Nov 17 17:39:30 2025 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 4d9FPH6nJhz6GdLB for ; Mon, 17 Nov 2025 17:39:47 +0000 (UTC) (envelope-from adamw@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d9FPH6Bl1z3hsg for ; Mon, 17 Nov 2025 17:39:47 +0000 (UTC) (envelope-from adamw@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763401187; 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: in-reply-to:in-reply-to:references:references; bh=SbiuX/HmhYvssLuWHxpI94KM9FPAZHJ+SZEIybIwUms=; b=BHHpfBcwUY3BrGwHkWeSrBdqGs+kMRaaWW9eaeHtIl5JAC88mMAvQelTAV2wH70wc7Yh7Y 5jGbDivF043/F7Yeuol/W1oSLo6KTTtj/Sc9TKFg9fB8Fh1GcPzR8+5FAc6pPD2g/OVWgQ b+Lz+7nop4xuAXsVxDsxv8VY7Q3APuEAku/oJ2aHUHT5/2uKzovvnw8EjDACnC2mw21sOo 1LEqDAgOtsEWrENx6jjbyvdrkP8n2G5XpQPgGcCE2HUEnQKcwZM//62J12/wgL8axiYFuc VejuHYU6Qqs8a1h6LzkJa8FWRah73W+0QeKZ6d3fPJKv+M4enJvcQrlpTv0KdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763401187; 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: in-reply-to:in-reply-to:references:references; bh=SbiuX/HmhYvssLuWHxpI94KM9FPAZHJ+SZEIybIwUms=; b=jO37uP8TQ3DAeOnC49/rYjJfK7R0dYkssgHBojKDqCDO3B0suwxxjFaZmdxSwLFzqDgeG+ KLkdDxNgbx1oDv5lI36izh2C8Uxrsc/H462dHfomCtB1q9FhOBnIQhbOqCCUahAdsudW0j F428zckO+7NTHUzuu519WVOZGKDECgkp1y4DiJ1AQ1hUpeTBLRTPqenId55rlZn5ew5d6n 5yKdC3B770JIz32LZtTs+CFiUaLsfVywaypAmamgXfkeYvruV7TG1ipRgZ1yiIWym6AWtv GCD8GRUk1n6JLU3KeLfG4sdpMjp1I1t9w392uklE4rDDrJYAFthf1fTK4BHOOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763401187; a=rsa-sha256; cv=none; b=oragEAYJ41IKOyBAx2lezvlO3qV2H15w46W4RG6q87iCieXkoMNzx3oZxvVE0d9x7JndLp DOqkvZdWZsudFKrNGvPG9IEyUXICf0EbS6oSuMzx9bmzhjUxvSI9RhWEKfmYiTYkiPIGFJ J2cLcMXE3PbKVcPqh93jbVjwuvsh0LxgTQf3uAi8HM+H4NcrN9EiUcJwB4i1sFaVPyHcL6 9y97jsGgPyrLaaHJB09LbbUVMa8P+qdEDvZdYSEJti+6hUjyUBzV4z356lGiTHQcm1l4XT Sc92NWElHJlTw5/DBn040fdKOwfxeYNk8isdTcwdbGR12jpSHYsVzHQ465BfIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: adamw/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4d9FPH4YfnzBFB for ; Mon, 17 Nov 2025 17:39:47 +0000 (UTC) (envelope-from adamw@freebsd.org) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-787f28f89faso43571977b3.1 for ; Mon, 17 Nov 2025 09:39:47 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXgCo+vpQek7YQd2RTEU9O6XoXnFIe9BPYcYwvv5KmVmkq4Ua4u8SI9vTHy+JeQuEEWLpvOOQzfJp1TtuvPUfzZn3KKqhw=@freebsd.org X-Gm-Message-State: AOJu0Yxefe4iUp6UdsK66TTz5qVvMX/7mO7GUL+luuTegDqnXR5BRXhH A6cEqzOvi7SIX7k3F9x6MCpUwMtcKqGIAKwe1aLupZ0bBonpxSHHSMcfD+T7EODBSs/7AKJ0T8m 9TOCozEnXsJvKYdQeosHh2sgBflNffWyYtBIj3jKwAg== X-Google-Smtp-Source: AGHT+IEDUBNBXODZ7Bga8vqB6XuoHvo2cup4r5+PBnCtm2X7ygiYuR7YZ4aJW1CjN11uHHhBtdpNulN+TDmYkxFFBiM= X-Received: by 2002:a05:690e:2514:20b0:641:f5bc:6949 with SMTP id 956f58d0204a3-641f5bc6ebamr5959638d50.77.1763401186916; Mon, 17 Nov 2025 09:39:46 -0800 (PST) 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 References: <202511150000.5AF00UV0020031@gitrepo.freebsd.org> <1806919.NDq42KOioK@mercury> <4220452.uxbk0vzbMu@mercury> In-Reply-To: From: Adam Weinberger Date: Mon, 17 Nov 2025 12:39:30 -0500 X-Gmail-Original-Message-ID: X-Gm-Features: AWmQ_bm2SQ3ffBRty0EmCHEE_RIzfJquuN4E2rhClWf1F6teKL-pG1CihhIlZbU Message-ID: Subject: Re: Literal text WWW in ports Makefile To: Chris Cc: ports-committers@freebsd.org, Zsolt Udvari , Nuno Teixeira , Max Brazhnikov , =?UTF-8?Q?Jes=C3=BAs_Daniel_Colmenares_Oviedo?= , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org, DtxdF@disroot.org, portmgr@freebsd.org Content-Type: multipart/alternative; boundary="00000000000057d81c0643cdd54d" --00000000000057d81c0643cdd54d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Nov 17, 2025 at 12:12=E2=80=AFPM Chris wrot= e: > On 2025-11-15 12:21, Max Brazhnikov wrote: > > On Sat, 15 Nov 2025 19:43:26 +0100 Zsolt Udvari wrote: > >> On Sat, Nov 15, 2025 at 09:16:30PM +0300, Max Brazhnikov wrote: > >> > WWW also was a literal text when it just migrated to Makefile. Why i= t > should > >> > be obfuscated now? No difference for the make, but less convenient > for humans: > >> > plain text url can be opened from the editor without running the mak= e. > >> > >> The github, gitlab and pear set a WWW (if it isn't defined in Makefile= ) > so > >> you can't open the url without running make. If you want see plain tex= t > >> url should remove these definitions from Mk/bsd.sites.mk and > > > > I'm ok with this, framework may set WWW for ports, and ports can > redefine it > > if needed. But if WWW is explicitly set in the Makefile it should be > plain > > url. > > If either is possible. Why should it not be what is easiest or most > efficient > for the > Maintainer/Developer at the time? > Because it should be what is most helpful and useful for end-users, not the maintainer. It's a worse experience for the end-user, doesn't actually save the maintainer any time, and really the only benefit is that the port needs fewer changes if the name of the program suddenly changes, which occurs once every never. We are not the customer, nor is make(1). --=20 Adam Weinberger adamw@adamw.org // adamw@FreeBSD.org --00000000000057d81c0643cdd54d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Nov 17, 2025 at 12:12=E2=80=AFPM Chris &= lt;i.h8.git@bsdforge.com> w= rote:
On 2025-11-15 12:21, Max Brazhniko= v wrote:
> On Sat, 15 Nov 2025 19:43:26 +0100 Zsolt Udvari wrote:
>> On Sat, Nov 15, 2025 at 09:16:30PM +0300, Max Brazhnikov wrote: >> > WWW also was a literal text when it just migrated to Makefile= . Why it should
>> > be obfuscated now? No difference for the make, but less conve= nient for humans:
>> > plain text url can be opened from the editor without running = the make.
>>
>> The github, gitlab and pear set a WWW (if it isn't defined in = Makefile) so
>> you can't open the url without running make. If you want see p= lain text
>> url should remove these definitions from Mk/bsd.sites.mk and
>
> I'm ok with this, framework may set WWW for ports, and ports can r= edefine it
> if needed. But if WWW is explicitly set in the Makefile it should be p= lain
> url.

If either is possible. Why should it not be what is easiest or most efficie= nt
for the
Maintainer/Developer at the time?

Because it should= be what is most helpful and useful for end-users, not the maintainer.

It&= #39;s a worse experience for the end-user, doesn't actually save the ma= intainer any time, and really the only benefit is that the port needs fewer= changes if the name of the program suddenly changes, which occurs once eve= ry never.

We are not the customer, nor is make(1).


--
--00000000000057d81c0643cdd54d--