From nobody Wed Nov 09 18:21:15 2022 X-Original-To: dev-commits-ports-main@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 4N6tZg6l1Xz4dblG; Wed, 9 Nov 2022 18:21:15 +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 4N6tZg685Dz3MsK; Wed, 9 Nov 2022 18:21:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668018075; 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=3XD8j23Srn7iXO82CbEiAfJn+xzd3VglP8JE2jZPHR8=; b=xhrnZ7sG9jzsK5OGBqF8XhqvrkJLOGqAdqJX+AEyrb0xiuXdWkCrXNfPD+flnHbRShkXVF vidYgNO6C7hmCqrek3RSy3gyj6ovN8olBeXIi9rXB5XSYcfSA7NHOkZ5SoBgzupoarSIP2 9lVT9c1u7QZGFYsZFpCZe65oNtHXttAnNsDKSazDs466hh5fdyHajvEp3W7tuIjDOZ8e1V LXba/FMKukXesgHQeBfXyAbUgzhNzClPQpO9K6PF2nfjRtJWfaWN380VVDHCwCIUSRQu2P CC22AFX1CV6BuVVqGI9ZaF9DYKwryYIhCtfFIjDuePIry/dys6xG7rzG8Pt5Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668018075; 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=3XD8j23Srn7iXO82CbEiAfJn+xzd3VglP8JE2jZPHR8=; b=MP/evIrHxrhb+4qFyXIMU8ssqJNAFQySu21vNqSVK8ZshwZQWvEz/QQxK7vVbhELXM/qTH ATtD1zlKZWIlTS7v6KOQnERkNaUYjdwik/TzaLoRif8ZlRw/MdPCI56fTtFLxN3iSPr+c8 /aE03KnI0hQQpNuSXw1rMuvG6dH0ZV2tiBvt30ZuM4+1d63jvMb1+6IOJxAd3wgnlTYIGd 2zGW/YDH0rNLgskxJl3R07qgrxVtlfWcSoUKyYzwoTo6OLvIiitSlVJgA1ur6L9xc+b+5a vihBtzZEZZ2BZNmDNdiPV8ct10in2AQqYE4t87YNpeucny5A63fu2HGr6lxg4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668018075; a=rsa-sha256; cv=none; b=w0KDOC/cqjS5zej5a/NkwBOPlQglShdiuicgX/zNeGpRSsxG45AH6pXAnsM99kEE361IDV bnOEiCpK+8IS8VKpdqHmtHjh3+RHSIOv0oAVLpXpxpsc3mdAfVYKAQ4I56RvbQvLjSv10J 56hU0VG83EcrKBzL1gnKGlRlZhcSrO2pYxKNiylRyF8l2ZAO26rRXidFTmqRcL3zDJAUew 4tasCrY+npkxYm27z72VvgxpU2RMbcnKkhiD67ba10AFoZx45xhKqK383PfK5nOrK1fVDS snof5GLUSMKlE4uOIrVIRjeNF9mRZ+/fhYxa8+q6hJeJJPwa1TXBLjG78c7JeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N6tZg5BhCzWWV; Wed, 9 Nov 2022 18:21:15 +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 2A9ILF8u082461; Wed, 9 Nov 2022 18:21:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A9ILFCL082460; Wed, 9 Nov 2022 18:21:15 GMT (envelope-from git) Date: Wed, 9 Nov 2022 18:21:15 GMT Message-Id: <202211091821.2A9ILFCL082460@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: efe0b339c9c7 - main - net/keama: Kea migration assistant List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: efe0b339c9c72b2f55cbbca2dcb781a8ccec5930 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=efe0b339c9c72b2f55cbbca2dcb781a8ccec5930 commit efe0b339c9c72b2f55cbbca2dcb781a8ccec5930 Author: Dirk Meyer AuthorDate: 2022-11-09 18:20:40 +0000 Commit: Dirk Meyer CommitDate: 2022-11-09 18:20:40 +0000 net/keama: Kea migration assistant --- net/Makefile | 1 + net/keama/Makefile | 43 +++++++++++++++++++++++++++++++++++++++ net/keama/distinfo | 3 +++ net/keama/files/patch-confparse.c | 10 +++++++++ net/keama/files/patch-data.c | 10 +++++++++ net/keama/files/patch-eval.c | 10 +++++++++ net/keama/files/patch-keama.c | 10 +++++++++ net/keama/files/patch-parse.c | 10 +++++++++ net/keama/files/patch-reduce.c | 10 +++++++++ net/keama/pkg-descr | 3 +++ 10 files changed, 110 insertions(+) diff --git a/net/Makefile b/net/Makefile index 21984d666edf..b5af4861faa8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -307,6 +307,7 @@ SUBDIR += kdenetwork SUBDIR += kdenetwork-filesharing SUBDIR += kea + SUBDIR += keama SUBDIR += keycloak SUBDIR += kf5-kcalendarcore SUBDIR += kf5-kcontacts diff --git a/net/keama/Makefile b/net/keama/Makefile new file mode 100644 index 000000000000..78c5306279bd --- /dev/null +++ b/net/keama/Makefile @@ -0,0 +1,43 @@ +PORTNAME= keama +ISCVERSION= 4.4.3-P1 +PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} +CATEGORIES= net +MASTER_SITES= ISC/${PORTNAME}/${PORTVERSION:S/P/-P/g} \ + ZI +DISTNAME= dhcp-${ISCVERSION} + +MAINTAINER= dinoex@FreeBSD.org +COMMENT= Kea migration assistant +WWW= https://gitlab.isc.org/isc-projects/dhcp/-/wikis/kea-migration-assistant + +LICENSE= MPL20 + +USES= cpe gmake + +CPE_VENDOR= isc + +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--localstatedir=/var +CPPFLAGS+= -D_PATH_DHCPD_CONF='\"${PREFIX}/etc/dhcpd.conf\"' +CFLAGS+= -fPIC +BUILD_WRKSRC= ${WRKSRC}/keama +MAN_COMPRESSED= no +SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} + +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} + +PLIST_FILES= sbin/keama man/man8/keama.8.gz \ + %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.md \ + %%PORTDOCS%%%%DOCSDIR%%/README.md \ + +do-install: + ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/keama install + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/keama/*.md ${STAGEDIR}/${DOCSDIR}/ + +.include diff --git a/net/keama/distinfo b/net/keama/distinfo new file mode 100644 index 000000000000..01ef61ee7e7d --- /dev/null +++ b/net/keama/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664982364 +SHA256 (dhcp-4.4.3-P1.tar.gz) = 0ac416bb55997ca8632174fd10737fd61cdb8dba2752160a335775bc21dc73c7 +SIZE (dhcp-4.4.3-P1.tar.gz) = 10081055 diff --git a/net/keama/files/patch-confparse.c b/net/keama/files/patch-confparse.c new file mode 100644 index 000000000000..a03a60ba08aa --- /dev/null +++ b/net/keama/files/patch-confparse.c @@ -0,0 +1,10 @@ +--- keama/confparse.c.orig 2022-09-28 14:39:15 UTC ++++ keama/confparse.c +@@ -26,6 +26,7 @@ + #include "keama.h" + + #include ++#include + #include + #include + #include diff --git a/net/keama/files/patch-data.c b/net/keama/files/patch-data.c new file mode 100644 index 000000000000..3dbd3e5b715e --- /dev/null +++ b/net/keama/files/patch-data.c @@ -0,0 +1,10 @@ +--- keama/data.c.orig 2022-09-28 14:39:15 UTC ++++ keama/data.c +@@ -23,6 +23,7 @@ + #include "data.h" + + #include ++#include + #include + #include + #include diff --git a/net/keama/files/patch-eval.c b/net/keama/files/patch-eval.c new file mode 100644 index 000000000000..db504f8039a1 --- /dev/null +++ b/net/keama/files/patch-eval.c @@ -0,0 +1,10 @@ +--- keama/eval.c.orig 2022-09-28 14:39:15 UTC ++++ keama/eval.c +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/net/keama/files/patch-keama.c b/net/keama/files/patch-keama.c new file mode 100644 index 000000000000..4a3304f55a71 --- /dev/null +++ b/net/keama/files/patch-keama.c @@ -0,0 +1,10 @@ +--- keama/keama.c.orig 2022-09-28 14:39:15 UTC ++++ keama/keama.c +@@ -22,6 +22,7 @@ + */ + + #include ++#include + #include + #include + #include diff --git a/net/keama/files/patch-parse.c b/net/keama/files/patch-parse.c new file mode 100644 index 000000000000..8d56c0c69115 --- /dev/null +++ b/net/keama/files/patch-parse.c @@ -0,0 +1,10 @@ +--- keama/parse.c.orig 2022-09-28 14:39:15 UTC ++++ keama/parse.c +@@ -24,6 +24,7 @@ + #include "keama.h" + + #include ++#include + #include + #include + #include diff --git a/net/keama/files/patch-reduce.c b/net/keama/files/patch-reduce.c new file mode 100644 index 000000000000..4e07ebdda35f --- /dev/null +++ b/net/keama/files/patch-reduce.c @@ -0,0 +1,10 @@ +--- keama/reduce.c.orig 2022-09-28 14:39:15 UTC ++++ keama/reduce.c +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/net/keama/pkg-descr b/net/keama/pkg-descr new file mode 100644 index 000000000000..49ea306c143c --- /dev/null +++ b/net/keama/pkg-descr @@ -0,0 +1,3 @@ +Kea migration assistant is an experimental extension to ISC DHCP +that is able to read an isc-dhcp configuration +and produce a JSON configuration in Kea format.