From nobody Mon Jul 18 09:51:38 2022 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 4LmcgY3BdNz4WtdP; Mon, 18 Jul 2022 09:51:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LmcgY2JS3z3Gp1; Mon, 18 Jul 2022 09:51:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658137913; 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=jGKpUvQQvkOGh3EwDvwfqxDA0JrPecPp418hq617XA8=; b=pJ5H5QAu8jpadv3V/25VVOBbis8+74V8VPEyZ4Mtvosek2//3e9nVXQhs7XJxfed11Pcwh 8x1N4WxEMF0Dg7MXyU/WY6KGnXVXO4M+GLFyCCq/04EM8t0RknMY2U0V5KperpCGtAaMZp FGadmdjuABhKtCpbfmkCCYl9ag0kbDx2iMfK/2WpgGdH/YTioYL4voFOn84XWYZm+8DS25 hRmxyrStYtCHmOVTqb4vBYdWldCTL5Phl9NXrTxGhr8FgE99niYNomv5moPEua0fUVqYCD fKB7xTxnk7pWBhYSKsRHjiHf/l70e7X+Ck+OrcjN08QWHa2FIKopdhaFx9fzpA== Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (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 "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4LmcgY1Drfz19Cq; Mon, 18 Jul 2022 09:51:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-10bf634bc50so22348869fac.3; Mon, 18 Jul 2022 02:51:53 -0700 (PDT) X-Gm-Message-State: AJIora/KZ8Rr+ooVBucA38n2aWjcL0vrJI85FZ3GbyWCMy+XFRVf9dQG ewpltSDsZTRMFGu45qwWmqwkZQaOZVLX5TvZaaI= X-Google-Smtp-Source: AGRyM1tN6CIzCWEVw6Efcidtc+D1h1ZhVwBnm910d5GQru5AXbVOD2+7m0WFqki1khRDTD1XyGGftaBvdJWJCiuEZtU= X-Received: by 2002:a05:6870:548a:b0:10c:3269:c9c3 with SMTP id f10-20020a056870548a00b0010c3269c9c3mr16782761oan.50.1658137912583; Mon, 18 Jul 2022 02:51:52 -0700 (PDT) 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202207180822.26I8MUo1022998@gitrepo.freebsd.org> <6900baf0-4336-94d8-530f-5e7910be6e50@FreeBSD.org> In-Reply-To: <6900baf0-4336-94d8-530f-5e7910be6e50@FreeBSD.org> From: Nuno Teixeira Date: Mon, 18 Jul 2022 10:51:38 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: ea1086f14d69 - main - security/libpki: new location for sample files To: Dima Panov Cc: "ports-committers@FreeBSD.org" , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="00000000000044a99505e4115127" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658137913; 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=jGKpUvQQvkOGh3EwDvwfqxDA0JrPecPp418hq617XA8=; b=Fx1BfIeip+s0Z560E8PgUDd7n1r3hOYPmFxrOLW9BIAk29ocUBjSuaDN/KEJL8FmUyHlYs jPr9y5WJnRzUrqvEUCedH3MWgq8PN1jjORR/5XfD5oYkxvmYC2rWm/swNvtGXNAHzciOxM YFmVc2o/heOMk9Qta0JawuS8wGL6MUvCuztKXdFG40FGyO6VcvWWiiyt4E/LEl2jzHpOKh 8Gq+W+Yohxtzam4fDykYdEf+0K7wHkSG/+hh+q38Y71/nvmUrMl7V0B50yR8EQJwuVcysw Koqa4li2GCRXb12YbtzuNOT7o1e0/rqrnS5HF4FtMMF2loMSgP96Rw2L2JFYyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658137913; a=rsa-sha256; cv=none; b=wrdP5qpkfGx28/GAHtBniIcY8TS1Igr/emmEBpRQDlqN6B/Ws0E7VPlhh4i8xljFHBRix2 cpK7BhuT9DwUr8UOpVLmcBAeVQKoKk2DuS2b1NVzCtEBM2wnM1qhO7tFTZ5D61/Anspeix K5UrgUNH/eVt2czulAnfiHHehBKQBlbcZcff5kcxraH3TXb8JAyOf8wy1Pz4LjspcJxmNu zsX/ONjkY1FLwv+pgN2ZnFTHcCvZ2WN68x4g2N4yQBSHkdcSKBYiS+i1LsGDByGsSf6qAH Ym4m+mwgk3WrVno6Qav1HK/GkA3TKHj4roLlarGEYHuXpkqEo4b+ZmVzFrucxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --00000000000044a99505e4115127 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for let me know about it. I will correct port. Cheers Dima Panov escreveu no dia segunda, 18/07/2022 =C3=A0(= s) 10:31: > Moin! > On 18.07.2022 11:22, Nuno Teixeira wrote: > > The branch main has been updated by eduardo: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dea1086f14d694235d0dd6df3= 21edc270097793a3 > > commit ea1086f14d694235d0dd6df321edc270097793a3 > Author: Bruno Damour > AuthorDate: 2022-07-18 08:18:39 +0000 > Commit: Nuno Teixeira > CommitDate: 2022-07-18 08:22:14 +0000 > > security/libpki: new location for sample files > > - not install any configuration files AT ALL > - put all provided samples in ${PREFIX}/share/libpki/etc > - add a message to the user to refer to these samples > - mark the port as BROKEN on arm64 (according to pullout message rec= eived) > - add options to allow configure to enable DNS, LDAP, MySQL and > PostgreSQL if asked for > - bump PORTREVISION > > PR: 265189 > --- > security/libpki/Makefile | 40 +++++++++++++++++++++++++++++++-------- > security/libpki/pkg-message | 17 +++++++++++++++++ > security/libpki/pkg-plist | 46 ++++++++++++++++++++++++---------------= ------ > 3 files changed, 74 insertions(+), 29 deletions(-) > > diff --git a/security/libpki/Makefile b/security/libpki/Makefile > index 2583811f7040..17e62c596635 100644 > --- a/security/libpki/Makefile > +++ b/security/libpki/Makefile > @@ -1,6 +1,7 @@ > PORTNAME=3D libpki > DISTVERSIONPREFIX=3D v > DISTVERSION=3D 0.9.2 > +PORTREVISION=3D 1 > CATEGORIES=3D security > > PATCH_SITES=3D https://github.com/openca/libpki/commit/ > @@ -12,6 +13,8 @@ COMMENT=3D OpenCA PKI library (libpki) and tools > LICENSE=3D APACHE20 > LICENSE_FILE=3D ${WRKSRC}/COPYING > > +NOT_FOR_ARCHS=3D arm64 > + > USES=3D autoreconf gnome libtool ssl > USE_GITHUB=3D yes > GH_ACCOUNT=3D openca > @@ -20,17 +23,38 @@ USE_LDCONFIG=3D yes > > GNU_CONFIGURE=3D yes > CONFIGURE_ARGS=3D --disable-dependency-tracking \ > - --disable-dns \ > - --disable-iphone \ > - --disable-ldap \ > - --disable-mysql \ > - --disable-pg > + --disable-iphone > + > INSTALL_TARGET=3D install-strip > > +OPTIONS_DEFINE=3D DNS LDAP MYSQL PGSQL > + > +DNS_DESC=3D "Enable DNS support" > +LDAP_DESC=3D "Enable LDAP support" > +MYSQL_DESC=3D "Enable MySQL support" > +PGSQL_DESC=3D "Enable PostgreSQL support" > + > +DNS_CONFIGURE_ENABLE=3D dns > +LDAP_LIB_DEPENDS=3D liblber.so:net/openldap24-client \ > + libldap_r.so:net/openldap24-client > > > Is it correct? OpenLDAP 2.6 is default now and should be handled as > > LDAP_USE=3D openldap=3Dyes > > +LDAP_CONFIGURE_ENABLE=3D ldap > +LDAP_LDFLAGS+=3D -llber > +MYSQL_USES=3D mysql > +MYSQL_CONFIGURE_ENABLE=3D mysql > +PGSQL_USES=3D pgsql > +PGSQL_CONFIGURE_ENABLE=3D pg > + > > -- > Sincerely, > Dima (fluffy@FreeBSD.org, https://t.me/dima_panov) > (desktop, kde, x11, office, ports-secteam)@FreeBSD team > > --00000000000044a99505e4115127 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Thanks for let me know a= bout it. I will correct port.

