Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2025 18:28:02 +0100
From:      Daniel Engberg <daniel.engberg.lists@pyret.net>
To:        Pietro Cerutti <gahr@FreeBSD.org>
Cc:        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:  <0cfa09977d44f4345dc26dfc3b29dd34@mail.infomaniak.com>
In-Reply-To: <nsyzvtp3rsebmdrb6l2a7cczoy4ppnpbb7eebaddkisjcp6nl6@wixgqtyujuw7>
References:  <202501191231.50JCVTKv086950@gitrepo.freebsd.org> <ac65f490714ba45edd9ef5557efa6b9b@mail.infomaniak.com> <nsyzvtp3rsebmdrb6l2a7cczoy4ppnpbb7eebaddkisjcp6nl6@wixgqtyujuw7>

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

--_=_swift_1737394082_4e01106d8f86f58d713bac895e2631ba_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2025-01-20T14:19:50.000+01:00, Pietro Cerutti <gahr@FreeBSD.org>
wrote=
:

>=C2=A0On=C2=A0Jan=C2=A019=C2=A02025,=C2=A013:03=C2=A0+0000,=C2=
=A0Daniel=C2=A0Engberg=C2=A0<daniel.engberg.lists@pyret.net>=C2=A0wrote:
=
>=C2=A0
>=C2=A0[--=C2=A0Type:=C2=A0text/plain;=C2=A0charset=3Dutf-8,=
=C2=A0Encoding:=C2=A0quoted-printable,=C2=A0Size:=C2=A07.6K=C2=A0--]
>>=
=C2=A0=C2=A0On=C2=A02025-01-19T13:31:40.000+01:00,=C2=A0Pietro=C2=A0Cerutti=

>>=C2=A0=C2=A0<gahr@FreeBSD.org>
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0wrote:=

>>=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0The=C2=A0branch=C2=A0main=C2=A0has=
=C2=A0been=C2=A0updated=C2=A0by=C2=A0gahr:
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0URL:
>>>=C2=A0=C2=A0=C2=A0https://cgit.FreeBSD.or=
g/ports/commit/?id=3D98582ae673d871b51f1c0b6b7cafb35879c02efc
>>>=C2=
=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0commit=C2=A098582ae673d871b51f=
1c0b6b7cafb35879c02efc
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=
=C2=A0Author:=C2=A0Pietro=C2=A0Cerutti=C2=A0<gahr@FreeBSD.org>
>>>=C2=
=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0AuthorDate:=C2=A02025-01-19=
=C2=A012:25:14=C2=A0+0000
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0Commit:=C2=A0Pietro=C2=A0Cerutti=C2=A0<gahr@FreeBSD.org>
>>>=
=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0CommitDate:=C2=A02025-01-19=
=C2=A012:31:27=C2=A0+0000
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0mail/opensmtpd-table-sqlite:=C2=A0new=C2=A0port
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0This=C2=A0port=C2=A0replaces=C2=
=A0mail/opensmtpd-extras-table-sqlite.
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=
=A0=C2=A0=C2=A0=C2=A0The=C2=A0opensmtpd-extras-table-*=C2=A0ports=C2=A0got=
=C2=A0broken=C2=A0by=C2=A0the=C2=A0latest
>>>=C2=A0=C2=A0=C2=A0update=
=C2=A0of
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0OpenSMTPD,=
=C2=A0see=C2=A0my=C2=A0message=C2=A0on=C2=A0the=C2=A0mailing=C2=A0list:
>=
>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0https://lists.freebsd.org=
/archives/dev-commits-ports-main/2025-January/134537.html
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0I=C2=A0have=C2=A0requested=C2=A0acti=
on=C2=A0by=C2=A0fluffy@=C2=A0both=C2=A0on=C2=A0the=C2=A0message=C2=A0linked=

