From nobody Mon Jul 18 08:22:30 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 4LmZhQ2NMnz4WhhF; Mon, 18 Jul 2022 08:22:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LmZhQ1ynMz4Lg8; Mon, 18 Jul 2022 08:22:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658132550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N9nACw7S/Jw3EkTUaiQ4KvY/um7BJfzEg6YXGXzH8yQ=; b=vbY36Izm5lj8ZRsdVkF4ea8EGdlVkhBxn+CnfywRO10urACmt52H0zI8grBsqi55BTDZa2 wzMWDY1K07QWqMzgGmYBX4vAdQ2k9R6ghi5yNraS/uGAmAV0SAGzNkfBj96REwEq8JmdvB mvEJA5JtqsFeXF1/vhnP31a0hUsLXyc93WLVJP3MMVKxXYAhQJCcQZEoqTbk9eYocdivT9 G7HanWVNZwBxL62f83lPgitav+hjrPeH8bxXCvGgapkH9umzP2L6VIBsSSRKHEx6qtIMUL R+6jG2MxecnojmBVljwmI3Iysic+ELW9krJ7suAMvpngAPLSUw3wwMlKV+ejrA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LmZhQ123czXSZ; Mon, 18 Jul 2022 08:22:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26I8MUaN022999; Mon, 18 Jul 2022 08:22:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26I8MUo1022998; Mon, 18 Jul 2022 08:22:30 GMT (envelope-from git) Date: Mon, 18 Jul 2022 08:22:30 GMT Message-Id: <202207180822.26I8MUo1022998@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: ea1086f14d69 - main - security/libpki: new location for sample files 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ea1086f14d694235d0dd6df321edc270097793a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658132550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N9nACw7S/Jw3EkTUaiQ4KvY/um7BJfzEg6YXGXzH8yQ=; b=P1qNN+Pr09+PWAuBMaz/qh6oOGtsVQKSeP1jowZFMEugOAFMqVhsJJIllsc6sOFAMGFR7y WrLBEa2Q8qT6LXVi4GPOfLsK9o2CQgfhLe2AymmF4mFrCMgVmZ2i1t4hyS/lSaF36QNpsf ZqZfwDx0ezpkBH0pXawJxRC5J+LOcUKxQUECaGQxPiQO9eGxRyNbC50PC0nZfhPBmCeGcn LZUm/4nPLNXylSrHDVOh2v7nNe4/TVDzE2UKPDS85j3MARgVeVZnLibsT4BSDG2xMcEUtu pZSyaxOTbclxVY0IB1quTxXGXC8ArsNU2hnz5LmMwRuPDyCKjKRptCcv23CHfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658132550; a=rsa-sha256; cv=none; b=o6++Cn+7z7dIpWzudIrts9ZlJ3hOna8IMCiq1w3AwlmHIlkyoK3uL0GtURL1wlKgeV80mV GzGCL2bFnhyEAmRrP03HV4EKdiEkQFrPaoWyc04V6er/NGYpjOroKNhTuxUbOSFc5FzzXj WmYtt5NDfJ0MMk+dlxTZpxdZS/0AyWX6XBgMfE0wxFZt6v+s/QtXARGPbKNB74mLxY+cB8 U9aaNMFVo45WqfrbipecvufjEZGEQi/bxoSjdPKy9YhnHeG2hJisA1ytn3ldXWb4M4wz0F 0MyY8PURlH0cGKmF2JuojNRvgc40sxy3OHhbM7uSlVBgNf+/4qL4+8YTpk1XUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea1086f14d694235d0dd6df321edc270097793a3 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 received) - 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= libpki DISTVERSIONPREFIX= v DISTVERSION= 0.9.2 +PORTREVISION= 1 CATEGORIES= security PATCH_SITES= https://github.com/openca/libpki/commit/ @@ -12,6 +13,8 @@ COMMENT= OpenCA PKI library (libpki) and tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING +NOT_FOR_ARCHS= arm64 + USES= autoreconf gnome libtool ssl USE_GITHUB= yes GH_ACCOUNT= openca @@ -20,17 +23,38 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking \ - --disable-dns \ - --disable-iphone \ - --disable-ldap \ - --disable-mysql \ - --disable-pg + --disable-iphone + INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DNS LDAP MYSQL PGSQL + +DNS_DESC= "Enable DNS support" +LDAP_DESC= "Enable LDAP support" +MYSQL_DESC= "Enable MySQL support" +PGSQL_DESC= "Enable PostgreSQL support" + +DNS_CONFIGURE_ENABLE= dns +LDAP_LIB_DEPENDS= liblber.so:net/openldap24-client \ + libldap_r.so:net/openldap24-client +LDAP_CONFIGURE_ENABLE= ldap +LDAP_LDFLAGS+= -llber +MYSQL_USES= mysql +MYSQL_CONFIGURE_ENABLE= mysql +PGSQL_USES= pgsql +PGSQL_CONFIGURE_ENABLE= pg + post-stage: - ${MV} ${STAGEDIR}${PREFIX}/etc/pki.conf ${STAGEDIR}${PREFIX}/etc/pki.conf.sample; \ - for f in $$(find ${STAGEDIR}${PREFIX}/etc/libpki -type f); do \ - ${MV} $$f $$f.sample; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/hsm.d; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/profile.d; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/store.d; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/token.d; \ + ${MV} ${STAGEDIR}${PREFIX}/etc/pki.conf ${STAGEDIR}${PREFIX}/share/libpki/etc/pki.conf.sample; \ + cd ${STAGEDIR}${PREFIX}/etc/libpki; \ + for f in $$(find * -type f); do \ + ${MV} ${STAGEDIR}${PREFIX}/etc/libpki/$$f ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/$$f.sample; \ done; \ ${RM} -rf ${STAGEDIR}${PREFIX}/include/internal diff --git a/security/libpki/pkg-message b/security/libpki/pkg-message new file mode 100644 index 000000000000..78dcb8f577d4 --- /dev/null +++ b/security/libpki/pkg-message @@ -0,0 +1,17 @@ +[ +{ type: install + message: <