Cheers

<= div class=3D"gmail_quote">
Dima Panov = <fluffy@freebsd.org> escrev= eu no dia segunda, 18/07/2022 =C3=A0(s) 10:31:
=20 =20 =20

Moin!

On 18.07.2022 11:22, Nuno Teixeira wrote:
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports=
/commit/?id=3Dea1086f14d694235d0dd6df321edc270097793a3

commit ea1086f14d694235d0dd6df321edc270097793a3
Author:     Bruno Damour <bruno@ruomad.net>
AuthorDate: 2022-07-18 08:18:39 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-18 08:22:14 +0000

    security/libpki: new location for sample files
   =20
     - not install any configuration files AT ALL
     - put all provided samples in ${PREFIX}/share/libpki/etc
     - add a message to the user to refer to these samples
     - mark the port as BROKEN on arm64 (according to pullout message recei=
ved)
     - add options to allow configure to enable DNS, LDAP, MySQL and
       PostgreSQL if asked for
     - bump PORTREVISION
   =20
    PR:             265189
---
 security/libpki/Makefile    | 40 +++++++++++++++++++++++++++++++--------
 security/libpki/pkg-message | 17 +++++++++++++++++
 security/libpki/pkg-plist   | 46 ++++++++++++++++++++++++-----------------=