>>>=C2=A0=C2=A0=C2=A0above=C2=A0and
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=
=A0=C2=A0=C2=A0=C2=A0privately=C2=A0via=C2=A0email,=C2=A0but=C2=A0I=C2=
=A0haven't=C2=A0got=C2=A0any=C2=A0response=C2=A0back.
>>>=C2=A0=C2=A0=
=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0At=C2=A0this=C2=A0point,=C2=A0I=C2=
=A0want=C2=A0to=C2=A0unblock=C2=A0my=C2=A0workflow=C2=A0and=C2=A0be=C2=
=A0able=C2=A0to
>>>=C2=A0=C2=A0=C2=A0upgrade
>>>=C2=A0=C2=A0=C2=A0
>>=
>=C2=A0=C2=A0=C2=A0=C2=A0OpenSMTPD.=C2=A0I=C2=A0don't=C2=A0have=C2=A0plans=
=C2=A0to=C2=A0provide=C2=A0alternatives=C2=A0to=C2=A0all
>>>=C2=A0=C2=
=A0=C2=A0the
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0opensmtpd=
-extras-table-*=C2=A0ports.
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0---
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0mail/Make=
file=C2=A0|=C2=A01=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0mail/opensmtpd-table-sqlite/Makefile=C2=A0|=C2=A026
>>>=C2=A0=
=C2=A0=C2=A0++++++++++++++++++++++++++
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=
=A0=C2=A0=C2=A0=C2=A0mail/opensmtpd-table-sqlite/distinfo=C2=A0|=C2=A05=
=C2=A0+++++
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0mail/opens=
mtpd-table-sqlite/pkg-descr=C2=A0|=C2=A02=C2=A0++
>>>=C2=A0=C2=A0=C2=
=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A04=C2=A0files=C2=A0changed,=C2=A034=C2=
=A0insertions(+)
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0diff=
=C2=A0--git=C2=A0a/mail/Makefile=C2=A0b/mail/Makefile
>>>=C2=A0=C2=A0=
=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0index=C2=A07fc7b579932a..09a72821dd5f=
=C2=A0100644
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0---=C2=
=A0a/mail/Makefile
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+++=
=C2=A0b/mail/Makefile
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=
=A0@@=C2=A0-290,6=C2=A0+290,7=C2=A0@@
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=
=A0=C2=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0opensmtpd-extras-table-sqlite
=
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=
=A0opensmtpd-filter-rspamd
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0opensmtpd-filter-senderscore
>>>=C2=A0=
=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+=C2=A0SUBDIR=C2=A0+=3D=C2=A0open=
smtpd-table-sqlite
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0SUB=
DIR=C2=A0+=3D=C2=A0osbf-lua
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0ovs
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=
=C2=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0p5-CGP-CLI
>>>=C2=A0=C2=A0=C2=
=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0diff=C2=A0--git=C2=A0a/mail/opensmtpd-tabl=
e-sqlite/Makefile
>>>=C2=A0=C2=A0=C2=A0b/mail/opensmtpd-table-sqlite/Make=
file
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0new=C2=A0file=
=C2=A0mode=C2=A0100644
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=
=C2=A0index=C2=A0000000000000..dfd64f7c1ecf
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0---=C2=A0/dev/null
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0+++=C2=A0b/mail/opensmtpd-table-sqlite/Makefile
>=
>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0@@=C2=A0-0,0=C2=A0+1,26=
=C2=A0@@
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+PORTNAME=3D=
=C2=A0opensmtpd-table-sqlite
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=
=C2=A0=C2=A0+DISTVERSION=3D=C2=A01.0.1
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=
=A0=C2=A0=C2=A0=C2=A0+CATEGORIES=3D=C2=A0mail
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0+PATCH_SITES=3D=C2=A0https://github.com/OpenSMTPD/table-sqlite/com=
mit/
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+PATCHFILES=3D=
=C2=A0f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch:-p1
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0+MAINTAINER=3D=C2=A0gahr@FreeBSD.org
>>>=C2=A0=
=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+COMMENT=3D=C2=A0SQLite=C2=A0tabl=
e=C2=A0for=C2=A0OpenSMTPD
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0+WWW=3D=C2=A0https://github.com/opensmtpd/table-sqlite
>>>=C2=
=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>=
>=C2=A0=C2=A0=C2=A0=C2=A0+LICENSE=3D=C2=A0ISCL
>>>=C2=A0=C2=A0=C2=A0
>>=
>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=
=A0=C2=A0+USES=3D=C2=A0autoreconf=C2=A0localbase=C2=A0sqlite
>>>=C2=A0=
=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+GNU_CONFIGURE=3D=C2=A0yes
>>>=
=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=
=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+PATCH_ARGS=3D=C2=A0-p1
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0+USE_GITHUB=3D=C2=A0yes
>>>=C2=A0=C2=A0=C2=A0
>=
>>=C2=A0=C2=A0=C2=A0=C2=A0+GH_ACCOUNT=3D=C2=A0opensmtpd
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+GH_PROJECT=3D=C2=A0table-sqlite
>=
>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=
=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+PLIST_FILES=3D=C2=A0libexec/smtpd/table-s=
qlite=C2=A0\
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+=C2=
=A0share/man/man5/table-sqlite.5.gz
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=
=C2=A0=C2=A0=C2=A0+
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=
=A0+.include=C2=A0<bsd.port.mk>=C2=A0[http://bsd.port.mk>];
>>>=C2=A0=
=C2=A0=C2=A0[http://bsd.port.mk>=C2=A0[http://bsd.port.mk>];];
>>>=C2=
=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0diff=C2=A0--git=C2=A0a/mail/op=
ensmtpd-table-sqlite/distinfo
>>>=C2=A0=C2=A0=C2=A0b/mail/opensmtpd-table=
-sqlite/distinfo
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0new=
=C2=A0file=C2=A0mode=C2=A0100644
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=
=A0=C2=A0=C2=A0index=C2=A0000000000000..f19d8caf3cda
>>>=C2=A0=C2=A0=
=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0---=C2=A0/dev/null
>>>=C2=A0=C2=A0=
=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+++=C2=A0b/mail/opensmtpd-table-sqlite/=
distinfo
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0@@=C2=A0-0,0=
=C2=A0+1,5=C2=A0@@
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+TI=
MESTAMP=C2=A0=3D=C2=A01737289442
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=
=A0=C2=A0=C2=A0+SHA256=C2=A0(opensmtpd-table-sqlite-1.0.1_GH0.tar.gz)=C2=
=A0=3D
>>>=C2=A0=C2=A0=C2=A074f40788aec40087235cb82391ad21ed4aeb6d79dd7a0=
e89571f398825b653b0
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=
=A0+SIZE=C2=A0(opensmtpd-table-sqlite-1.0.1_GH0.tar.gz)=C2=A0=3D=C2=A021718=

>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+SHA256=C2=A0(f3c46da=
1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch)=C2=A0=3D
>>>=C2=A0=C2=A0=C2=
=A00256ee0d826543e4ae4263f05c6ddedc635f72a713f34592663e4dbdd40e6d6c
>>>=
=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+SIZE=C2=A0(f3c46da1cbbb2a9=
d32cd9b4cf31e9fdb5b941a16.patch)=C2=A0=3D=C2=A01552
>>>=C2=A0=C2=A0=C2=
=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0diff=C2=A0--git=C2=A0a/mail/opensmtpd-tabl=
e-sqlite/pkg-descr
>>>=C2=A0=C2=A0=C2=A0b/mail/opensmtpd-table-sqlite/pkg=
-descr
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0new=C2=A0file=
=C2=A0mode=C2=A0100644
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=
=C2=A0index=C2=A0000000000000..ede5705d7728
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0---=C2=A0/dev/null
>>>=C2=A0=C2=A0=C2=A0
>>>=
=C2=A0=C2=A0=C2=A0=C2=A0+++=C2=A0b/mail/opensmtpd-table-sqlite/pkg-descr
=
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0@@=C2=A0-0,0=C2=A0+1,2=
=C2=A0@@
>>>=C2=A0=C2=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+The=C2=A0SQL=
ite=C2=A0table=C2=A0addon=C2=A0for=C2=A0OpenSMTPD=C2=A0allows=C2=A0the=
=C2=A0storing=C2=A0of
>>>=C2=A0=C2=A0=C2=A0usernames,
>>>=C2=A0=C2=
=A0=C2=A0
>>>=C2=A0=C2=A0=C2=A0=C2=A0+passwords,=C2=A0aliases,=C2=A0and=
=C2=A0domains=C2=A0in=C2=A0a=C2=A0sqlite3=C2=A0table.
>>=C2=A0=C2=A0
>>=
=C2=A0=C2=A0Hi,
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0Any=C2=A0reason=C2=A0why=
=C2=A0you're=C2=A0not=C2=A0using=C2=A0upstream's=C2=A0release=C2=A0archive?=

>>=C2=A0=C2=A0
>>=C2=A0=C2=A0That=C2=A0gets=C2=A0rid=C2=A0of=C2=A0patc=
hing=C2=A0and=C2=A0USES=3D=C2=A0autoreconf=C2=A0and=C2=A0you=C2=A0probably=

>>=C2=A0=C2=A0also
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0want=C2=A0USES=3D=
=C2=A0localbase:ldflags=C2=A0instead=C2=A0of=C2=A0localbase=C2=A0.=C2=A0Loo=
king=C2=A0at
>>=C2=A0=C2=A0Porters
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0Handb=
ook=C2=A0you=C2=A0should=C2=A0likely=C2=A0also=C2=A0make=C2=A0use=C2=A0of=
=C2=A0PKGNAMEPREFIX=C2=A0instead
>>=C2=A0=C2=A0of
>>=C2=A0=C2=A0
>>=
=C2=A0=C2=A0having=C2=A0opensmtpd-=C2=A0in=C2=A0PORTNAME.
>=C2=A0
>=
=C2=A0Using=C2=A0the=C2=A0release=C2=A0archive=C2=A0won't=C2=A0make=C2=
=A0the=C2=A0patch=C2=A0useless.=C2=A0Localbase=C2=A0is
>=C2=A0
>=C2=
=A0
>=C2=A0enough,=C2=A0no=C2=A0need=C2=A0for=C2=A0ldflags.=C2=A0I=C2=
=A0don't=C2=A0see=C2=A0the=C2=A0point=C2=A0of=C2=A0using=C2=A0
>=C2=A0
=
>=C2=A0PKGNAMEPREFIX.
>=C2=A0
>>=C2=A0=C2=A0PATCH_ARGS=C2=A0is=C2=A0als=
o=C2=A0unnecessary=C2=A0as=C2=A0you've=C2=A0set=C2=A0-p1=C2=A0already.
>=
=C2=A0
>=C2=A0True,=C2=A0I'll=C2=A0do=C2=A0it=C2=A0when=C2=A0I=C2=A0need=
=C2=A0to=C2=A0commit=C2=A0the=C2=A0port=C2=A0next.
>=C2=A0
>=C2=A0--=
=C2=A0
>=C2=A0
>=C2=A0Pietro=C2=A0Cerutti
>=C2=A0
>=C2=A0I=C2=A0hav=
e=C2=A0pledged=C2=A0to=C2=A0give=C2=A010%=C2=A0of=C2=A0income=C2=A0to=C2=
=A0effective=C2=A0charities
>=C2=A0
>=C2=A0and=C2=A0invite=C2=A0you=
=C2=A0to=C2=A0join=C2=A0me=C2=A0-=C2=A0https://givingwhatwecan.org

Hi,=


You don't need the patch as it's already applied?

As for LDLAGS =
vs LIBS, the configure script itself mentions that
LDFLAGS should be used=
 for the specific fix?

"LDFLAGS=C2=A0=C2=A0=C2=A0 linker flags, e.g. -=
L<lib dir> if you have libraries in
a nonstandard directory <lib dir>"
=

vs

"LIBS=C2=A0=C2=A0=C2=A0libraries to pass to the linker, e.g. -l<=
library>"

Using PKGNAMEPREFIX avoids you hacking around upstream's pro=
ject name
in ports.

Best regards,

Daniel


--_=_swift_1737394082_4e01106d8f86f58d713bac895e2631ba_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"font-family: 'Helvetica Neue', Helvetica, Arial, =
sans-serif; font-size: 14px">On 2025-01-20T14:19:50.000+01:00, Pietro Cerut=
ti &lt;gahr@FreeBSD.org&gt; wrote:<br></div><div class=3D"ik_mail_quote ans=
werContentMessage"><blockquote class=3D"ws-ng-quote"><pre style=3D"white-sp=
ace: normal;"><div>On Jan 19 2025, 13:03 +0000, Daniel Engberg &lt;<a class=
=3D"defaultMailLink" href=3D"mailto:daniel.engberg.lists@pyret.net">daniel.=
engberg.lists@pyret.net</a>&gt; wrote:<br></div><div>[-- Type: text/plain; =
charset=3Dutf-8, Encoding: quoted-printable, Size: 7.6K --]<br></div><block=
quote class=3D"ws-ng-quote"><div> On 2025-01-19T13:31:40.000+01:00, Pietro =
Cerutti &lt;<a class=3D"defaultMailLink" href=3D"mailto:gahr@FreeBSD.org">g=
ahr@FreeBSD.org</a>&gt;<br></div><div>wrote:<br></div><div><br></div><block=
quote class=3D"ws-ng-quote"><div>  The branch main has been updated by gahr=
:<br></div><div> <br></div><div> URL: <a data-ik=3D"ik-secure" rel=3D"noope=
ner noreferrer" class=3D"defaultMailLink" href=3D"https://cgit.FreeBSD.org/=
ports/commit/?id=3D98582ae673d871b51f1c0b6b7cafb35879c02efc" target=3D"_bla=
nk">https://cgit.FreeBSD.org/ports/commit/?id=3D98582ae673d871b51f1c0b6b7ca=
fb35879c02efc</a><br></div><div> <br></div><div> commit 98582ae673d871b51f1=
c0b6b7cafb35879c02efc<br></div><div> <br></div><div> Author:     Pietro Cer=
utti &lt;<a class=3D"defaultMailLink" href=3D"mailto:gahr@FreeBSD.org">gahr=
@FreeBSD.org</a>&gt;<br></div><div> <br></div><div> AuthorDate: 2025-01-19 =
12:25:14 +0000<br></div><div> <br></div><div> Commit:     Pietro Cerutti &l=
t;<a class=3D"defaultMailLink" href=3D"mailto:gahr@FreeBSD.org">gahr@FreeBS=
D.org</a>&gt;<br></div><div> <br></div><div> CommitDate: 2025-01-19 12:31:2=
7 +0000<br></div><div> <br></div><div>     mail/opensmtpd-table-sqlite: new=
 port<br></div><div> <br></div><div>     <br></div><div> <br></div><div>   =
  This port replaces mail/opensmtpd-extras-table-sqlite.<br></div><div> <br=
></div><div>     <br></div><div> <br></div><div>     The opensmtpd-extras-t=
able-* ports got broken by the latest update of<br></div><div> <br></div><d=
iv>     OpenSMTPD, see my message on the mailing list:<br></div><div> <br><=
/div><div>     <a data-ik=3D"ik-secure" rel=3D"noopener noreferrer" class=
=3D"defaultMailLink" href=3D"https://lists.freebsd.org/archives/dev-commits=
-ports-main/2025-January/134537.html" target=3D"_blank">https://lists.freeb=
sd.org/archives/dev-commits-ports-main/2025-January/134537.html</a><br></di=
v><div> <br></div><div>     <br></div><div> <br></div><div>     I have requ=
ested action by fluffy@ both on the message linked above and<br></div><div>=
 <br></div><div>     privately via email, but I haven't got any response ba=
ck.<br></div><div> <br></div><div>     <br></div><div> <br></div><div>     =
At this point, I want to unblock my workflow and be able to upgrade<br></di=
v><div> <br></div><div>     OpenSMTPD.  I don't have plans to provide alter=
natives to all the<br></div><div> <br></div><div>     opensmtpd-extras-tabl=
e-* ports.<br></div><div> <br></div><div> ---<br></div><div> <br></div><div=
>  mail/Makefile                         |  1 +<br></div><div> <br></div><d=
iv>  mail/opensmtpd-table-sqlite/Makefile  | 26 ++++++++++++++++++++++++++<=
br></div><div> <br></div><div>  mail/opensmtpd-table-sqlite/distinfo  |  5 =
+++++<br></div><div> <br></div><div>  mail/opensmtpd-table-sqlite/pkg-descr=
 |  2 ++<br></div><div> <br></div><div>  4 files changed, 34 insertions(+)<=
br></div><div> <br></div><div> diff --git a/mail/Makefile b/mail/Makefile<b=
r></div><div> <br></div><div> index 7fc7b579932a..09a72821dd5f 100644<br></=
div><div> <br></div><div> --- a/mail/Makefile<br></div><div> <br></div><div=
> +++ b/mail/Makefile<br></div><div> <br></div><div> @@ -290,6 +290,7 @@<br=
></div><div> <br></div><div>      SUBDIR +=3D opensmtpd-extras-table-sqlite=
<br></div><div> <br></div><div>      SUBDIR +=3D opensmtpd-filter-rspamd<br=
></div><div> <br></div><div>      SUBDIR +=3D opensmtpd-filter-senderscore<=
br></div><div> <br></div><div> +    SUBDIR +=3D opensmtpd-table-sqlite<br><=
/div><div> <br></div><div>      SUBDIR +=3D osbf-lua<br></div><div> <br></d=
iv><div>      SUBDIR +=3D ovs<br></div><div> <br></div><div>      SUBDIR +=
=3D p5-CGP-CLI<br></div><div> <br></div><div> diff --git a/mail/opensmtpd-t=
able-sqlite/Makefile b/mail/opensmtpd-table-sqlite/Makefile<br></div><div> =
<br></div><div> new file mode 100644<br></div><div> <br></div><div> index 0=
00000000000..dfd64f7c1ecf<br></div><div> <br></div><div> --- /dev/null<br><=
/div><div> <br></div><div> +++ b/mail/opensmtpd-table-sqlite/Makefile<br></=
div><div> <br></div><div> @@ -0,0 +1,26 @@<br></div><div> <br></div><div> +=
PORTNAME=3D    opensmtpd-table-sqlite<br></div><div> <br></div><div> +DISTV=
ERSION=3D    1.0.1<br></div><div> <br></div><div> +CATEGORIES=3D    mail<br=
></div><div> <br></div><div> +<br></div><div> <br></div><div> +PATCH_SITES=
=3D    <a data-ik=3D"ik-secure" rel=3D"noopener noreferrer" class=3D"defaul=
tMailLink" href=3D"https://github.com/OpenSMTPD/table-sqlite/commit/" targe=
t=3D"_blank">https://github.com/OpenSMTPD/table-sqlite/commit/</a><br></div=
><div> <br></div><div> +PATCHFILES=3D    f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b=
941a16.patch:-p1<br></div><div> <br></div><div> +<br></div><div> <br></div>=
<div> +MAINTAINER=3D    <a class=3D"defaultMailLink" href=3D"mailto:gahr@Fr=
eeBSD.org">gahr@FreeBSD.org</a><br></div><div> <br></div><div> +COMMENT=3D =
   SQLite table for OpenSMTPD<br></div><div> <br></div><div> +WWW=3D       =
 <a data-ik=3D"ik-secure" rel=3D"noopener noreferrer" class=3D"defaultMailL=
ink" href=3D"https://github.com/opensmtpd/table-sqlite" target=3D"_blank">h=
ttps://github.com/opensmtpd/table-sqlite</a><br></div><div> <br></div><div>=
 +<br></div><div> <br></div><div> +LICENSE=3D    ISCL<br></div><div> <br></=
div><div> +<br></div><div> <br></div><div> +USES=3D        autoreconf local=
base sqlite<br></div><div> <br></div><div> +GNU_CONFIGURE=3D    yes<br></di=
v><div> <br></div><div> +<br></div><div> <br></div><div> +PATCH_ARGS=3D    =
-p1<br></div><div> <br></div><div> +<br></div><div> <br></div><div> +USE_GI=
THUB=3D    yes<br></div><div> <br></div><div> +GH_ACCOUNT=3D    opensmtpd<b=
r></div><div> <br></div><div> +GH_PROJECT=3D    table-sqlite<br></div><div>=
 <br></div><div> +<br></div><div> <br></div><div> +PLIST_FILES=3D    libexe=
c/smtpd/table-sqlite \<br></div><div> <br></div><div> +        share/man/ma=
n5/table-sqlite.5.gz<br></div><div> <br></div><div> +<br></div><div> <br></=
div><div> +.include &lt;<a data-ik=3D"ik-secure" rel=3D"noopener noreferrer=
" class=3D"defaultMailLink" href=3D"http://bsd.port.mk>" target=3D"_blank">=
bsd.port.mk&gt;</a>; [<a data-ik=3D"ik-secure" rel=3D"noopener noreferrer" =
class=3D"defaultMailLink" href=3D"http://bsd.port.mk>" target=3D"_blank">ht=
tp://bsd.port.mk&gt;</a>;];<br></div><div> <br></div><div> diff --git a/mai=
l/opensmtpd-table-sqlite/distinfo b/mail/opensmtpd-table-sqlite/distinfo<br=
></div><div> <br></div><div> new file mode 100644<br></div><div> <br></div>=
<div> index 000000000000..f19d8caf3cda<br></div><div> <br></div><div> --- /=
dev/null<br></div><div> <br></div><div> +++ b/mail/opensmtpd-table-sqlite/d=
istinfo<br></div><div> <br></div><div> @@ -0,0 +1,5 @@<br></div><div> <br><=
/div><div> +TIMESTAMP =3D 1737289442<br></div><div> <br></div><div> +SHA256=
 (opensmtpd-table-sqlite-1.0.1_GH0.tar.gz) =3D 74f40788aec40087235cb82391ad=
21ed4aeb6d79dd7a0e89571f398825b653b0<br></div><div> <br></div><div> +SIZE (=
opensmtpd-table-sqlite-1.0.1_GH0.tar.gz) =3D 21718<br></div><div> <br></div=
><div> +SHA256 (f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch) =3D 0256ee0=
d826543e4ae4263f05c6ddedc635f72a713f34592663e4dbdd40e6d6c<br></div><div> <b=
r></div><div> +SIZE (f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch) =3D 15=
52<br></div><div> <br></div><div> diff --git a/mail/opensmtpd-table-sqlite/=
pkg-descr b/mail/opensmtpd-table-sqlite/pkg-descr<br></div><div> <br></div>=
<div> new file mode 100644<br></div><div> <br></div><div> index 00000000000=
0..ede5705d7728<br></div><div> <br></div><div> --- /dev/null<br></div><div>=
 <br></div><div> +++ b/mail/opensmtpd-table-sqlite/pkg-descr<br></div><div>=
 <br></div><div> @@ -0,0 +1,2 @@<br></div><div> <br></div><div> +The SQLite=
 table addon for OpenSMTPD allows the storing of usernames,<br></div><div> =
<br></div><div> +passwords, aliases, and domains in a sqlite3 table.<br></d=
iv></blockquote><div> <br></div><div>Hi,<br></div><div><br></div><div>Any r=
eason why you're not using upstream's release archive?<br></div><div><br></=
div><div>That gets rid of patching and USES=3D autoreconf and you probably =
also<br></div><div>want USES=3D localbase:ldflags instead of localbase . Lo=
oking at Porters<br></div><div>Handbook you should likely also make use of =
PKGNAMEPREFIX instead of<br></div><div>having opensmtpd- in PORTNAME.<br></=
div></blockquote><div> <br></div><div>Using the release archive won't make =
the patch useless. Localbase is <br></div><div>enough, no need for ldflags.=
 I don't see the point of using <br></div><div>PKGNAMEPREFIX.<br></div><div=
><br></div><blockquote class=3D"ws-ng-quote"> PATCH_ARGS is also unnecessar=
y as you've set -p1 already.<br></blockquote><div> <br></div><div>True, I'l=
l do it when I need to commit the port next.<br></div><div><br></div><div><=
br></div><div>-- <br></div><div>Pietro Cerutti<br></div><div>I have pledged=
 to give 10% of income to effective charities<br></div><div>and invite you =
to join me - <a data-ik=3D"ik-secure" rel=3D"noopener noreferrer" class=3D"=
defaultMailLink" href=3D"https://givingwhatwecan.org" target=3D"_blank">htt=
ps://givingwhatwecan.org</a><br></div></pre></blockquote></div><div style=
=3D"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:=
 14px">Hi,<br></div><div style=3D"font-family: 'Helvetica Neue', Helvetica,=
 Arial, sans-serif; font-size: 14px"><br></div><div style=3D"font-family: '=
Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px">You don't n=
eed the patch as it's already applied?<br></div><div style=3D"font-family: =
'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px">As for LDL=
AGS vs LIBS, the configure script itself mentions that LDFLAGS should be us=
ed for the specific fix?<br></div><div style=3D"font-family: 'Helvetica Neu=
e', Helvetica, Arial, sans-serif; font-size: 14px">"LDFLAGS&nbsp;&nbsp;&nbs=
p; linker flags, e.g. -L&lt;lib dir&gt; if you have libraries in a nonstand=
ard directory &lt;lib dir&gt;"<br></div><div style=3D"font-family: 'Helveti=
ca Neue', Helvetica, Arial, sans-serif; font-size: 14px">vs<br></div><div s=
tyle=3D"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-s=
ize: 14px">"LIBS&nbsp;&nbsp;&nbsp;libraries to pass to the linker, e.g. -l&=
lt;library&gt;"<br></div><div style=3D"font-family: 'Helvetica Neue', Helve=
tica, Arial, sans-serif; font-size: 14px">Using PKGNAMEPREFIX avoids you ha=
cking around upstream's project name in ports.<br></div><div style=3D"font-=
family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px"><b=
r></div><div style=3D"font-family: 'Helvetica Neue', Helvetica, Arial, sans=
-serif; font-size: 14px">Best regards,<br></div><div style=3D"font-family: =
'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px">Daniel<br>=
</div></body></html>


--_=_swift_1737394082_4e01106d8f86f58d713bac895e2631ba_=_--




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