Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 08:13:03 +0000
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        Daniel Engberg <daniel.engberg.lists@pyret.net>,  ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 98582ae673d8 - main - mail/opensmtpd-table-sqlite:  new port
Message-ID:  <ml425iekhmct3fc5sqdvgz4twvgnbdgvwf6274shs7dabnd5bn@c3ryqc6dp3xs>
In-Reply-To: <mdb4ogkh42cn6qkjpvtwsqe4tjkglaodn6ovckq5s22haxuelb@jtuxzh5donqs>
References:  <202501191231.50JCVTKv086950@gitrepo.freebsd.org> <ac65f490714ba45edd9ef5557efa6b9b@mail.infomaniak.com> <nsyzvtp3rsebmdrb6l2a7cczoy4ppnpbb7eebaddkisjcp6nl6@wixgqtyujuw7> <mdb4ogkh42cn6qkjpvtwsqe4tjkglaodn6ovckq5s22haxuelb@jtuxzh5donqs>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 21 2025, 06:51 +0000, Mathieu Arnold <mat@freebsd.org> wrote:
>Le Mon, Jan 20, 2025 at 01:19:38PM +0000, Pietro Cerutti a =E9crit :
>> > That gets rid of patching and USES=3D autoreconf and you probably also
>> > want USES=3D localbase:ldflags instead of localbase . Looking at Porte=
rs
>> > Handbook you should likely also make use of PKGNAMEPREFIX instead of
>> > having opensmtpd- in PORTNAME.
>>
>> I don't see the point of using PKGNAMEPREFIX.
>
>I don't think it is up to you, the porter's handbook makes it explicit
>so the choice wether using PORTNAME or PORTNAME and PKGNAMEPREFIX is
>made for you.
>PORTNAME has to be set to the software's name.

I don't see it as clear cut. Can you point me to the paragraph in the=20
handbook that mandates a particular choice? At the end of the day, I=20
don't see a practical difference, and historically some degree of=20
freedom was left to developers. It is very annoying that you guys get=20
down to these minutiae.

As a counter-example, www/nginx-naxsi uses PORTMAME=3Dnginx and=20
PKGNAMESUFFIX=3D-naxsi. I guess your reading of the porters handbook would=
=20
mandate PORTNAME=3Dnaxsi and PKGNAMEPREFIX=3Dnginx-.

>Looking at <https://github.com/opensmtpd/table-sqlite>, it refers to
>"TABLE_SQLITE(5)", "table_sqlite", or "SQLITE TABLE CONFIG FILE". So the
>software name is "table sqlite".

Of course, I'm sure you'll agree, the reason for this is that everything=20
you mention is in the context of opensmtpd already.

> So, what the porter's handbook tells you to do is=20
> `PORTNAME=3Dtable-sqlite` and `PKGNAMEPREFIX=3Dopensmtpd-`.

Again, I don't see it.

This is the last thing I'll say on the subject, I have other things to=20
fill my free time with. Feel free to change the port if you think *your*=20
free time is best spent that way.

--=20
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ml425iekhmct3fc5sqdvgz4twvgnbdgvwf6274shs7dabnd5bn>