----
 3 files changed, 74 insertions(+), 29 deletions(-)

diff --git a/security/libpki/Makefile b/security/libpki/Makefile
index 2583811f7040..17e62c596635 100644
--- a/security/libpki/Makefile
+++ b/security/libpki/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=3D	libpki
 DISTVERSIONPREFIX=3D	v
 DISTVERSION=3D	0.9.2
+PORTREVISION=3D	1
 CATEGORIES=3D	security
=20
 PATCH_SITES=3D	https://github.com/openca/libpki/commit/
@@ -12,6 +13,8 @@ COMMENT=3D	OpenCA PKI library (libpki) and tools
 LICENSE=3D	APACHE20
 LICENSE_FILE=3D	${WRKSRC}/COPYING
=20
+NOT_FOR_ARCHS=3D	arm64
+
 USES=3D		autoreconf gnome libtool ssl
 USE_GITHUB=3D	yes
 GH_ACCOUNT=3D	openca
@@ -20,17 +23,38 @@ USE_LDCONFIG=3D	yes
=20
 GNU_CONFIGURE=3D	yes
 CONFIGURE_ARGS=3D	--disable-dependency-tracking \
-		--disable-dns \
-		--disable-iphone \
-		--disable-ldap \
-		--disable-mysql \
-		--disable-pg
+		--disable-iphone
+
 INSTALL_TARGET=3D	install-strip
=20
+OPTIONS_DEFINE=3D	DNS LDAP MYSQL PGSQL
+
+DNS_DESC=3D	"Enable DNS support"
+LDAP_DESC=3D	"Enable LDAP support"
+MYSQL_DESC=3D	"Enable MySQL support"
+PGSQL_DESC=3D	"Enable PostgreSQL support"
+
+DNS_CONFIGURE_ENABLE=3D	dns
+LDAP_LIB_DEPENDS=3D	liblber.so:net/openldap24-client \
+			libldap_r.so:net/openldap24-client


Is it correct? OpenLDAP 2.6 is default now and should be handled as

LDAP_USE=3D openldap=3Dyes

+LDAP_CONFIGURE_ENABLE=3D	ldap
+LDAP_LDFLAGS+=3D		-llber
+MYSQL_USES=3D		mysql
+MYSQL_CONFIGURE_ENABLE=3D	mysql
+PGSQL_USES=3D		pgsql
+PGSQL_CONFIGURE_ENABLE=3D	pg
+
--=20
Sincerely, =20
Dima (fluffy@FreeBS=
D.org, https://t.=
me/dima_panov)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team
--00000000000044a99505e4115127--