Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 07:51:25 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Pietro Cerutti <gahr@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:  <mdb4ogkh42cn6qkjpvtwsqe4tjkglaodn6ovckq5s22haxuelb@jtuxzh5donqs>
In-Reply-To: <nsyzvtp3rsebmdrb6l2a7cczoy4ppnpbb7eebaddkisjcp6nl6@wixgqtyujuw7>
References:  <202501191231.50JCVTKv086950@gitrepo.freebsd.org> <ac65f490714ba45edd9ef5557efa6b9b@mail.infomaniak.com> <nsyzvtp3rsebmdrb6l2a7cczoy4ppnpbb7eebaddkisjcp6nl6@wixgqtyujuw7>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Le Mon, Jan 20, 2025 at 01:19:38PM +0000, Pietro Cerutti a écrit :
> > That gets rid of patching and USES= autoreconf and you probably also
> > want USES= localbase:ldflags instead of localbase . Looking at Porters
> > 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.
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". So, what the porter's handbook tells
you to do is `PORTNAME=table-sqlite` and `PKGNAMEPREFIX=opensmtpd-`.

Regards,

-- 
Mathieu Arnold

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmePQ+pfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1
NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d
Qb5Tmgv+Iog4jl1TmiK3gOMBtU9Bnb8Jv9DOhWuNk+dxDBSP6PM6W4aHiWx66ZnI
KJCH2cT+PHJz0E5RG1Z/0FISAH4PzdfH2E2MnZa0tihQ3uhxiTpjekr04HQ00aOa
M+dHyyndaJcN7KUgPGSvxh7T8JJOmO1Ld9NUu9rdvONHeW7MI65I2/p1TfT0HUA8
+YEk/PQ/C1uvaBoXQ5vlUt/iVnBSy0rmC/pDoy+HZL0O5m0+HrdHxMwHaZ1AjbDQ
+/FPJUXT2ng+5m7yRTOqDEhNa9x0TDNFSmlARh1B3n44NbKq9a+CIUsT6lN25gUM
C5HS3G1SMXyRBRVF15NMjvb+mlhcMPjlkDHj2Kwl4fXiLCjofP6GYkrmaYqDk6nb
knT9DLDzdCPZJRtlS1mKIwt8S3Kxfx2dlL2j389uSScvZ9IiRz//rADK701dqhEV
9hMYIShLCvedSYPxATxKUr12TFUxjjiA9RzfSy75h0fUjsHFH3hwF35xZV8p+yfZ
B6nCyF9g
=UKzO
-----END PGP SIGNATURE-----
home | help

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