From nobody Tue Nov 16 13:27:23 2021 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 29ADF18A7124; Tue, 16 Nov 2021 13:27:24 +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 4Htn0r0hxyz4cGw; Tue, 16 Nov 2021 13:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E32F0605B; Tue, 16 Nov 2021 13:27:23 +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 1AGDRNWJ077622; Tue, 16 Nov 2021 13:27:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AGDRNj8077621; Tue, 16 Nov 2021 13:27:23 GMT (envelope-from git) Date: Tue, 16 Nov 2021 13:27:23 GMT Message-Id: <202111161327.1AGDRNj8077621@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 43b8f6460a08 - main - net/kea: Add an option to install kea-shell(8) 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43b8f6460a08cdff52531bc7c29c6dd2d0d1a967 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=43b8f6460a08cdff52531bc7c29c6dd2d0d1a967 commit 43b8f6460a08cdff52531bc7c29c6dd2d0d1a967 Author: yds AuthorDate: 2021-11-16 13:25:42 +0000 Commit: Li-Wen Hsu CommitDate: 2021-11-16 13:27:09 +0000 net/kea: Add an option to install kea-shell(8) PR: 259856 Approved by: Andrey Pevnev (maintainer) --- net/kea/Makefile | 5 ++++- net/kea/pkg-plist | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/net/kea/Makefile b/net/kea/Makefile index 9474d351e67c..73932843da34 100644 --- a/net/kea/Makefile +++ b/net/kea/Makefile @@ -39,7 +39,7 @@ PORTDOCS= AUTHORS COPYING ChangeLog README \ CONTRIBUTING.md examples code_of_conduct.md \ platforms.rst -OPTIONS_DEFINE= DOCS MYSQL PGSQL +OPTIONS_DEFINE= DOCS MYSQL PGSQL SHELL OPTIONS_SUB= yes MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config @@ -52,5 +52,8 @@ PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE}/bin/pg_config PGSQL_CONFIGURE_OFF= --without-pgsql PGSQL_SUB_LIST= REQ_PGSQL=postgresql PGSQL_SUB_LIST_OFF= REQ_PGSQL="" +SHELL_DESC= Install kea-shell(8) (Python) +SHELL_USES= python:3.5+ +SHELL_CONFIGURE_ON= --enable-shell .include diff --git a/net/kea/pkg-plist b/net/kea/pkg-plist index 94898a71d739..b553dd44c561 100644 --- a/net/kea/pkg-plist +++ b/net/kea/pkg-plist @@ -427,6 +427,15 @@ lib/kea/hooks/libdhcp_run_script.a lib/kea/hooks/libdhcp_run_script.so lib/kea/hooks/libdhcp_stat_cmds.a lib/kea/hooks/libdhcp_stat_cmds.so +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_conn%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_conn%%PYTHON_EXT_SUFFIX%%.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_connector2%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_connector2%%PYTHON_EXT_SUFFIX%%.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_connector3%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/__pycache__/kea_connector3%%PYTHON_EXT_SUFFIX%%.pyc +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/kea_conn.py +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/kea_connector2.py +%%SHELL%%%%PYTHON_SITELIBDIR%%/kea/kea_connector3.py lib/libkea-asiodns.a lib/libkea-asiodns.so lib/libkea-asiodns.so.13 @@ -531,6 +540,7 @@ sbin/kea-dhcp-ddns sbin/kea-dhcp4 sbin/kea-dhcp6 sbin/kea-lfc +%%SHELL%%sbin/kea-shell sbin/keactrl %%DATADIR%%/api/build-report.json %%DATADIR%%/api/cache-clear.json @@ -763,5 +773,7 @@ sbin/keactrl %%DATADIR%%/scripts/pgsql/upgrade_6.0_to_6.1.sh %%DATADIR%%/scripts/pgsql/upgrade_6.1_to_6.2.sh %%DATADIR%%/scripts/pgsql/wipe_data.sh +%%SHELL%%@dir %%PYTHON_SITELIBDIR%%/kea/__pycache__ +%%SHELL%%@dir %%PYTHON_SITELIBDIR%%/kea @dir /var/db/kea @dir /var/run/kea