[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-02-15 Thread Sam James
commit: 65b5e29d8e1356fc6b2d844e2957aebb4e9d5917
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 15 23:27:28 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 15 23:27:28 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b5e29d

net-misc/kea: Stabilize 3.0.2-r2 arm, #970129

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-3.0.2-r2.ebuild b/net-misc/kea/kea-3.0.2-r2.ebuild
index cdf10835e33d..fd8cead6a073 100644
--- a/net-misc/kea/kea-3.0.2-r2.ebuild
+++ b/net-misc/kea/kea-3.0.2-r2.ebuild
@@ -22,7 +22,7 @@ else
verify-sig? ( 
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz.asc )
https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz
"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-02-15 Thread Sam James
commit: 85a3f4a29e66051337f4573c3571618e4763a759
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 15 23:27:30 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 15 23:27:30 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a3f4a2

net-misc/kea: Stabilize 3.0.2-r2 arm64, #970129

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-3.0.2-r2.ebuild b/net-misc/kea/kea-3.0.2-r2.ebuild
index fd8cead6a073..d8b31d62da76 100644
--- a/net-misc/kea/kea-3.0.2-r2.ebuild
+++ b/net-misc/kea/kea-3.0.2-r2.ebuild
@@ -22,7 +22,7 @@ else
verify-sig? ( 
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz.asc )
https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz
"
-   KEYWORDS="~amd64 arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2026-01-30 Thread Andreas Sturmlechner
commit: 799d809054c385e665f35704e4cb196704f3ecdd
Author: Peter Leese  peterleese  org>
AuthorDate: Fri Jan 23 06:54:18 2026 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan 30 15:33:52 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799d8090

net-misc/kea: Fix build with boost 1.90

Add boost patch file for 1.90

* asturm 2026-01-30:
  Fix upstream boost-1.89 patch to require >=boost-1.69
  Split boost-1.90 patch to reflect upstream origin from 2 commits
  Source boost-1.90-1 from final version committed upstream (c54dfd47)
  Put all patches into patchset tarball pulled from devspace

Bug: https://bugs.gentoo.org/969070
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/45545
Closes: https://github.com/gentoo/gentoo/pull/45545
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/kea/Manifest  |  1 +
 net-misc/kea/files/kea-3.0.1-boost-1.89.patch  | 53 --
 net-misc/kea/kea-3.0.2-r1.ebuild   |  6 +--
 .../{kea-3.0.2-r1.ebuild => kea-3.0.2-r2.ebuild}   | 10 ++--
 4 files changed, 9 insertions(+), 61 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 53b780480c3c..c112e84a6d5e 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,4 @@
+DIST kea-3.0.2-patchset.tar.xz 6216 BLAKE2B 
e004eff1c89d6ba749018e80b0023d179f6c84dc271f9c187cc642355eda83d2c06cda2f8518377b14268038a2092b62637ca2eaa7e058f0bf5c27f68f5d935a
 SHA512 
e9313f72c661749809696d857cd4d4bc56f96c61b9a9eed6f2bf3dd3639a167372077a3de37760009e32c724cf02a94c6c871d7d3852096f91de3bfd6b79
 DIST kea-3.0.2.tar.xz 6634300 BLAKE2B 
8c7dccbb118f09e0c4dbd0fbb1889fba03bda633bedd6b05f91445d0979bbbedd8c7150ceaad73a280e58401eba4671398c65717f747b661fa0891e310dac1ea
 SHA512 
454081be248d6021aa99bfe027111f093795b123c827c6062e29a215856d29ec827f5757a1a6fc3351e74276563f101b52f26db2098cdd0b4e6f86e1b3449ba3
 DIST kea-3.0.2.tar.xz.asc 833 BLAKE2B 
7345cfc7fb6bec6a9ec06f7d9861cc43b0b11bdc6e80acdd6016dc7677cbe0af659fb4cb0d62b6acfcf1c53e47e936400e75096abcd8d66b7dd5e6ef8b520b58
 SHA512 
0735968604d1ac0821f00a01e3f61134e118ec0fb26846eb6413867c855923a148316ef20022e9a51af8507711eeadaf68b2da85504332cf8c882e75fffa8793
 DIST kea-manpages-3.0.2.tar.gz 6743 BLAKE2B 
30d254a0db2b635493a0f9fe5480cf731978532f860d9acf74f8d6114539f0f9e594aa68aeb1181ee05da51707fd35a900be72c79bc7abf31124c1c5ea439ef4
 SHA512 
cfcf91abfd34e44319d4ea58de15bc068e5c7be7c94f211e85890009ef285ab84ca310dbe4ba8879a4797574715086861755cd528ea90a65e88980adeabc43a1

diff --git a/net-misc/kea/files/kea-3.0.1-boost-1.89.patch 
b/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
deleted file mode 100644
index 76b427430e8f..
--- a/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-https://bugs.gentoo.org/963749
-https://gitlab.isc.org/isc-projects/kea/-/issues/4085
-https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2771
-Fixes the build with Boost 1.89
-diff --git a/meson.build b/meson.build
-index ab2fa78212..8592196856 100644
 a/meson.build
-+++ b/meson.build
-@@ -189,7 +189,7 @@ message(f'Detected system "@SYSTEM@".')
- 
-  Dependencies
- 
--boost_dep = dependency('boost', version: '>=1.66', modules: ['system'])
-+boost_dep = dependency('boost', version: '>=1.66')
- dl_dep = dependency('dl')
- threads_dep = dependency('threads')
- add_project_dependencies(boost_dep, dl_dep, threads_dep, language: ['cpp'])
-diff --git a/src/lib/asiodns/io_fetch.cc b/src/lib/asiodns/io_fetch.cc
-index c140676f66..ee2575a884 100644
 a/src/lib/asiodns/io_fetch.cc
-+++ b/src/lib/asiodns/io_fetch.cc
-@@ -24,6 +24,7 @@
- 
- #include 
- #include 
-+#include 
- 
- #include 
- #include  // for some IPC/network system calls
-diff --git a/src/lib/asiodns/tests/io_fetch_unittest.cc 
b/src/lib/asiodns/tests/io_fetch_unittest.cc
-index 7b4cd0568e..3d04230f02 100644
 a/src/lib/asiodns/tests/io_fetch_unittest.cc
-+++ b/src/lib/asiodns/tests/io_fetch_unittest.cc
-@@ -21,6 +21,7 @@
- 
- #include 
- #include 
-+#include 
- 
- #include 
- #include 
-diff --git a/src/lib/asiolink/interval_timer.cc 
b/src/lib/asiolink/interval_timer.cc
-index fa0d9e1b67..4ac0b20c7d 100644
 a/src/lib/asiolink/interval_timer.cc
-+++ b/src/lib/asiolink/interval_timer.cc
-@@ -12,6 +12,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- 

diff --git a/net-misc/kea/kea-3.0.2-r1.ebuild b/net-misc/kea/kea-3.0.2-r1.ebuild
index 223e63ef4170..52280c23a646 100644
--- a/net-misc/kea/kea-3.0.2-r1.ebuild
+++ b/net-misc/kea/kea-3.0.2-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+PATCHSET=${P}-patchset
 PYTHON_COMPAT=( python3_{11..14} )
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/isc.asc
 inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles
@@ -19,6 +20,7 @@ else
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
!doc? ( 
https://codeberg.org

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-01-19 Thread Sam James
commit: 6d8a7e849a99c0c1e4810c6da4e7b819f55adffb
Author: Peter Leese  peterleese  org>
AuthorDate: Tue Jan 20 07:04:36 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 20 07:53:36 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d8a7e84

net-misc/kea: fix tests fail to run

With update to using meson v1.10, the output format from the
meson test --list command has changed that caused the tests to
fail to run due to a parsing error.

Bug: https://bugs.gentoo.org/968667
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/45455
Closes: https://github.com/gentoo/gentoo/pull/45455
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2-r1.ebuild | 11 ---
 net-misc/kea/kea-.ebuild | 11 ---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/net-misc/kea/kea-3.0.2-r1.ebuild b/net-misc/kea/kea-3.0.2-r1.ebuild
index ec1107fe6d4a..223e63ef4170 100644
--- a/net-misc/kea/kea-3.0.2-r1.ebuild
+++ b/net-misc/kea/kea-3.0.2-r1.ebuild
@@ -163,13 +163,18 @@ src_test() {
# Get list of all test suites into an associative array
# the meson test --list returns either "kea / test_suite", 
"kea:shell-tests / test_suite" or
# "kea:python-tests / test_suite"
+   # Note: In meson >= 1.10 the format has changed to
+   # the meson test --list returns either "kea:test_suite", "shell-tests - 
kea:test_suite" or
+   # "python-tests - kea:test_suite"
+   #
# Discard the shell tests as we can't run shell tests in sandbox
 
pushd "${BUILD_DIR}" || die
local -A TEST_SUITES
-   while IFS=" / " read -r subsystem test_suite ; do
-   if [[ ${subsystem} != "kea:shell-tests" ]]; then
-   TEST_SUITES["$test_suite"]=1
+
+   while IFS="/: " read -a words ; do
+   if [[ "${words[0]}" != "shell-tests" ]] && [[ "${words[2]}" != 
"shell-tests" ]]; then
+   TEST_SUITES["${words[-1]}"]=1
fi
done < <(meson test --list || die)
popd

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 954594c025d0..c487f11ec6f6 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -160,13 +160,18 @@ src_test() {
# Get list of all test suites into an associative array
# the meson test --list returns either "kea / test_suite", 
"kea:shell-tests / test_suite" or
# "kea:python-tests / test_suite"
+   # Note: In meson >= 1.10 the format has changed to
+   # the meson test --list returns either "kea:test_suite", "shell-tests - 
kea:test_suite" or
+   # "python-tests - kea:test_suite"
+   #
# Discard the shell tests as we can't run shell tests in sandbox
 
pushd "${BUILD_DIR}" || die
local -A TEST_SUITES
-   while IFS=" / " read -r subsystem test_suite ; do
-   if [[ ${subsystem} != "kea:shell-tests" ]]; then
-   TEST_SUITES["$test_suite"]=1
+
+   while IFS="/: " read -a words ; do
+   if [[ "${words[0]}" != "shell-tests" ]] && [[ "${words[2]}" != 
"shell-tests" ]]; then
+   TEST_SUITES["${words[-1]}"]=1
fi
done < <(meson test --list || die)
popd



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-01-19 Thread Sam James
commit: 8f4faa115b24ad1b1c2b5ead4116acb78627c35a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 20 07:48:20 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 20 07:48:20 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4faa11

net-misc/kea: fix live ebuild

Closes: https://bugs.gentoo.org/969053
Fixes: f6d63c17137757f96d7a7bb4c202b8fdd7bbb1bf
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2-r1.ebuild | 9 -
 net-misc/kea/kea-.ebuild | 9 -
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/net-misc/kea/kea-3.0.2-r1.ebuild b/net-misc/kea/kea-3.0.2-r1.ebuild
index 72f2b95d2541..ec1107fe6d4a 100644
--- a/net-misc/kea/kea-3.0.2-r1.ebuild
+++ b/net-misc/kea/kea-3.0.2-r1.ebuild
@@ -80,7 +80,14 @@ pkg_setup() {
 }
 
 src_unpack() {
-   use verify-sig && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.xz{,.asc}
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   return
+   fi
+
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
 
default
 }

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index c6ab54d0acfb..954594c025d0 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -75,7 +75,14 @@ pkg_setup() {
 }
 
 src_unpack() {
-   use verify-sig && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.xz{,.asc}
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   return
+   fi
+
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
 
default
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-01-18 Thread Sam James
commit: f6d63c17137757f96d7a7bb4c202b8fdd7bbb1bf
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 19 05:18:44 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 19 05:18:51 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d63c17

net-misc/kea: wire up verify-sig

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest|  1 +
 net-misc/kea/kea-3.0.2-r1.ebuild | 16 +---
 net-misc/kea/kea-.ebuild | 22 +-
 3 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 4cadf1206dfa..53b780480c3c 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-3.0.2.tar.xz 6634300 BLAKE2B 
8c7dccbb118f09e0c4dbd0fbb1889fba03bda633bedd6b05f91445d0979bbbedd8c7150ceaad73a280e58401eba4671398c65717f747b661fa0891e310dac1ea
 SHA512 
454081be248d6021aa99bfe027111f093795b123c827c6062e29a215856d29ec827f5757a1a6fc3351e74276563f101b52f26db2098cdd0b4e6f86e1b3449ba3
+DIST kea-3.0.2.tar.xz.asc 833 BLAKE2B 
7345cfc7fb6bec6a9ec06f7d9861cc43b0b11bdc6e80acdd6016dc7677cbe0af659fb4cb0d62b6acfcf1c53e47e936400e75096abcd8d66b7dd5e6ef8b520b58
 SHA512 
0735968604d1ac0821f00a01e3f61134e118ec0fb26846eb6413867c855923a148316ef20022e9a51af8507711eeadaf68b2da85504332cf8c882e75fffa8793
 DIST kea-manpages-3.0.2.tar.gz 6743 BLAKE2B 
30d254a0db2b635493a0f9fe5480cf731978532f860d9acf74f8d6114539f0f9e594aa68aeb1181ee05da51707fd35a900be72c79bc7abf31124c1c5ea439ef4
 SHA512 
cfcf91abfd34e44319d4ea58de15bc068e5c7be7c94f211e85890009ef285ab84ca310dbe4ba8879a4797574715086861755cd528ea90a65e88980adeabc43a1

diff --git a/net-misc/kea/kea-3.0.2-r1.ebuild b/net-misc/kea/kea-3.0.2-r1.ebuild
index ba80c962f37e..72f2b95d2541 100644
--- a/net-misc/kea/kea-3.0.2-r1.ebuild
+++ b/net-misc/kea/kea-3.0.2-r1.ebuild
@@ -4,7 +4,9 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
-inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/isc.asc
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles
+inherit toolchain-funcs verify-sig
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
@@ -16,6 +18,7 @@ else
SRC_URI="
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
!doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
+   verify-sig? ( 
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz.asc )
"
KEYWORDS="amd64 arm arm64 ~x86"
 fi
@@ -50,15 +53,16 @@ RDEPEND="${COMMON_DEPEND}
acct-user/dhcp
 "
 BDEPEND="
+   ${PYTHON_DEPS}
>=dev-build/meson-1.8
+   virtual/pkgconfig
doc? (
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
')
)
-   virtual/pkgconfig
-   ${PYTHON_DEPS}
+   verify-sig? ( sec-keys/openpgp-keys-isc )
 "
 
 PATCHES=(
@@ -75,6 +79,12 @@ pkg_setup() {
python_setup
 }
 
+src_unpack() {
+   use verify-sig && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.xz{,.asc}
+
+   default
+}
+
 src_prepare() {
default
 

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 0a7efc03141c..c6ab54d0acfb 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -4,7 +4,9 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
-inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/isc.asc
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles
+inherit toolchain-funcs verify-sig
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
@@ -13,8 +15,11 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
-   SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   SRC_URI="
+   https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
+   verify-sig? ( 
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz.asc )
+   "
+   KEYWORDS="amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"
@@ -47,15 +52,16 @@ RDEPEND="${COMMON_DEPEND}
acct-user/dhcp
 "
 BDEPEND="
+   ${PYTHON_DEPS}
>=dev-build/meson-1.8
+   virtual/pkgconfig
doc? (
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
')
)
-   virtual/pkgconfig
-   ${PYTHON_DEPS}
+   verify-sig? ( sec-keys/openpgp-keys-isc )
 "
 
 python_check_deps() {
@@ -68,6 +74,12 @@ pkg_setup() {
  

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2026-01-16 Thread Andreas Sturmlechner
commit: a73124778aa41430c570590ef523bbb4c347ea2a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jan 15 20:37:20 2026 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan 16 22:25:15 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7312477

net-misc/kea: drop 2.6.3, 2.6.4, 3.0.1-r1, 3.0.2

Clean up dev-libs/botan:2 revdeps.

Bug: https://bugs.gentoo.org/967170
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/kea/Manifest  |   4 -
 net-misc/kea/files/kea-2.2.0-openssl-version.patch |  11 -
 net-misc/kea/files/kea-2.6.4-boost-1.89.patch  |  51 
 net-misc/kea/files/kea-confd-r2|  12 -
 net-misc/kea/files/kea-initd-r2| 147 --
 net-misc/kea/kea-2.6.3.ebuild  | 253 -
 net-misc/kea/kea-2.6.4.ebuild  | 269 --
 net-misc/kea/kea-3.0.1-r1.ebuild   | 307 
 net-misc/kea/kea-3.0.2.ebuild  | 308 -
 9 files changed, 1362 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index dcb876b3f278..4cadf1206dfa 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,6 +1,2 @@
-DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
-DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18
-DIST kea-3.0.1.tar.xz 6632284 BLAKE2B 
7fc66680ddfd6805cb8eb7480d552c8fbd29416175cb2b81e0ef68436e1a2ed9c94c50e0a7037402e02620ef047a66c8dcafb3d89a6a0d7d552c5d5da04f5755
 SHA512 
84e2164aa91c95b2e6e65994a2327fa1233c82b06af69312f55464119d4edc6151a4662a54f4a3ae83e0487dac7b25c5e59e60bcbed653fd30fb32ae7cacddf3
 DIST kea-3.0.2.tar.xz 6634300 BLAKE2B 
8c7dccbb118f09e0c4dbd0fbb1889fba03bda633bedd6b05f91445d0979bbbedd8c7150ceaad73a280e58401eba4671398c65717f747b661fa0891e310dac1ea
 SHA512 
454081be248d6021aa99bfe027111f093795b123c827c6062e29a215856d29ec827f5757a1a6fc3351e74276563f101b52f26db2098cdd0b4e6f86e1b3449ba3
-DIST kea-manpages-3.0.1.tar.gz 6789 BLAKE2B 
37d79b0be3959cc0b12a4f0a782feb4065a7dffd741551f9ab1edfe1c4c3db0dc4fed24881a9e11fa2aeb214e8b094894f48741a5823e13d78fb41837adf0975
 SHA512 
4930173e93a8ae7ac0a933a8d82a1c90f79321365bf02f3995d8ef0496bddf4f611cf2d23c806ecee5017e7b98c2799d0d3ac00a66535be35898f89cd3f75f86
 DIST kea-manpages-3.0.2.tar.gz 6743 BLAKE2B 
30d254a0db2b635493a0f9fe5480cf731978532f860d9acf74f8d6114539f0f9e594aa68aeb1181ee05da51707fd35a900be72c79bc7abf31124c1c5ea439ef4
 SHA512 
cfcf91abfd34e44319d4ea58de15bc068e5c7be7c94f211e85890009ef285ab84ca310dbe4ba8879a4797574715086861755cd528ea90a65e88980adeabc43a1

diff --git a/net-misc/kea/files/kea-2.2.0-openssl-version.patch 
b/net-misc/kea/files/kea-2.2.0-openssl-version.patch
deleted file mode 100644
index 5e323357d7c5..
--- a/net-misc/kea/files/kea-2.2.0-openssl-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/m4macros/ax_crypto.m4
-+++ b/m4macros/ax_crypto.m4
-@@ -258,7 +258,7 @@ then
- else
-CRYPTO_NAME="OpenSSL"
-DISABLED_CRYPTO="Botan"
--   CRYPTO_PACKAGE="openssl-1.1.0"
-+   CRYPTO_PACKAGE="openssl"
-DISTCHECK_CRYPTO_CONFIGURE_FLAG="--with-openssl=${use_openssl}"
-AC_DEFINE_UNQUOTED([WITH_OPENSSL], [], [Compile with OpenSSL crypto])
-AC_MSG_CHECKING(for OpenSSL library)

diff --git a/net-misc/kea/files/kea-2.6.4-boost-1.89.patch 
b/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
deleted file mode 100644
index b35570054187..
--- a/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://bugs.gentoo.org/963975
-Fixes the build with Boost 1.89
-diff --git a/m4macros/ax_boost_for_kea.m4 b/m4macros/ax_boost_for_kea.m4
-index 996413374a..7d616eb03e 100644
 a/m4macros/ax_boost_for_kea.m4
-+++ b/m4macros/ax_boost_for_kea.m4
-@@ -205,7 +205,7 @@ AC_ARG_ENABLE([boost-headers-only],
-  as it may result in non-optimized code on some
-  platforms or introduce runtime errors on others.])],
- [enable_boost_header="yes"; BOOST_LIBS=""],
--[BOOST_LIBS="${BOOST_LIBS} -lboost_system"])
-+[BOOST_LIBS="${BOOST_LIBS}"])
- 
- # BOOST_ERROR_CODE_HEADER_ONLY in versions below Boost 1.56.0 can fail
- # to find the error_code.cpp file.
-diff --git a/src/lib/asiodns/io_fetch.cc b/src/lib/asiodns/io_fetch.cc
-index 742abc66e9..d87e4abdcc 100644
 a/src/lib/asiodns/io_fetch.cc
-+++ b/src/lib/asiodns/io_fetch.cc
-@@ -24,6 +24,7 @@
- 
- #include 
- #include 
-+#include 
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-01-10 Thread Sam James
commit: 3d099578d929ff10b7cdf2f12fb73772f612ef92
Author: Peter Leese  peterleese  org>
AuthorDate: Sat Jan 10 09:39:58 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 10 12:46:15 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d099578

net-misc/kea: Sync live

Synchronous live ebuild with 3.0.2-r2, its missing the kerberos
change and the update to the warnings displayed after installation

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/45261
Closes: https://github.com/gentoo/gentoo/pull/45261
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-.ebuild | 20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 8706e6d9c573..0a7efc03141c 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ fi
 
 LICENSE="MPL-2.0"
 SLOT="0"
-IUSE="debug doc mysql +openssl postgres shell test"
+IUSE="debug doc kerberos mysql +openssl postgres shell test"
 
 REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
@@ -27,6 +27,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
>=dev-libs/boost-1.66:=
dev-libs/log4cplus:=
+   kerberos? ( virtual/krb5 )
mysql? (
app-arch/zstd:=
dev-db/mysql-connector-c:=
@@ -112,7 +113,7 @@ src_configure() {
local emesonargs=(
--localstatedir="${EPREFIX}/var"
-Drunstatedir="${EPREFIX}/run"
-   -Dkrb5=disabled
+   $(meson_feature kerberos krb5)
-Dnetconf=disabled
-Dcrypto=$(usex openssl openssl botan)
$(meson_feature mysql)
@@ -159,6 +160,7 @@ src_test() {
kea-log-console_test.sh
dhcp-lease-query-tests
kea-dhcp6-tests
+   kea-dhcp4-tests
kea-dhcp-tests
)
 
@@ -168,7 +170,6 @@ src_test() {
kea-mysql-tests
dhcp-mysql-lib-tests
dhcp-forensic-log-libloadtests
-   kea-dhcp4-tests
)
fi
 
@@ -178,7 +179,12 @@ src_test() {
kea-pgsql-tests
dhcp-pgsql-lib-tests
dhcp-forensic-log-libloadtests
-   kea-dhcp4-tests
+   )
+   fi
+
+   if use kerberos; then
+   SKIP_TESTS+=(
+   ddns-gss-tsig-tests
)
fi
 
@@ -186,7 +192,6 @@ src_test() {
# see https://bugs.gentoo.org/958171 for reason for skipping 
these tests
SKIP_TESTS+=(
kea-util-tests
-   kea-dhcp4-tests
kea-dhcpsrv-tests
dhcp-ha-lib-tests
kea-d2-tests
@@ -282,6 +287,9 @@ pkg_postinst() {
fi
 
if ver_replacing -lt 3.0; then
+   ewarn "Make sure that ${EPREFIX}/var/lib/kea and all the files 
in it are owned by dhcp:"
+   ewarn "chown -R dhcp:dhcp ${EPREFIX}/var/lib/kea"
+   ewarn
ewarn "If using openrc;"
ewarn "  There are now separate conf.d scripts and associated 
init.d per daemon!"
ewarn "Each Daemon needs to be launched separately, i.e. 
the daemons are"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2026-01-10 Thread Sam James
commit: 911165f6b1779225e1ae8227782eaff24ef88c5a
Author: Peter Leese  peterleese  org>
AuthorDate: Mon Jan  5 21:28:09 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 10 12:46:14 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911165f6

net-misc/kea: fix header permissions

Change the meson install umask from the default of 027 to 023 so that
kea header files and other api related data artifacts are readable by
non-priviledged users.

Bug: https://bugs.gentoo.org/968272
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/45261
Signed-off-by: Sam James  gentoo.org>

 .../kea/{kea-.ebuild => kea-3.0.2-r1.ebuild}   | 45 +-
 net-misc/kea/kea-.ebuild   |  8 
 2 files changed, 43 insertions(+), 10 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-3.0.2-r1.ebuild
similarity index 86%
copy from net-misc/kea/kea-.ebuild
copy to net-misc/kea/kea-3.0.2-r1.ebuild
index 2f244cef8148..ba80c962f37e 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-3.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,13 +13,16 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
-   SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   SRC_URI="
+   https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
+   !doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
+   "
+   KEYWORDS="amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"
 SLOT="0"
-IUSE="debug doc mysql +openssl postgres shell test"
+IUSE="debug doc kerberos mysql +openssl postgres shell test"
 
 REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
@@ -27,6 +30,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
>=dev-libs/boost-1.66:=
dev-libs/log4cplus:=
+   kerberos? ( virtual/krb5 )
mysql? (
app-arch/zstd:=
dev-db/mysql-connector-c:=
@@ -57,6 +61,10 @@ BDEPEND="
${PYTHON_DEPS}
 "
 
+PATCHES=(
+   "${FILESDIR}"/kea-3.0.1-boost-1.89.patch
+)
+
 python_check_deps() {
use doc || return 0;
python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
@@ -106,15 +114,19 @@ src_configure() {
append-cxxflags -std=c++20
fi
 
+   # Note: https://gitlab.isc.org/isc-projects/kea/-/issues/4171 suggests 
patching meson.build to set umask,
+   # instead here we pass install-umask as an argument to do the same 
thing, i.e. control permissions on
+   # installed files.
local emesonargs=(
--localstatedir="${EPREFIX}/var"
-Drunstatedir="${EPREFIX}/run"
-   -Dkrb5=disabled
+   $(meson_feature kerberos krb5)
-Dnetconf=disabled
-Dcrypto=$(usex openssl openssl botan)
$(meson_feature mysql)
$(meson_feature postgres postgresql)
$(meson_feature test tests)
+   --install-umask=0o023
)
if use debug; then
emesonargs+=(
@@ -127,8 +139,6 @@ src_configure() {
 src_compile() {
meson_src_compile
 
-   # Note: If you want man pages doc use has to be set. This may change
-   # in the future and be like 2.6.3 where man pages were part of the 
release tarball
use doc && meson_src_compile doc
 }
 
@@ -155,6 +165,7 @@ src_test() {
kea-log-console_test.sh
dhcp-lease-query-tests
kea-dhcp6-tests
+   kea-dhcp4-tests
kea-dhcp-tests
)
 
@@ -164,7 +175,6 @@ src_test() {
kea-mysql-tests
dhcp-mysql-lib-tests
dhcp-forensic-log-libloadtests
-   kea-dhcp4-tests
)
fi
 
@@ -174,7 +184,12 @@ src_test() {
kea-pgsql-tests
dhcp-pgsql-lib-tests
dhcp-forensic-log-libloadtests
-   kea-dhcp4-tests
+   )
+   fi
+
+   if use kerberos; then
+   SKIP_TESTS+=(
+   ddns-gss-tsig-tests
)
fi
 
@@ -182,7 +197,6 @@ src_test() {
# see https://bugs.gentoo.org/958171 for reason for skipping 
these tests
SKIP_TESTS+=(
kea-util-tests
-   kea-dhcp4-tests
kea-dhcpsrv-tests
dhcp-ha-lib-tests
kea-d2-tests
@@ -234,6 +248,10 @@ src_install() {
 
fowners -R root:dhcp /etc/${PN

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-12-08 Thread Sam James
commit: 4b7c09e18f6807ffd18039abe7523b51bf695f2b
Author: Nicolas PARLANT  parhuet  fr>
AuthorDate: Mon Dec  8 06:11:46 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  8 14:56:48 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7c09e1

net-misc/kea: modify message for permissions

Migration root->dhcp needs user intervention

Bug: https://bugs.gentoo.org/967157
Signed-off-by: Nicolas PARLANT  parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44948
Closes: https://github.com/gentoo/gentoo/pull/44948
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/kea/kea-3.0.2.ebuild b/net-misc/kea/kea-3.0.2.ebuild
index d899b2a2584c..84bc1e88a6f2 100644
--- a/net-misc/kea/kea-3.0.2.ebuild
+++ b/net-misc/kea/kea-3.0.2.ebuild
@@ -288,6 +288,9 @@ pkg_postinst() {
fi
 
if ver_replacing -lt 3.0; then
+   ewarn "Make sure that ${EPREFIX}/var/lib/kea and all the files 
in it are owned by dhcp:"
+   ewarn "chown -R dhcp:dhcp ${EPREFIX}/var/lib/kea"
+   ewarn
ewarn "If using openrc;"
ewarn "  There are now separate conf.d scripts and associated 
init.d per daemon!"
ewarn "Each Daemon needs to be launched separately, i.e. 
the daemons are"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-12-06 Thread Sam James
commit: a42e1a148e3b176fac40ec6c610b26460e818005
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  6 22:40:52 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  6 22:40:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42e1a14

net-misc/kea: Stabilize 3.0.2 amd64, #967170

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-3.0.2.ebuild b/net-misc/kea/kea-3.0.2.ebuild
index f8d6e1454084..d899b2a2584c 100644
--- a/net-misc/kea/kea-3.0.2.ebuild
+++ b/net-misc/kea/kea-3.0.2.ebuild
@@ -17,7 +17,7 @@ else
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
!doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
"
-   KEYWORDS="~amd64 arm arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-12-06 Thread Sam James
commit: 0ae3fec9beca37c5c3fec87cd118dbfa52410024
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  6 21:58:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  6 21:58:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae3fec9

net-misc/kea: Stabilize 3.0.2 arm, #967170

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-3.0.2.ebuild b/net-misc/kea/kea-3.0.2.ebuild
index 9d954aca8489..82206ca8bd8b 100644
--- a/net-misc/kea/kea-3.0.2.ebuild
+++ b/net-misc/kea/kea-3.0.2.ebuild
@@ -17,7 +17,7 @@ else
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
!doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-12-06 Thread Sam James
commit: 2fc6eedb6db73d15e5983c05403dfe2462f6f85c
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  6 21:58:18 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  6 21:58:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc6eedb

net-misc/kea: Stabilize 3.0.2 arm64, #967170

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-3.0.2.ebuild b/net-misc/kea/kea-3.0.2.ebuild
index 82206ca8bd8b..f8d6e1454084 100644
--- a/net-misc/kea/kea-3.0.2.ebuild
+++ b/net-misc/kea/kea-3.0.2.ebuild
@@ -17,7 +17,7 @@ else
https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
!doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
"
-   KEYWORDS="~amd64 arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-11-04 Thread Sam James
commit: b327d5d84978188cc287fd509c93bce7e411def6
Author: Peter Leese  peterleese  org>
AuthorDate: Sun Nov  2 19:46:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov  4 11:21:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b327d5d8

net-misc/kea: add 3.0.2

Bug: https://bugs.gentoo.org/965298
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/44438
Closes: https://github.com/gentoo/gentoo/pull/44438
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest |   2 +
 net-misc/kea/kea-3.0.2.ebuild | 305 ++
 2 files changed, 307 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index d67c0053e44a..dcb876b3f278 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,4 +1,6 @@
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
 DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18
 DIST kea-3.0.1.tar.xz 6632284 BLAKE2B 
7fc66680ddfd6805cb8eb7480d552c8fbd29416175cb2b81e0ef68436e1a2ed9c94c50e0a7037402e02620ef047a66c8dcafb3d89a6a0d7d552c5d5da04f5755
 SHA512 
84e2164aa91c95b2e6e65994a2327fa1233c82b06af69312f55464119d4edc6151a4662a54f4a3ae83e0487dac7b25c5e59e60bcbed653fd30fb32ae7cacddf3
+DIST kea-3.0.2.tar.xz 6634300 BLAKE2B 
8c7dccbb118f09e0c4dbd0fbb1889fba03bda633bedd6b05f91445d0979bbbedd8c7150ceaad73a280e58401eba4671398c65717f747b661fa0891e310dac1ea
 SHA512 
454081be248d6021aa99bfe027111f093795b123c827c6062e29a215856d29ec827f5757a1a6fc3351e74276563f101b52f26db2098cdd0b4e6f86e1b3449ba3
 DIST kea-manpages-3.0.1.tar.gz 6789 BLAKE2B 
37d79b0be3959cc0b12a4f0a782feb4065a7dffd741551f9ab1edfe1c4c3db0dc4fed24881a9e11fa2aeb214e8b094894f48741a5823e13d78fb41837adf0975
 SHA512 
4930173e93a8ae7ac0a933a8d82a1c90f79321365bf02f3995d8ef0496bddf4f611cf2d23c806ecee5017e7b98c2799d0d3ac00a66535be35898f89cd3f75f86
+DIST kea-manpages-3.0.2.tar.gz 6743 BLAKE2B 
30d254a0db2b635493a0f9fe5480cf731978532f860d9acf74f8d6114539f0f9e594aa68aeb1181ee05da51707fd35a900be72c79bc7abf31124c1c5ea439ef4
 SHA512 
cfcf91abfd34e44319d4ea58de15bc068e5c7be7c94f211e85890009ef285ab84ca310dbe4ba8879a4797574715086861755cd528ea90a65e88980adeabc43a1

diff --git a/net-misc/kea/kea-3.0.2.ebuild b/net-misc/kea/kea-3.0.2.ebuild
new file mode 100644
index ..9d954aca8489
--- /dev/null
+++ b/net-misc/kea/kea-3.0.2.ebuild
@@ -0,0 +1,305 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="
+   https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
+   !doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
+   "
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE="debug doc kerberos mysql +openssl postgres shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   >=dev-libs/boost-1.66:=
+   dev-libs/log4cplus:=
+   kerberos? ( virtual/krb5 )
+   mysql? (
+   app-arch/zstd:=
+   dev-db/mysql-connector-c:=
+   dev-libs/openssl:=
+   virtual/zlib:=
+   )
+   !openssl? ( dev-libs/botan:3=[boost] )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp
+"
+BDEPEND="
+   >=dev-build/meson-1.8
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   ')
+   )
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+
+PATCHES=(
+   "${FILESDIR}"/kea-3.0.1-boost-1.89.patch
+)
+
+python_check_deps() {
+   use doc || return 0;
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python_

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-10-18 Thread Sam James
commit: d91509b85b4da1b7e79c7dadeafe49f6e3fbb4cd
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct  9 20:44:06 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  9 20:44:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91509b8

net-misc/kea: Stabilize 2.6.4 arm64, #963980

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
index 13df384b193d..a48a2d426b78 100644
--- a/net-misc/kea/kea-2.6.4.ebuild
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2025-10-18 Thread Sam James
commit: 2e5c6a7c3db8570caaa4af14dd2837ab1cdd7576
Author: Nicolas PARLANT  parhuet  fr>
AuthorDate: Sun Oct 12 06:34:56 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 18 13:17:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5c6a7c

net-misc/kea: fix pidfile path

pidfile path is hardcoded from the config-file' name
remove the variable KEA_PIDFILE and fix the path

even if custom KEA_PIDFILE can fix it, do a revbump
to avoid wasting time debugging

Closes: https://bugs.gentoo.org/963875
Signed-off-by: Nicolas PARLANT  parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44142
Closes: https://github.com/gentoo/gentoo/pull/44142
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/files/kea-confd-r3| 1 -
 net-misc/kea/files/kea-initd-r3| 3 +--
 net-misc/kea/{kea-3.0.1.ebuild => kea-3.0.1-r1.ebuild} | 0
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-misc/kea/files/kea-confd-r3 b/net-misc/kea/files/kea-confd-r3
index a8844bae730b..91919ede7f58 100644
--- a/net-misc/kea/files/kea-confd-r3
+++ b/net-misc/kea/files/kea-confd-r3
@@ -5,4 +5,3 @@ KEA_SVC="@KEA_SVC@"
 #KEA_USER=dhcp
 #KEA_GROUP=dhcp
 #KEA_CONFIG=/etc/kea/kea-@[email protected]
-#KEA_PIDFILE=/run/kea/kea-@[email protected]@[email protected]

diff --git a/net-misc/kea/files/kea-initd-r3 b/net-misc/kea/files/kea-initd-r3
index d499c6c193d9..f4d131914d5b 100644
--- a/net-misc/kea/files/kea-initd-r3
+++ b/net-misc/kea/files/kea-initd-r3
@@ -5,13 +5,12 @@
 : ${KEA_USER:=dhcp}
 : ${KEA_GROUP:=dhcp}
 : ${KEA_CONFIG:=/etc/kea/${RC_SVCNAME}.conf}
-: ${KEA_PIDFILE:=/run/kea/${RC_SVCNAME}.kea-${KEA_SVC}.pid}
 
 description="kea ${KEA_SVC} services"
 command="/usr/sbin/kea-${KEA_SVC}"
 command_args="-c ${KEA_CONFIG}"
 command_user="${KEA_USER}:${KEA_GROUP}"
-pidfile="${KEA_PIDFILE}"
+pidfile="/run/kea/$(basename ${KEA_CONFIG%.*}).kea-${KEA_SVC}.pid"
 required_files="${KEA_CONFIG}"
 start_stop_daemon_args="--background"
 

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1-r1.ebuild
similarity index 100%
rename from net-misc/kea/kea-3.0.1.ebuild
rename to net-misc/kea/kea-3.0.1-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2025-10-18 Thread Sam James
commit: 077bcb27a4e60cfc1ce8ec721399705bed8d2d80
Author: ChaseKnowlden  gmail  com>
AuthorDate: Fri Oct 10 02:05:25 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 12 11:34:41 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=077bcb27

net-misc/kea: fix build with Boost 1.89

Closes: https://bugs.gentoo.org/963975
Closes: https://bugs.gentoo.org/963749
Signed-off-by: ChaseKnowlden  gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44120
Closes: https://github.com/gentoo/gentoo/pull/44120
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/files/kea-2.6.4-boost-1.89.patch | 50 +++
 net-misc/kea/files/kea-3.0.1-boost-1.89.patch | 50 +++
 net-misc/kea/kea-2.6.4.ebuild |  1 +
 net-misc/kea/kea-3.0.1.ebuild |  4 +++
 4 files changed, 105 insertions(+)

diff --git a/net-misc/kea/files/kea-2.6.4-boost-1.89.patch 
b/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
new file mode 100644
index ..6675e04f2adf
--- /dev/null
+++ b/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
@@ -0,0 +1,50 @@
+Fixes the build with Boost 1.89
+diff --git a/m4macros/ax_boost_for_kea.m4 b/m4macros/ax_boost_for_kea.m4
+index 996413374a..7d616eb03e 100644
+--- a/m4macros/ax_boost_for_kea.m4
 b/m4macros/ax_boost_for_kea.m4
+@@ -205,7 +205,7 @@ AC_ARG_ENABLE([boost-headers-only],
+  as it may result in non-optimized code on some
+  platforms or introduce runtime errors on others.])],
+ [enable_boost_header="yes"; BOOST_LIBS=""],
+-[BOOST_LIBS="${BOOST_LIBS} -lboost_system"])
++[BOOST_LIBS="${BOOST_LIBS}"])
+ 
+ # BOOST_ERROR_CODE_HEADER_ONLY in versions below Boost 1.56.0 can fail
+ # to find the error_code.cpp file.
+diff --git a/src/lib/asiodns/io_fetch.cc b/src/lib/asiodns/io_fetch.cc
+index 742abc66e9..d87e4abdcc 100644
+--- a/src/lib/asiodns/io_fetch.cc
 b/src/lib/asiodns/io_fetch.cc
+@@ -24,6 +24,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include  // for some IPC/network system calls
+diff --git a/src/lib/asiodns/tests/io_fetch_unittest.cc 
b/src/lib/asiodns/tests/io_fetch_unittest.cc
+index e93e796ae9..c968b45c02 100644
+--- a/src/lib/asiodns/tests/io_fetch_unittest.cc
 b/src/lib/asiodns/tests/io_fetch_unittest.cc
+@@ -21,6 +21,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+diff --git a/src/lib/asiolink/interval_timer.cc 
b/src/lib/asiolink/interval_timer.cc
+index fa0d9e1b67..4ac0b20c7d 100644
+--- a/src/lib/asiolink/interval_timer.cc
 b/src/lib/asiolink/interval_timer.cc
+@@ -12,6 +12,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ 

diff --git a/net-misc/kea/files/kea-3.0.1-boost-1.89.patch 
b/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
new file mode 100644
index ..146762274029
--- /dev/null
+++ b/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
@@ -0,0 +1,50 @@
+Fixes the build with Boost 1.89
+diff --git a/meson.build b/meson.build
+index ab2fa78212..8592196856 100644
+--- a/meson.build
 b/meson.build
+@@ -189,7 +189,7 @@ message(f'Detected system "@SYSTEM@".')
+ 
+  Dependencies
+ 
+-boost_dep = dependency('boost', version: '>=1.66', modules: ['system'])
++boost_dep = dependency('boost', version: '>=1.66')
+ dl_dep = dependency('dl')
+ threads_dep = dependency('threads')
+ add_project_dependencies(boost_dep, dl_dep, threads_dep, language: ['cpp'])
+diff --git a/src/lib/asiodns/io_fetch.cc b/src/lib/asiodns/io_fetch.cc
+index c140676f66..ee2575a884 100644
+--- a/src/lib/asiodns/io_fetch.cc
 b/src/lib/asiodns/io_fetch.cc
+@@ -24,6 +24,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include  // for some IPC/network system calls
+diff --git a/src/lib/asiodns/tests/io_fetch_unittest.cc 
b/src/lib/asiodns/tests/io_fetch_unittest.cc
+index 7b4cd0568e..3d04230f02 100644
+--- a/src/lib/asiodns/tests/io_fetch_unittest.cc
 b/src/lib/asiodns/tests/io_fetch_unittest.cc
+@@ -21,6 +21,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+diff --git a/src/lib/asiolink/interval_timer.cc 
b/src/lib/asiolink/interval_timer.cc
+index fa0d9e1b67..4ac0b20c7d 100644
+--- a/src/lib/asiolink/interval_timer.cc
 b/src/lib/asiolink/interval_timer.cc
+@@ -12,6 +12,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ 

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
index 8bdd2dac0b0b..69d773abd762 100644
--- a/net-misc/kea/kea-2.6.4.ebuild
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -57,6 +57,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
+   "${FILESDIR}"/${P}-boost-1.89.patch
 )
 
 python_check_deps() {

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1.ebuild
index cd42501a703e..8aa33c4f8a08 100644
--- a/net-misc/kea/kea-3.0.1.ebuild
+++ b/net-misc/kea/kea-3.0.1.ebuild
@@ -61,6 +61,10 @@ BDEPEND="
${PYTHON_DEPS

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2025-10-18 Thread Sam James
commit: eb70135df8bc594d704f917374e5d27d9220af5d
Author: Peter Leese  peterleese  org>
AuthorDate: Tue Oct  7 21:12:24 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  8 06:52:28 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb70135d

net-misc/kea: drop 3.0.0

kea 3.0.0 has a security vulnerability so time to remove the ebuild

Bug: https://bugs.gentoo.org/962111
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/44089
Closes: https://github.com/gentoo/gentoo/pull/44089
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest|   1 -
 net-misc/kea/files/kea-3.0.0-strip-doc.patch |  58 --
 net-misc/kea/kea-3.0.0.ebuild| 289 ---
 3 files changed, 348 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index dbcc2ece674a..d67c0053e44a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,5 +1,4 @@
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
 DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18
-DIST kea-3.0.0.tar.xz 6631612 BLAKE2B 
1d08d226b2e8523355c734968032ffa30035b6daebe4b9ce2db45fee887100d54b422f7cb8771d1e7b0b04e0f13329b8ddd03c4e7b81e73bd60f2435623ccd89
 SHA512 
1a01a449907fe5f68c918504aa952d3991fe02d7944a1fc70f13316eb075ca1348e85386d387730347d599c229454b926089300407eae8bce0215b64fef077f2
 DIST kea-3.0.1.tar.xz 6632284 BLAKE2B 
7fc66680ddfd6805cb8eb7480d552c8fbd29416175cb2b81e0ef68436e1a2ed9c94c50e0a7037402e02620ef047a66c8dcafb3d89a6a0d7d552c5d5da04f5755
 SHA512 
84e2164aa91c95b2e6e65994a2327fa1233c82b06af69312f55464119d4edc6151a4662a54f4a3ae83e0487dac7b25c5e59e60bcbed653fd30fb32ae7cacddf3
 DIST kea-manpages-3.0.1.tar.gz 6789 BLAKE2B 
37d79b0be3959cc0b12a4f0a782feb4065a7dffd741551f9ab1edfe1c4c3db0dc4fed24881a9e11fa2aeb214e8b094894f48741a5823e13d78fb41837adf0975
 SHA512 
4930173e93a8ae7ac0a933a8d82a1c90f79321365bf02f3995d8ef0496bddf4f611cf2d23c806ecee5017e7b98c2799d0d3ac00a66535be35898f89cd3f75f86

diff --git a/net-misc/kea/files/kea-3.0.0-strip-doc.patch 
b/net-misc/kea/files/kea-3.0.0-strip-doc.patch
deleted file mode 100644
index 93764e1a01f7..
--- a/net-misc/kea/files/kea-3.0.0-strip-doc.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-To build man pages we need to invoke meson, but this also builds the html which
-we don't want if doc flag is not set, so patch make & install and remove
-html & pdf generation
-
 a/doc/sphinx/install-docs.sh.in
-+++ b/doc/sphinx/install-docs.sh.in
-@@ -22,11 +22,5 @@
- docdir="${target_path}/@docdir@"
- mandir8="${target_path}/@mandir8@"
- 
--mkdir -p "${docdir}/html"
--cp -r '@abs_sphinxbuilddir@/html'/* "${docdir}/html"
--if test '@HAVE_PDFLATEX@' != 'no'; then
--@INSTALL@ -c -m 644 @abs_sphinxbuilddir@/latex/kea-arm.pdf "${docdir}"
--@INSTALL@ -c -m 644 @abs_sphinxbuilddir@/latex/kea-messages.pdf 
"${docdir}"
--fi
- mkdir -p "${mandir8}"
- @INSTALL@ -c -m 644 @abs_sphinxbuilddir@/man/*.8 "${mandir8}"
 a/doc/sphinx/make-doc.sh.in
-+++ b/doc/sphinx/make-doc.sh.in
-@@ -15,26 +15,7 @@
- rm -f '@srcdir@/arm/platforms.rst'
- cp '@TOP_SOURCE_DIR@/platforms.rst' '@srcdir@/arm/platforms.rst'
- 
--# html
--@SPHINXBUILD@ -M html @srcdir@ @sphinxbuilddir@ @sphinxopts@
--
--# singlehtml
--@SPHINXBUILD@ -M singlehtml @srcdir@ @sphinxbuilddir@ @sphinxopts@
--
--# text
--@SPHINXBUILD@ -M text @srcdir@ @sphinxbuilddir@ @sphinxopts@
- 
- # mans
- @SPHINXBUILD@ -M man @srcdir@ @sphinxbuilddir@ @sphinxopts@
- 
--# pdf
--if test '@HAVE_PDFLATEX@' != 'no'; then
--@SPHINXBUILD@ -M latex @srcdir@ @sphinxbuilddir@ @sphinxopts@
--cd '@abs_sphinxbuilddir@/latex'
--@PDFLATEX_AND_OPTS@ kea-arm.tex
--makeindex -s python.ist kea-arm.idx
--@PDFLATEX_AND_OPTS@ kea-arm.tex
--@PDFLATEX_AND_OPTS@ kea-messages.tex
--makeindex -s python.ist kea-messages.idx
--@PDFLATEX_AND_OPTS@ kea-messages.tex
--fi
 a/doc/sphinx/meson.build
-+++ b/doc/sphinx/meson.build
-@@ -145,8 +145,6 @@
- )
- 
- run_target('doc', command: [make_doc])
--run_target('mes-doc', command: [make_mes_doc])
--run_target('uml', command: [make_uml])
- run_target(
- 'update-python-dependencies',
- command: [make_update_python_dependencies],

diff --git a/net-misc/kea/kea-3.0.0.ebuild b/net-misc/kea/kea-3.0.0.ebuild
deleted file mode 100644
index bed33f18bcb4..
--- a/net-misc/kea/kea-3.0.0.ebuild
+++ /dev/null
@@ -1,289 +0,0 @@
-# Copyright 1999-2025 Gentoo Auth

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/

2025-10-18 Thread Sam James
commit: afed8f28deee7a260997673a18675420299dd038
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 12 11:35:34 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 12 11:35:47 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afed8f28

net-misc/kea: add references to boost-1.89 patches

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/files/kea-2.6.4-boost-1.89.patch | 1 +
 net-misc/kea/files/kea-3.0.1-boost-1.89.patch | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/net-misc/kea/files/kea-2.6.4-boost-1.89.patch 
b/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
index 6675e04f2adf..b35570054187 100644
--- a/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
+++ b/net-misc/kea/files/kea-2.6.4-boost-1.89.patch
@@ -1,3 +1,4 @@
+https://bugs.gentoo.org/963975
 Fixes the build with Boost 1.89
 diff --git a/m4macros/ax_boost_for_kea.m4 b/m4macros/ax_boost_for_kea.m4
 index 996413374a..7d616eb03e 100644

diff --git a/net-misc/kea/files/kea-3.0.1-boost-1.89.patch 
b/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
index 146762274029..76b427430e8f 100644
--- a/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
+++ b/net-misc/kea/files/kea-3.0.1-boost-1.89.patch
@@ -1,3 +1,6 @@
+https://bugs.gentoo.org/963749
+https://gitlab.isc.org/isc-projects/kea/-/issues/4085
+https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2771
 Fixes the build with Boost 1.89
 diff --git a/meson.build b/meson.build
 index ab2fa78212..8592196856 100644



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-10-17 Thread Sam James
commit: b081acaa3d5e6676150f64820063e95375d4a655
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct  9 20:44:05 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  9 20:44:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b081acaa

net-misc/kea: Stabilize 2.6.4 arm, #963980

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
index 85aeedd3d356..13df384b193d 100644
--- a/net-misc/kea/kea-2.6.4.ebuild
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-10-17 Thread Sam James
commit: 24bba81bb6eb4bb7853632bbe3088c2355802e5c
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct  9 20:44:08 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  9 20:44:08 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24bba81b

net-misc/kea: Stabilize 2.6.4 amd64, #963980

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
index a48a2d426b78..8bdd2dac0b0b 100644
--- a/net-misc/kea/kea-2.6.4.ebuild
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 arm arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-09-07 Thread Sam James
commit: 8078688abb58c9301fc88dcedef32e5549c5f499
Author: Peter Leese  peterleese  org>
AuthorDate: Wed Sep  3 06:20:06 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  6 14:29:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8078688a

net-misc/kea: Stop old kea service on upgrade to >= 3.0

Add pkg_preinst to stop previous kea service, if we are using openrc and
the previous version is < 1.3. Unfortunately there is no simple and fool
proof way to re-instate the services using the new init skeleton without user
intervention and if we don't stop the old service first the user
will find it hard to do post install.

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43614
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.1.ebuild | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1.ebuild
index 387feda88fe8..79d8c16602f1 100644
--- a/net-misc/kea/kea-3.0.1.ebuild
+++ b/net-misc/kea/kea-3.0.1.ebuild
@@ -261,6 +261,21 @@ src_install() {
fperms 750 /var/lib/${PN} /var/log/${PN}
 }
 
+pkg_preinst() {
+   if ver_replacing -lt 3.0; then
+   if [[ ${ROOT} ]]; then
+   return
+   elif [[ -d /run/openrc ]]; then
+   # There is no easy way to automatically switch to new 
init.d kea scripts, so we have to stop the
+   # old kea service if running otherwise the user will 
find it is not possible stop the old kea
+   # service post install
+   ebegin "Previous kea service will be stopped"
+   rc-service -q --ifstarted --nodeps kea stop
+   eend $?
+   fi
+   fi
+}
+
 pkg_postinst() {
tmpfiles_process ${PN}.conf
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-09-07 Thread Sam James
commit: 98979ea97a7ce6a93d46418421be09443c4afbcb
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  6 14:45:46 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  6 14:46:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98979ea9

Revert "net-misc/kea: Stop old kea service on upgrade to >= 3.0"

This reverts commit 8078688abb58c9301fc88dcedef32e5549c5f499.

I thought about it some more and I think it goes against the principle
of least astonishment, even if I think it's well-intentioned and not
a bad idea. I think it's better to let users kill it than stop it
(and not start it again).

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.1.ebuild | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1.ebuild
index f20e465cd90f..cd42501a703e 100644
--- a/net-misc/kea/kea-3.0.1.ebuild
+++ b/net-misc/kea/kea-3.0.1.ebuild
@@ -268,21 +268,6 @@ src_install() {
fperms 750 /var/lib/${PN} /var/log/${PN}
 }
 
-pkg_preinst() {
-   if ver_replacing -lt 3.0; then
-   if [[ ${ROOT} ]]; then
-   return
-   elif [[ -d /run/openrc ]]; then
-   # There is no easy way to automatically switch to new 
init.d kea scripts, so we have to stop the
-   # old kea service if running otherwise the user will 
find it is not possible stop the old kea
-   # service post install
-   ebegin "Previous kea service will be stopped"
-   rc-service -q --ifstarted --nodeps kea stop
-   eend $?
-   fi
-   fi
-}
-
 pkg_postinst() {
tmpfiles_process ${PN}.conf
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-09-06 Thread Sam James
commit: 534b25d050fe953038ee2a96cd031fc1112e89a6
Author: Peter Leese  peterleese  org>
AuthorDate: Fri Sep  5 21:35:48 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  6 14:29:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534b25d0

net-misc/kea: Add kerberos use flag

Kea 3.0 supports krb5 so add associated build use flag

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43614
Closes: https://github.com/gentoo/gentoo/pull/43614
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-3.0.1.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1.ebuild
index 79d8c16602f1..f20e465cd90f 100644
--- a/net-misc/kea/kea-3.0.1.ebuild
+++ b/net-misc/kea/kea-3.0.1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="MPL-2.0"
 SLOT="0"
-IUSE="debug doc mysql +openssl postgres shell test"
+IUSE="debug doc kerberos mysql +openssl postgres shell test"
 
 REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
@@ -30,6 +30,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
>=dev-libs/boost-1.66:=
dev-libs/log4cplus:=
+   kerberos? ( virtual/krb5 )
mysql? (
app-arch/zstd:=
dev-db/mysql-connector-c:=
@@ -112,7 +113,7 @@ src_configure() {
local emesonargs=(
--localstatedir="${EPREFIX}/var"
-Drunstatedir="${EPREFIX}/run"
-   -Dkrb5=disabled
+   $(meson_feature kerberos krb5)
-Dnetconf=disabled
-Dcrypto=$(usex openssl openssl botan)
$(meson_feature mysql)
@@ -179,6 +180,12 @@ src_test() {
)
fi
 
+   if use kerberos; then
+   SKIP_TESTS+=(
+   ddns-gss-tsig-tests
+   )
+   fi
+
if [[ $(tc-get-ptr-size) -eq 4 ]]; then
# see https://bugs.gentoo.org/958171 for reason for skipping 
these tests
SKIP_TESTS+=(



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-09-06 Thread Sam James
commit: f8c061ec54baf1661c1bd57e7b64ada89bd5729c
Author: Peter Leese  peterleese  org>
AuthorDate: Sat Aug 30 19:55:55 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  6 14:29:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c061ec

net-misc/kea: add 3.0.1

bump version, plus include pre-built man pages to make dependency on sphinx
only dependent on the doc use flag.

Bug: https://bugs.gentoo.org/962111
Closes: https://bugs.gentoo.org/962050
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43614
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest |   2 +
 net-misc/kea/kea-3.0.1.ebuild | 296 ++
 2 files changed, 298 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index eee6ab6179f9..dbcc2ece674a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,5 @@
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
 DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18
 DIST kea-3.0.0.tar.xz 6631612 BLAKE2B 
1d08d226b2e8523355c734968032ffa30035b6daebe4b9ce2db45fee887100d54b422f7cb8771d1e7b0b04e0f13329b8ddd03c4e7b81e73bd60f2435623ccd89
 SHA512 
1a01a449907fe5f68c918504aa952d3991fe02d7944a1fc70f13316eb075ca1348e85386d387730347d599c229454b926089300407eae8bce0215b64fef077f2
+DIST kea-3.0.1.tar.xz 6632284 BLAKE2B 
7fc66680ddfd6805cb8eb7480d552c8fbd29416175cb2b81e0ef68436e1a2ed9c94c50e0a7037402e02620ef047a66c8dcafb3d89a6a0d7d552c5d5da04f5755
 SHA512 
84e2164aa91c95b2e6e65994a2327fa1233c82b06af69312f55464119d4edc6151a4662a54f4a3ae83e0487dac7b25c5e59e60bcbed653fd30fb32ae7cacddf3
+DIST kea-manpages-3.0.1.tar.gz 6789 BLAKE2B 
37d79b0be3959cc0b12a4f0a782feb4065a7dffd741551f9ab1edfe1c4c3db0dc4fed24881a9e11fa2aeb214e8b094894f48741a5823e13d78fb41837adf0975
 SHA512 
4930173e93a8ae7ac0a933a8d82a1c90f79321365bf02f3995d8ef0496bddf4f611cf2d23c806ecee5017e7b98c2799d0d3ac00a66535be35898f89cd3f75f86

diff --git a/net-misc/kea/kea-3.0.1.ebuild b/net-misc/kea/kea-3.0.1.ebuild
new file mode 100644
index ..387feda88fe8
--- /dev/null
+++ b/net-misc/kea/kea-3.0.1.ebuild
@@ -0,0 +1,296 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="
+   https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz
+   !doc? ( 
https://codeberg.org/peter1010/kea-manpages/archive/kea-manpages-${PV}.tar.gz )
+   "
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE="debug doc mysql +openssl postgres shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   >=dev-libs/boost-1.66:=
+   dev-libs/log4cplus:=
+   mysql? (
+   app-arch/zstd:=
+   dev-db/mysql-connector-c:=
+   dev-libs/openssl:=
+   sys-libs/zlib:=
+   )
+   !openssl? ( dev-libs/botan:3=[boost] )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp
+"
+BDEPEND="
+   >=dev-build/meson-1.8
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   ')
+   )
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+
+python_check_deps() {
+   use doc || return 0;
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix up all doc paths, whether or not we are installing full set of 
docs
+   sed -e "s:'doc/kea':'doc/${PF}':" \
+   -i meson.build || die
+   sed -e "s:'share/doc/kea':'share/doc/${PF}':" \
+   -i doc/meson.build || die
+   sed 

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-08-23 Thread Sam James
commit: 82f6d7aee9333638c867541f86ad10fe1d0168d6
Author: Peter Leese  peterleese  org>
AuthorDate: Fri Aug 22 21:57:20 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 23 07:33:10 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82f6d7ae

net-misc/kea: update maintainers

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43534
Closes: https://github.com/gentoo/gentoo/pull/43534
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/metadata.xml | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml
index 11b5b7eda1ce..0fc904003924 100644
--- a/net-misc/kea/metadata.xml
+++ b/net-misc/kea/metadata.xml
@@ -1,10 +1,19 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   [email protected]
+   Peter Leese
+   
+   
+   [email protected]
+   Proxy Maintainers
+   

Use dev-libs/openssl instead of 
dev-libs/botan
Install kea-shell text management client for 
Control Agent
+   Add interface to MySQL for lease, host 
reservations and/or server config
+   Add interface to PostgreSQL for lease, 
host reservations and/or server config



https://gitlab.isc.org/isc-projects/kea/-/issues



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2025-08-20 Thread Sam James
commit: 343dd455206377eabcc66809abe255abdc751f56
Author: Peter Leese  peterleese  org>
AuthorDate: Fri Aug  8 20:54:18 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 21 01:01:29 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343dd455

net-misc/kea: use a skeleton for kea services

Add new init & conf scripts provided by Nicolas PARLANT  
parhuet.fr>

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43307
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/files/kea-confd-r3 |  8 +
 net-misc/kea/files/kea-initd-r3 | 76 +
 net-misc/kea/kea-3.0.0.ebuild   | 24 +++--
 3 files changed, 105 insertions(+), 3 deletions(-)

diff --git a/net-misc/kea/files/kea-confd-r3 b/net-misc/kea/files/kea-confd-r3
new file mode 100644
index ..a8844bae730b
--- /dev/null
+++ b/net-misc/kea/files/kea-confd-r3
@@ -0,0 +1,8 @@
+# KEA_SVC must be defined here!
+# Available values: dhcp4 dhcp6 dhcp-ddns ctrl-agent
+KEA_SVC="@KEA_SVC@"
+
+#KEA_USER=dhcp
+#KEA_GROUP=dhcp
+#KEA_CONFIG=/etc/kea/kea-@[email protected]
+#KEA_PIDFILE=/run/kea/kea-@[email protected]@[email protected]

diff --git a/net-misc/kea/files/kea-initd-r3 b/net-misc/kea/files/kea-initd-r3
new file mode 100644
index ..d499c6c193d9
--- /dev/null
+++ b/net-misc/kea/files/kea-initd-r3
@@ -0,0 +1,76 @@
+#!/sbin/openrc-run
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+: ${KEA_USER:=dhcp}
+: ${KEA_GROUP:=dhcp}
+: ${KEA_CONFIG:=/etc/kea/${RC_SVCNAME}.conf}
+: ${KEA_PIDFILE:=/run/kea/${RC_SVCNAME}.kea-${KEA_SVC}.pid}
+
+description="kea ${KEA_SVC} services"
+command="/usr/sbin/kea-${KEA_SVC}"
+command_args="-c ${KEA_CONFIG}"
+command_user="${KEA_USER}:${KEA_GROUP}"
+pidfile="${KEA_PIDFILE}"
+required_files="${KEA_CONFIG}"
+start_stop_daemon_args="--background"
+
+extra_commands="check_kea_svc checkconfig"
+extra_started_commands="reload"
+
+check_kea_svc() {
+   if [ "${RC_SVCNAME}" = "kea" ]; then
+   eerror "You are not supposed to run this script directly."
+   eerror "Create a symlink for the kea service you want to run."
+   eerror "Symlinks should have been created during installation."
+   return 1
+   fi
+
+   case "${KEA_SVC}" in
+   dhcp4)
+   capabilities="^cap_net_bind_service,^cap_net_raw"
+   ;;
+   dhcp6|dhcp-ddns)
+   capabilities="^cap_net_bind_service"
+   ;;
+   ctrl-agent)
+   ;;
+   *)
+   eerror "KEA_SVC is undefined or invalid!"
+   eerror "It should be defined in /etc/conf.d/${RC_SVCNAME}"
+   return 1
+   ;;
+   esac
+}
+
+checkconfig() {
+   ${command} -t ${KEA_CONFIG} 1>/dev/null 2>/dev/null || return 1
+}
+
+reload() {
+   checkconfig || return 1
+   ebegin "Reloading ${RC_SVCNAME}"
+   start-stop-daemon --signal HUP --pidfile ${pidfile}
+   eend $?
+}
+
+start_pre() {
+   check_kea_svc || return 1
+
+   if [ $(stat -c "%U:%G" ${KEA_CONFIG}) != "root:${KEA_GROUP}" ] ; then
+   eerror "${KEA_CONFIG} config file is not owned by 
root:${KEA_GROUP}"
+   eerror "you should reset the ownership:"
+   eerror "chown root:${KEA_GROUP} ${KEA_CONFIG}"
+   return 1
+   fi
+
+   if [ "${RC_CMD}" != "restart" ]; then
+   checkconfig || return 1
+   fi
+}
+
+stop_pre() {
+   if [ "${RC_CMD}" != "restart" ]; then
+   checkconfig || return 1
+   fi
+}

diff --git a/net-misc/kea/kea-3.0.0.ebuild b/net-misc/kea/kea-3.0.0.ebuild
index 182dbd12d0d8..bed33f18bcb4 100644
--- a/net-misc/kea/kea-3.0.0.ebuild
+++ b/net-misc/kea/kea-3.0.0.ebuild
@@ -9,7 +9,7 @@ inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles 
toolchain-funcs
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-if [[ ${PV} == ** ]]; then
+if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
@@ -232,8 +232,15 @@ src_install() {
 
fowners -R root:dhcp /etc/${PN}
 
-   newconfd "${FILESDIR}"/${PN}-confd-r2 ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd-r2 ${PN}
+   # Install a conf per service and a linked init script per service
+   newinitd "${FILESDIR}"/${PN}-initd-r3 ${PN}
+   local svc
+   for svc in dhcp4 dhcp6 dhcp-ddns ctrl-agent; do
+   newconfd "${FILESDIR}"/${PN}-confd-r3 kea-${svc}
+   sed -e "s:@KEA_SVC@:${svc}:g" \
+   -i "${ED}"/etc/conf.d/kea-${svc} || die
+   dosym kea "${EPREFIX}"/etc/init.d/kea-${svc}
+   done
 
systemd_newunit "${FILESDIR}"/${PN}-ctrl-agent.service-r2 
${PN}-ctrl-agent.service
systemd_newunit "${FILESDIR}"/${PN}-dhcp-ddns.service-r2 
${PN}-

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2025-08-20 Thread Sam James
commit: 184877b01fd79cd7b2fd5093b09edd3c46f7e2b1
Author: Peter Leese  peterleese  org>
AuthorDate: Sun Aug  3 22:27:08 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 21 01:01:28 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184877b0

net-misc/kea: add 3.0.0

Bug: https://bugs.gentoo.org/960312
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43307
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest|   1 +
 net-misc/kea/files/kea-3.0.0-strip-doc.patch |  58 ++
 net-misc/kea/kea-3.0.0.ebuild| 271 +++
 3 files changed, 330 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 7df985e17e38..eee6ab6179f9 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
 DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18
+DIST kea-3.0.0.tar.xz 6631612 BLAKE2B 
1d08d226b2e8523355c734968032ffa30035b6daebe4b9ce2db45fee887100d54b422f7cb8771d1e7b0b04e0f13329b8ddd03c4e7b81e73bd60f2435623ccd89
 SHA512 
1a01a449907fe5f68c918504aa952d3991fe02d7944a1fc70f13316eb075ca1348e85386d387730347d599c229454b926089300407eae8bce0215b64fef077f2

diff --git a/net-misc/kea/files/kea-3.0.0-strip-doc.patch 
b/net-misc/kea/files/kea-3.0.0-strip-doc.patch
new file mode 100644
index ..93764e1a01f7
--- /dev/null
+++ b/net-misc/kea/files/kea-3.0.0-strip-doc.patch
@@ -0,0 +1,58 @@
+To build man pages we need to invoke meson, but this also builds the html which
+we don't want if doc flag is not set, so patch make & install and remove
+html & pdf generation
+
+--- a/doc/sphinx/install-docs.sh.in
 b/doc/sphinx/install-docs.sh.in
+@@ -22,11 +22,5 @@
+ docdir="${target_path}/@docdir@"
+ mandir8="${target_path}/@mandir8@"
+ 
+-mkdir -p "${docdir}/html"
+-cp -r '@abs_sphinxbuilddir@/html'/* "${docdir}/html"
+-if test '@HAVE_PDFLATEX@' != 'no'; then
+-@INSTALL@ -c -m 644 @abs_sphinxbuilddir@/latex/kea-arm.pdf "${docdir}"
+-@INSTALL@ -c -m 644 @abs_sphinxbuilddir@/latex/kea-messages.pdf 
"${docdir}"
+-fi
+ mkdir -p "${mandir8}"
+ @INSTALL@ -c -m 644 @abs_sphinxbuilddir@/man/*.8 "${mandir8}"
+--- a/doc/sphinx/make-doc.sh.in
 b/doc/sphinx/make-doc.sh.in
+@@ -15,26 +15,7 @@
+ rm -f '@srcdir@/arm/platforms.rst'
+ cp '@TOP_SOURCE_DIR@/platforms.rst' '@srcdir@/arm/platforms.rst'
+ 
+-# html
+-@SPHINXBUILD@ -M html @srcdir@ @sphinxbuilddir@ @sphinxopts@
+-
+-# singlehtml
+-@SPHINXBUILD@ -M singlehtml @srcdir@ @sphinxbuilddir@ @sphinxopts@
+-
+-# text
+-@SPHINXBUILD@ -M text @srcdir@ @sphinxbuilddir@ @sphinxopts@
+ 
+ # mans
+ @SPHINXBUILD@ -M man @srcdir@ @sphinxbuilddir@ @sphinxopts@
+ 
+-# pdf
+-if test '@HAVE_PDFLATEX@' != 'no'; then
+-@SPHINXBUILD@ -M latex @srcdir@ @sphinxbuilddir@ @sphinxopts@
+-cd '@abs_sphinxbuilddir@/latex'
+-@PDFLATEX_AND_OPTS@ kea-arm.tex
+-makeindex -s python.ist kea-arm.idx
+-@PDFLATEX_AND_OPTS@ kea-arm.tex
+-@PDFLATEX_AND_OPTS@ kea-messages.tex
+-makeindex -s python.ist kea-messages.idx
+-@PDFLATEX_AND_OPTS@ kea-messages.tex
+-fi
+--- a/doc/sphinx/meson.build
 b/doc/sphinx/meson.build
+@@ -145,8 +145,6 @@
+ )
+ 
+ run_target('doc', command: [make_doc])
+-run_target('mes-doc', command: [make_mes_doc])
+-run_target('uml', command: [make_uml])
+ run_target(
+ 'update-python-dependencies',
+ command: [make_update_python_dependencies],

diff --git a/net-misc/kea/kea-3.0.0.ebuild b/net-misc/kea/kea-3.0.0.ebuild
new file mode 100644
index ..182dbd12d0d8
--- /dev/null
+++ b/net-misc/kea/kea-3.0.0.ebuild
@@ -0,0 +1,271 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE="debug doc mysql +openssl postgres shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+  

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-08-20 Thread Sam James
commit: a92d2ce398144e52159b3e056add09fc8a82247e
Author: Peter Leese  peterleese  org>
AuthorDate: Fri Aug  8 20:58:42 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 21 01:01:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92d2ce3

net-misc/kea: add 

Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43307
Closes: https://github.com/gentoo/gentoo/pull/43307
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-.ebuild | 291 +++
 1 file changed, 291 insertions(+)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
new file mode 100644
index ..913694959e1d
--- /dev/null
+++ b/net-misc/kea/kea-.ebuild
@@ -0,0 +1,291 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit eapi9-ver flag-o-matic meson python-r1 systemd tmpfiles toolchain-funcs
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE="debug doc mysql +openssl postgres shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   >=dev-libs/boost-1.66:=
+   dev-libs/log4cplus:=
+   mysql? (
+   app-arch/zstd:=
+   dev-db/mysql-connector-c:=
+   dev-libs/openssl:=
+   sys-libs/zlib:=
+   )
+   !openssl? ( dev-libs/botan:3=[boost] )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp
+"
+BDEPEND="
+   >=dev-build/meson-1.8
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   ')
+   )
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+
+python_check_deps() {
+   use doc || return 0;
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix up all doc paths, whether or not we are installing full set of 
docs
+   sed -e "s:'doc/kea':'doc/${PF}':" \
+   -i meson.build || die
+   sed -e "s:'share/doc/kea':'share/doc/${PF}':" \
+   -i doc/meson.build || die
+   sed -e "s:'doc/kea':'doc/${PF}':" \
+   -i doc/sphinx/meson.build || die
+   sed -e "s:share/doc/kea/:share/doc/${PF}/:" \
+   -i doc/sphinx/arm/install.rst || die
+   sed -e "s:share/doc/kea/examples:share/doc/${PF}/examples:" \
+   -i doc/sphinx/arm/config.rst || die
+
+   # set shebang before meson whether or not we are installing the shell
+   sed -e 's:^#!@PYTHON@:#!/usr/bin/env python3:' \
+   -i src/bin/shell/kea-shell.in || die
+
+   # Don't allow meson to install shell, we shall do that if required
+   sed -e 's:install\: true:install\: false:' \
+   -i src/bin/shell/meson.build || die
+
+   # do not create /run
+   sed -e '/^install_emptydir(RUNSTATEDIR)$/d' \
+   -i meson.build || die
+}
+
+src_configure() {
+   # https://bugs.gentoo.org/861617
+   # https://gitlab.isc.org/isc-projects/kea/-/issues/3946
+   #
+   # Kea Devs say no to LTO
+   filter-lto
+
+   if use !openssl; then
+   append-cxxflags -std=c++20
+   fi
+
+   local emesonargs=(
+   --localstatedir="${EPREFIX}/var"
+   -Drunstatedir="${EPREFIX}/run"
+   -Dkrb5=disabled
+   -Dnetconf=disabled
+   -Dcrypto=$(usex openssl openssl botan)
+   $(meson_feature mysql)
+   $(meson_feature postgres postgresql)
+   $(meson_feature test tests)
+   )
+   if use debug; then
+   emesonargs+=(
+   --debug
+   )
+   fi
+   meson_src_configure
+}
+
+src_compile() {
+   meson_src_compile
+
+   # Note: If you want man pages doc use has to be set. This may change
+   # in the future and be like 2.6.3 where man pages were part of the 
release tarball
+   use doc && meson_src_compile doc
+}
+
+src_test() {
+   # Get list of all test suites into an associative array
+   # the meson test --list returns either "kea / test_su

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2025-07-27 Thread Sam James
commit: ba1d52b1fe6f433182072d6f4fb8b1041d1c880a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 27 07:36:59 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 27 07:36:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1d52b1

net-misc/kea: drop 2.4.1

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest   |   1 -
 net-misc/kea/files/ax_gtest.m4  |  19 --
 net-misc/kea/files/kea-confd-r1 |  10 -
 net-misc/kea/files/kea-ctrl-agent.conf  |  99 ---
 net-misc/kea/files/kea-ctrl-agent.service   |  19 --
 net-misc/kea/files/kea-ddns-server.conf |  76 -
 net-misc/kea/files/kea-ddns-server.service  |  18 --
 net-misc/kea/files/kea-dhcp4-server.service |  18 --
 net-misc/kea/files/kea-dhcp4.conf   | 401 --
 net-misc/kea/files/kea-dhcp6-server.service |  18 --
 net-misc/kea/files/kea-dhcp6.conf   | 420 
 net-misc/kea/files/kea-initd-r1 |  90 --
 net-misc/kea/kea-2.4.1.ebuild   | 149 --
 net-misc/kea/metadata.xml   |   1 -
 14 files changed, 1339 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index c96e0d961979..7df985e17e38 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 
21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6
 SHA512 
b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
 DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18

diff --git a/net-misc/kea/files/ax_gtest.m4 b/net-misc/kea/files/ax_gtest.m4
deleted file mode 100644
index 7f7d0bb7aa65..
--- a/net-misc/kea/files/ax_gtest.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-AC_DEFUN([AX_ISC_GTEST], [
-
-USE_LCOV="no"
-AC_SUBST(USE_LCOV)
-
-DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
-PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested but not 
found])])
-GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
-GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
-GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
-
-AM_CONDITIONAL(HAVE_GTEST, test $enable_gtest != "no")
-AM_CONDITIONAL(HAVE_GTEST_SOURCE, test "X$have_gtest_source" = "Xyes")
-AC_SUBST(DISTCHECK_GTEST_CONFIGURE_FLAG)
-AC_SUBST(GTEST_INCLUDES)
-AC_SUBST([GTEST_LDADD], [$GTEST_LIBS])
-AC_SUBST(GTEST_SOURCE)
-
-])dnl AX_ISC_GTEST

diff --git a/net-misc/kea/files/kea-confd-r1 b/net-misc/kea/files/kea-confd-r1
deleted file mode 100644
index ef7b2f49dd9d..
--- a/net-misc/kea/files/kea-confd-r1
+++ /dev/null
@@ -1,10 +0,0 @@
-# Which services should be taken into account?
-DHCP4="true"
-DHCP6="false"
-DDNS="false"
-
-# Define your config files here. Otherwise we default to files in /etc/kea
-# (see init script)
-#DHCP4_CONFIG="/etc/kea/dhcp4.conf"
-#DHCP6_CONFIG="/etc/kea/dhcp6.conf"
-#DDNS_CONFIG="/etc/kea/ddns.conf"

diff --git a/net-misc/kea/files/kea-ctrl-agent.conf 
b/net-misc/kea/files/kea-ctrl-agent.conf
deleted file mode 100644
index ab74123d21a9..
--- a/net-misc/kea/files/kea-ctrl-agent.conf
+++ /dev/null
@@ -1,99 +0,0 @@
-// This is a basic configuration for the Kea Control Agent.
-//
-// This is just a very basic configuration. Kea comes with large suite (over 
30)
-// of configuration examples and extensive Kea User's Guide. Please refer to
-// those materials to get better understanding of what this software is able to
-// do. Comments in this configuration file sometimes refer to sections for more
-// details. These are section numbers in Kea User's Guide. The version matching
-// your software should come with your Kea package, but it is also available
-// in ISC's Knowledgebase (https://kea.readthedocs.io; the direct link for
-// the stable version is https://kea.readthedocs.io/).
-//
-// This configuration file contains only Control Agent's configuration.
-// If configurations for other Kea services are also included in this file they
-// are ignored by the Control Agent.
-{
-
-// This is a basic configuration for the Kea Control Agent.
-// RESTful interface to be available at http://127.0.0.1:8000/
-"Control-agent": {
-"http-host": "127.0.0.1",
-"http-po

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-07-26 Thread Sam James
commit: 0503f13dd77623e7b90ff4886ef7fde8448ecc00
Author: Peter Leese  peterleese  org>
AuthorDate: Wed Jul 23 06:26:13 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 26 21:32:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0503f13d

net-misc/kea: keyword 2.6.4 for ~arm

Bug: https://bugs.gentoo.org/958171
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43074
Closes: https://github.com/gentoo/gentoo/pull/43074
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.6.4.ebuild | 19 +--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
index b52c810909cc..85aeedd3d356 100644
--- a/net-misc/kea/kea-2.6.4.ebuild
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
-inherit autotools eapi9-ver flag-o-matic python-r1 systemd tmpfiles
+inherit autotools eapi9-ver flag-o-matic python-r1 systemd tmpfiles 
toolchain-funcs
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
@@ -14,7 +14,7 @@ if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"
@@ -171,6 +171,21 @@ src_test() {
Dhcpv*SrvTest.checkConfigFiles
)
 
+   if [ $(tc-get-ptr-size) -eq 4 ]; then
+   # see https://bugs.gentoo.org/958171 for reason for skipping 
these tests
+   GTEST_SKIP_TESTS+=(
+   BigintTest.int128
+   BigintTest.uint128
+   ThreadPoolTest.wait
+   LibDhcpTest.splitOptionNoBufferMultiThreading
+   LibDhcpTest.splitOptionOneByteLeftBufferMultiThreading
+   
LibDhcpTest.splitOptionWithSuboptionAtLimitMultiThreading
+   LibDhcpTest.splitLongOptionMultiThreading
+   
LibDhcpTest.splitOptionWithSuboptionWhichOverflowMultiThreading
+   
LibDhcpTest.splitLongOptionWithLongSuboptionMultiThreading
+   )
+   fi
+
local -x GTEST_FILTER
[[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="-$( IFS=':'; echo 
"${GTEST_SKIP_TESTS[*]}")"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-07-26 Thread Sam James
commit: 09940bb9388d1b01cdd8ffd6bd03d338ff581665
Author: Peter Leese  peterleese  org>
AuthorDate: Sat Jul 19 20:34:34 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 26 21:32:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09940bb9

net-misc/kea: add 2.6.4

Bug: https://bugs.gentoo.org/960312
Signed-off-by: Peter Leese  peterleese.org>
Part-of: https://github.com/gentoo/gentoo/pull/43074
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest |   1 +
 net-misc/kea/kea-2.6.4.ebuild | 253 ++
 2 files changed, 254 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index a52653a425a3..c96e0d961979 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 
21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6
 SHA512 
b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224
 DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a
+DIST kea-2.6.4.tar.gz 10498705 BLAKE2B 
491a73dd0d4f7ffc068642d14a597158b70a5e6042967fd1f367f3269dd84bc4f1526b4158c7da8a474e385528b74985ac542c1591c458c6a0df42fc627b612d
 SHA512 
f4dce03a30ba5c0a1a0d97730d70876188fb7d165e8f67cf4df906cdf157049d651d0a38b3a01f33e5b0ac7b9e8b5b479543e06c89da197d6ef9d0937a18

diff --git a/net-misc/kea/kea-2.6.4.ebuild b/net-misc/kea/kea-2.6.4.ebuild
new file mode 100644
index ..b52c810909cc
--- /dev/null
+++ b/net-misc/kea/kea-2.6.4.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit autotools eapi9-ver flag-o-matic python-r1 systemd tmpfiles
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
+   KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE="debug doc mysql +openssl postgres shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   >=dev-libs/boost-1.66:=
+   dev-libs/log4cplus:=
+   mysql? (
+   app-arch/zstd:=
+   dev-db/mysql-connector-c:=
+   dev-libs/openssl:=
+   sys-libs/zlib:=
+   )
+   !openssl? ( dev-libs/botan:2=[boost] )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp
+"
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   ')
+   )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
+)
+
+python_check_deps() {
+   use doc || return 0;
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   if use doc || use shell; then
+   python_setup
+   fi
+}
+
+src_prepare() {
+   default
+
+   # set shebang before autotools
+   if use shell; then
+   sed -e 's:^#!@PYTHON@:#!/usr/bin/env python3:' \
+   -i src/bin/shell/kea-shell.in || die
+   fi
+
+   # fix gtest detection
+   sed -e "s:dir/lib/:dir/$(get_libdir)/:" \
+   -i m4macros/ax_gtest.m4 || die
+
+   # skip shell tests that fail to launch daemon in sandbox
+   # may fail to find a suitable interface for generating a DUID-LLT
+   sed -e '/TESTS += $(SHTESTS)$/d' \
+   -i src/bin/dhcp4/tests/Makefile.am \
+   -i src/bin/dhcp6/tests/Makefile.am || die
+   sed -e '/TESTS = $(SHTESTS)$/d' \
+   -i src/bin/keactrl/tests/Makefile.am || die
+
+   # skip shell tests that require a running instance of MySQL
+   if use mysql; then
+   sed -e "/SHTESTS += mysql_tests.sh$/d" \
+   -i src/bin/admin/tests/Makefile.am || die
+   fi
+
+   # skip shell tests that require a running instance of PgSQL
+   if use postgres; then
+   sed -e "/SHTESTS += pgsql_tests.sh$/d" 

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-07-20 Thread Sam James
commit: 92d0020dd8e0275febac6c0ddc49febd7e5b54d7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 20 15:51:04 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 20 15:51:04 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d0020d

net-misc/kea: Stabilize 2.6.3 amd64, #960461

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-2.6.3.ebuild b/net-misc/kea/kea-2.6.3.ebuild
index b52c810909cc..18c32a0da155 100644
--- a/net-misc/kea/kea-2.6.3.ebuild
+++ b/net-misc/kea/kea-2.6.3.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="https://downloads.isc.org/isc/kea/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="amd64 ~arm64 ~x86"
 fi
 
 LICENSE="MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2025-06-12 Thread Sam James
commit: 3f8aea009a4fa202b76e48495758a81ecd561bba
Author: Nicolas PARLANT  parhuet  fr>
AuthorDate: Fri Jun  6 10:19:19 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 08:06:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f8aea00

net-misc/kea: add 2.6.3

update SRC_URI

license is now MPL-2.0

remove brand sed-op from previous ebuild

fix, sed-op :
fix paths for gtest detection
skip failing tests (maybe more depending of tinderbox)

update service/initrd/confd :
unprivileged user 'dhcp'
use capabilities instead of fcap
install unconditionnaly default config from upstream examples in /etc/kea/

eclass, move to python-r1 :
ensure a shared built-time target for sphinx/sphinx-rtd-theme
kea-shell is now installed with portage's functions instead of autotools.

deps :
add boost support for dev-libs/botan2, required
if mysql, add inherited libs from mysql-connector-c :
dev-libs/openssl, sys-libs/zlib and app-arch/zstd

options :
enable logger-checks by default

Bug: https://bugs.gentoo.org/946391
Bug: https://bugs.gentoo.org/957113
Closes: https://bugs.gentoo.org/928320
Signed-off-by: Nicolas PARLANT  parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/42481
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/Manifest|   1 +
 net-misc/kea/files/kea-confd-r2  |  12 ++
 net-misc/kea/files/kea-ctrl-agent.service-r2 |  16 ++
 net-misc/kea/files/kea-dhcp-ddns.service-r2  |  17 ++
 net-misc/kea/files/kea-dhcp4.service-r2  |  17 ++
 net-misc/kea/files/kea-dhcp6.service-r2  |  17 ++
 net-misc/kea/files/kea-initd-r2  | 147 
 net-misc/kea/kea-2.6.3.ebuild| 253 +++
 8 files changed, 480 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 41c4c96ee2a4..a52653a425a3 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1 +1,2 @@
 DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 
21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6
 SHA512 
b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224
+DIST kea-2.6.3.tar.gz 10498882 BLAKE2B 
7a8549ceb86dccaa2ca8d541cbfd27618ccf8aeedfb8ff26f9d0e10cfd8a103efd70320a55dc318a84094a7764c560c100cf6e10421ae6d40e6c62891570c604
 SHA512 
d7781c0b95529bfe89c19615c1dd5952fd4c4b60274e187a641992dad81ef5af921dfb15050ec43169a0c2ad267639642b2e294c5d43405f85a5fb11bb1a939a

diff --git a/net-misc/kea/files/kea-confd-r2 b/net-misc/kea/files/kea-confd-r2
new file mode 100644
index ..06bc85a5b0ba
--- /dev/null
+++ b/net-misc/kea/files/kea-confd-r2
@@ -0,0 +1,12 @@
+# Which services should be taken into account?
+DHCP4="true"
+DHCP6="false"
+DDNS="false"
+CTRL_AGENT="false"
+
+# Define your config files here. Otherwise we default to files in /etc/kea
+# (see init script)
+#DHCP4_CONFIG="/etc/kea/kea-dhcp4.conf"
+#DHCP6_CONFIG="/etc/kea/kea-dhcp6.conf"
+#DDNS_CONFIG="/etc/kea/kea-dhcp-ddns.conf"
+#CTRL_AGENT_CONFIG="/etc/kea/kea-ctrl-agent.conf"

diff --git a/net-misc/kea/files/kea-ctrl-agent.service-r2 
b/net-misc/kea/files/kea-ctrl-agent.service-r2
new file mode 100644
index ..9901c482ad60
--- /dev/null
+++ b/net-misc/kea/files/kea-ctrl-agent.service-r2
@@ -0,0 +1,16 @@
+[Unit]
+Description=ISC Kea Control Agent
+Before=multi-user.target
+After=remote-fs.target network.target nss-lookup.target time-sync.target 
ldap.service ndsd.service
+
+[Service]
+User=dhcp
+Environment=KEA_PIDFILE_DIR=/run/kea
+RuntimeDirectory=kea
+RuntimeDirectoryMode=0750
+ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf
+ExecReload=kill -HUP $MAINPID
+ProtectSystem=full
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/kea/files/kea-dhcp-ddns.service-r2 
b/net-misc/kea/files/kea-dhcp-ddns.service-r2
new file mode 100644
index ..7e34895fe884
--- /dev/null
+++ b/net-misc/kea/files/kea-dhcp-ddns.service-r2
@@ -0,0 +1,17 @@
+[Unit]
+Description=ISC Kea DHCP-DDNS server
+Before=multi-user.target
+After=remote-fs.target network.target nss-lookup.target time-sync.target 
ldap.service ndsd.service
+
+[Service]
+User=dhcp
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+Environment=KEA_PIDFILE_DIR=/run/kea
+RuntimeDirectory=kea
+RuntimeDirectoryMode=0750
+ExecStart=/usr/sbin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf
+ExecReload=kill -HUP $MAINPID
+ProtectSystem=full
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/kea/files/kea-dhcp4.service-r2 
b/net-misc/kea/files/kea-dhcp4.service-r2
new file mode 100644
index ..ffac809a0c3e
--- /dev/null
+++ b/net-misc/kea/files/kea-dhcp4.service-r2
@@ -0,0 +1,17 @@
+[Unit]
+Description=ISC Kea DHCPv4 server
+Before=multi-user.target
+After=remote-fs.target network.target nss-lookup.target time-sync.target 
ldap.service ndsd.service
+
+[Service]
+User=dh

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2025-06-12 Thread Sam James
commit: 221d3200d58b8de81598911ff438a29f690e19eb
Author: Nicolas PARLANT  parhuet  fr>
AuthorDate: Fri Jun  6 13:58:11 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 08:06:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=221d3200

net-misc/kea: drop 

Signed-off-by: Nicolas PARLANT  parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/42481
Closes: https://github.com/gentoo/gentoo/pull/42481
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/files/kea-initd-r2 |   8 +--
 net-misc/kea/kea-.ebuild| 149 
 2 files changed, 4 insertions(+), 153 deletions(-)

diff --git a/net-misc/kea/files/kea-initd-r2 b/net-misc/kea/files/kea-initd-r2
index 31626f25bfed..851e21acb3bf 100644
--- a/net-misc/kea/files/kea-initd-r2
+++ b/net-misc/kea/files/kea-initd-r2
@@ -12,10 +12,10 @@ dhcp4_config="${DHCP4_CONFIG:-/etc/kea/kea-dhcp4.conf}"
 dhcp6_config="${DHCP6_CONFIG:-/etc/kea/kea-dhcp6.conf}"
 ddns_config="${DDNS_CONFIG:-/etc/kea/kea-dhcp-ddns.conf}"
 ctrl_agent_config="${CTRL_AGENT_CONFIG:-/etc/kea/kea-ctrl-agent.conf}"
-dhcp4_pidfile="/run/kea/kea-dhcp4.kea-dhcp4.pid"
-dhcp6_pidfile="/run/kea/kea-dhcp6.kea-dhcp6.pid"
-ddns_pidfile="/run/kea/kea-dhcp-ddns.kea-dhcp-ddns.pid"
-ctrl_agent_pidfile="/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid"
+dhcp4_pidfile="/run/kea/$(basename ${dhcp4_config%.conf}).kea-dhcp4.pid"
+dhcp6_pidfile="/run/kea/$(basename ${dhcp6_config%.conf}).kea-dhcp6.pid"
+ddns_pidfile="/run/kea/$(basename ${ddns_config%.conf}).kea-dhcp-ddns.pid"
+ctrl_agent_pidfile="/run/kea/$(basename 
${ctrl_agent_config%.conf}).kea-ctrl-agent.pid"
 kea_user="${KEA_USER:-dhcp}"
 kea_group="${KEA_GROUP:-dhcp}"
 

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
deleted file mode 100644
index 996a51cf3b18..
--- a/net-misc/kea/kea-.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-PYTHON_COMPAT=( python3_{11..12} )
-inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
-if [[ ${PV} == ** ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
-else
-   SRC_URI="https://downloads.isc.org/isc/kea/${MY_P}.tar.gz
-   https://downloads.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   # odd minor version = development release
-   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
-   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then
-KEYWORDS="~amd64 ~arm64 ~x86"
-   fi
-   fi
-fi
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="debug doc mysql +openssl postgres +samples shell test"
-
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-   dev-libs/boost:=
-   dev-libs/log4cplus
-   doc? (
-   $(python_gen_cond_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-   ')
-   )
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-   shell? ( ${PYTHON_DEPS} )
-"
-DEPEND="${COMMON_DEPEND}
-   test? ( dev-cpp/gtest )
-"
-RDEPEND="${COMMON_DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
-)
-
-pkg_setup() {
-   use shell && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   if use test; then
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
-   fi
-
-   # brand the version with Gentoo
-   sed -i \
-   -e 's/KEA_SRCID="tarball"/KEA_SRCID="gentoo"/g' \
-   -e 's/AC_MSG_RESULT("tarball")/AC_MSG_RESULT("gentoo")/g' \
-   -e "s/EXTENDED_VERSION=\"\${EXTENDED_VERSION} 
(\$KEA_SRCID)\"/EXTENDED_VERSION=\"${PVR} (\$KEA_SRCID)\"/g" \
-   configure.ac || die
-
-   sed -i \
-   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
-   Makefile.am || die "Fixing Makefile.am failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   # -Werror=odr
-   # https://bugs.gentoo.org/861617
-   #
-   # I would truly love to submit an upstream bug but their self-hosted 
gitlab
-   # won't let me sign up. -- Eli
-   filter-lto
-
-   local myeconfargs=(
-   --disable-install-configurations
-   --disable-rpa

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-05-28 Thread Andreas Sturmlechner
commit: 2fb3d749f0f2954625bb5b49b02d05d2f86cf828
Author: Zen  pyl  onl>
AuthorDate: Sat Dec 21 21:26:33 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 28 20:51:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb3d749

net-misc/kea: Remove leading / on fcaps target to respect ROOT

Signed-off-by: Zen  pyl.onl>
Part-of: https://github.com/gentoo/gentoo/pull/39815
Closes: https://github.com/gentoo/gentoo/pull/39815
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/kea/kea-2.4.1.ebuild | 2 +-
 net-misc/kea/kea-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 654c57b4b8a3..996a51cf3b18 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -145,5 +145,5 @@ src_install() {
 
 pkg_postinst() {
tmpfiles_process ${PN}.conf
-   fcaps cap_net_bind_service,cap_net_raw=+ep /usr/sbin/kea-dhcp{4,6}
+   fcaps cap_net_bind_service,cap_net_raw=+ep usr/sbin/kea-dhcp{4,6}
 }

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 654c57b4b8a3..996a51cf3b18 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -145,5 +145,5 @@ src_install() {
 
 pkg_postinst() {
tmpfiles_process ${PN}.conf
-   fcaps cap_net_bind_service,cap_net_raw=+ep /usr/sbin/kea-dhcp{4,6}
+   fcaps cap_net_bind_service,cap_net_raw=+ep usr/sbin/kea-dhcp{4,6}
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-05-27 Thread Dennis Lamm
commit: c578c2cba388fa9d4a096066b3886ec929ae9256
Author: Dennis Lamm  gentoo  org>
AuthorDate: Mon May 26 19:04:27 2025 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed May 28 04:56:29 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c578c2cb

net-misc/kea: drop myself as a maintainer

Signed-off-by: Dennis Lamm  gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42291
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml
index 4ca6f0a579ca..3eed3b79863a 100644
--- a/net-misc/kea/metadata.xml
+++ b/net-misc/kea/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   [email protected]
-   Dennis Lamm
-   
+   

Use dev-libs/openssl instead of 
dev-libs/botan
Install sample configuration files



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-05-14 Thread Andreas Sturmlechner
commit: f216463c27547979a34f5b05c32b5ebe663deb9f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 14 18:40:04 2025 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 14 19:00:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f216463c

net-misc/kea: Fix at least VariableOrderWrong while here

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/kea/kea-2.4.1.ebuild | 16 +++-
 net-misc/kea/kea-.ebuild  | 16 +++-
 2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 5c0579d02da6..654c57b4b8a3 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -7,14 +7,13 @@ MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
 PYTHON_COMPAT=( python3_{11..12} )
-
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
-if [[ ${PV} = * ]] ; then
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == ** ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
@@ -27,10 +26,13 @@ else
fi
fi
 fi
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
 IUSE="debug doc mysql +openssl postgres +samples shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -56,10 +58,6 @@ RDEPEND="${COMMON_DEPEND}
acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
 PATCHES=(
"${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
 )

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 5c0579d02da6..654c57b4b8a3 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -7,14 +7,13 @@ MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
 PYTHON_COMPAT=( python3_{11..12} )
-
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
-if [[ ${PV} = * ]] ; then
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == ** ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
@@ -27,10 +26,13 @@ else
fi
fi
 fi
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
 IUSE="debug doc mysql +openssl postgres +samples shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -56,10 +58,6 @@ RDEPEND="${COMMON_DEPEND}
acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
 PATCHES=(
"${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
 )



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-05-14 Thread Andreas Sturmlechner
commit: 0ac3b1ff6d6d0379854cc53ba8f88102296f2e88
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 14 18:36:32 2025 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 14 19:00:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac3b1ff

net-misc/kea: drop 2.4.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/kea/Manifest|   1 -
 net-misc/kea/kea-2.4.0-r1.ebuild | 151 ---
 2 files changed, 152 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 313b52da604e..41c4c96ee2a4 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1 @@
-DIST kea-2.4.0.tar.gz 10462721 BLAKE2B 
07a4424c01872142b85446ee881afbdc9d8b3a0bc7879226463dd0ba20eba6d3d6db3dfd5fff88cd54af05c4f58183032c7df90d24a969a7ae63200822b6f35f
 SHA512 
b0bdb6b6af88e322145ffeb742a818d6e225846ff981ecc4925d311870db94e0c5a4eb0e1140f146624f64b636c9b24148b5efbc32e62a19b99bba0810b54654
 DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 
21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6
 SHA512 
b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224

diff --git a/net-misc/kea/kea-2.4.0-r1.ebuild b/net-misc/kea/kea-2.4.0-r1.ebuild
deleted file mode 100644
index 5c0579d02da6..
--- a/net-misc/kea/kea-2.4.0-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
-
-if [[ ${PV} = * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
-else
-   SRC_URI="https://downloads.isc.org/isc/kea/${MY_P}.tar.gz
-   https://downloads.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   # odd minor version = development release
-   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
-   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then
-KEYWORDS="~amd64 ~arm64 ~x86"
-   fi
-   fi
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="debug doc mysql +openssl postgres +samples shell test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-   dev-libs/boost:=
-   dev-libs/log4cplus
-   doc? (
-   $(python_gen_cond_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-   ')
-   )
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-   shell? ( ${PYTHON_DEPS} )
-"
-DEPEND="${COMMON_DEPEND}
-   test? ( dev-cpp/gtest )
-"
-RDEPEND="${COMMON_DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
-)
-
-pkg_setup() {
-   use shell && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   if use test; then
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
-   fi
-
-   # brand the version with Gentoo
-   sed -i \
-   -e 's/KEA_SRCID="tarball"/KEA_SRCID="gentoo"/g' \
-   -e 's/AC_MSG_RESULT("tarball")/AC_MSG_RESULT("gentoo")/g' \
-   -e "s/EXTENDED_VERSION=\"\${EXTENDED_VERSION} 
(\$KEA_SRCID)\"/EXTENDED_VERSION=\"${PVR} (\$KEA_SRCID)\"/g" \
-   configure.ac || die
-
-   sed -i \
-   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
-   Makefile.am || die "Fixing Makefile.am failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   # -Werror=odr
-   # https://bugs.gentoo.org/861617
-   #
-   # I would truly love to submit an upstream bug but their self-hosted 
gitlab
-   # won't let me sign up. -- Eli
-   filter-lto
-
-   local myeconfargs=(
-   --disable-install-configurations
-   --disable-rpath
-   --disable-static
-   --enable-generate-messages
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --runstatedir="${EPREFIX}/run"
-   --without-werror
-   --with-log4cplus
-   $(use_enable debug)
-   $(use_enable doc generate-docs)
-   $(use_enable shell)
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-02-22 Thread Sam James
commit: d14866f9a38b4004fce5f284247de0115c588b34
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 23 01:08:21 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 23 01:32:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14866f9

net-misc/kea: ftp->https

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.4.0-r1.ebuild | 4 ++--
 net-misc/kea/kea-2.4.1.ebuild| 4 ++--
 net-misc/kea/kea-.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/kea/kea-2.4.0-r1.ebuild b/net-misc/kea/kea-2.4.0-r1.ebuild
index 0fa23efd041e..5c0579d02da6 100644
--- a/net-misc/kea/kea-2.4.0-r1.ebuild
+++ b/net-misc/kea/kea-2.4.0-r1.ebuild
@@ -18,8 +18,8 @@ if [[ ${PV} = * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   SRC_URI="https://downloads.isc.org/isc/kea/${MY_P}.tar.gz
+   https://downloads.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
# odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 0fa23efd041e..5c0579d02da6 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -18,8 +18,8 @@ if [[ ${PV} = * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   SRC_URI="https://downloads.isc.org/isc/kea/${MY_P}.tar.gz
+   https://downloads.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
# odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 0fa23efd041e..5c0579d02da6 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -18,8 +18,8 @@ if [[ ${PV} = * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   SRC_URI="https://downloads.isc.org/isc/kea/${MY_P}.tar.gz
+   https://downloads.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
# odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2025-02-20 Thread Michał Górny
commit: 6d39ee6a92824bc97f5e43db18d653b212418ade
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 20 10:10:24 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 20 10:20:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d39ee6a

net-misc/kea: Remove py3.10 (per sphinx-8.2)

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/kea/kea-2.4.0-r1.ebuild | 4 ++--
 net-misc/kea/kea-2.4.1.ebuild| 4 ++--
 net-misc/kea/kea-.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/kea/kea-2.4.0-r1.ebuild b/net-misc/kea/kea-2.4.0-r1.ebuild
index 72c97487d6f6..0fa23efd041e 100644
--- a/net-misc/kea/kea-2.4.0-r1.ebuild
+++ b/net-misc/kea/kea-2.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-PYTHON_COMPAT=( python3_{8..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 72c97487d6f6..0fa23efd041e 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-PYTHON_COMPAT=( python3_{8..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 72c97487d6f6..0fa23efd041e 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-PYTHON_COMPAT=( python3_{8..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2024-05-08 Thread Sam James
commit: e51f69fe7a800711bffa43b5e85a4e6ef16192bd
Author: Sam James  gentoo  org>
AuthorDate: Wed May  8 23:30:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  8 23:30:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51f69fe

net-misc/kea: sync live

Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 2c411fe395c2..72c97487d6f6 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -71,11 +71,15 @@ pkg_setup() {
 src_prepare() {
default
 
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
+   if use test; then
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
+   fi
 
# brand the version with Gentoo
sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
+   -e 's/KEA_SRCID="tarball"/KEA_SRCID="gentoo"/g' \
+   -e 's/AC_MSG_RESULT("tarball")/AC_MSG_RESULT("gentoo")/g' \
+   -e "s/EXTENDED_VERSION=\"\${EXTENDED_VERSION} 
(\$KEA_SRCID)\"/EXTENDED_VERSION=\"${PVR} (\$KEA_SRCID)\"/g" \
configure.ac || die
 
sed -i \
@@ -105,7 +109,6 @@ src_configure() {
--with-log4cplus
$(use_enable debug)
$(use_enable doc generate-docs)
-   $(use_enable test gtest)
$(use_enable shell)
$(use_with mysql)
$(use_with openssl)
@@ -115,7 +118,8 @@ src_configure() {
 }
 
 src_install() {
-   default
+   emake -j1 install DESTDIR="${D}"
+
newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2024-02-28 Thread Sam James
commit: d75e15958f8afbe0da714fcec426bcc2fce8b90e
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Feb 29 05:28:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 05:44:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d75e1595

net-misc/kea: mark as LTO-unsafe

No upstream bug report. I tried. They won't let me create an account:

```
1 error prohibited this user from being saved:

Email is not allowed for sign-up. Please use your regular email address. 
Check with your administrator.
```

Closes: https://bugs.gentoo.org/861617
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/kea-2.4.0-r1.ebuild |  9 -
 net-misc/kea/kea-2.4.1.ebuild|  9 -
 net-misc/kea/kea-.ebuild | 11 +--
 3 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/net-misc/kea/kea-2.4.0-r1.ebuild b/net-misc/kea/kea-2.4.0-r1.ebuild
index 7227b2d84c1d..72c97487d6f6 100644
--- a/net-misc/kea/kea-2.4.0-r1.ebuild
+++ b/net-misc/kea/kea-2.4.0-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.isc.org/kea/";
 
 PYTHON_COMPAT=( python3_{8..12} )
 
-inherit autotools fcaps python-single-r1 systemd tmpfiles
+inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
@@ -90,6 +90,13 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/861617
+   #
+   # I would truly love to submit an upstream bug but their self-hosted 
gitlab
+   # won't let me sign up. -- Eli
+   filter-lto
+
local myeconfargs=(
--disable-install-configurations
--disable-rpath

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 7227b2d84c1d..72c97487d6f6 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.isc.org/kea/";
 
 PYTHON_COMPAT=( python3_{8..12} )
 
-inherit autotools fcaps python-single-r1 systemd tmpfiles
+inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
@@ -90,6 +90,13 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/861617
+   #
+   # I would truly love to submit an upstream bug but their self-hosted 
gitlab
+   # won't let me sign up. -- Eli
+   filter-lto
+
local myeconfargs=(
--disable-install-configurations
--disable-rpath

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index bf1c596ab6ba..2c411fe395c2 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.isc.org/kea/";
 
 PYTHON_COMPAT=( python3_{8..12} )
 
-inherit autotools fcaps python-single-r1 systemd tmpfiles
+inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
@@ -86,6 +86,13 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/861617
+   #
+   # I would truly love to submit an upstream bug but their self-hosted 
gitlab
+   # won't let me sign up. -- Eli
+   filter-lto
+
local myeconfargs=(
--disable-install-configurations
--disable-rpath



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2024-01-25 Thread Dennis Lamm
commit: e33a5a452639a42429a3f965c59fa6510cdcfc4b
Author: Dennis Lamm  gentoo  org>
AuthorDate: Thu Jan 25 19:34:13 2024 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Jan 25 20:31:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33a5a45

net-misc/kea: add 2.4.1

Bug: https://bugs.gentoo.org/877625
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest  |   1 +
 net-misc/kea/files/ax_gtest.m4 |  53 ++-
 net-misc/kea/kea-2.4.1.ebuild  | 144 +
 3 files changed, 150 insertions(+), 48 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 5e36ccebaed2..313b52da604e 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1 +1,2 @@
 DIST kea-2.4.0.tar.gz 10462721 BLAKE2B 
07a4424c01872142b85446ee881afbdc9d8b3a0bc7879226463dd0ba20eba6d3d6db3dfd5fff88cd54af05c4f58183032c7df90d24a969a7ae63200822b6f35f
 SHA512 
b0bdb6b6af88e322145ffeb742a818d6e225846ff981ecc4925d311870db94e0c5a4eb0e1140f146624f64b636c9b24148b5efbc32e62a19b99bba0810b54654
+DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 
21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6
 SHA512 
b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224

diff --git a/net-misc/kea/files/ax_gtest.m4 b/net-misc/kea/files/ax_gtest.m4
index acd887c2d3ab..7f7d0bb7aa65 100644
--- a/net-misc/kea/files/ax_gtest.m4
+++ b/net-misc/kea/files/ax_gtest.m4
@@ -1,56 +1,13 @@
 AC_DEFUN([AX_ISC_GTEST], [
 
-AC_ARG_WITH([lcov],
-[AS_HELP_STRING([--with-lcov[[=PROGRAM]]],
-[enable gtest and coverage target using the 
specified lcov])],
-[lcov="$withval"],
-[lcov="no"])
-
 USE_LCOV="no"
-if test "$lcov" != "no"; then
-# force gtest if not set
-if test "$enable_gtest" = "no"; then
-#   AC_MSG_ERROR("lcov needs gtest for test coverage report")
-AC_MSG_NOTICE([gtest support is now enabled, because used by 
coverage tests])
-enable_gtest="yes"
-fi
-if test "$lcov" != "yes"; then
-LCOV=$lcov
-else
-AC_PATH_PROG([LCOV], [lcov])
-fi
-if test -x "${LCOV}"; then
-USE_LCOV="yes"
-else
-AC_MSG_ERROR([Cannot find lcov.])
-fi
-# is genhtml always in the same directory?
-GENHTML=`echo "$LCOV" | ${SED} s/lcov$/genhtml/`
-if test ! -x $GENHTML; then
-AC_MSG_ERROR([genhtml not found, needed for lcov])
-fi
-# GCC specific?
-CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
-LIBS=" $LIBS -lgcov"
-AC_SUBST(CPPFLAGS)
-AC_SUBST(LIBS)
-AC_SUBST(LCOV)
-AC_SUBST(GENHTML)
-fi
 AC_SUBST(USE_LCOV)
 
-#
-# Check availability of gtest, which will be used for unit tests.
-#
-DISTCHECK_GTEST_CONFIGURE_FLAG=
-
-AS_IF([test "x$enable_gtest" = "xyes"], [
-DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
-PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested but 
not found])])
-GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
-GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
-GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
-])
+DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
+PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested but not 
found])])
+GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
+GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
+GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
 
 AM_CONDITIONAL(HAVE_GTEST, test $enable_gtest != "no")
 AM_CONDITIONAL(HAVE_GTEST_SOURCE, test "X$have_gtest_source" = "Xyes")

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
new file mode 100644
index ..7227b2d84c1d
--- /dev/null
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+PYTHON_COMPAT=( python3_{8..12} )
+
+inherit autotools fcaps python-single-r1 systemd tmpfiles
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   # odd minor version = development release
+   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
+   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]]

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2024-01-25 Thread Dennis Lamm
commit: 5808f0887d0c70e70a103904d781e34808071d96
Author: Dennis Lamm  gentoo  org>
AuthorDate: Thu Jan 25 19:39:43 2024 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Jan 25 20:31:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5808f088

net-misc/kea: 2.4.0 ebuild improvements

Closes: https://bugs.gentoo.org/877625
Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35020
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/{kea-2.4.0.ebuild => kea-2.4.0-r1.ebuild} | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/net-misc/kea/kea-2.4.0.ebuild b/net-misc/kea/kea-2.4.0-r1.ebuild
similarity index 88%
rename from net-misc/kea/kea-2.4.0.ebuild
rename to net-misc/kea/kea-2.4.0-r1.ebuild
index bf1c596ab6ba..7227b2d84c1d 100644
--- a/net-misc/kea/kea-2.4.0.ebuild
+++ b/net-misc/kea/kea-2.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -71,11 +71,15 @@ pkg_setup() {
 src_prepare() {
default
 
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
+   if use test; then
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
+   fi
 
# brand the version with Gentoo
sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
+   -e 's/KEA_SRCID="tarball"/KEA_SRCID="gentoo"/g' \
+   -e 's/AC_MSG_RESULT("tarball")/AC_MSG_RESULT("gentoo")/g' \
+   -e "s/EXTENDED_VERSION=\"\${EXTENDED_VERSION} 
(\$KEA_SRCID)\"/EXTENDED_VERSION=\"${PVR} (\$KEA_SRCID)\"/g" \
configure.ac || die
 
sed -i \
@@ -98,7 +102,6 @@ src_configure() {
--with-log4cplus
$(use_enable debug)
$(use_enable doc generate-docs)
-   $(use_enable test gtest)
$(use_enable shell)
$(use_with mysql)
$(use_with openssl)
@@ -108,7 +111,8 @@ src_configure() {
 }
 
 src_install() {
-   default
+   emake -j1 install DESTDIR="${D}"
+
newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2024-01-25 Thread Dennis Lamm
commit: 83a20c0c85c9dabcfd3254b8605a63de8cebd262
Author: Dennis Lamm  gentoo  org>
AuthorDate: Tue Jan 23 17:32:02 2024 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Jan 25 20:31:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a20c0c

net-misc/kea: drop 2.0.2, 2.2.0

Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest   |   2 -
 net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch |  10 --
 net-misc/kea/files/kea-1.9.10-gtest.patch   | 143 
 net-misc/kea/kea-2.0.2.ebuild   | 127 -
 net-misc/kea/kea-2.2.0.ebuild   | 140 ---
 5 files changed, 422 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index a29210d24713..5e36ccebaed2 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1 @@
-DIST kea-2.0.2.tar.gz 9796557 BLAKE2B 
a859c4cc3f6686db2dcf640738b421499a816700d134ee9322290051c3a192bab482be4a4bdb2630113594a3af1cafe2b95abce4a463815a6404fe87fac227ad
 SHA512 
edb7de227898fb7bd76dd8b503d02e07b4ba512b907b53399a5c45bd216820b342f00c1834858848ce8ff94aa3c228ceead0e2946cbcb1f75a03ca579630be83
-DIST kea-2.2.0.tar.gz 074 BLAKE2B 
10b4bca1a135c6d146490f8c4c7bd4d56c1c03e2b4cc88a6888fcad5d1a5c2ee2d2c0215cb345b53a2a4262dbd02516d75d5778835d45384a7d69a062b8696b9
 SHA512 
82cd44efea8c968ef097de242e1ca59e0183c80df25050017fd45538d35da64a9a0d2f4a5249ad3bd3d30b1f8895c360d301518bc22e60dfddd966fe020dc773
 DIST kea-2.4.0.tar.gz 10462721 BLAKE2B 
07a4424c01872142b85446ee881afbdc9d8b3a0bc7879226463dd0ba20eba6d3d6db3dfd5fff88cd54af05c4f58183032c7df90d24a969a7ae63200822b6f35f
 SHA512 
b0bdb6b6af88e322145ffeb742a818d6e225846ff981ecc4925d311870db94e0c5a4eb0e1140f146624f64b636c9b24148b5efbc32e62a19b99bba0810b54654

diff --git a/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch 
b/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch
deleted file mode 100644
index fec0fcc30f4b..
--- a/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 kea-1.8.2/src/lib/dhcpsrv/timer_mgr.cc
-+++ kea-1.8.2/src/lib/dhcpsrv/timer_mgr.cc
-@@ -9,6 +9,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- 
- #include 

diff --git a/net-misc/kea/files/kea-1.9.10-gtest.patch 
b/net-misc/kea/files/kea-1.9.10-gtest.patch
deleted file mode 100644
index f3e8cd7af4cc..
--- a/net-misc/kea/files/kea-1.9.10-gtest.patch
+++ /dev/null
@@ -1,143 +0,0 @@
 a/m4macros/ax_gtest.m4
-+++ b/m4macros/ax_gtest.m4
-@@ -1,17 +1,8 @@
- AC_DEFUN([AX_ISC_GTEST], [
-
--enable_gtest="no"
--GTEST_INCLUDES=
--
--AC_ARG_WITH([gtest-source],
--[AS_HELP_STRING([--with-gtest-source=PATH],
--[location of the Googletest source])],
--[enable_gtest="yes" ; GTEST_SOURCE="$withval"])
--
--AC_ARG_WITH([gtest],
--[AS_HELP_STRING([--with-gtest=PATH],
--[specify a path to gtest header files 
(PATH/include) and library (PATH/lib)])],
--[gtest_path="$withval"; enable_gtest="yes"], [gtest_path="no"])
-+AC_ARG_ENABLE([gtest],
-+  [AS_HELP_STRING([--enable-gtest],
-+  [enable testing via Googletest [default=no]])])
-
- AC_ARG_WITH([lcov],
- [AS_HELP_STRING([--with-lcov=PROGRAM],
-@@ -55,111 +46,22 @@
- #
- # Check availability of gtest, which will be used for unit tests.
- #
--GTEST_LDFLAGS=
--GTEST_LDADD=
- DISTCHECK_GTEST_CONFIGURE_FLAG=
--GTEST_VERSION="unknown"
--
--if test "x$enable_gtest" = "xyes" ; then
--
--DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest=$gtest_path"
--
--if test -n "$with_gtest_source" ; then
-
--if test "x$GTEST_SOURCE" = "xyes" ; then
-+AS_IF([test "x$enable_gtest" = "xyes"], [
-+DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
-+PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested 
but not found])])
-+GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
-+GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
-+GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
-+])
-
--AC_MSG_CHECKING([for gtest source])
--# If not specified, try some common paths.
--GTEST_SOURCE=
--for d in /usr/src/gtest /usr/local /usr/pkg /opt /opt/local ; do
--if test -f $d/src/gtest-all.cc -a $d/src/gtest_main.cc; then
--GTEST_SOURCE=$d
--AC_MSG_RESULT([$GTEST_SOURCE])
--break
--fi
--done
--if test -z $GTEST_SOURCE ; then
--AC_MSG_ERROR([no gtest source but it was selected])
--fi
--else
--if test ! -d $GTEST_SOURCE/src -a -d $GTEST_SOURCE/googletest; 
then
--GTEST_SOURCE=$GTEST_SOURCE/googletest
--fi
--if test -f $GTEST_SOURCE/src/gtest-all.c

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2023-09-30 Thread Dennis Lamm
commit: 77e344dbaed2491ee278612d4a0a34cde7a2406c
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed Sep 27 11:10:04 2023 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sat Sep 30 10:54:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e344db

net-misc/kea: enable py3.12

Signed-off-by: Jaco Kroon  uls.co.za>
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 65ef75d7f344..bf1c596ab6ba 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -10,7 +10,7 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{8..12} )
 
 inherit autotools fcaps python-single-r1 systemd tmpfiles
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2023-09-30 Thread Dennis Lamm
commit: fd1fe80c2341377488a95308aae8768b89c8d7dc
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed Sep 27 11:09:40 2023 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sat Sep 30 10:54:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1fe80c

net-misc/kea: add 2.4.0

Signed-off-by: Jaco Kroon  uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/33087
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest |   1 +
 net-misc/kea/kea-2.4.0.ebuild | 140 ++
 2 files changed, 141 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 08665ba991a5..a29210d24713 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-2.0.2.tar.gz 9796557 BLAKE2B 
a859c4cc3f6686db2dcf640738b421499a816700d134ee9322290051c3a192bab482be4a4bdb2630113594a3af1cafe2b95abce4a463815a6404fe87fac227ad
 SHA512 
edb7de227898fb7bd76dd8b503d02e07b4ba512b907b53399a5c45bd216820b342f00c1834858848ce8ff94aa3c228ceead0e2946cbcb1f75a03ca579630be83
 DIST kea-2.2.0.tar.gz 074 BLAKE2B 
10b4bca1a135c6d146490f8c4c7bd4d56c1c03e2b4cc88a6888fcad5d1a5c2ee2d2c0215cb345b53a2a4262dbd02516d75d5778835d45384a7d69a062b8696b9
 SHA512 
82cd44efea8c968ef097de242e1ca59e0183c80df25050017fd45538d35da64a9a0d2f4a5249ad3bd3d30b1f8895c360d301518bc22e60dfddd966fe020dc773
+DIST kea-2.4.0.tar.gz 10462721 BLAKE2B 
07a4424c01872142b85446ee881afbdc9d8b3a0bc7879226463dd0ba20eba6d3d6db3dfd5fff88cd54af05c4f58183032c7df90d24a969a7ae63200822b6f35f
 SHA512 
b0bdb6b6af88e322145ffeb742a818d6e225846ff981ecc4925d311870db94e0c5a4eb0e1140f146624f64b636c9b24148b5efbc32e62a19b99bba0810b54654

diff --git a/net-misc/kea/kea-2.4.0.ebuild b/net-misc/kea/kea-2.4.0.ebuild
new file mode 100644
index ..bf1c596ab6ba
--- /dev/null
+++ b/net-misc/kea/kea-2.4.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+PYTHON_COMPAT=( python3_{8..12} )
+
+inherit autotools fcaps python-single-r1 systemd tmpfiles
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   # odd minor version = development release
+   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
+   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then
+KEYWORDS="~amd64 ~arm64 ~x86"
+   fi
+   fi
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="debug doc mysql +openssl postgres +samples shell test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   dev-libs/boost:=
+   dev-libs/log4cplus
+   doc? (
+   $(python_gen_cond_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   ')
+   )
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
+)
+
+pkg_setup() {
+   use shell && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
+
+   # brand the version with Gentoo
+   sed -i \
+   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
+   configure.ac || die
+
+   sed -i \
+   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
+   Makefile.am || die "Fixing Makefile.am failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-install-configurations
+   --disable-rpath
+   --disable-static
+   --enable-generate-messages
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --runstatedir="${EPREFIX}/run"
+   --without-werror
+   --with-log4cplus
+   $(use_enable debug)
+   $(use_enable doc generate-docs)
+   $(use_enable test gtest)
+   $(use_enable shell)
+   $(use_with mysql)
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-10-18 Thread Dennis Lamm
commit: 689d277d2f090e9e49e611cb13290404dd265b28
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sat Oct 15 14:40:40 2022 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Oct 19 04:48:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689d277d

net-misc/kea: ebuild improvements

Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/27783
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-2.2.0.ebuild | 11 +++
 net-misc/kea/kea-.ebuild  | 11 +++
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/kea-2.2.0.ebuild b/net-misc/kea/kea-2.2.0.ebuild
index c7127f76da89..56fe907cd840 100644
--- a/net-misc/kea/kea-2.2.0.ebuild
+++ b/net-misc/kea/kea-2.2.0.ebuild
@@ -22,7 +22,9 @@ else
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
# odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || 
KEYWORDS="~amd64 ~arm64 ~x86"
+   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then
+KEYWORDS="~amd64 ~arm64 ~x86"
+   fi
fi
 fi
 
@@ -36,8 +38,9 @@ COMMON_DEPEND="
dev-libs/log4cplus
doc? (
$(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]')
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   ')
)
mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:2= )
@@ -68,7 +71,7 @@ pkg_setup() {
 src_prepare() {
default
 
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
 
# brand the version with Gentoo
sed -i \

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index c7127f76da89..56fe907cd840 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -22,7 +22,9 @@ else
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
# odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || 
KEYWORDS="~amd64 ~arm64 ~x86"
+   if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then
+KEYWORDS="~amd64 ~arm64 ~x86"
+   fi
fi
 fi
 
@@ -36,8 +38,9 @@ COMMON_DEPEND="
dev-libs/log4cplus
doc? (
$(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]')
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   ')
)
mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:2= )
@@ -68,7 +71,7 @@ pkg_setup() {
 src_prepare() {
default
 
-   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 
'Replace gtest m4 macro failed'
 
# brand the version with Gentoo
sed -i \



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2022-10-18 Thread Dennis Lamm
commit: 624d139ae7abe036425e4628cd59da1703867db3
Author: Dennis Lamm  gentoo  org>
AuthorDate: Fri Oct 14 21:23:48 2022 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Oct 19 04:48:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624d139a

net-misc/kea: version bump 2.2.0

Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest  |   1 +
 net-misc/kea/files/ax_gtest.m4 |  62 ++
 net-misc/kea/files/kea-2.2.0-openssl-version.patch |  11 ++
 net-misc/kea/kea-2.2.0.ebuild  | 137 +
 4 files changed, 211 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index bff98126c828..5107f3317c1b 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
 DIST kea-2.0.2.tar.gz 9796557 BLAKE2B 
a859c4cc3f6686db2dcf640738b421499a816700d134ee9322290051c3a192bab482be4a4bdb2630113594a3af1cafe2b95abce4a463815a6404fe87fac227ad
 SHA512 
edb7de227898fb7bd76dd8b503d02e07b4ba512b907b53399a5c45bd216820b342f00c1834858848ce8ff94aa3c228ceead0e2946cbcb1f75a03ca579630be83
+DIST kea-2.2.0.tar.gz 074 BLAKE2B 
10b4bca1a135c6d146490f8c4c7bd4d56c1c03e2b4cc88a6888fcad5d1a5c2ee2d2c0215cb345b53a2a4262dbd02516d75d5778835d45384a7d69a062b8696b9
 SHA512 
82cd44efea8c968ef097de242e1ca59e0183c80df25050017fd45538d35da64a9a0d2f4a5249ad3bd3d30b1f8895c360d301518bc22e60dfddd966fe020dc773

diff --git a/net-misc/kea/files/ax_gtest.m4 b/net-misc/kea/files/ax_gtest.m4
new file mode 100644
index ..acd887c2d3ab
--- /dev/null
+++ b/net-misc/kea/files/ax_gtest.m4
@@ -0,0 +1,62 @@
+AC_DEFUN([AX_ISC_GTEST], [
+
+AC_ARG_WITH([lcov],
+[AS_HELP_STRING([--with-lcov[[=PROGRAM]]],
+[enable gtest and coverage target using the 
specified lcov])],
+[lcov="$withval"],
+[lcov="no"])
+
+USE_LCOV="no"
+if test "$lcov" != "no"; then
+# force gtest if not set
+if test "$enable_gtest" = "no"; then
+#   AC_MSG_ERROR("lcov needs gtest for test coverage report")
+AC_MSG_NOTICE([gtest support is now enabled, because used by 
coverage tests])
+enable_gtest="yes"
+fi
+if test "$lcov" != "yes"; then
+LCOV=$lcov
+else
+AC_PATH_PROG([LCOV], [lcov])
+fi
+if test -x "${LCOV}"; then
+USE_LCOV="yes"
+else
+AC_MSG_ERROR([Cannot find lcov.])
+fi
+# is genhtml always in the same directory?
+GENHTML=`echo "$LCOV" | ${SED} s/lcov$/genhtml/`
+if test ! -x $GENHTML; then
+AC_MSG_ERROR([genhtml not found, needed for lcov])
+fi
+# GCC specific?
+CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
+LIBS=" $LIBS -lgcov"
+AC_SUBST(CPPFLAGS)
+AC_SUBST(LIBS)
+AC_SUBST(LCOV)
+AC_SUBST(GENHTML)
+fi
+AC_SUBST(USE_LCOV)
+
+#
+# Check availability of gtest, which will be used for unit tests.
+#
+DISTCHECK_GTEST_CONFIGURE_FLAG=
+
+AS_IF([test "x$enable_gtest" = "xyes"], [
+DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
+PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested but 
not found])])
+GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
+GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
+GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
+])
+
+AM_CONDITIONAL(HAVE_GTEST, test $enable_gtest != "no")
+AM_CONDITIONAL(HAVE_GTEST_SOURCE, test "X$have_gtest_source" = "Xyes")
+AC_SUBST(DISTCHECK_GTEST_CONFIGURE_FLAG)
+AC_SUBST(GTEST_INCLUDES)
+AC_SUBST([GTEST_LDADD], [$GTEST_LIBS])
+AC_SUBST(GTEST_SOURCE)
+
+])dnl AX_ISC_GTEST

diff --git a/net-misc/kea/files/kea-2.2.0-openssl-version.patch 
b/net-misc/kea/files/kea-2.2.0-openssl-version.patch
new file mode 100644
index ..5e323357d7c5
--- /dev/null
+++ b/net-misc/kea/files/kea-2.2.0-openssl-version.patch
@@ -0,0 +1,11 @@
+--- a/m4macros/ax_crypto.m4
 b/m4macros/ax_crypto.m4
+@@ -258,7 +258,7 @@ then
+ else
+CRYPTO_NAME="OpenSSL"
+DISABLED_CRYPTO="Botan"
+-   CRYPTO_PACKAGE="openssl-1.1.0"
++   CRYPTO_PACKAGE="openssl"
+DISTCHECK_CRYPTO_CONFIGURE_FLAG="--with-openssl=${use_openssl}"
+AC_DEFINE_UNQUOTED([WITH_OPENSSL], [], [Compile with OpenSSL crypto])
+AC_MSG_CHECKING(for OpenSSL library)

diff --git a/net-misc/kea/kea-2.2.0.ebuild b/net-misc/kea/kea-2.2.0.ebuild
new file mode 100644
index ..c7127f76da89
--- /dev/null
+++ b/net-misc/kea/kea-2.2.0.ebuild
@@ -0,0 +

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-10-18 Thread Dennis Lamm
commit: ea69c2b044d957d71f4676cbcda94dfee6533b8d
Author: Dennis Lamm  gentoo  org>
AuthorDate: Fri Oct 14 21:30:29 2022 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Oct 19 04:48:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea69c2b0

net-misc/kea-: fix gtest patch rejection

Closes: https://bugs.gentoo.org/846620
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-.ebuild | 28 +++-
 1 file changed, 19 insertions(+), 9 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index aca4fe99e606..c7127f76da89 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -10,31 +10,35 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit autotools fcaps python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+   EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   # Odd minor version = development release
+   # odd minor version = development release
if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || 
KEYWORDS="~amd64 ~arm64 ~x86"
fi
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="mysql +openssl postgres +samples shell test"
+IUSE="debug doc mysql +openssl postgres +samples shell test"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
dev-libs/boost:=
dev-libs/log4cplus
+   doc? (
+   $(python_gen_cond_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]')
+   )
mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:2= )
openssl? ( dev-libs/openssl:0= )
@@ -54,8 +58,7 @@ REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.2-boost-1.77.0.patch
-   "${FILESDIR}"/${PN}-1.9.10-gtest.patch
+   "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
 )
 
 pkg_setup() {
@@ -64,7 +67,10 @@ pkg_setup() {
 
 src_prepare() {
default
-   # Brand the version with Gentoo
+
+   cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4
+
+   # brand the version with Gentoo
sed -i \
-e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
configure.ac || die
@@ -79,12 +85,16 @@ src_prepare() {
 src_configure() {
local myeconfargs=(
--disable-install-configurations
+   --disable-rpath
--disable-static
--enable-generate-messages
--enable-perfdhcp
--localstatedir="${EPREFIX}/var"
--runstatedir="${EPREFIX}/run"
--without-werror
+   --with-log4cplus
+   $(use_enable debug)
+   $(use_enable doc generate-docs)
$(use_enable test gtest)
$(use_enable shell)
$(use_with mysql)



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2022-10-18 Thread Dennis Lamm
commit: b44f361442e631027343bb22286d8392cecde6c6
Author: Dennis Lamm  gentoo  org>
AuthorDate: Fri Oct 14 21:32:22 2022 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Oct 19 04:48:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44f3614

net-misc/kea: drop old

Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest  |   1 -
 .../kea/files/kea-1.8.2-fix-cxx11-detection.patch  |  50 ---
 net-misc/kea/files/kea-1.8.2-gtest.patch   | 149 -
 net-misc/kea/kea-1.8.2-r1.ebuild   | 112 
 4 files changed, 312 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 5107f3317c1b..08665ba991a5 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
 DIST kea-2.0.2.tar.gz 9796557 BLAKE2B 
a859c4cc3f6686db2dcf640738b421499a816700d134ee9322290051c3a192bab482be4a4bdb2630113594a3af1cafe2b95abce4a463815a6404fe87fac227ad
 SHA512 
edb7de227898fb7bd76dd8b503d02e07b4ba512b907b53399a5c45bd216820b342f00c1834858848ce8ff94aa3c228ceead0e2946cbcb1f75a03ca579630be83
 DIST kea-2.2.0.tar.gz 074 BLAKE2B 
10b4bca1a135c6d146490f8c4c7bd4d56c1c03e2b4cc88a6888fcad5d1a5c2ee2d2c0215cb345b53a2a4262dbd02516d75d5778835d45384a7d69a062b8696b9
 SHA512 
82cd44efea8c968ef097de242e1ca59e0183c80df25050017fd45538d35da64a9a0d2f4a5249ad3bd3d30b1f8895c360d301518bc22e60dfddd966fe020dc773

diff --git a/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch 
b/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch
deleted file mode 100644
index 867561f2e7e5..
--- a/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch
+++ /dev/null
@@ -1,50 +0,0 @@
 a/m4macros/ax_cpp11.m4
-+++ b/m4macros/ax_cpp11.m4
-@@ -182,6 +182,7 @@
-   AC_COMPILE_IFELSE(
-   [AC_LANG_PROGRAM(
-   [#include 
-+   #include 
-std::shared_ptr th;],
-   [th.reset(new std::thread([[]]() { return; }));
-th->join();])],
 a/src/bin/perfdhcp/Makefile.am
-+++ b/src/bin/perfdhcp/Makefile.am
-@@ -3,7 +3,6 @@
- AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
- AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
- AM_CPPFLAGS += $(BOOST_INCLUDES)
--AM_CPPFLAGS += -Werror
- 
- AM_CXXFLAGS = $(KEA_CXXFLAGS)
- 
 a/src/bin/perfdhcp/tests/Makefile.am
-+++ b/src/bin/perfdhcp/tests/Makefile.am
-@@ -4,7 +4,6 @@
- AM_CPPFLAGS += -I$(srcdir)/.. -I$(builddir)/..
- AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(abs_srcdir)/testdata\"
- AM_CPPFLAGS += $(BOOST_INCLUDES)
--AM_CPPFLAGS += -Werror
- AM_CXXFLAGS = $(KEA_CXXFLAGS)
- 
- if USE_STATIC_LINK
 a/src/lib/database/backend_selector.cc
-+++ b/src/lib/database/backend_selector.cc
-@@ -7,6 +7,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- 
- using namespace isc::data;
 a/src/lib/dhcpsrv/subnet_id.h
-+++ b/src/lib/dhcpsrv/subnet_id.h
-@@ -10,6 +10,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- namespace isc {
- namespace dhcp {

diff --git a/net-misc/kea/files/kea-1.8.2-gtest.patch 
b/net-misc/kea/files/kea-1.8.2-gtest.patch
deleted file mode 100644
index 5fa4488b926c..
--- a/net-misc/kea/files/kea-1.8.2-gtest.patch
+++ /dev/null
@@ -1,149 +0,0 @@
 a/m4macros/ax_gtest.m4
-+++ b/m4macros/ax_gtest.m4
-@@ -1,24 +1,14 @@
- AC_DEFUN([AX_ISC_GTEST], [
-
--enable_gtest="no"
--GTEST_INCLUDES=
--
--AC_ARG_WITH([gtest-source],
--[AS_HELP_STRING([--with-gtest-source=PATH],
--[location of the Googletest source])],
--[enable_gtest="yes" ; GTEST_SOURCE="$withval"])
--
--AC_ARG_WITH([gtest],
--[AS_HELP_STRING([--with-gtest=PATH],
--[specify a path to gtest header files 
(PATH/include) and library (PATH/lib)])],
--[gtest_path="$withval"; enable_gtest="yes"], [gtest_path="no"])
-+AC_ARG_ENABLE([gtest],
-+  [AS_HELP_STRING([--enable-gtest],
-+  [Enable testing via Googletest [default=no]])])
-
- AC_ARG_WITH([lcov],
- [AS_HELP_STRING([--with-lcov=PROGRAM],
- [enable gtest and coverage target using the 
specified lcov])],
- [lcov="$withval"],
- [lcov="no"])
--
- USE_LCOV="no"
- if test "$lcov" != "no"; then
- # force gtest if not set
-@@ -55,110 +45,22 @@
- #
- # Check availability of gtest, which will be used for unit tests.
- #
--GTEST_LDFLAGS=
--GTEST_LDADD=
- DISTCHECK_GTEST_CONFIGURE_FLAG=
--GTEST_VERSION="unknown"
--
--if test

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-05-18 Thread Lars Wendler
commit: 3af5208d3dcb070081dca7a01ae415d52b5c04b1
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 18 12:27:38 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 18 12:27:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af5208d

net-misc/kea: Synced live ebuild

Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-.ebuild | 41 +
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 9f241b088227..aca4fe99e606 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
@@ -10,7 +10,9 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-inherit autotools systemd tmpfiles
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools fcaps python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
@@ -18,34 +20,53 @@ if [[ ${PV} = * ]] ; then
 else
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   # Odd minor version = development release
+   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~arm64 ~x86"
+   fi
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="mysql +openssl postgres +samples"
+IUSE="mysql +openssl postgres +samples shell test"
+RESTRICT="!test? ( test )"
 
-DEPEND="
+COMMON_DEPEND="
dev-libs/boost:=
dev-libs/log4cplus
mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:2= )
openssl? ( dev-libs/openssl:0= )
postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
 "
-RDEPEND="${DEPEND}
+DEPEND="${COMMON_DEPEND}
+   test? ( dev-cpp/gtest )
+"
+RDEPEND="${COMMON_DEPEND}
acct-group/dhcp
acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.2-boost-1.77.0.patch
+   "${FILESDIR}"/${PN}-1.9.10-gtest.patch
+)
+
+pkg_setup() {
+   use shell && python-single-r1_pkg_setup
+}
+
 src_prepare() {
default
# Brand the version with Gentoo
sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
+   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
configure.ac || die
 
sed -i \
@@ -59,10 +80,13 @@ src_configure() {
local myeconfargs=(
--disable-install-configurations
--disable-static
+   --enable-generate-messages
--enable-perfdhcp
--localstatedir="${EPREFIX}/var"
--runstatedir="${EPREFIX}/run"
--without-werror
+   $(use_enable test gtest)
+   $(use_enable shell)
$(use_with mysql)
$(use_with openssl)
$(use_with postgres pgsql)
@@ -99,4 +123,5 @@ src_install() {
 
 pkg_postinst() {
tmpfiles_process ${PN}.conf
+   fcaps cap_net_bind_service,cap_net_raw=+ep /usr/sbin/kea-dhcp{4,6}
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-05-18 Thread Lars Wendler
commit: 81a63c1b1c97241a2650b313579d83abbf177fe4
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 18 12:27:01 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 18 12:27:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a63c1b

net-misc/kea: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-1.8.2.ebuild | 78 ---
 1 file changed, 78 deletions(-)

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
deleted file mode 100644
index 7bf6f71daf2a..
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   inherit autotools
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch
-   "${FILESDIR}"/${PN}-1.8.2-boost-1.77.0.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
-   keepdir /var/lib/${PN} /var/log
-   rm -rf "${ED}"/var/run || die
-   find "${ED}" -type f -name "*.la" -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-05-18 Thread Lars Wendler
commit: c7d3e9c71823164d3eb6f0ffe3470043be4be7ba
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 18 12:09:59 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 18 12:27:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d3e9c7

net-misc/kea: Bump to version 2.0.2

Removed old

- Bump to EAPI-8
- Install message-compiler (#845327)
- Add missing caps (831115)

Closes: https://bugs.gentoo.org/830059
Closes: https://bugs.gentoo.org/831115
Closes: https://bugs.gentoo.org/845327
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest  |  2 +-
 .../kea/{kea-1.9.11.ebuild => kea-2.0.2.ebuild}| 32 --
 net-misc/kea/metadata.xml  |  1 +
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 88efc3d478ab..bff98126c828 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,2 @@
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
-DIST kea-1.9.11.tar.gz 9739770 BLAKE2B 
0215ac48036506018dc869c313d59244e4bf03634be279039fd0dbf7de73a2d87654b11153ec9014b89c815068961633987d44a26b820e4692937c85d29d352c
 SHA512 
5d7739d74b6fbed9733719af1aa068498fcc1eaa1ed423b93b9b4dd92de970e3cd036ad60377534a58e7d22e909404673358fa72307b6c32492f952684c180c0
+DIST kea-2.0.2.tar.gz 9796557 BLAKE2B 
a859c4cc3f6686db2dcf640738b421499a816700d134ee9322290051c3a192bab482be4a4bdb2630113594a3af1cafe2b95abce4a463815a6404fe87fac227ad
 SHA512 
edb7de227898fb7bd76dd8b503d02e07b4ba512b907b53399a5c45bd216820b342f00c1834858848ce8ff94aa3c228ceead0e2946cbcb1f75a03ca579630be83

diff --git a/net-misc/kea/kea-1.9.11.ebuild b/net-misc/kea/kea-2.0.2.ebuild
similarity index 76%
rename from net-misc/kea/kea-1.9.11.ebuild
rename to net-misc/kea/kea-2.0.2.ebuild
index cec8274fa82c..aca4fe99e606 100644
--- a/net-misc/kea/kea-1.9.11.ebuild
+++ b/net-misc/kea/kea-2.0.2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
@@ -10,7 +10,9 @@ MY_P="${PN}-${MY_PV}"
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="https://www.isc.org/kea/";
 
-inherit autotools systemd tmpfiles
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools fcaps python-single-r1 systemd tmpfiles
 
 if [[ ${PV} = * ]] ; then
inherit git-r3
@@ -18,13 +20,16 @@ if [[ ${PV} = * ]] ; then
 else
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   # Odd minor version = development release
+   if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~arm64 ~x86"
+   fi
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="mysql +openssl postgres +samples test"
+IUSE="mysql +openssl postgres +samples shell test"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -33,7 +38,9 @@ COMMON_DEPEND="
mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:2= )
openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )"
+   postgres? ( dev-db/postgresql:* )
+   shell? ( ${PYTHON_DEPS} )
+"
 DEPEND="${COMMON_DEPEND}
test? ( dev-cpp/gtest )
 "
@@ -42,6 +49,8 @@ RDEPEND="${COMMON_DEPEND}
acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
+
 S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
@@ -49,11 +58,15 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.9.10-gtest.patch
 )
 
+pkg_setup() {
+   use shell && python-single-r1_pkg_setup
+}
+
 src_prepare() {
default
# Brand the version with Gentoo
sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
+   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT([kea], [${PVR}-gentoo], 
[[email protected]])/g" \
configure.ac || die
 
sed -i \
@@ -67,14 +80,16 @@ src_configure() {
local myeconfargs=(
--disable-install-configurations
--disable-static
+   --enable-generate-messages
--enable-perfdhcp
--localstatedir="${EPREFIX}/var"
--runstatedir="${EPREFIX}/run"
--without-werror
+   $(use_enable test gtest)
+   $(use_enable shell)

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2022-03-13 Thread Dennis Lamm
commit: d2551634100c806d98ce6e239ca023f74679d664
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Tue Mar  8 08:23:05 2022 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Mon Mar 14 06:39:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2551634

net-misc/kea: https for HOMEPAGE

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24447
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-1.8.2-r1.ebuild | 4 ++--
 net-misc/kea/kea-1.8.2.ebuild| 4 ++--
 net-misc/kea/kea-1.9.11.ebuild   | 4 ++--
 net-misc/kea/kea-.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/kea-1.8.2-r1.ebuild b/net-misc/kea/kea-1.8.2-r1.ebuild
index 7da321e5b818..1a33c637752a 100644
--- a/net-misc/kea/kea-1.8.2-r1.ebuild
+++ b/net-misc/kea/kea-1.8.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
+HOMEPAGE="https://www.isc.org/kea/";
 
 inherit autotools systemd tmpfiles
 

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
index 0300cc956210..7bf6f71daf2a 100644
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
+HOMEPAGE="https://www.isc.org/kea/";
 if [[ ${PV} = * ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";

diff --git a/net-misc/kea/kea-1.9.11.ebuild b/net-misc/kea/kea-1.9.11.ebuild
index 7a7f2838d8c3..cec8274fa82c 100644
--- a/net-misc/kea/kea-1.9.11.ebuild
+++ b/net-misc/kea/kea-1.9.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
+HOMEPAGE="https://www.isc.org/kea/";
 
 inherit autotools systemd tmpfiles
 

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 0d9eaa837ee0..9f241b088227 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
+HOMEPAGE="https://www.isc.org/kea/";
 
 inherit autotools systemd tmpfiles
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-10-04 Thread Sam James
commit: 19399efdf153219274945ed7d6e0f8083610e1b7
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  4 20:38:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  4 20:40:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19399efd

net-misc/kea: drop inactive chainsaw@

As agreed with retirement@.

Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 net-misc/kea/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml
index a244db1b598..c1a04100328 100644
--- a/net-misc/kea/metadata.xml
+++ b/net-misc/kea/metadata.xml
@@ -5,10 +5,6 @@
[email protected]
Lars Wendler

-   
-   [email protected]
-   Tony Vroon
-   

[email protected]
Dennis Lamm



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2021-09-07 Thread Dennis Lamm
commit: 105bd8959f968d89b5f5d6216756f4123602f608
Author: Dennis Lamm  gentoo  org>
AuthorDate: Thu Aug 26 17:21:27 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Sep  8 04:48:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105bd895

net-misc/kea: various improvements

fixed-gtest detection
added Systemd services

Closes: https://bugs.gentoo.org/693332
Closes: https://bugs.gentoo.org/626280
Bug: https://bugs.gentoo.org/751883

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/files/kea-1.8.2-gtest.patch| 149 ++
 net-misc/kea/files/kea-1.9.10-gtest.patch   | 143 ++
 net-misc/kea/files/kea-ctrl-agent.conf  |  99 +++
 net-misc/kea/files/kea-ctrl-agent.service   |  19 ++
 net-misc/kea/files/kea-ddns-server.conf |  76 +
 net-misc/kea/files/kea-ddns-server.service  |  18 ++
 net-misc/kea/files/kea-dhcp4-server.service |  18 ++
 net-misc/kea/files/kea-dhcp4.conf   | 401 ++
 net-misc/kea/files/kea-dhcp6-server.service |  18 ++
 net-misc/kea/files/kea-dhcp6.conf   | 420 
 net-misc/kea/files/kea.tmpfiles.conf|   2 +
 net-misc/kea/kea-1.8.2-r1.ebuild| 112 
 net-misc/kea/kea-1.9.10-r1.ebuild   | 111 
 net-misc/kea/kea-.ebuild|  53 +++-
 net-misc/kea/metadata.xml   |  10 +
 15 files changed, 1638 insertions(+), 11 deletions(-)

diff --git a/net-misc/kea/files/kea-1.8.2-gtest.patch 
b/net-misc/kea/files/kea-1.8.2-gtest.patch
new file mode 100644
index 000..5fa4488b926
--- /dev/null
+++ b/net-misc/kea/files/kea-1.8.2-gtest.patch
@@ -0,0 +1,149 @@
+--- a/m4macros/ax_gtest.m4
 b/m4macros/ax_gtest.m4
+@@ -1,24 +1,14 @@
+ AC_DEFUN([AX_ISC_GTEST], [
+
+-enable_gtest="no"
+-GTEST_INCLUDES=
+-
+-AC_ARG_WITH([gtest-source],
+-[AS_HELP_STRING([--with-gtest-source=PATH],
+-[location of the Googletest source])],
+-[enable_gtest="yes" ; GTEST_SOURCE="$withval"])
+-
+-AC_ARG_WITH([gtest],
+-[AS_HELP_STRING([--with-gtest=PATH],
+-[specify a path to gtest header files 
(PATH/include) and library (PATH/lib)])],
+-[gtest_path="$withval"; enable_gtest="yes"], [gtest_path="no"])
++AC_ARG_ENABLE([gtest],
++  [AS_HELP_STRING([--enable-gtest],
++  [Enable testing via Googletest [default=no]])])
+
+ AC_ARG_WITH([lcov],
+ [AS_HELP_STRING([--with-lcov=PROGRAM],
+ [enable gtest and coverage target using the 
specified lcov])],
+ [lcov="$withval"],
+ [lcov="no"])
+-
+ USE_LCOV="no"
+ if test "$lcov" != "no"; then
+ # force gtest if not set
+@@ -55,110 +45,22 @@
+ #
+ # Check availability of gtest, which will be used for unit tests.
+ #
+-GTEST_LDFLAGS=
+-GTEST_LDADD=
+ DISTCHECK_GTEST_CONFIGURE_FLAG=
+-GTEST_VERSION="unknown"
+-
+-if test "x$enable_gtest" = "xyes" ; then
+-
+-DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest=$gtest_path"
+-
+-if test -n "$with_gtest_source" ; then
+
+-if test "x$GTEST_SOURCE" = "xyes" ; then
++AS_IF([test "x$enable_gtest" = "xyes"], [
++DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest"
++PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_ERROR([gtest requested 
but not found])])
++GTEST_INCLUDES=`${PKG_CONFIG} --keep-system-cflags --cflags-only-I gtest`
++GTEST_LDFLAGS=`${PKG_CONFIG} --keep-system-libs --libs-only-L gtest`
++GTEST_VERSION=`${PKG_CONFIG} --modversion gtest`
++])
+
+-AC_MSG_CHECKING([for gtest source])
+-# If not specified, try some common paths.
+-GTEST_SOURCE=
+-for d in /usr/src/gtest /usr/local /usr/pkg /opt /opt/local ; do
+-if test -f $d/src/gtest-all.cc -a $d/src/gtest_main.cc; then
+-GTEST_SOURCE=$d
+-AC_MSG_RESULT([$GTEST_SOURCE])
+-break
+-fi
+-done
+-if test -z $GTEST_SOURCE ; then
+-AC_MSG_ERROR([no gtest source but it was selected])
+-fi
+-else
+-if test ! -d $GTEST_SOURCE/src -a -d $GTEST_SOURCE/googletest; 
then
+-GTEST_SOURCE=$GTEST_SOURCE/googletest
+-fi
+-if test -f $GTEST_SOURCE/src/gtest-all.cc -a 
$GTEST_SOURCE/src/gtest_main.cc; then
+-have_gtest_source=yes
+-else
+-AC_MSG_ERROR([no gtest source at $GTEST_SOURCE])
+-fi
+-fi
+-have_gtest_source=yes
+-
+-GTEST_LDADD="\$(top_builddir)/ext/gtest/libgtest.a"
+-DISTCHECK_GTEST_CONFIGURE_FLAG="--with-gtest-source=$GTEST_SOURCE"
+-GTEST_INCLUDES="-I$GTEST_SOURCE -I$GTEST_SOURCE/include"
+- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-09-07 Thread Dennis Lamm
commit: e2b1dccd689c35026e21e185685824d235390400
Author: Dennis Lamm  gentoo  org>
AuthorDate: Tue Sep  7 19:16:14 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Wed Sep  8 04:48:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b1dccd

net-misc/kea: version bump 1.9.11

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/22116
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/Manifest  |  2 +-
 net-misc/kea/kea-1.9.10.ebuild | 75 --
 .../{kea-1.9.10-r1.ebuild => kea-1.9.11.ebuild}|  0
 3 files changed, 1 insertion(+), 76 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 6ae248ef110..88efc3d478a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,2 @@
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
-DIST kea-1.9.10.tar.gz 9660605 BLAKE2B 
fe6db2443a48a9a7e0908d3da9014cc0e7518d074472ae91da6d60ff81fa266edee905da3501cf36b34617701b3606f725aa75218ef2f0891492e239b84e107a
 SHA512 
9d18c45d24edc18cb951120f039621d1566d89854790e7d2f03c59293ae4512fca6b0d7e3fd0a0821b14ef418e7d914aa0e8de8cd9f3846a835aafcdf579d93e
+DIST kea-1.9.11.tar.gz 9739770 BLAKE2B 
0215ac48036506018dc869c313d59244e4bf03634be279039fd0dbf7de73a2d87654b11153ec9014b89c815068961633987d44a26b820e4692937c85d29d352c
 SHA512 
5d7739d74b6fbed9733719af1aa068498fcc1eaa1ed423b93b9b4dd92de970e3cd036ad60377534a58e7d22e909404673358fa72307b6c32492f952684c180c0

diff --git a/net-misc/kea/kea-1.9.10.ebuild b/net-misc/kea/kea-1.9.10.ebuild
deleted file mode 100644
index cca6eee7669..000
--- a/net-misc/kea/kea-1.9.10.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   
SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.8.2-boost-1.77.0.patch"
-)
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
-   keepdir /var/lib/${PN} /var/log
-   rm -rf "${ED}"/var/run || die
-   find "${ED}" -type f -name "*.la" -delete || die
-}

diff --git a/net-misc/kea/kea-1.9.10-r1.ebuild b/net-misc/kea/kea-1.9.11.ebuild
similarity index 100%
rename from net-misc/kea/kea-1.9.10-r1.ebuild
rename to net-misc/kea/kea-1.9.11.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-08-15 Thread Lars Wendler
commit: 2cf2a5d801960ac5967ad6bba62b08a4c9f60e86
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 15 07:55:17 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 15 07:55:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf2a5d8

net-misc/kea: Fixed build against dev-libs/boost-1.77.0

Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-1.8.2.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
index 774216ee78a..0300cc95621 100644
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -40,7 +40,10 @@ BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=( "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch
+   "${FILESDIR}"/${PN}-1.8.2-boost-1.77.0.patch
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2021-08-15 Thread Lars Wendler
commit: 729422814136771da2d8bec1eaf71f58720e2d2b
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 15 07:44:12 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 15 07:55:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72942281

net-misc/kea: Bump to version 1.9.10. Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest|  2 +-
 net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch  | 10 ++
 net-misc/kea/{kea-1.9.9.ebuild => kea-1.9.10.ebuild} |  4 
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index be476628f91..6ae248ef110 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,2 @@
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
-DIST kea-1.9.9.tar.gz 9611388 BLAKE2B 
6d040e2060b4ab2e137446229b70b7f4c53c096913a34be0da63e097cc7820f305648a3995097147502583714d72af35d1b822958ef11d6e8e2a1a0e1f98500e
 SHA512 
f9ccf4e7c7b11b37713b6627e62baedfa87d531ce078678ffdd1c8604029e817c3a5fbba6bb99d20f81bfed9efe15bf34bfe3b4870c7354c742fe8ff7f007fbe
+DIST kea-1.9.10.tar.gz 9660605 BLAKE2B 
fe6db2443a48a9a7e0908d3da9014cc0e7518d074472ae91da6d60ff81fa266edee905da3501cf36b34617701b3606f725aa75218ef2f0891492e239b84e107a
 SHA512 
9d18c45d24edc18cb951120f039621d1566d89854790e7d2f03c59293ae4512fca6b0d7e3fd0a0821b14ef418e7d914aa0e8de8cd9f3846a835aafcdf579d93e

diff --git a/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch 
b/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch
new file mode 100644
index 000..fec0fcc30f4
--- /dev/null
+++ b/net-misc/kea/files/kea-1.8.2-boost-1.77.0.patch
@@ -0,0 +1,10 @@
+--- kea-1.8.2/src/lib/dhcpsrv/timer_mgr.cc
 kea-1.8.2/src/lib/dhcpsrv/timer_mgr.cc
+@@ -9,6 +9,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ #include 

diff --git a/net-misc/kea/kea-1.9.9.ebuild b/net-misc/kea/kea-1.9.10.ebuild
similarity index 96%
rename from net-misc/kea/kea-1.9.9.ebuild
rename to net-misc/kea/kea-1.9.10.ebuild
index 444f89b948d..cca6eee7669 100644
--- a/net-misc/kea/kea-1.9.9.ebuild
+++ b/net-misc/kea/kea-1.9.10.ebuild
@@ -38,6 +38,10 @@ BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.2-boost-1.77.0.patch"
+)
+
 src_prepare() {
default
[[ ${PV} = * ]] && eautoreconf



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-08-15 Thread Lars Wendler
commit: f2c17fad3f56f495a15fa81ba02c4c374db002b1
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 15 07:26:14 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 15 07:28:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c17fad

Revert "net-misc/kea: fixed version 1.9.9"

This reverts commit ad81a161439fa0cb2fd7472b7638489b26e8f362.

Bug: https://bugs.gentoo.org/807163
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-1.9.9-r1.ebuild | 102 ---
 1 file changed, 102 deletions(-)

diff --git a/net-misc/kea/kea-1.9.9-r1.ebuild b/net-misc/kea/kea-1.9.9-r1.ebuild
deleted file mode 100644
index 7875a3f8860..000
--- a/net-misc/kea/kea-1.9.9-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-
-inherit autotools systemd tmpfiles
-
-if [[ ${PV} = * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres +samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   # Brand the version with Gentoo
-   sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
-   configure.ac || die
-
-   sed -i \
-   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
-   Makefile.am || die "Fixing Makefile.am failed"
-
-   sed -i \
-   -e 's#test -f "$dir/lib/libgtest.a"#test -f 
"$dir/lib64/libgtest.a"#g' \
-   -e 's#test -f "$dir/lib/libgtest.so"#test -f 
"$dir/lib64/libgtest.so"#g' \
-   -e 's GTEST_LDFLAGS="-L$dir/lib GTEST_LDFLAGS="-L$dir/lib64 g' \
-   m4macros/ax_gtest.m4 || die "fixing gtest detection macro 
failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-install-configurations
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --runstatedir="${EPREFIX}/run"
-   --with-gtest=/usr
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
-
-   if use samples; then
-   cp "${FILESDIR}"/kea-ctrl-agent.conf 
"${ED}"/etc/kea/kea-ctrl-agent.conf || die "Could not create 
kea-ctrl-agent.conf"
-   cp "${FILESDIR}"/kea-ddns-server.conf 
"${ED}"/etc/kea/kea-ddns-server.conf || die "Could not create 
kea-ddns-server.conf"
-   cp "${FILESDIR}"/kea-dhcp4.conf "${ED}"/etc/kea/kea-dhcp4.conf 
|| die "Could not create kea kea-dhcp4.conf"
-   cp "${FILESDIR}"/kea-dhcp6.conf "${ED}"/etc/kea/kea-dhcp6.conf 
|| die "Could not create kea-dhcp6.conf"
-   fi
-
-   systemd_dounit "${FILESDIR}/${PN}-ctrl-agent.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp4-server.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp6-server.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp-ddns-server.service"
-
-   newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
-
-   keepdir /var/lib/${PN} /var/log
-   find "${ED}" -type f -name "*.la" -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2021-08-15 Thread Lars Wendler
commit: 1b01bd24bb837ced2a86c5db64aabfe17c2b7289
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 15 07:27:23 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 15 07:28:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b01bd24

Revert "net-misc/kea: various improvements"

This reverts commit 3d18b36af81fe68dfbdf4a23a073a995c028c152.

Bug: https://bugs.gentoo.org/807163
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/files/kea-1.8.2-gtest.patch|  35 --
 net-misc/kea/files/kea-ctrl-agent.conf  |  99 --
 net-misc/kea/files/kea-ctrl-agent.service   |  19 --
 net-misc/kea/files/kea-dhcp-ddns-server.service |  18 -
 net-misc/kea/files/kea-dhcp-ddns.conf   |  76 -
 net-misc/kea/files/kea-dhcp4-server.service |  18 -
 net-misc/kea/files/kea-dhcp4.conf   | 401 --
 net-misc/kea/files/kea-dhcp6-server.service |  18 -
 net-misc/kea/files/kea-dhcp6.conf   | 420 
 net-misc/kea/files/kea.tmpfiles.conf|   2 -
 net-misc/kea/kea-1.8.2-r1.ebuild| 101 --
 net-misc/kea/metadata.xml   |  10 -
 12 files changed, 1217 deletions(-)

diff --git a/net-misc/kea/files/kea-1.8.2-gtest.patch 
b/net-misc/kea/files/kea-1.8.2-gtest.patch
deleted file mode 100644
index ae757a2a1a3..000
--- a/net-misc/kea/files/kea-1.8.2-gtest.patch
+++ /dev/null
@@ -1,35 +0,0 @@
 a/m4macros/ax_gtest.m4
-+++ b/m4macros/ax_gtest.m4
-@@ -135,20 +135,18 @@ if test "x$enable_gtest" = "xyes" ; then
- GTEST_FOUND="false"
- for dir in $GTEST_PATHS; do
- if test -f "$dir/include/gtest/gtest.h"; then
--if ! test -f "$dir/lib/libgtest.a"; then
--AC_MSG_WARN([Found Google Test include but not the 
library in $dir.])
--continue
--fi
--GTEST_INCLUDES="-I$dir/include"
--GTEST_LDFLAGS="-L$dir/lib"
--GTEST_LDADD="-lgtest"
--GTEST_FOUND="true"
--break
--fi
--done
--fi
--if test "${GTEST_FOUND}" != "true"; then
--AC_MSG_ERROR([Cannot find gtest in: $GTEST_PATHS])
-+  if test -f "$dir/lib64/libgtest.a" || \
-+   test -f "$dir/lib64/libgtest.so"; then
-+GTEST_INCLUDES="-I$dir/include"
-+GTEST_LDFLAGS="-L$dir/lib64"
-+GTEST_LDADD="-lgtest"
-+GTEST_FOUND="true"
-+break
-+else
-+  AC_MSG_ERROR([Cannot find gtest in: $GTEST_PATHS])
-+ fi
-+  fi
-+  done
- fi
-
- fi

diff --git a/net-misc/kea/files/kea-ctrl-agent.conf 
b/net-misc/kea/files/kea-ctrl-agent.conf
deleted file mode 100644
index 242ecc1a829..000
--- a/net-misc/kea/files/kea-ctrl-agent.conf
+++ /dev/null
@@ -1,99 +0,0 @@
-// This is a basic configuration for the Kea Control Agent.
-//
-// This is just a very basic configuration. Kea comes with large suite (over 
30)
-// of configuration examples and extensive Kea User's Guide. Please refer to
-// those materials to get better understanding of what this software is able to
-// do. Comments in this configuration file sometimes refer to sections for more
-// details. These are section numbers in Kea User's Guide. The version matching
-// your software should come with your Kea package, but it is also available
-// in ISC's Knowledgebase (https://kea.readthedocs.io; the direct link for
-// the stable version is https://kea.readthedocs.io/).
-//
-// This configuration file contains only Control Agent's configuration.
-// If configurations for other Kea services are also included in this file they
-// are ignored by the Control Agent.
-{
-
-// This is a basic configuration for the Kea Control Agent.
-// RESTful interface to be available at http://127.0.0.1:8000/
-"Control-agent": {
-"http-host": "127.0.0.1",
-"http-port": 8000,
-
-// Specify location of the files to which the Control Agent
-// should connect to forward commands to the DHCPv4, DHCPv6
-// and D2 servers via unix domain sockets.
-"control-sockets": {
-"dhcp4": {
-"socket-type": "unix",
-"socket-name": "/run/kea/kea4-ctrl-socket"
-},
-"dhcp6": {
-"socket-type": "unix",
-"socket-name": "/run/kea/kea6-ctrl-socket"
-},
-"d2": {
-"socket-type": "unix",
-"socket-name": "/run/kea/kea-ddns-ctrl-socket"
-}
-},
-
-// Specify hooks libraries that are attached to the Control Agent.
-// Such hooks libraries should support 'control_command_receive'
-// hook point. This is currently commented out because

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-08-15 Thread Lars Wendler
commit: d216ffed26e81c9881a1f17fe45563e3b6d60aa5
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 15 07:25:34 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 15 07:28:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d216ffed

Revert "net-misc/kea: adapted live ebuild"

This reverts commit 2462c197579aad6281e210bca0067fb0d8354edc.

Bug: https://bugs.gentoo.org/807163
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-.ebuild | 49 
 1 file changed, 9 insertions(+), 40 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 7875a3f8860..444f89b948d 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -9,22 +9,18 @@ MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="http://www.isc.org/kea/";
-
-inherit autotools systemd tmpfiles
-
 if [[ ${PV} = * ]] ; then
-   inherit git-r3
+   inherit autotools git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   
SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="mysql +openssl postgres +samples"
+IUSE="mysql +openssl postgres samples"
 
 DEPEND="
dev-libs/boost:=
@@ -44,36 +40,23 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
default
+   [[ ${PV} = * ]] && eautoreconf
# Brand the version with Gentoo
sed -i \
-   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
-   configure.ac || die
-
-   sed -i \
-   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
-   Makefile.am || die "Fixing Makefile.am failed"
-
-   sed -i \
-   -e 's#test -f "$dir/lib/libgtest.a"#test -f 
"$dir/lib64/libgtest.a"#g' \
-   -e 's#test -f "$dir/lib/libgtest.so"#test -f 
"$dir/lib64/libgtest.so"#g' \
-   -e 's GTEST_LDFLAGS="-L$dir/lib GTEST_LDFLAGS="-L$dir/lib64 g' \
-   m4macros/ax_gtest.m4 || die "fixing gtest detection macro 
failed"
-
-   eautoreconf
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
 }
 
 src_configure() {
local myeconfargs=(
-   --disable-install-configurations
--disable-static
--enable-perfdhcp
--localstatedir="${EPREFIX}/var"
-   --runstatedir="${EPREFIX}/run"
-   --with-gtest=/usr
--without-werror
$(use_with mysql)
$(use_with openssl)
$(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
)
econf "${myeconfargs[@]}"
 }
@@ -82,21 +65,7 @@ src_install() {
default
newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
-
-   if use samples; then
-   cp "${FILESDIR}"/kea-ctrl-agent.conf 
"${ED}"/etc/kea/kea-ctrl-agent.conf || die "Could not create 
kea-ctrl-agent.conf"
-   cp "${FILESDIR}"/kea-ddns-server.conf 
"${ED}"/etc/kea/kea-ddns-server.conf || die "Could not create 
kea-ddns-server.conf"
-   cp "${FILESDIR}"/kea-dhcp4.conf "${ED}"/etc/kea/kea-dhcp4.conf 
|| die "Could not create kea kea-dhcp4.conf"
-   cp "${FILESDIR}"/kea-dhcp6.conf "${ED}"/etc/kea/kea-dhcp6.conf 
|| die "Could not create kea-dhcp6.conf"
-   fi
-
-   systemd_dounit "${FILESDIR}/${PN}-ctrl-agent.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp4-server.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp6-server.service"
-   systemd_dounit "${FILESDIR}/${PN}-dhcp-ddns-server.service"
-
-   newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
-
keepdir /var/lib/${PN} /var/log
+   rm -rf "${ED}"/var/run || die
find "${ED}" -type f -name "*.la" -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-08-08 Thread Dennis Lamm
commit: ad81a161439fa0cb2fd7472b7638489b26e8f362
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Aug  8 10:28:26 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Aug  8 13:15:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad81a161

net-misc/kea: fixed version 1.9.9

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-1.9.9-r1.ebuild | 102 +++
 1 file changed, 102 insertions(+)

diff --git a/net-misc/kea/kea-1.9.9-r1.ebuild b/net-misc/kea/kea-1.9.9-r1.ebuild
new file mode 100644
index 000..7875a3f8860
--- /dev/null
+++ b/net-misc/kea/kea-1.9.9-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+
+inherit autotools systemd tmpfiles
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres +samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   # Brand the version with Gentoo
+   sed -i \
+   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
+   configure.ac || die
+
+   sed -i \
+   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
+   Makefile.am || die "Fixing Makefile.am failed"
+
+   sed -i \
+   -e 's#test -f "$dir/lib/libgtest.a"#test -f 
"$dir/lib64/libgtest.a"#g' \
+   -e 's#test -f "$dir/lib/libgtest.so"#test -f 
"$dir/lib64/libgtest.so"#g' \
+   -e 's GTEST_LDFLAGS="-L$dir/lib GTEST_LDFLAGS="-L$dir/lib64 g' \
+   m4macros/ax_gtest.m4 || die "fixing gtest detection macro 
failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-install-configurations
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --runstatedir="${EPREFIX}/run"
+   --with-gtest=/usr
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
+
+   if use samples; then
+   cp "${FILESDIR}"/kea-ctrl-agent.conf 
"${ED}"/etc/kea/kea-ctrl-agent.conf || die "Could not create 
kea-ctrl-agent.conf"
+   cp "${FILESDIR}"/kea-ddns-server.conf 
"${ED}"/etc/kea/kea-ddns-server.conf || die "Could not create 
kea-ddns-server.conf"
+   cp "${FILESDIR}"/kea-dhcp4.conf "${ED}"/etc/kea/kea-dhcp4.conf 
|| die "Could not create kea kea-dhcp4.conf"
+   cp "${FILESDIR}"/kea-dhcp6.conf "${ED}"/etc/kea/kea-dhcp6.conf 
|| die "Could not create kea-dhcp6.conf"
+   fi
+
+   systemd_dounit "${FILESDIR}/${PN}-ctrl-agent.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp4-server.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp6-server.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp-ddns-server.service"
+
+   newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
+
+   keepdir /var/lib/${PN} /var/log
+   find "${ED}" -type f -name "*.la" -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2021-08-08 Thread Dennis Lamm
commit: 3d18b36af81fe68dfbdf4a23a073a995c028c152
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sat Aug  7 16:07:21 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Aug  8 13:15:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d18b36a

net-misc/kea: various improvements

fixed-gtest detection
added Systemd services

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/files/kea-1.8.2-gtest.patch|  35 ++
 net-misc/kea/files/kea-ctrl-agent.conf  |  99 ++
 net-misc/kea/files/kea-ctrl-agent.service   |  19 ++
 net-misc/kea/files/kea-dhcp-ddns-server.service |  18 +
 net-misc/kea/files/kea-dhcp-ddns.conf   |  76 +
 net-misc/kea/files/kea-dhcp4-server.service |  18 +
 net-misc/kea/files/kea-dhcp4.conf   | 401 ++
 net-misc/kea/files/kea-dhcp6-server.service |  18 +
 net-misc/kea/files/kea-dhcp6.conf   | 420 
 net-misc/kea/files/kea.tmpfiles.conf|   2 +
 net-misc/kea/kea-1.8.2-r1.ebuild| 101 ++
 net-misc/kea/metadata.xml   |  10 +
 12 files changed, 1217 insertions(+)

diff --git a/net-misc/kea/files/kea-1.8.2-gtest.patch 
b/net-misc/kea/files/kea-1.8.2-gtest.patch
new file mode 100644
index 000..ae757a2a1a3
--- /dev/null
+++ b/net-misc/kea/files/kea-1.8.2-gtest.patch
@@ -0,0 +1,35 @@
+--- a/m4macros/ax_gtest.m4
 b/m4macros/ax_gtest.m4
+@@ -135,20 +135,18 @@ if test "x$enable_gtest" = "xyes" ; then
+ GTEST_FOUND="false"
+ for dir in $GTEST_PATHS; do
+ if test -f "$dir/include/gtest/gtest.h"; then
+-if ! test -f "$dir/lib/libgtest.a"; then
+-AC_MSG_WARN([Found Google Test include but not the 
library in $dir.])
+-continue
+-fi
+-GTEST_INCLUDES="-I$dir/include"
+-GTEST_LDFLAGS="-L$dir/lib"
+-GTEST_LDADD="-lgtest"
+-GTEST_FOUND="true"
+-break
+-fi
+-done
+-fi
+-if test "${GTEST_FOUND}" != "true"; then
+-AC_MSG_ERROR([Cannot find gtest in: $GTEST_PATHS])
++  if test -f "$dir/lib64/libgtest.a" || \
++   test -f "$dir/lib64/libgtest.so"; then
++GTEST_INCLUDES="-I$dir/include"
++GTEST_LDFLAGS="-L$dir/lib64"
++GTEST_LDADD="-lgtest"
++GTEST_FOUND="true"
++break
++else
++  AC_MSG_ERROR([Cannot find gtest in: $GTEST_PATHS])
++ fi
++  fi
++  done
+ fi
+
+ fi

diff --git a/net-misc/kea/files/kea-ctrl-agent.conf 
b/net-misc/kea/files/kea-ctrl-agent.conf
new file mode 100644
index 000..242ecc1a829
--- /dev/null
+++ b/net-misc/kea/files/kea-ctrl-agent.conf
@@ -0,0 +1,99 @@
+// This is a basic configuration for the Kea Control Agent.
+//
+// This is just a very basic configuration. Kea comes with large suite (over 
30)
+// of configuration examples and extensive Kea User's Guide. Please refer to
+// those materials to get better understanding of what this software is able to
+// do. Comments in this configuration file sometimes refer to sections for more
+// details. These are section numbers in Kea User's Guide. The version matching
+// your software should come with your Kea package, but it is also available
+// in ISC's Knowledgebase (https://kea.readthedocs.io; the direct link for
+// the stable version is https://kea.readthedocs.io/).
+//
+// This configuration file contains only Control Agent's configuration.
+// If configurations for other Kea services are also included in this file they
+// are ignored by the Control Agent.
+{
+
+// This is a basic configuration for the Kea Control Agent.
+// RESTful interface to be available at http://127.0.0.1:8000/
+"Control-agent": {
+"http-host": "127.0.0.1",
+"http-port": 8000,
+
+// Specify location of the files to which the Control Agent
+// should connect to forward commands to the DHCPv4, DHCPv6
+// and D2 servers via unix domain sockets.
+"control-sockets": {
+"dhcp4": {
+"socket-type": "unix",
+"socket-name": "/run/kea/kea4-ctrl-socket"
+},
+"dhcp6": {
+"socket-type": "unix",
+"socket-name": "/run/kea/kea6-ctrl-socket"
+},
+"d2": {
+"socket-type": "unix",
+"socket-name": "/run/kea/kea-ddns-ctrl-socket"
+}
+},
+
+// Specify hooks libraries that are attached to the Control Agent.
+// Such hooks libraries should support 'control_command_receive'
+// hook point. This is currently commen

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-08-08 Thread Dennis Lamm
commit: 2462c197579aad6281e210bca0067fb0d8354edc
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Aug  8 10:35:02 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Aug  8 13:15:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2462c197

net-misc/kea: adapted live ebuild

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/21907
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-.ebuild | 49 
 1 file changed, 40 insertions(+), 9 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 444f89b948d..7875a3f8860 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -9,18 +9,22 @@ MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="http://www.isc.org/kea/";
+
+inherit autotools systemd tmpfiles
+
 if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
+   inherit git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
 else
-   
SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="mysql +openssl postgres samples"
+IUSE="mysql +openssl postgres +samples"
 
 DEPEND="
dev-libs/boost:=
@@ -40,23 +44,36 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
default
-   [[ ${PV} = * ]] && eautoreconf
# Brand the version with Gentoo
sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
+   -e "s/AC_INIT(kea,${PV}.*, 
[email protected])/AC_INIT(kea,${PVR}-gentoo, [email protected])/g" \
+   configure.ac || die
+
+   sed -i \
+   -e '/mkdir -p $(DESTDIR)${runstatedir}\/${PACKAGE_NAME}/d' \
+   Makefile.am || die "Fixing Makefile.am failed"
+
+   sed -i \
+   -e 's#test -f "$dir/lib/libgtest.a"#test -f 
"$dir/lib64/libgtest.a"#g' \
+   -e 's#test -f "$dir/lib/libgtest.so"#test -f 
"$dir/lib64/libgtest.so"#g' \
+   -e 's GTEST_LDFLAGS="-L$dir/lib GTEST_LDFLAGS="-L$dir/lib64 g' \
+   m4macros/ax_gtest.m4 || die "fixing gtest detection macro 
failed"
+
+   eautoreconf
 }
 
 src_configure() {
local myeconfargs=(
+   --disable-install-configurations
--disable-static
--enable-perfdhcp
--localstatedir="${EPREFIX}/var"
+   --runstatedir="${EPREFIX}/run"
+   --with-gtest=/usr
--without-werror
$(use_with mysql)
$(use_with openssl)
$(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
)
econf "${myeconfargs[@]}"
 }
@@ -65,7 +82,21 @@ src_install() {
default
newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
+
+   if use samples; then
+   cp "${FILESDIR}"/kea-ctrl-agent.conf 
"${ED}"/etc/kea/kea-ctrl-agent.conf || die "Could not create 
kea-ctrl-agent.conf"
+   cp "${FILESDIR}"/kea-ddns-server.conf 
"${ED}"/etc/kea/kea-ddns-server.conf || die "Could not create 
kea-ddns-server.conf"
+   cp "${FILESDIR}"/kea-dhcp4.conf "${ED}"/etc/kea/kea-dhcp4.conf 
|| die "Could not create kea kea-dhcp4.conf"
+   cp "${FILESDIR}"/kea-dhcp6.conf "${ED}"/etc/kea/kea-dhcp6.conf 
|| die "Could not create kea-dhcp6.conf"
+   fi
+
+   systemd_dounit "${FILESDIR}/${PN}-ctrl-agent.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp4-server.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp6-server.service"
+   systemd_dounit "${FILESDIR}/${PN}-dhcp-ddns-server.service"
+
+   newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
+
keepdir /var/lib/${PN} /var/log
-   rm -rf "${ED}"/var/run || die
find "${ED}" -type f -name "*.la" -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-07-08 Thread Dennis Lamm
commit: aa934c272fcf0ef88f98c52526ad3e69011ccc19
Author: Dennis Lamm  gentoo  org>
AuthorDate: Tue Jul  6 18:19:50 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Jul  8 17:09:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa934c27

net-misc/kea: added ~arm64 keyword

Signed-off-by: Dennis Lamm  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/21543
Signed-off-by: Dennis Lamm  gentoo.org>

 net-misc/kea/kea-1.8.2.ebuild | 2 +-
 net-misc/kea/kea-1.9.9.ebuild | 2 +-
 net-misc/kea/kea-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
index 8fa2128e5ae..774216ee78a 100644
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script

diff --git a/net-misc/kea/kea-1.9.9.ebuild b/net-misc/kea/kea-1.9.9.ebuild
index cc899fb2dce..444f89b948d 100644
--- a/net-misc/kea/kea-1.9.9.ebuild
+++ b/net-misc/kea/kea-1.9.9.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} = * ]] ; then
 else

SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index cc899fb2dce..444f89b948d 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} = * ]] ; then
 else

SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-07-03 Thread Lars Wendler
commit: 0830e907876b571f5cd721bcc62e9a3334846855
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jul  3 09:43:04 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jul  3 09:43:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0830e907

net-misc/kea: Bump to version 1.9.9. Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest   | 2 +-
 net-misc/kea/{kea-1.9.4.ebuild => kea-1.9.9.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index cb6047a731a..be476628f91 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,2 @@
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
-DIST kea-1.9.4.tar.gz 9280374 BLAKE2B 
8fa3917ac9d3a95524b89474ac6ed09bc3b118b349a192a69a68bc7638295bd4b3e9bba532d4baba5575140d3b76f7d319a1ae4275d781ce6ffe9f931127f3bb
 SHA512 
1808583194d426cf3881426a4d2c2f4134c463c6804648e2b1baa6a8ae48bca8b12ee2bc230349c785aff385a05a98a943d1c6ba09565e2204f262a2255be911
+DIST kea-1.9.9.tar.gz 9611388 BLAKE2B 
6d040e2060b4ab2e137446229b70b7f4c53c096913a34be0da63e097cc7820f305648a3995097147502583714d72af35d1b822958ef11d6e8e2a1a0e1f98500e
 SHA512 
f9ccf4e7c7b11b37713b6627e62baedfa87d531ce078678ffdd1c8604029e817c3a5fbba6bb99d20f81bfed9efe15bf34bfe3b4870c7354c742fe8ff7f007fbe

diff --git a/net-misc/kea/kea-1.9.4.ebuild b/net-misc/kea/kea-1.9.9.ebuild
similarity index 100%
rename from net-misc/kea/kea-1.9.4.ebuild
rename to net-misc/kea/kea-1.9.9.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-06-16 Thread Lars Wendler
commit: 49d1e0a8166ea6184ff378fc6bf34061469f41d0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 15 23:23:24 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 16 18:10:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d1e0a8

net-misc/kea: update maintainers (drop base-system)

Signed-off-by: Sam James  gentoo.org>
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/metadata.xml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml
index 0d2b93d2ea0..b04fc98d468 100644
--- a/net-misc/kea/metadata.xml
+++ b/net-misc/kea/metadata.xml
@@ -1,16 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
+   
+   [email protected]
+   Lars Wendler
+   

[email protected]
Tony Vroon

-   
-   [email protected]
-   Gentoo Base System
-   

-   Use dev-libs/openssl instead of 
Botan
+   Use dev-libs/openssl instead of 
dev-libs/botan
Install sample configuration files

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-05-14 Thread David Seifert
commit: 9bfd01bc2c7727368ee53a931fc4837c5b16dd8b
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 14 10:03:39 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 14 10:03:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfd01bc

net-misc/kea: Remove old 1.8.1-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 net-misc/kea/Manifest|  1 -
 net-misc/kea/kea-1.8.1-r1.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 9648d8a84f9..cb6047a731a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.8.1.tar.gz 9001243 BLAKE2B 
f121c173b915b82055048fb05dcde622ef3f7ee1d113604d94c7df737f9de1b15e5cedbe414ea583f6a6c9e9ceca615eaad2778a2736addc21b27fe45521aa3e
 SHA512 
0f0972d63a1e146623dd30b8acab9a72af2d10c25fbdf9cf31e66ed25dee14f6b7602226c475f574a723415ba5569b04e13a97711bd933448e1045636ca6b96f
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
 DIST kea-1.9.4.tar.gz 9280374 BLAKE2B 
8fa3917ac9d3a95524b89474ac6ed09bc3b118b349a192a69a68bc7638295bd4b3e9bba532d4baba5575140d3b76f7d319a1ae4275d781ce6ffe9f931127f3bb
 SHA512 
1808583194d426cf3881426a4d2c2f4134c463c6804648e2b1baa6a8ae48bca8b12ee2bc230349c785aff385a05a98a943d1c6ba09565e2204f262a2255be911

diff --git a/net-misc/kea/kea-1.8.1-r1.ebuild b/net-misc/kea/kea-1.8.1-r1.ebuild
deleted file mode 100644
index ef18946d46a..000
--- a/net-misc/kea/kea-1.8.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
-   keepdir /var/lib/${PN} /var/log
-   rm -rf "${ED}"/var/run || die
-   find "${ED}" -type f -name "*.la" -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2021-05-13 Thread Sam James
commit: 9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3
Author: David Seifert  gentoo  org>
AuthorDate: Thu May 13 21:30:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 14 00:24:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc6e5ae

net-misc/kea: Fix compiling with GCC 11

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/20798
Signed-off-by: Sam James  gentoo.org>

 .../kea/files/kea-1.8.2-fix-cxx11-detection.patch  | 50 ++
 net-misc/kea/kea-1.8.2.ebuild  |  5 ++-
 2 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch 
b/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch
new file mode 100644
index 000..867561f2e7e
--- /dev/null
+++ b/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch
@@ -0,0 +1,50 @@
+--- a/m4macros/ax_cpp11.m4
 b/m4macros/ax_cpp11.m4
+@@ -182,6 +182,7 @@
+   AC_COMPILE_IFELSE(
+   [AC_LANG_PROGRAM(
+   [#include 
++   #include 
+std::shared_ptr th;],
+   [th.reset(new std::thread([[]]() { return; }));
+th->join();])],
+--- a/src/bin/perfdhcp/Makefile.am
 b/src/bin/perfdhcp/Makefile.am
+@@ -3,7 +3,6 @@
+ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
+ AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
+ AM_CPPFLAGS += $(BOOST_INCLUDES)
+-AM_CPPFLAGS += -Werror
+ 
+ AM_CXXFLAGS = $(KEA_CXXFLAGS)
+ 
+--- a/src/bin/perfdhcp/tests/Makefile.am
 b/src/bin/perfdhcp/tests/Makefile.am
+@@ -4,7 +4,6 @@
+ AM_CPPFLAGS += -I$(srcdir)/.. -I$(builddir)/..
+ AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(abs_srcdir)/testdata\"
+ AM_CPPFLAGS += $(BOOST_INCLUDES)
+-AM_CPPFLAGS += -Werror
+ AM_CXXFLAGS = $(KEA_CXXFLAGS)
+ 
+ if USE_STATIC_LINK
+--- a/src/lib/database/backend_selector.cc
 b/src/lib/database/backend_selector.cc
+@@ -7,6 +7,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ using namespace isc::data;
+--- a/src/lib/dhcpsrv/subnet_id.h
 b/src/lib/dhcpsrv/subnet_id.h
+@@ -10,6 +10,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ namespace isc {
+ namespace dhcp {

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
index ef18946d46a..8fa2128e5ae 100644
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -13,6 +13,7 @@ if [[ ${PV} = * ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
 else
+   inherit autotools
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
@@ -39,9 +40,11 @@ BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch )
+
 src_prepare() {
default
-   [[ ${PV} = * ]] && eautoreconf
+   eautoreconf
# Brand the version with Gentoo
sed -i \
-e "/VERSION=/s:'$: Gentoo-${PR}':" \



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-05-13 Thread David Seifert
commit: 1b3abe364b4049ce3d9175cf31e4cf519457b81f
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 13:54:01 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May 13 13:54:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3abe36

net-misc/kea: remove unused toolchain-funcs inherit

Signed-off-by: David Seifert  gentoo.org>

 net-misc/kea/kea-1.8.1-r1.ebuild | 4 +---
 net-misc/kea/kea-1.8.2.ebuild| 4 +---
 net-misc/kea/kea-1.9.4.ebuild| 2 --
 net-misc/kea/kea-.ebuild | 2 --
 4 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/net-misc/kea/kea-1.8.1-r1.ebuild b/net-misc/kea/kea-1.8.1-r1.ebuild
index 3e20776fe7e..ef18946d46a 100644
--- a/net-misc/kea/kea-1.8.1-r1.ebuild
+++ b/net-misc/kea/kea-1.8.1-r1.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
-
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
index 3e20776fe7e..ef18946d46a 100644
--- a/net-misc/kea/kea-1.8.2.ebuild
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
-
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"

diff --git a/net-misc/kea/kea-1.9.4.ebuild b/net-misc/kea/kea-1.9.4.ebuild
index f693a2e9d6d..cc899fb2dce 100644
--- a/net-misc/kea/kea-1.9.4.ebuild
+++ b/net-misc/kea/kea-1.9.4.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=7
 
-inherit toolchain-funcs
-
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index f693a2e9d6d..cc899fb2dce 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=7
 
-inherit toolchain-funcs
-
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2021-02-15 Thread Thomas Deutschmann
commit: ea2e2b86b9cc9253cf19945858da531c93675254
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Feb 15 14:14:35 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Feb 15 15:13:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea2e2b86

net-misc/kea: bump to v1.9.4

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-misc/kea/Manifest  | 1 +
 net-misc/kea/{kea-.ebuild => kea-1.9.4.ebuild} | 7 +++
 net-misc/kea/kea-.ebuild   | 7 +++
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 1663e61c01d..9648d8a84f9 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.8.1.tar.gz 9001243 BLAKE2B 
f121c173b915b82055048fb05dcde622ef3f7ee1d113604d94c7df737f9de1b15e5cedbe414ea583f6a6c9e9ceca615eaad2778a2736addc21b27fe45521aa3e
 SHA512 
0f0972d63a1e146623dd30b8acab9a72af2d10c25fbdf9cf31e66ed25dee14f6b7602226c475f574a723415ba5569b04e13a97711bd933448e1045636ca6b96f
 DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0
+DIST kea-1.9.4.tar.gz 9280374 BLAKE2B 
8fa3917ac9d3a95524b89474ac6ed09bc3b118b349a192a69a68bc7638295bd4b3e9bba532d4baba5575140d3b76f7d319a1ae4275d781ce6ffe9f931127f3bb
 SHA512 
1808583194d426cf3881426a4d2c2f4134c463c6804648e2b1baa6a8ae48bca8b12ee2bc230349c785aff385a05a98a943d1c6ba09565e2204f262a2255be911

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-1.9.4.ebuild
similarity index 90%
copy from net-misc/kea/kea-.ebuild
copy to net-misc/kea/kea-1.9.4.ebuild
index 3e20776fe7e..f693a2e9d6d 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-1.9.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,10 +15,9 @@ if [[ ${PV} = * ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   
SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 3e20776fe7e..f693a2e9d6d 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,10 +15,9 @@ if [[ ${PV} = * ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
 else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   
SRC_URI="https://downloads.isc.org/isc/kea/${MY_PV}/${PN}-${MY_PV}.tar.gz";
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-12-19 Thread Lars Wendler
commit: 6dc58a71000812ced536585bf5f580e460c58a5f
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Dec 18 20:00:32 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Dec 19 16:06:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc58a71

net-misc/kea: Bump to version 1.8.2

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.8.2.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index cccb8f5e01c..1663e61c01d 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1 +1,2 @@
 DIST kea-1.8.1.tar.gz 9001243 BLAKE2B 
f121c173b915b82055048fb05dcde622ef3f7ee1d113604d94c7df737f9de1b15e5cedbe414ea583f6a6c9e9ceca615eaad2778a2736addc21b27fe45521aa3e
 SHA512 
0f0972d63a1e146623dd30b8acab9a72af2d10c25fbdf9cf31e66ed25dee14f6b7602226c475f574a723415ba5569b04e13a97711bd933448e1045636ca6b96f
+DIST kea-1.8.2.tar.gz 9005645 BLAKE2B 
fec1118ca34adc4bdafea13dd6c1c3abcd42df80043b621d1ed994e7ec6906a5d13e86a1bbb6dcbdfee32a4d70281c751b46c57d4866bd92557448ab7c602c30
 SHA512 
7bea9eb30ee819bd350ba3f64da7dc46d1176363e7243e934ff0f0498fcd47ef4eccb7fe8d8dd4f883ab9e376174aaba4fae06b20405181d46b6b12cfbdf7dd0

diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
new file mode 100644
index 000..3e20776fe7e
--- /dev/null
+++ b/net-misc/kea/kea-1.8.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
+   keepdir /var/lib/${PN} /var/log
+   rm -rf "${ED}"/var/run || die
+   find "${ED}" -type f -name "*.la" -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2020-12-17 Thread Lars Wendler
commit: 417b65612199c4dd4cdf20eb83d7e08f1771dcb0
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec 17 19:04:36 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec 17 19:05:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417b6561

net-misc/kea: Revbump to fix broken config file check in init script

Thanks-to: Oleg Davydov  gmail.com>
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/files/kea-initd-r1  | 20 +++-
 .../kea/{kea-1.8.1.ebuild => kea-1.8.1-r1.ebuild}|  0
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/net-misc/kea/files/kea-initd-r1 b/net-misc/kea/files/kea-initd-r1
index 57711b3c9d3..00c493f14be 100644
--- a/net-misc/kea/files/kea-initd-r1
+++ b/net-misc/kea/files/kea-initd-r1
@@ -19,24 +19,34 @@ depend() {
 }
 
 start_pre() {
-   if [ ! -f "${config_file}" ] ; then
-   eerror "Please create a ${config_file} config file."
-   return 1
-   fi
-
if ${DHCP4:-false} ; then
+   if [ ! -f "${dhcp4_config}" ] ; then
+   eerror "Please create a ${dhcp4_config} config file."
+   return 1
+   fi
+
if ! ${dhcp4_command} -t ${dhcp4_config} 1>/dev/null 
2>/dev/null ; then
eerror "Error in config file ${dhcp4_config}"
return 1
fi
fi
if ${DHCP6:-false} ; then
+   if [ ! -f "${dhcp6_config}" ] ; then
+   eerror "Please create a ${dhcp6_file} config file."
+   return 1
+   fi
+
if ! ${dhcp6_command} -t ${dhcp6_config} 1>/dev/null 
2>/dev/null ; then
eerror "Error in config file ${dhcp6_config}"
return 1
fi
fi
if ${DDNS:-false} ; then
+   if [ ! -f "${ddns_config}" ] ; then
+   eerror "Please create a ${ddns_config} config file."
+   return 1
+   fi
+
if ! ${ddns_command} -t ${ddns_config} 1>/dev/null 2>/dev/null 
; then
eerror "Error in config file ${ddns_config}"
return 1

diff --git a/net-misc/kea/kea-1.8.1.ebuild b/net-misc/kea/kea-1.8.1-r1.ebuild
similarity index 100%
rename from net-misc/kea/kea-1.8.1.ebuild
rename to net-misc/kea/kea-1.8.1-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-11-25 Thread Lars Wendler
commit: 551f861d83da9d2934c2dedbf9afafe95c5f2142
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 25 09:26:36 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 25 09:26:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551f861d

net-misc/kea: Synced live ebuild

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 2f6a4dc21e8..3e20776fe7e 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -66,8 +66,9 @@ src_configure() {
 
 src_install() {
default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+   newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
+   keepdir /var/lib/${PN} /var/log
+   rm -rf "${ED}"/var/run || die
+   find "${ED}" -type f -name "*.la" -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/

2020-11-25 Thread Lars Wendler
commit: fef727f078387f170c64e8863ff191cf40ad2643
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 25 09:26:08 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 25 09:26:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef727f0

net-misc/kea: Removed development releases

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest  |  2 --
 net-misc/kea/files/kea-confd   |  4 ---
 net-misc/kea/files/kea-initd   | 78 --
 net-misc/kea/kea-1.7.10.ebuild | 73 ---
 net-misc/kea/kea-1.7.9.ebuild  | 73 ---
 5 files changed, 230 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index e957c1a45dd..cccb8f5e01c 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1 @@
-DIST kea-1.7.10.tar.gz 7513433 BLAKE2B 
7b7af1200c8673669d4db7ae5efa628a409661b3f82d6dc85c191578cb73fc85866307a1626a0c4a48f81df4f4ad3f5a2b9d8d5f682de2e8fc5750b56ff5
 SHA512 
b5f6c7c6538f767b604ff59e4cb8acb0a85bfa7611f9dbdc1b17cc70d483d6fcdc4978ccda8dd010623b2126d0b8ddf4275012f492b1c57f7b210bfd946e4a68
-DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717
 DIST kea-1.8.1.tar.gz 9001243 BLAKE2B 
f121c173b915b82055048fb05dcde622ef3f7ee1d113604d94c7df737f9de1b15e5cedbe414ea583f6a6c9e9ceca615eaad2778a2736addc21b27fe45521aa3e
 SHA512 
0f0972d63a1e146623dd30b8acab9a72af2d10c25fbdf9cf31e66ed25dee14f6b7602226c475f574a723415ba5569b04e13a97711bd933448e1045636ca6b96f

diff --git a/net-misc/kea/files/kea-confd b/net-misc/kea/files/kea-confd
deleted file mode 100644
index 568468eb3a1..000
--- a/net-misc/kea/files/kea-confd
+++ /dev/null
@@ -1,4 +0,0 @@
-# Which services should be taken into account?
-DHCP4="true"
-DHCP6="false"
-DDNS="false"

diff --git a/net-misc/kea/files/kea-initd b/net-misc/kea/files/kea-initd
deleted file mode 100644
index 85fdd56b9ec..000
--- a/net-misc/kea/files/kea-initd
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="kea dhcp services"
-
-dhcp4_command="/usr/sbin/kea-dhcp4"
-dhcp6_command="/usr/sbin/kea-dhcp6"
-ddns_command="/usr/sbin/kea-dhcp-ddns"
-config_file="/etc/kea/kea.conf"
-dhcp4_pidfile="/run/kea-dhcp4.pid"
-dhcp6_pidfile="/run/kea-dhcp6.pid"
-ddns_pidfile="/run/kea-ddns.pid"
-
-depend() {
-   use net
-}
-
-start_pre() {
-   if [ ! -f "${config_file}" ] ; then
-   eerror "Please create a ${config_file} config file."
-   return 1
-   fi
-
-   if ${DHCP4:-false} ; then
-   if ! ${dhcp4_command} -t ${config_file} 1>/dev/null 2>/dev/null 
; then
-   eerror "Error in config file."
-   return 1
-   fi
-   fi
-   if ${DHCP6:-false} ; then
-   if ! ${dhcp6_command} -t ${config_file} 1>/dev/null 2>/dev/null 
; then
-   eerror "Error in config file."
-   return 1
-   fi
-   fi
-   if ${DDNS:-false} ; then
-   if ! ${ddns_command} -t ${config_file} 1>/dev/null 2>/dev/null 
; then
-   eerror "Error in config file."
-   return 1
-   fi
-   fi
-}
-
-start() {
-   einfo "Starting kea dhcp services"
-   if ${DHCP4:-false} ; then
-   start-stop-daemon -m -b -p ${dhcp4_pidfile} \
-   -x ${dhcp4_command} -- -c ${config_file} \
-   || return 1
-   fi
-   if ${DHCP6:-false} ; then
-   start-stop-daemon -m -b -p ${dhcp6_pidfile} \
-   -x ${dhcp6_command} -- -c ${config_file} \
-   || return 1
-   fi
-   if ${DDNS:-false} ; then
-   start-stop-daemon -m -b -p ${ddns_pidfile} \
-   -x ${ddns_command} -- -c ${config_file} \
-   || return 1
-   fi
-}
-
-stop() {
-   einfo "Stopping kea dhcp services"
-   if ${DHCP4:-false} ; then
-   start-stop-daemon --stop -p ${dhcp4_pidfile} \
-   || return 1
-   fi
-   if ${DHCP6:-false} ; then
-   start-stop-daemon --stop -p ${dhcp6_pidfile} \
-   || return 1
-   fi
-   if ${DDNS:-false} ; then
-   start-stop-daemon --stop -p ${ddns_pidfile} \
-   || return 1
-   fi
-}

diff --git a/net-misc/kea/kea-1.7.10.ebuild b/net-misc/kea/kea-1.7.10.ebuild
deleted file mode 100644
index 2f6a4dc21e8..000
---

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/files/, net-misc/kea/

2020-11-25 Thread Lars Wendler
commit: ffd78423b98731909dd4404293641b3722bc2dc5
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 25 09:23:35 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 25 09:26:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd78423

net-misc/kea: Bump to version 1.8.1

Fixed init script to not use a single file for all daemons

Closes: https://bugs.gentoo.org/738026
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest   |  1 +
 net-misc/kea/files/kea-confd-r1 | 10 ++
 net-misc/kea/files/kea-initd-r1 | 80 +
 net-misc/kea/kea-1.8.1.ebuild   | 74 ++
 4 files changed, 165 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 027c01c2bff..e957c1a45dd 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.10.tar.gz 7513433 BLAKE2B 
7b7af1200c8673669d4db7ae5efa628a409661b3f82d6dc85c191578cb73fc85866307a1626a0c4a48f81df4f4ad3f5a2b9d8d5f682de2e8fc5750b56ff5
 SHA512 
b5f6c7c6538f767b604ff59e4cb8acb0a85bfa7611f9dbdc1b17cc70d483d6fcdc4978ccda8dd010623b2126d0b8ddf4275012f492b1c57f7b210bfd946e4a68
 DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717
+DIST kea-1.8.1.tar.gz 9001243 BLAKE2B 
f121c173b915b82055048fb05dcde622ef3f7ee1d113604d94c7df737f9de1b15e5cedbe414ea583f6a6c9e9ceca615eaad2778a2736addc21b27fe45521aa3e
 SHA512 
0f0972d63a1e146623dd30b8acab9a72af2d10c25fbdf9cf31e66ed25dee14f6b7602226c475f574a723415ba5569b04e13a97711bd933448e1045636ca6b96f

diff --git a/net-misc/kea/files/kea-confd-r1 b/net-misc/kea/files/kea-confd-r1
new file mode 100644
index 000..ef7b2f49dd9
--- /dev/null
+++ b/net-misc/kea/files/kea-confd-r1
@@ -0,0 +1,10 @@
+# Which services should be taken into account?
+DHCP4="true"
+DHCP6="false"
+DDNS="false"
+
+# Define your config files here. Otherwise we default to files in /etc/kea
+# (see init script)
+#DHCP4_CONFIG="/etc/kea/dhcp4.conf"
+#DHCP6_CONFIG="/etc/kea/dhcp6.conf"
+#DDNS_CONFIG="/etc/kea/ddns.conf"

diff --git a/net-misc/kea/files/kea-initd-r1 b/net-misc/kea/files/kea-initd-r1
new file mode 100644
index 000..57711b3c9d3
--- /dev/null
+++ b/net-misc/kea/files/kea-initd-r1
@@ -0,0 +1,80 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="kea dhcp services"
+
+dhcp4_command="/usr/sbin/kea-dhcp4"
+dhcp6_command="/usr/sbin/kea-dhcp6"
+ddns_command="/usr/sbin/kea-dhcp-ddns"
+dhcp4_config="${DHCP4_CONFIG:-/etc/kea/dhcp4.conf}"
+dhcp6_config="${DHCP6_CONFIG:-/etc/kea/dhcp6.conf}"
+ddns_config="${DDNS_CONFIG:-/etc/kea/ddns.conf}"
+dhcp4_pidfile="/run/kea-dhcp4.pid"
+dhcp6_pidfile="/run/kea-dhcp6.pid"
+ddns_pidfile="/run/kea-ddns.pid"
+
+depend() {
+   use net
+}
+
+start_pre() {
+   if [ ! -f "${config_file}" ] ; then
+   eerror "Please create a ${config_file} config file."
+   return 1
+   fi
+
+   if ${DHCP4:-false} ; then
+   if ! ${dhcp4_command} -t ${dhcp4_config} 1>/dev/null 
2>/dev/null ; then
+   eerror "Error in config file ${dhcp4_config}"
+   return 1
+   fi
+   fi
+   if ${DHCP6:-false} ; then
+   if ! ${dhcp6_command} -t ${dhcp6_config} 1>/dev/null 
2>/dev/null ; then
+   eerror "Error in config file ${dhcp6_config}"
+   return 1
+   fi
+   fi
+   if ${DDNS:-false} ; then
+   if ! ${ddns_command} -t ${ddns_config} 1>/dev/null 2>/dev/null 
; then
+   eerror "Error in config file ${ddns_config}"
+   return 1
+   fi
+   fi
+}
+
+start() {
+   einfo "Starting kea dhcp services"
+   if ${DHCP4:-false} ; then
+   start-stop-daemon -m -b -p ${dhcp4_pidfile} \
+   -x ${dhcp4_command} -- -c ${dhcp4_config} \
+   || return 1
+   fi
+   if ${DHCP6:-false} ; then
+   start-stop-daemon -m -b -p ${dhcp6_pidfile} \
+   -x ${dhcp6_command} -- -c ${dhcp6_config} \
+   || return 1
+   fi
+   if ${DDNS:-false} ; then
+   start-stop-daemon -m -b -p ${ddns_pidfile} \
+   -x ${ddns_command} -- -c ${ddns_config} \
+   || return 1
+   fi
+}
+
+stop() {
+   einfo "Stopping kea dhcp services"
+   if ${DHCP4:-false} ; then
+   start-stop-daemon --stop -p ${dhcp4_pidfile} \
+   || return 1
+   fi
+   if ${DHCP

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-07-30 Thread Lars Wendler
commit: 74e4d58982a5a0f1da7381e55b2f2171575e23e5
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 30 08:03:54 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 30 08:04:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e4d589

net-misc/kea: Removed old

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.8.ebuild | 73 ---
 2 files changed, 74 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index a9925284b9e..027c01c2bff 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
 DIST kea-1.7.10.tar.gz 7513433 BLAKE2B 
7b7af1200c8673669d4db7ae5efa628a409661b3f82d6dc85c191578cb73fc85866307a1626a0c4a48f81df4f4ad3f5a2b9d8d5f682de2e8fc5750b56ff5
 SHA512 
b5f6c7c6538f767b604ff59e4cb8acb0a85bfa7611f9dbdc1b17cc70d483d6fcdc4978ccda8dd010623b2126d0b8ddf4275012f492b1c57f7b210bfd946e4a68
-DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28
 DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717

diff --git a/net-misc/kea/kea-1.7.8.ebuild b/net-misc/kea/kea-1.7.8.ebuild
deleted file mode 100644
index 2f6a4dc21e8..000
--- a/net-misc/kea/kea-1.7.8.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-07-30 Thread Lars Wendler
commit: e44aa925a50099f85346d65e3645ec810cea85a2
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 30 07:56:08 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 30 08:04:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44aa925

net-misc/kea: Bump to version 1.7.10

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest  |  1 +
 net-misc/kea/kea-1.7.10.ebuild | 73 ++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 1eb4cd0d057..a9925284b9e 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
+DIST kea-1.7.10.tar.gz 7513433 BLAKE2B 
7b7af1200c8673669d4db7ae5efa628a409661b3f82d6dc85c191578cb73fc85866307a1626a0c4a48f81df4f4ad3f5a2b9d8d5f682de2e8fc5750b56ff5
 SHA512 
b5f6c7c6538f767b604ff59e4cb8acb0a85bfa7611f9dbdc1b17cc70d483d6fcdc4978ccda8dd010623b2126d0b8ddf4275012f492b1c57f7b210bfd946e4a68
 DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28
 DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717

diff --git a/net-misc/kea/kea-1.7.10.ebuild b/net-misc/kea/kea-1.7.10.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.10.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-06-29 Thread Lars Wendler
commit: 0afd1de2d6fd59332a2028e35fa61624b0fed7f1
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jun 29 14:12:14 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jun 29 14:12:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afd1de2

net-misc/kea: Removed old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.7.ebuild | 73 ---
 2 files changed, 74 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index d97642e5c2a..1eb4cd0d057 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1
 DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28
 DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717

diff --git a/net-misc/kea/kea-1.7.7.ebuild b/net-misc/kea/kea-1.7.7.ebuild
deleted file mode 100644
index 2f6a4dc21e8..000
--- a/net-misc/kea/kea-1.7.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-06-29 Thread Lars Wendler
commit: bcfade1eeb579df2e3eeb913aab0dd74e09bcabc
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jun 29 14:11:48 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jun 29 14:11:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcfade1e

net-misc/kea: Bump to version 1.7.9

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.9.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 47976ef867f..d97642e5c2a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1
 DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28
+DIST kea-1.7.9.tar.gz 7481156 BLAKE2B 
eef2561b79ad83c18d42a0d23e97fc27205190475c24bb871112050b5ec0a134c4c448c03c4f1b678aadf7d54c7f96481c43485187408f8bfebe6f2c6edbc832
 SHA512 
180e80dbf21789e9c18c69b9e03a2ad4519eb3386cf8c4221a283883eb8151443e888b6a95d1affb0790ef25d6174582448bf590eb2ddadb12b965cba7dc8717

diff --git a/net-misc/kea/kea-1.7.9.ebuild b/net-misc/kea/kea-1.7.9.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.9.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-05-27 Thread Lars Wendler
commit: 62dca34701fa66a9571c222f8c22569d5edd8cf0
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 27 12:01:07 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 27 12:01:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62dca347

net-misc/kea: Removed old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.6.ebuild | 73 ---
 2 files changed, 74 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index f52e7d53f23..47976ef867f 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a
 DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1
 DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28

diff --git a/net-misc/kea/kea-1.7.6.ebuild b/net-misc/kea/kea-1.7.6.ebuild
deleted file mode 100644
index 2f6a4dc21e8..000
--- a/net-misc/kea/kea-1.7.6.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-05-27 Thread Lars Wendler
commit: 366d759d28bbe152f6fdfe80810725909f10382c
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 27 12:00:26 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 27 12:01:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366d759d

net-misc/kea: Bump to version 1.7.8

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.8.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index be51afab599..f52e7d53f23 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a
 DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1
+DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 
88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f
 SHA512 
1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28

diff --git a/net-misc/kea/kea-1.7.8.ebuild b/net-misc/kea/kea-1.7.8.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-04-30 Thread Lars Wendler
commit: 1309d811ff887beb942d3438374898166960301b
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr 30 08:20:27 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr 30 08:21:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1309d811

net-misc/kea: Bump to version 1.7.7

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.7.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index cbd7f4fe685..23fe70b4b55 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034
 DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a
+DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1

diff --git a/net-misc/kea/kea-1.7.7.ebuild b/net-misc/kea/kea-1.7.7.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.7.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-04-30 Thread Lars Wendler
commit: 909d67bfa2d248cfcbdc3c6bb231327bb86d4532
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr 30 08:21:02 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr 30 08:21:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909d67bf

net-misc/kea: Removed old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.5.ebuild | 73 ---
 2 files changed, 74 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 23fe70b4b55..be51afab599 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034
 DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a
 DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 
0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6
 SHA512 
af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1

diff --git a/net-misc/kea/kea-1.7.5.ebuild b/net-misc/kea/kea-1.7.5.ebuild
deleted file mode 100644
index 2f6a4dc21e8..000
--- a/net-misc/kea/kea-1.7.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}
-   acct-group/dhcp
-   acct-user/dhcp"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-03-27 Thread Lars Wendler
commit: 6052a9774a12aa28f8bb95ad8d12b0d790fd9b5e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 27 08:56:58 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 27 08:58:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6052a977

net-misc/kea: Bump to version 1.7.6

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.6.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index bcb0af647ff..299be478b87 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca
 DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034
+DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a

diff --git a/net-misc/kea/kea-1.7.6.ebuild b/net-misc/kea/kea-1.7.6.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.6.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-03-27 Thread Lars Wendler
commit: fddb619ad48a21c7e519802cd975044c00a10eb3
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 27 08:58:30 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 27 08:58:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddb619a

net-misc/kea: Removed old

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.4.ebuild | 76 ---
 2 files changed, 77 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 299be478b87..cbd7f4fe685 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca
 DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034
 DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 
09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6
 SHA512 
5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a

diff --git a/net-misc/kea/kea-1.7.4.ebuild b/net-misc/kea/kea-1.7.4.ebuild
deleted file mode 100644
index 171da871a92..000
--- a/net-misc/kea/kea-1.7.4.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-02-27 Thread Lars Wendler
commit: e5810748b7524d1498116243a802bd85705cabf2
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 27 08:21:16 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 27 08:59:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5810748

net-misc/kea: Removed old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.3.ebuild | 76 ---
 2 files changed, 77 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 2547be50faf..bcb0af647ff 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812
 DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca
 DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034

diff --git a/net-misc/kea/kea-1.7.3.ebuild b/net-misc/kea/kea-1.7.3.ebuild
deleted file mode 100644
index c915fee4402..000
--- a/net-misc/kea/kea-1.7.3.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-02-27 Thread Lars Wendler
commit: a85967831010c85315951d73530b77f834ee58c5
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 27 08:18:43 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 27 08:59:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8596783

net-misc/kea: Bump to version 1.7.5

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.5.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 89fec7a7d45..2547be50faf 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812
 DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca
+DIST kea-1.7.5.tar.gz 7337326 BLAKE2B 
9fa3b16cdbe90503715987d72d5560da13ff619be85040c49572cc24ed83fe0e155c9c7be9785d6f918b1c5a5777ac3d59153fc313d6622d68025d6af4a34956
 SHA512 
1e31a9b2031d5dfdef18178abcdc30c1fe20ac4013c070cf01e2a2af56d4594fc8ae1edcc9e98483cd8feb8d9d916b893e42cfdd41e195c2d79d0c8800040034

diff --git a/net-misc/kea/kea-1.7.5.ebuild b/net-misc/kea/kea-1.7.5.ebuild
new file mode 100644
index 000..2f6a4dc21e8
--- /dev/null
+++ b/net-misc/kea/kea-1.7.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-02-27 Thread Lars Wendler
commit: ef8cc2158d918e62810d818b11a799333b62dddb
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 27 08:20:55 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 27 08:59:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8cc215

net-misc/kea: Synced live ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/kea-.ebuild | 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index c915fee4402..2f6a4dc21e8 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs user
+inherit toolchain-funcs
 
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
@@ -34,7 +34,9 @@ DEPEND="
openssl? ( dev-libs/openssl:0= )
postgres? ( dev-db/postgresql:* )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   acct-group/dhcp
+   acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
@@ -69,8 +71,3 @@ src_install() {
keepdir /var/{lib,run}/${PN} /var/log
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
 }
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-01-31 Thread Lars Wendler
commit: dc16a581c5551e98c0d1963ef32881c34611f1cb
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jan 31 13:56:02 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jan 31 14:00:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc16a581

net-misc/kea: Bump to version 1.7.4

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.4.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 35cba53f6b3..e4cb99f2cb0 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2
 DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812
+DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca

diff --git a/net-misc/kea/kea-1.7.4.ebuild b/net-misc/kea/kea-1.7.4.ebuild
new file mode 100644
index 000..171da871a92
--- /dev/null
+++ b/net-misc/kea/kea-1.7.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2020-01-31 Thread Lars Wendler
commit: c73402a1f104c14d10235bb52d1e973f75a29c28
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jan 31 13:56:27 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jan 31 14:00:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73402a1

net-misc/kea: Removed old

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.2.ebuild | 76 ---
 2 files changed, 77 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index e4cb99f2cb0..89fec7a7d45 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2
 DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812
 DIST kea-1.7.4.tar.gz 731 BLAKE2B 
8042f0d0ecce90635d41aa07599c475adfd17ab8145d14fdd92b3c4442ddf44e4495c63d67c9e5bc30d81cf42eb4393a111762c6f308fcf597cd364360d05bd5
 SHA512 
ae2117b5add65abed1603be2393cc300fea181376c598c2facdd76cc868d53fabb5714d41f7a5647b0ae508d05e98b50fa101a7917503835928f274a157ed6ca

diff --git a/net-misc/kea/kea-1.7.2.ebuild b/net-misc/kea/kea-1.7.2.ebuild
deleted file mode 100644
index c915fee4402..000
--- a/net-misc/kea/kea-1.7.2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-12-19 Thread Lars Wendler
commit: 344973a66b4c0c710caf37c8a218af8b000460c5
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec 19 10:15:05 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec 19 15:37:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344973a6

net-misc/kea: Bump to version 1.7.3

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.3.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 50dfad04fc7..8deb40c30c9 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 
40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28
 SHA512 
7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1
 DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2
+DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812

diff --git a/net-misc/kea/kea-1.7.3.ebuild b/net-misc/kea/kea-1.7.3.ebuild
new file mode 100644
index 000..c915fee4402
--- /dev/null
+++ b/net-misc/kea/kea-1.7.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-12-19 Thread Lars Wendler
commit: 6640f0fda39a37fa1e419620ddce5f300f7e65a3
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec 19 10:15:58 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec 19 15:37:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6640f0fd

net-misc/kea: Removed old

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.7.1.ebuild | 76 ---
 2 files changed, 77 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 8deb40c30c9..35cba53f6b3 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 
40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28
 SHA512 
7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1
 DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2
 DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 
9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21
 SHA512 
17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812

diff --git a/net-misc/kea/kea-1.7.1.ebuild b/net-misc/kea/kea-1.7.1.ebuild
deleted file mode 100644
index c915fee4402..000
--- a/net-misc/kea/kea-1.7.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql +openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:2= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-11-28 Thread Lars Wendler
commit: 7bb8f1bf23684bb7496fc895b9913b442094db00
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 28 12:22:24 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 28 12:23:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb8f1bf

net-misc/kea: Bump to version 1.7.2

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.2.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 62b23b50c60..960012688b7 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,4 @@
 DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af
 DIST kea-1.7.0.tar.gz 7155043 BLAKE2B 
8d4e218a769089fbea98578289eadc4dd012c39c4513528cceb5f69dc07e622be8636b4ff8325eb38db2e8e301326172d50dc23f56ca401b55cb9e0c5016e618
 SHA512 
70fb303ee528d8c5611f723cdf0f68d7dbbda061ee963a3f5d6ec0396a986cdc36370dec48bd6483fbe9acb551b53ad377ea1be6cea0a97456db4352bc162d06
 DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 
40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28
 SHA512 
7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1
+DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2

diff --git a/net-misc/kea/kea-1.7.2.ebuild b/net-misc/kea/kea-1.7.2.ebuild
new file mode 100644
index 000..c915fee4402
--- /dev/null
+++ b/net-misc/kea/kea-1.7.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-11-28 Thread Lars Wendler
commit: c19cd22ebeb46eb201e4b328aab911534d3b3802
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 28 12:23:07 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 28 12:23:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19cd22e

net-misc/kea: Removed old

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  2 --
 net-misc/kea/kea-1.6.0.ebuild | 76 ---
 net-misc/kea/kea-1.7.0.ebuild | 76 ---
 3 files changed, 154 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 960012688b7..50dfad04fc7 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,4 +1,2 @@
-DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af
-DIST kea-1.7.0.tar.gz 7155043 BLAKE2B 
8d4e218a769089fbea98578289eadc4dd012c39c4513528cceb5f69dc07e622be8636b4ff8325eb38db2e8e301326172d50dc23f56ca401b55cb9e0c5016e618
 SHA512 
70fb303ee528d8c5611f723cdf0f68d7dbbda061ee963a3f5d6ec0396a986cdc36370dec48bd6483fbe9acb551b53ad377ea1be6cea0a97456db4352bc162d06
 DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 
40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28
 SHA512 
7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1
 DIST kea-1.7.2.tar.gz 7229506 BLAKE2B 
fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531
 SHA512 
f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2

diff --git a/net-misc/kea/kea-1.6.0.ebuild b/net-misc/kea/kea-1.6.0.ebuild
deleted file mode 100644
index 2d0234c2da4..000
--- a/net-misc/kea/kea-1.6.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
-else
-   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="mysql openssl postgres samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:0= )
-   postgres? ( dev-db/postgresql:* )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-   [[ ${PV} = * ]] && eautoreconf
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-static
-   --enable-perfdhcp
-   --localstatedir="${EPREFIX}/var"
-   --without-werror
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   keepdir /var/{lib,run}/${PN} /var/log
-   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}

diff --git a/net-misc/kea/kea-1.7.0.ebuild b/net-misc/kea/kea-1.7.0.ebuild
deleted file mode 100644
index c915fee4402..000
--- a/net-misc/kea/kea-1.7.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_p/-P}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-if [[ ${PV} = * ]] ; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.co

[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-10-31 Thread Lars Wendler
commit: e681b224049086758e33cb492496851687c420cf
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Oct 31 12:03:46 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Oct 31 12:03:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e681b224

net-misc/kea: Bump to version 1.7.1

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.1.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 6d48fd3f645..62b23b50c60 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af
 DIST kea-1.7.0.tar.gz 7155043 BLAKE2B 
8d4e218a769089fbea98578289eadc4dd012c39c4513528cceb5f69dc07e622be8636b4ff8325eb38db2e8e301326172d50dc23f56ca401b55cb9e0c5016e618
 SHA512 
70fb303ee528d8c5611f723cdf0f68d7dbbda061ee963a3f5d6ec0396a986cdc36370dec48bd6483fbe9acb551b53ad377ea1be6cea0a97456db4352bc162d06
+DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 
40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28
 SHA512 
7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1

diff --git a/net-misc/kea/kea-1.7.1.ebuild b/net-misc/kea/kea-1.7.1.ebuild
new file mode 100644
index 000..c915fee4402
--- /dev/null
+++ b/net-misc/kea/kea-1.7.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kea/

2019-10-07 Thread Lars Wendler
commit: f57f48923c4f87e103a4482735705086764314d6
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct  7 15:20:47 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct  7 15:25:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57f4892

net-misc/kea: Bump to version 1.7.0

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.7.0.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 0cb0ffde94f..0dae60cae76 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.5.0.tar.gz 7395257 BLAKE2B 
dfc28916166a732714253e1e7458076643e1a40e9fbcfca78d7206155b355abedf630f19311a2b164b2af78227e9c8cd0db9afcc01015554e5b2c4c336a11c9c
 SHA512 
6d6b7407831311ebe37abce382ce77c664015ddbe3e73ec78153a00b301f98af5be52e26ad4febf5ca1e478d2c1844db4c988b241d2700d758e90b077f176ad8
 DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af
+DIST kea-1.7.0.tar.gz 7155043 BLAKE2B 
8d4e218a769089fbea98578289eadc4dd012c39c4513528cceb5f69dc07e622be8636b4ff8325eb38db2e8e301326172d50dc23f56ca401b55cb9e0c5016e618
 SHA512 
70fb303ee528d8c5611f723cdf0f68d7dbbda061ee963a3f5d6ec0396a986cdc36370dec48bd6483fbe9acb551b53ad377ea1be6cea0a97456db4352bc162d06

diff --git a/net-misc/kea/kea-1.7.0.ebuild b/net-misc/kea/kea-1.7.0.ebuild
new file mode 100644
index 000..c915fee4402
--- /dev/null
+++ b/net-misc/kea/kea-1.7.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_p/-P}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+if [[ ${PV} = * ]] ; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/isc-projects/kea.git";
+else
+   SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="mysql +openssl postgres samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   mysql? ( dev-db/mysql-connector-c )
+   !openssl? ( dev-libs/botan:2= )
+   openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   [[ ${PV} = * ]] && eautoreconf
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --enable-perfdhcp
+   --localstatedir="${EPREFIX}/var"
+   --without-werror
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}



  1   2   >