Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2021 13:27:23 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 43b8f6460a08 - main - net/kea: Add an option to install kea-shell(8)
Message-ID:  <202111161327.1AGDRNj8077621@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43b8f6460a08cdff52531bc7c29c6dd2d0d1a967

commit 43b8f6460a08cdff52531bc7c29c6dd2d0d1a967
Author:     yds <yds@Necessitu.de>
AuthorDate: 2021-11-16 13:25:42 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-11-16 13:27:09 +0000

    net/kea: Add an option to install kea-shell(8)
    
    PR:             259856
    Approved by:    Andrey Pevnev <apevnev@me.com> (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 <bsd.port.mk>
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



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