Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2022 10:51:38 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Dima Panov <fluffy@freebsd.org>
Cc:        "ports-committers@FreeBSD.org" <ports-committers@freebsd.org>, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: ea1086f14d69 - main - security/libpki: new location for sample files
Message-ID:  <CAFDf7U%2Bm1R1tGdKwd_JVRyn67tJoc4fDqbYmYiyaywhNOrSCKQ@mail.gmail.com>
In-Reply-To: <6900baf0-4336-94d8-530f-5e7910be6e50@FreeBSD.org>
References:  <202207180822.26I8MUo1022998@gitrepo.freebsd.org> <6900baf0-4336-94d8-530f-5e7910be6e50@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <fluffy@freebsd.org> 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 <bruno@ruomad.net> <bruno@ruomad.net>
> AuthorDate: 2022-07-18 08:18:39 +0000
> Commit:     Nuno Teixeira <eduardo@FreeBSD.org> <eduardo@FreeBSD.org>
> 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

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>Thanks for let me know a=
bout it. I will correct port.<br><br></div><div>Cheers<br></div></div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Dima Panov =
&lt;<a href=3D"mailto:fluffy@freebsd.org">fluffy@freebsd.org</a>&gt; escrev=
eu no dia segunda, 18/07/2022 =C3=A0(s) 10:31:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#212121">
    <p><font face=3D"monospace">Moin!</font><br>
    </p>
    <div>On 18.07.2022 11:22, Nuno Teixeira
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>The branch main has been updated by eduardo:

URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Dea1086f14d69423=
5d0dd6df321edc270097793a3" target=3D"_blank">https://cgit.FreeBSD.org/ports=
/commit/?id=3Dea1086f14d694235d0dd6df321edc270097793a3</a>

commit ea1086f14d694235d0dd6df321edc270097793a3
Author:     Bruno Damour <a href=3D"mailto:bruno@ruomad.net" target=3D"_bla=
nk">&lt;bruno@ruomad.net&gt;</a>
AuthorDate: 2022-07-18 08:18:39 +0000
Commit:     Nuno Teixeira <a href=3D"mailto:eduardo@FreeBSD.org" target=3D"=
_blank">&lt;eduardo@FreeBSD.org&gt;</a>
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	<a href=3D"https://github.com/openca/libpki/commit/" target=
=3D"_blank">https://github.com/openca/libpki/commit/</a>;
@@ -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	&quot;Enable DNS support&quot;
+LDAP_DESC=3D	&quot;Enable LDAP support&quot;
+MYSQL_DESC=3D	&quot;Enable MySQL support&quot;
+PGSQL_DESC=3D	&quot;Enable PostgreSQL support&quot;
+
+DNS_CONFIGURE_ENABLE=3D	dns
+LDAP_LIB_DEPENDS=3D	liblber.so:net/openldap24-client \
+			libldap_r.so:net/openldap24-client
</pre>
    </blockquote>
    <p><br>
    </p>
    <p>Is it correct? OpenLDAP 2.6 is default now and should be handled
      as<br>
    </p>
    <p>LDAP_USE=3D openldap=3Dyes</p>
    <blockquote type=3D"cite">
      <pre>+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
+
</pre>
    </blockquote>
    <pre cols=3D"72">--=20
Sincerely, =20
Dima (<a href=3D"mailto:fluffy@FreeBSD.org" target=3D"_blank">fluffy@FreeBS=
D.org</a>, <a href=3D"https://t.me/dima_panov" target=3D"_blank">https://t.=
me/dima_panov</a>)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team</pre>
  </div>

</blockquote></div>

--00000000000044a99505e4115127--



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