[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}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/g" \
+   -e "s/AC_INIT(kea,${PV}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/g" \
+   -e "s/AC_INIT(kea,${PV}.*, 
kea-...@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], 
[kea-...@lists.isc.org])/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 @@
polynomia...@gentoo.org
Lars Wendler

-   
-   chain...@gentoo.org
-   Tony Vroon
-   

expedition...@gentoo.org
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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/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}.*, 
kea-...@lists.isc.org)/AC_INIT(kea,${PVR}-gentoo, kea-...@lists.isc.org)/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";>
 
+   
+   polynomia...@gentoo.org
+   Lars Wendler
+   

chain...@gentoo.org
Tony Vroon

-   
-   base-sys...@gentoo.org
-   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
+}



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

2019-10-07 Thread Lars Wendler
commit: bad8f80303fe747986b8246db02776529d2dc7af
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct  7 15:23:35 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct  7 15:25:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad8f803

net-misc/kea: Removed old

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.5.0.ebuild | 72 ---
 2 files changed, 73 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 0dae60cae76..6d48fd3f645 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-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.5.0.ebuild b/net-misc/kea/kea-1.5.0.ebuild
deleted file mode 100644
index 75288a0c58a..000
--- a/net-misc/kea/kea-1.5.0.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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}"
-
-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=(
-   $(use_with mysql)
-   $(use_with openssl)
-   $(use_with postgres pgsql)
-   $(use_enable samples install-configurations)
-   --disable-static
-   --without-werror
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -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: 1e063af4277fb05a4fb3381a6d2ce36fbf69a628
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct  7 15:21:42 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct  7 15:25:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e063af4

net-misc/kea: Synced live ebuild

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler  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 16b90526178..c915fee4402 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -30,7 +30,7 @@ DEPEND="
dev-cpp/gtest
dev-libs/log4cplus
mysql? ( dev-db/mysql-connector-c )
-   !openssl? ( dev-libs/botan:0= )
+   !openssl? ( dev-libs/botan:2= )
openssl? ( dev-libs/openssl:0= )
postgres? ( dev-db/postgresql:* )
 "



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

2019-09-11 Thread Lars Wendler
commit: 37ce9dc3ed5b9a241b92c482ee09bd08f0f80b04
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 12 06:08:58 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 12 06:09:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ce9dc3

net-misc/kea: Prefer openssl over botan

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler  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 2d0234c2da4..16b90526178 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -23,7 +23,7 @@ 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:=



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

2019-08-29 Thread Lars Wendler
commit: 771690c75630707e3723c48b11515bdd19e4c0dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 29 12:48:48 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 29 12:49:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=771690c7

net-misc/kea: Synced live ebuild

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

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

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 75288a0c58a..2d0234c2da4 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit toolchain-funcs user
 
@@ -35,6 +35,7 @@ DEPEND="
postgres? ( dev-db/postgresql:* )
 "
 RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -49,12 +50,14 @@ src_prepare() {
 
 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)
-   --disable-static
-   --without-werror
)
econf "${myeconfargs[@]}"
 }
@@ -63,7 +66,8 @@ src_install() {
default
newconfd "${FILESDIR}"/${PN}-confd ${PN}
newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+   keepdir /var/{lib,run}/${PN} /var/log
+   find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
 }
 
 pkg_preinst() {



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

2019-08-29 Thread Lars Wendler
commit: d0e58161d22cf89073116b8bf947514ad98d94a4
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 29 12:47:42 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 29 12:49:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e58161

net-misc/kea: Bump to version 1.6.0

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

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

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 1b5398ae8cb..f8873aad00d 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,4 @@
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
 DIST kea-1.5.0-beta2.tar.gz 7372364 BLAKE2B 
bb5c8c119fbf52ceea58998cb37b19286ea85f30f67d0b6f4bd27be188f2d68ec551667a136f0e9f4bf5320ed1250494b67fc26c8d15910a46976c968cd4480b
 SHA512 
c107a7a570d018a05d42bd0d521757d9036c4bdabf2943ac3c96e2f5124ec6f34fe1d60660450a51cba20b24e8fda3915e8c5ee2d3e5e6df4319ba965153b8de
 DIST kea-1.5.0.tar.gz 7395257 BLAKE2B 
dfc28916166a732714253e1e7458076643e1a40e9fbcfca78d7206155b355abedf630f19311a2b164b2af78227e9c8cd0db9afcc01015554e5b2c4c336a11c9c
 SHA512 
6d6b7407831311ebe37abce382ce77c664015ddbe3e73ec78153a00b301f98af5be52e26ad4febf5ca1e478d2c1844db4c988b241d2700d758e90b077f176ad8
+DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af

diff --git a/net-misc/kea/kea-1.6.0.ebuild b/net-misc/kea/kea-1.6.0.ebuild
new file mode 100644
index 000..2d0234c2da4
--- /dev/null
+++ b/net-misc/kea/kea-1.6.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: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
+}



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

2019-08-29 Thread Lars Wendler
commit: 29d1ba115c21549ad35207b814b95a445309d975
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 29 12:49:43 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 29 12:49:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d1ba11

net-misc/kea: Removed old

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

 net-misc/kea/Manifest   |  2 --
 net-misc/kea/kea-1.4.0_p1.ebuild| 68 -
 net-misc/kea/kea-1.5.0_beta2.ebuild | 67 
 3 files changed, 137 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index f8873aad00d..0cb0ffde94f 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,4 +1,2 @@
-DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
-DIST kea-1.5.0-beta2.tar.gz 7372364 BLAKE2B 
bb5c8c119fbf52ceea58998cb37b19286ea85f30f67d0b6f4bd27be188f2d68ec551667a136f0e9f4bf5320ed1250494b67fc26c8d15910a46976c968cd4480b
 SHA512 
c107a7a570d018a05d42bd0d521757d9036c4bdabf2943ac3c96e2f5124ec6f34fe1d60660450a51cba20b24e8fda3915e8c5ee2d3e5e6df4319ba965153b8de
 DIST kea-1.5.0.tar.gz 7395257 BLAKE2B 
dfc28916166a732714253e1e7458076643e1a40e9fbcfca78d7206155b355abedf630f19311a2b164b2af78227e9c8cd0db9afcc01015554e5b2c4c336a11c9c
 SHA512 
6d6b7407831311ebe37abce382ce77c664015ddbe3e73ec78153a00b301f98af5be52e26ad4febf5ca1e478d2c1844db4c988b241d2700d758e90b077f176ad8
 DIST kea-1.6.0.tar.gz 7154301 BLAKE2B 
b05bd6cbf53140e10da2614917d2f314a048035f1ba5b33bc260166d203c3c99c1aa6438f886569aa5a809f705572096834dbb0ccea67eee1a93c1ed61fc0d9c
 SHA512 
09e670996ad3dbfc523ad7639e3cfd43147bf370069cec80a6ba6af4c45264f33318594a20073f1c5d75bd19bcaa275e3167b243e13c5a6c151c10d634f338af

diff --git a/net-misc/kea/kea-1.4.0_p1.ebuild b/net-misc/kea/kea-1.4.0_p1.ebuild
deleted file mode 100644
index b3312db88dd..000
--- a/net-misc/kea/kea-1.4.0_p1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
-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";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="openssl samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   !openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:= )
-"
-RDEPEND="${DEPEND}"
-
-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=(
-   $(use_with openssl)
-   $(use_enable samples install-configurations)
-   --disable-static
-   --without-werror
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -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.5.0_beta2.ebuild 
b/net-misc/kea/kea-1.5.0_beta2.ebuild
deleted file mode 100644
index 6a29a56af22..000
--- a/net-misc/kea/kea-1.5.0_beta2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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 in

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

2018-12-17 Thread Thomas Deutschmann
commit: ffdb4c9946409d706fe4f2cad66c189c451f2a14
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Dec 17 23:36:08 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 18 00:51:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffdb4c99

net-misc/kea: bump to v1.5.0

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

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

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 3f27d6dd438..1b5398ae8cb 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
 DIST kea-1.5.0-beta2.tar.gz 7372364 BLAKE2B 
bb5c8c119fbf52ceea58998cb37b19286ea85f30f67d0b6f4bd27be188f2d68ec551667a136f0e9f4bf5320ed1250494b67fc26c8d15910a46976c968cd4480b
 SHA512 
c107a7a570d018a05d42bd0d521757d9036c4bdabf2943ac3c96e2f5124ec6f34fe1d60660450a51cba20b24e8fda3915e8c5ee2d3e5e6df4319ba965153b8de
+DIST kea-1.5.0.tar.gz 7395257 BLAKE2B 
dfc28916166a732714253e1e7458076643e1a40e9fbcfca78d7206155b355abedf630f19311a2b164b2af78227e9c8cd0db9afcc01015554e5b2c4c336a11c9c
 SHA512 
6d6b7407831311ebe37abce382ce77c664015ddbe3e73ec78153a00b301f98af5be52e26ad4febf5ca1e478d2c1844db4c988b241d2700d758e90b077f176ad8

diff --git a/net-misc/kea/kea-1.5.0.ebuild b/net-misc/kea/kea-1.5.0.ebuild
new file mode 100644
index 000..75288a0c58a
--- /dev/null
+++ b/net-misc/kea/kea-1.5.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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}"
+
+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=(
+   $(use_with mysql)
+   $(use_with openssl)
+   $(use_with postgres pgsql)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2018-12-10 Thread Lars Wendler
commit: f569de9a7e75f787ab32012ce717f9061b089e9e
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 10 11:44:51 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 10 11:45:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569de9a

net-misc/kea: Don't depend on deprecated virtual/mysql

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  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 9088c8b223f..75288a0c58a 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -29,7 +29,7 @@ DEPEND="
dev-libs/boost:=
dev-cpp/gtest
dev-libs/log4cplus
-   mysql? ( virtual/mysql )
+   mysql? ( dev-db/mysql-connector-c )
!openssl? ( dev-libs/botan:0= )
openssl? ( dev-libs/openssl:0= )
postgres? ( dev-db/postgresql:* )



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

2018-12-10 Thread Lars Wendler
commit: 2dede676d94cbf4b67b058fa624750c9c1343ce8
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 10 09:35:42 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 10 09:35:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dede676

net-misc/kea: Added support for mysql and postgresql.

Thanks to James Browning  gmail.com> for the initial patch

Bug: https://bugs.gentoo.org/663538
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 6a29a56af22..9088c8b223f 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -8,6 +8,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
@@ -22,14 +23,16 @@ fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="openssl samples"
+IUSE="mysql openssl postgres samples"
 
 DEPEND="
dev-libs/boost:=
dev-cpp/gtest
dev-libs/log4cplus
+   mysql? ( virtual/mysql )
!openssl? ( dev-libs/botan:0= )
openssl? ( dev-libs/openssl:0= )
+   postgres? ( dev-db/postgresql:* )
 "
 RDEPEND="${DEPEND}"
 
@@ -46,7 +49,9 @@ src_prepare() {
 
 src_configure() {
local myeconfargs=(
+   $(use_with mysql)
$(use_with openssl)
+   $(use_with postgres pgsql)
$(use_enable samples install-configurations)
--disable-static
--without-werror



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

2018-12-03 Thread Lars Wendler
commit: f6382cc9687d4d152784648b78ca782f2681582c
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec  3 15:07:01 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec  3 15:07:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6382cc9

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

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

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

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 66ce2af621a..3f27d6dd438 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,2 @@
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
-DIST kea-1.5.0-beta1.tar.gz 7327556 BLAKE2B 
6492bf458179f087f18dff76c97635ec1911337759e51162e0181a7e8118d6d4933cb041e2b0e4e0259f3a1052d330e8385a5678804dda90074419d7ba0886ed
 SHA512 
a87806808d8afd7cc4735581fc0d722bb595a28474748f0bd98a07b37fe04bb7958a5c3cb374211e3ff3f73e7a5d642c7f3bf1412fc0e10d8086f3ece0c6e8af
+DIST kea-1.5.0-beta2.tar.gz 7372364 BLAKE2B 
bb5c8c119fbf52ceea58998cb37b19286ea85f30f67d0b6f4bd27be188f2d68ec551667a136f0e9f4bf5320ed1250494b67fc26c8d15910a46976c968cd4480b
 SHA512 
c107a7a570d018a05d42bd0d521757d9036c4bdabf2943ac3c96e2f5124ec6f34fe1d60660450a51cba20b24e8fda3915e8c5ee2d3e5e6df4319ba965153b8de

diff --git a/net-misc/kea/kea-1.5.0_beta1.ebuild 
b/net-misc/kea/kea-1.5.0_beta2.ebuild
similarity index 100%
rename from net-misc/kea/kea-1.5.0_beta1.ebuild
rename to net-misc/kea/kea-1.5.0_beta2.ebuild



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

2018-11-27 Thread Lars Wendler
commit: 3329a092c08de9c3fcc1fd6b941452e18e5e71f4
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 27 08:56:47 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 27 08:56:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3329a092

net-misc/kea: Removed old.

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

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.3.0.ebuild | 62 ---
 2 files changed, 63 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 1b6f1368ebe..66ce2af621a 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
 DIST kea-1.5.0-beta1.tar.gz 7327556 BLAKE2B 
6492bf458179f087f18dff76c97635ec1911337759e51162e0181a7e8118d6d4933cb041e2b0e4e0259f3a1052d330e8385a5678804dda90074419d7ba0886ed
 SHA512 
a87806808d8afd7cc4735581fc0d722bb595a28474748f0bd98a07b37fe04bb7958a5c3cb374211e3ff3f73e7a5d642c7f3bf1412fc0e10d8086f3ece0c6e8af

diff --git a/net-misc/kea/kea-1.3.0.ebuild b/net-misc/kea/kea-1.3.0.ebuild
deleted file mode 100644
index 8b6b7de73e3..000
--- a/net-misc/kea/kea-1.3.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
-MY_P="${PN}-${MY_PV}"
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="openssl samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   !openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:= )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-   default
-}
-
-src_configure() {
-   local myeconfargs=(
-   $(use_with openssl)
-   $(use_enable samples install-configurations)
-   --disable-static
-   --without-werror
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -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/

2018-11-27 Thread Lars Wendler
commit: 67a5b6c765fdbfd0467fac11f61bb0624ee5af9c
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 27 08:56:26 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 27 08:56:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a5b6c7

net-misc/kea: Synced live ebuild.

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

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

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 3968b59aff2..6a29a56af22 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,14 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 inherit toolchain-funcs user
 
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
+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/";
@@ -18,6 +16,7 @@ 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 ~x86"
 fi
 
@@ -30,7 +29,7 @@ DEPEND="
dev-cpp/gtest
dev-libs/log4cplus
!openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:= )
+   openssl? ( dev-libs/openssl:0= )
 "
 RDEPEND="${DEPEND}"
 



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

2018-11-27 Thread Lars Wendler
commit: c97ec1146999d73ac8e8671d71708fcb28c77eb0
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 27 08:55:41 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 27 08:55:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97ec114

net-misc/kea: Bump to version 1.5.0_beta1

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

 net-misc/kea/Manifest   |  1 +
 net-misc/kea/kea-1.5.0_beta1.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 0e76b65abf3..1b6f1368ebe 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
+DIST kea-1.5.0-beta1.tar.gz 7327556 BLAKE2B 
6492bf458179f087f18dff76c97635ec1911337759e51162e0181a7e8118d6d4933cb041e2b0e4e0259f3a1052d330e8385a5678804dda90074419d7ba0886ed
 SHA512 
a87806808d8afd7cc4735581fc0d722bb595a28474748f0bd98a07b37fe04bb7958a5c3cb374211e3ff3f73e7a5d642c7f3bf1412fc0e10d8086f3ece0c6e8af

diff --git a/net-misc/kea/kea-1.5.0_beta1.ebuild 
b/net-misc/kea/kea-1.5.0_beta1.ebuild
new file mode 100644
index 000..6a29a56af22
--- /dev/null
+++ b/net-misc/kea/kea-1.5.0_beta1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="openssl samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:0= )
+   openssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="${DEPEND}"
+
+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=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2018-07-12 Thread Lars Wendler
commit: e222717eb84af84b02bff3d12fb35be8750f9db8
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 12 09:33:17 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 12 09:33:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e222717e

net-misc/kea: Going back to EAPI-6

This is a base-syetem package and these are not allowed to be EAPI-7
yet.

Package-Manager: Portage-2.3.42, Repoman-2.3.9

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

diff --git a/net-misc/kea/kea-1.4.0_p1.ebuild b/net-misc/kea/kea-1.4.0_p1.ebuild
index d6e8f40ee31..b3312db88dd 100644
--- a/net-misc/kea/kea-1.4.0_p1.ebuild
+++ b/net-misc/kea/kea-1.4.0_p1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=6
 
 inherit toolchain-funcs user
 

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 7a196bcf52d..3968b59aff2 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=6
 
 inherit toolchain-funcs user
 



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

2018-07-12 Thread Lars Wendler
commit: 1eb7529cbbd47cd674f5bce9c951a356c36cde07
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 12 09:25:38 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 12 09:25:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb7529c

net-misc/kea: Security cleanup.

Bug: https://bugs.gentoo.org/660988
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.4.0.ebuild | 68 ---
 2 files changed, 69 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 4032e314e41..0e76b65abf3 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
 DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
-DIST kea-1.4.0.tar.gz 6552970 BLAKE2B 
bb12a19b156f58f5146904214dc2b0812a56827e7e72d6336db07e64b49bcc198ccc26245088dfccb268b058db574fc43e036341eadc3b1677a03816f6385990
 SHA512 
ce4e2bcdc6f06472c4dccfc9cc26b06ff10ce1ce947b2bdc8753bbb15ff77831f7317625bdd81d24c945cf0d4c33cf9eef0ae0be21149532b0b9b9bc8892dd14

diff --git a/net-misc/kea/kea-1.4.0.ebuild b/net-misc/kea/kea-1.4.0.ebuild
deleted file mode 100644
index b3312db88dd..000
--- a/net-misc/kea/kea-1.4.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
-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";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-IUSE="openssl samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   !openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:= )
-"
-RDEPEND="${DEPEND}"
-
-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=(
-   $(use_with openssl)
-   $(use_enable samples install-configurations)
-   --disable-static
-   --without-werror
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -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/

2018-07-12 Thread Lars Wendler
commit: 8bd82b2df78ac0eb8727d4e0175607b733be4d65
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 12 08:06:26 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 12 08:06:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd82b2d

net-misc/kea: Synced live ebuild.

Package-Manager: Portage-2.3.42, Repoman-2.3.9

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

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index b3312db88dd..7a196bcf52d 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit toolchain-funcs user
 
@@ -38,7 +38,7 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
default
-   [[ ${PV} = * ]] && eautoreconf
+   [[ ${PV} = * ]] && eautoreconf
# Brand the version with Gentoo
sed -i \
-e "/VERSION=/s:'$: Gentoo-${PR}':" \



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

2018-07-12 Thread Lars Wendler
commit: 9a4910ac4e626f6c3a6e71dd3715b1b2a5403d95
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 12 08:04:27 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 12 08:04:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4910ac

net-misc/kea: Bump to version 1.4.0_p1

Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-misc/kea/Manifest|  1 +
 net-misc/kea/kea-1.4.0_p1.ebuild | 68 
 2 files changed, 69 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index e6deb7fcf2d..4032e314e41 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
+DIST kea-1.4.0-P1.tar.gz 6645111 BLAKE2B 
290b7bcf8b32fcf2762240f2173cb45c035187c7dfd1affd0fd8a947721745ea9d8846be365ee3f9331d578b7bc248ee53a1e37666585a62c90d7dc541c7aaa5
 SHA512 
beb3baae09510de970fb5c1a301c57d64fc56d825d964f413357ba448b993d0a4f714d4efa4da166d3c06623a9ae78b70c25b61793e696551cb97b7e08d5e634
 DIST kea-1.4.0.tar.gz 6552970 BLAKE2B 
bb12a19b156f58f5146904214dc2b0812a56827e7e72d6336db07e64b49bcc198ccc26245088dfccb268b058db574fc43e036341eadc3b1677a03816f6385990
 SHA512 
ce4e2bcdc6f06472c4dccfc9cc26b06ff10ce1ce947b2bdc8753bbb15ff77831f7317625bdd81d24c945cf0d4c33cf9eef0ae0be21149532b0b9b9bc8892dd14

diff --git a/net-misc/kea/kea-1.4.0_p1.ebuild b/net-misc/kea/kea-1.4.0_p1.ebuild
new file mode 100644
index 000..d6e8f40ee31
--- /dev/null
+++ b/net-misc/kea/kea-1.4.0_p1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_alpha/a}"
+MY_PV="${MY_PV//_beta/b}"
+MY_PV="${MY_PV//_rc/rc}"
+MY_PV="${MY_PV//_p/-P}"
+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";
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="openssl samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:0= )
+   openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+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=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2018-06-16 Thread Lars Wendler
commit: c3ab0ed219ccc88130cad273fbb37edb24beb96e
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jun 16 21:08:17 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jun 16 21:10:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ab0ed2

net-misc/kea: Removed old.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/kea/Manifest|  1 -
 net-misc/kea/kea-1.2.0-r1.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index aa212a94823..e6deb7fcf2d 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.2.0.tar.gz 5720941 BLAKE2B 
c97e4fc18daddbbcba85fa35124290d926b9fa56c83d218b72da886bb3c03540e76ee1a0c1be5f01738b84b8a26f3a395f5b67b0cbc298e8a97cde0aba48a3f9
 SHA512 
d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240
 DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 DIST kea-1.4.0.tar.gz 6552970 BLAKE2B 
bb12a19b156f58f5146904214dc2b0812a56827e7e72d6336db07e64b49bcc198ccc26245088dfccb268b058db574fc43e036341eadc3b1677a03816f6385990
 SHA512 
ce4e2bcdc6f06472c4dccfc9cc26b06ff10ce1ce947b2bdc8753bbb15ff77831f7317625bdd81d24c945cf0d4c33cf9eef0ae0be21149532b0b9b9bc8892dd14

diff --git a/net-misc/kea/kea-1.2.0-r1.ebuild b/net-misc/kea/kea-1.2.0-r1.ebuild
deleted file mode 100644
index b8c433491d4..000
--- a/net-misc/kea/kea-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs user
-
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
-MY_P="${PN}-${MY_PV}"
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="openssl samples"
-
-DEPEND="
-   dev-libs/boost:=
-   dev-cpp/gtest
-   dev-libs/log4cplus
-   !openssl? ( dev-libs/botan:0= )
-   openssl? ( dev-libs/openssl:= )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-   default
-}
-
-src_configure() {
-   local myeconfargs=(
-   $(use_with openssl)
-   $(use_enable samples install-configurations)
-   --disable-static
-   --without-werror
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}-confd ${PN}
-   newinitd "${FILESDIR}"/${PN}-initd ${PN}
-   find "${ED}" \( -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/

2018-06-16 Thread Lars Wendler
commit: 42b7fba4e450f1c28bec9a449537e125625bb3c1
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jun 16 21:07:44 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jun 16 21:10:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b7fba4

net-misc/kea: Bump to version 1.4.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.4.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 263512f14b5..aa212a94823 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.2.0.tar.gz 5720941 BLAKE2B 
c97e4fc18daddbbcba85fa35124290d926b9fa56c83d218b72da886bb3c03540e76ee1a0c1be5f01738b84b8a26f3a395f5b67b0cbc298e8a97cde0aba48a3f9
 SHA512 
d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240
 DIST kea-1.3.0.tar.gz 5996560 BLAKE2B 
2037aed1d72c8db58f6be88caa695956e482776571879f439d39dad909c1f79e4fa4353fef1eacf1135e763109f777a8a30500892a9ee1d8d261d3fd41f6257c
 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
+DIST kea-1.4.0.tar.gz 6552970 BLAKE2B 
bb12a19b156f58f5146904214dc2b0812a56827e7e72d6336db07e64b49bcc198ccc26245088dfccb268b058db574fc43e036341eadc3b1677a03816f6385990
 SHA512 
ce4e2bcdc6f06472c4dccfc9cc26b06ff10ce1ce947b2bdc8753bbb15ff77831f7317625bdd81d24c945cf0d4c33cf9eef0ae0be21149532b0b9b9bc8892dd14

diff --git a/net-misc/kea/kea-1.4.0.ebuild b/net-misc/kea/kea-1.4.0.ebuild
new file mode 100644
index 000..b3312db88dd
--- /dev/null
+++ b/net-misc/kea/kea-1.4.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_alpha/a}"
+MY_PV="${MY_PV//_beta/b}"
+MY_PV="${MY_PV//_rc/rc}"
+MY_PV="${MY_PV//_p/-P}"
+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";
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="openssl samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:0= )
+   openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+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=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2018-02-14 Thread Lars Wendler
commit: 5cda7ddf6acce00aa9b35b83e2bca40c29ff2ca9
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 14 13:55:07 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 14 13:55:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cda7ddf

net-misc/kea: Added ~x86 keyword.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/net-misc/kea/kea-1.3.0.ebuild b/net-misc/kea/kea-1.3.0.ebuild
index b8c433491d4..8b6b7de73e3 100644
--- a/net-misc/kea/kea-1.3.0.ebuild
+++ b/net-misc/kea/kea-1.3.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="openssl samples"
 
 DEPEND="

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
index 527f6a89804..b3312db88dd 100644
--- a/net-misc/kea/kea-.ebuild
+++ b/net-misc/kea/kea-.ebuild
@@ -18,7 +18,7 @@ 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";
-   KEYWORDS="~amd64"
+   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/

2018-02-14 Thread Lars Wendler
commit: a12a18c62f948cdc281f801596f84c6a7fd485b9
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 14 10:45:45 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 14 10:45:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12a18c6

net-misc/kea: Added live ebuild.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/net-misc/kea/kea-.ebuild b/net-misc/kea/kea-.ebuild
new file mode 100644
index 000..527f6a89804
--- /dev/null
+++ b/net-misc/kea/kea-.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_alpha/a}"
+MY_PV="${MY_PV//_beta/b}"
+MY_PV="${MY_PV//_rc/rc}"
+MY_PV="${MY_PV//_p/-P}"
+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";
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+IUSE="openssl samples"
+
+DEPEND="
+   dev-libs/boost:=
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:0= )
+   openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+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=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2018-02-05 Thread Lars Wendler
commit: 8414f8f2bbc0f20af94b833cf5691e7e32364797
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Feb  5 13:46:40 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Feb  5 13:46:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8414f8f2

net-misc/kea: Added sub-slot dep for dev-libs/boost

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/kea/kea-1.2.0-r1.ebuild | 4 ++--
 net-misc/kea/kea-1.3.0.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/kea/kea-1.2.0-r1.ebuild b/net-misc/kea/kea-1.2.0-r1.ebuild
index 3000688d729..b8c433491d4 100644
--- a/net-misc/kea/kea-1.2.0-r1.ebuild
+++ b/net-misc/kea/kea-1.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
 IUSE="openssl samples"
 
 DEPEND="
-   dev-libs/boost
+   dev-libs/boost:=
dev-cpp/gtest
dev-libs/log4cplus
!openssl? ( dev-libs/botan:0= )

diff --git a/net-misc/kea/kea-1.3.0.ebuild b/net-misc/kea/kea-1.3.0.ebuild
index 3000688d729..b8c433491d4 100644
--- a/net-misc/kea/kea-1.3.0.ebuild
+++ b/net-misc/kea/kea-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
 IUSE="openssl samples"
 
 DEPEND="
-   dev-libs/boost
+   dev-libs/boost:=
dev-cpp/gtest
dev-libs/log4cplus
!openssl? ( dev-libs/botan:0= )



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

2017-11-06 Thread Lars Wendler
commit: 4f5c530dca74e4221629c95ed93640e1a26660f0
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 09:38:50 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 09:40:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f5c530d

net-misc/kea: Bump to version 1.3.0

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.3.0.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index c55febf52d9..9a0019579e3 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,2 +1,3 @@
 DIST kea-1.1.0.tar.gz 4934875 SHA256 
c3d97aee4faa19653ffe6d37e797e2fbf632124cd0b98bb502f9b97b5a383c2d SHA512 
4ccc2ac493e8ce31d8a0574acac430137965aef11c7dd98a5e11ee88a157503a6efbdbf39e89b04cf7349474051affa993dd0aa65420bd783209e0a8a1d253ea
 WHIRLPOOL 
e666a81b8e645f503acefbdc4a9ca79da12eb7028d6d03d4ca1e03debfdc642f633d6ef4910692f30edf1193a0c74bd65378fa75abed596bcdac1e29371c1553
 DIST kea-1.2.0.tar.gz 5720941 SHA256 
22d15945b13600b56c37213797ca1f3ee9851e6119120aeae08033c4cc52d129 SHA512 
d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240
 WHIRLPOOL 
0a91707b70396354abebba6807f44f509d95eaa8c4a4a4766fe8cea953a7c73d36d0cbea85588ec0d88d1cce0e4bc91c1ae10de92de756295b4595ec890b2e74
+DIST kea-1.3.0.tar.gz 5996560 SHA256 
6edfcdbf2526c218426a1d1a6a6694a4050c97bb8412953a230285d63415c391 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 WHIRLPOOL 
a6e4203818736182e32fc2f10abc1361091c87998279c1141b3360f59ccfeb11e2d56eabdafb5d8585654317fa16076ef3665e6d3cbf36ffbcf98d1f4a00de6b

diff --git a/net-misc/kea/kea-1.3.0.ebuild b/net-misc/kea/kea-1.3.0.ebuild
new file mode 100644
index 000..3000688d729
--- /dev/null
+++ b/net-misc/kea/kea-1.3.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs user
+
+MY_PV="${PV//_alpha/a}"
+MY_PV="${MY_PV//_beta/b}"
+MY_PV="${MY_PV//_rc/rc}"
+MY_PV="${MY_PV//_p/-P}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openssl samples"
+
+DEPEND="
+   dev-libs/boost
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:0= )
+   openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+   default
+}
+
+src_configure() {
+   local myeconfargs=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
+   --without-werror
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -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/

2017-11-06 Thread Lars Wendler
commit: fe55c84baa9c13c66a838a277a3925771cb9d408
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 09:39:29 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 09:40:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe55c84b

net-misc/kea: Removed old.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 net-misc/kea/Manifest |  1 -
 net-misc/kea/kea-1.1.0.ebuild | 55 ---
 2 files changed, 56 deletions(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 9a0019579e3..4786f0fd052 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1,3 +1,2 @@
-DIST kea-1.1.0.tar.gz 4934875 SHA256 
c3d97aee4faa19653ffe6d37e797e2fbf632124cd0b98bb502f9b97b5a383c2d SHA512 
4ccc2ac493e8ce31d8a0574acac430137965aef11c7dd98a5e11ee88a157503a6efbdbf39e89b04cf7349474051affa993dd0aa65420bd783209e0a8a1d253ea
 WHIRLPOOL 
e666a81b8e645f503acefbdc4a9ca79da12eb7028d6d03d4ca1e03debfdc642f633d6ef4910692f30edf1193a0c74bd65378fa75abed596bcdac1e29371c1553
 DIST kea-1.2.0.tar.gz 5720941 SHA256 
22d15945b13600b56c37213797ca1f3ee9851e6119120aeae08033c4cc52d129 SHA512 
d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240
 WHIRLPOOL 
0a91707b70396354abebba6807f44f509d95eaa8c4a4a4766fe8cea953a7c73d36d0cbea85588ec0d88d1cce0e4bc91c1ae10de92de756295b4595ec890b2e74
 DIST kea-1.3.0.tar.gz 5996560 SHA256 
6edfcdbf2526c218426a1d1a6a6694a4050c97bb8412953a230285d63415c391 SHA512 
4708485efe537d9af00b50da9a3f33b740edaf37d9bbfe96f5625e30715349c48ef8a32f5abb8320f00821aea642a5b7ecdbc9f0d323a71b7a07f46f1bed978b
 WHIRLPOOL 
a6e4203818736182e32fc2f10abc1361091c87998279c1141b3360f59ccfeb11e2d56eabdafb5d8585654317fa16076ef3665e6d3cbf36ffbcf98d1f4a00de6b

diff --git a/net-misc/kea/kea-1.1.0.ebuild b/net-misc/kea/kea-1.1.0.ebuild
deleted file mode 100644
index 21512a24568..000
--- a/net-misc/kea/kea-1.1.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs user
-
-MY_PV="${PV//_alpha/a}"
-MY_PV="${MY_PV//_beta/b}"
-MY_PV="${MY_PV//_rc/rc}"
-MY_PV="${MY_PV//_p/-P}"
-MY_P="${PN}-${MY_PV}"
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="http://www.isc.org/kea/";
-SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
-   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="
-   dev-cpp/gtest
-   dev-libs/boost
-   dev-libs/botan:0
-   dev-libs/log4cplus
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   # Brand the version with Gentoo
-   sed -i \
-   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
-   configure || die
-}
-
-src_configure() {
-   econf \
-   --disable-install-configurations \
-   --disable-static \
-   --without-werror
-}
-
-src_install() {
-   default
-   prune_libtool_files --all
-}
-
-pkg_preinst() {
-   enewgroup dhcp
-   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}



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

2017-10-04 Thread Alon Bar-Lev
commit: fd2d7445840c60526bef1eeb950ded87fd347164
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 07:41:01 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 07:41:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd2d7445

net-misc/kea: use slotted botan

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 net-misc/kea/kea-1.1.0.ebuild| 4 ++--
 net-misc/kea/kea-1.2.0-r1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/kea/kea-1.1.0.ebuild b/net-misc/kea/kea-1.1.0.ebuild
index e7e925ce37d..21512a24568 100644
--- a/net-misc/kea/kea-1.1.0.ebuild
+++ b/net-misc/kea/kea-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -23,7 +23,7 @@ IUSE=""
 DEPEND="
dev-cpp/gtest
dev-libs/boost
-   dev-libs/botan
+   dev-libs/botan:0
dev-libs/log4cplus
 "
 RDEPEND="${DEPEND}"

diff --git a/net-misc/kea/kea-1.2.0-r1.ebuild b/net-misc/kea/kea-1.2.0-r1.ebuild
index 994aa39c6e4..3000688d729 100644
--- a/net-misc/kea/kea-1.2.0-r1.ebuild
+++ b/net-misc/kea/kea-1.2.0-r1.ebuild
@@ -24,7 +24,7 @@ DEPEND="
dev-libs/boost
dev-cpp/gtest
dev-libs/log4cplus
-   !openssl? ( dev-libs/botan:= )
+   !openssl? ( dev-libs/botan:0= )
openssl? ( dev-libs/openssl:= )
 "
 RDEPEND="${DEPEND}"



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

2017-05-23 Thread Lars Wendler
commit: 934a6a343e87590f1031ec4d24ff76a042aa
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May 23 12:57:37 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May 23 12:57:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934a6a34

net-misc/kea: Revbump to add an openrc init script.

Permission kindly granted by Chainsaw.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-misc/kea/files/kea-confd   |  4 ++
 net-misc/kea/files/kea-initd   | 78 ++
 .../kea/{kea-1.2.0.ebuild => kea-1.2.0-r1.ebuild}  | 18 +++--
 3 files changed, 93 insertions(+), 7 deletions(-)

diff --git a/net-misc/kea/files/kea-confd b/net-misc/kea/files/kea-confd
new file mode 100644
index 000..568468eb3a1
--- /dev/null
+++ b/net-misc/kea/files/kea-confd
@@ -0,0 +1,4 @@
+# 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
new file mode 100644
index 000..85fdd56b9ec
--- /dev/null
+++ b/net-misc/kea/files/kea-initd
@@ -0,0 +1,78 @@
+#!/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.2.0.ebuild b/net-misc/kea/kea-1.2.0-r1.ebuild
similarity index 75%
rename from net-misc/kea/kea-1.2.0.ebuild
rename to net-misc/kea/kea-1.2.0-r1.ebuild
index 6fd49878587..994aa39c6e4 100644
--- a/net-misc/kea/kea-1.2.0.ebuild
+++ b/net-misc/kea/kea-1.2.0-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
 
-inherit eutils toolchain-funcs user
+inherit toolchain-funcs user
 
 MY_PV="${PV//_alpha/a}"
 MY_PV="${MY_PV//_beta/b}"
@@ -40,16 +40,20 @@ src_prepare() {
 }
 
 src_configure() {
-   econf \
-   $(use_with openssl) \
-   $(use_enable samples install-configurations) \
-   --disable-static \
+   local myeconfargs=(
+   $(use_with openssl)
+   $(use_enable samples install-configurations)
+   --disable-static
--without-werror
+   )
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {
default
-   prune_libtool_files --all
+   newconfd "${FILESDIR}"/${PN}-confd ${PN}
+   newinitd "${FILESDIR}"/${PN}-initd ${PN}
+   find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
 }
 
 pkg_preinst() {



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

2017-05-08 Thread Tony Vroon
commit: 065d8dc0c4910542899a2a029c2111e174058c33
Author: Tony Vroon  gentoo  org>
AuthorDate: Mon May  8 11:28:52 2017 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Mon May  8 11:30:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065d8dc0

net-misc/kea: Version bump to 1.2.0; OpenSSL/Botan switching & conditional 
sample configuration installation by Kim B. Sindalsen in bug #581976.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-misc/kea/Manifest |  1 +
 net-misc/kea/kea-1.2.0.ebuild | 58 +++
 net-misc/kea/metadata.xml |  6 -
 3 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index 0788df86021..c55febf52d9 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1 +1,2 @@
 DIST kea-1.1.0.tar.gz 4934875 SHA256 
c3d97aee4faa19653ffe6d37e797e2fbf632124cd0b98bb502f9b97b5a383c2d SHA512 
4ccc2ac493e8ce31d8a0574acac430137965aef11c7dd98a5e11ee88a157503a6efbdbf39e89b04cf7349474051affa993dd0aa65420bd783209e0a8a1d253ea
 WHIRLPOOL 
e666a81b8e645f503acefbdc4a9ca79da12eb7028d6d03d4ca1e03debfdc642f633d6ef4910692f30edf1193a0c74bd65378fa75abed596bcdac1e29371c1553
+DIST kea-1.2.0.tar.gz 5720941 SHA256 
22d15945b13600b56c37213797ca1f3ee9851e6119120aeae08033c4cc52d129 SHA512 
d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240
 WHIRLPOOL 
0a91707b70396354abebba6807f44f509d95eaa8c4a4a4766fe8cea953a7c73d36d0cbea85588ec0d88d1cce0e4bc91c1ae10de92de756295b4595ec890b2e74

diff --git a/net-misc/kea/kea-1.2.0.ebuild b/net-misc/kea/kea-1.2.0.ebuild
new file mode 100644
index 000..6fd49878587
--- /dev/null
+++ b/net-misc/kea/kea-1.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils toolchain-funcs user
+
+MY_PV="${PV//_alpha/a}"
+MY_PV="${MY_PV//_beta/b}"
+MY_PV="${MY_PV//_rc/rc}"
+MY_PV="${MY_PV//_p/-P}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="http://www.isc.org/kea/";
+SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
+   ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz";
+
+LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openssl samples"
+
+DEPEND="
+   dev-libs/boost
+   dev-cpp/gtest
+   dev-libs/log4cplus
+   !openssl? ( dev-libs/botan:= )
+   openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   # Brand the version with Gentoo
+   sed -i \
+   -e "/VERSION=/s:'$: Gentoo-${PR}':" \
+   configure || die
+   default
+}
+
+src_configure() {
+   econf \
+   $(use_with openssl) \
+   $(use_enable samples install-configurations) \
+   --disable-static \
+   --without-werror
+}
+
+src_install() {
+   default
+   prune_libtool_files --all
+}
+
+pkg_preinst() {
+   enewgroup dhcp
+   enewuser dhcp -1 -1 /var/lib/dhcp dhcp
+}

diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml
index 33e420089b5..0d2b93d2ea0 100644
--- a/net-misc/kea/metadata.xml
+++ b/net-misc/kea/metadata.xml
@@ -5,8 +5,12 @@
chain...@gentoo.org
Tony Vroon

-
+   
base-sys...@gentoo.org
Gentoo Base System

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



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

2016-10-21 Thread Tony Vroon
commit: bab29cbcb8620c174810fddaf582d49a69b3b8c0
Author: Tony Vroon  gentoo  org>
AuthorDate: Fri Oct 21 12:45:54 2016 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Oct 21 12:46:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab29cbc

net-misc/kea: Version bump as requested by Lars "Polynomial-C" Wendler in 
#gentoo-dev. Removed old ebuild, the database support in the previous release 
was very much lacking.

Package-Manager: portage-2.3.2

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

diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest
index ef30892..0788df8 100644
--- a/net-misc/kea/Manifest
+++ b/net-misc/kea/Manifest
@@ -1 +1 @@
-DIST kea-1.0.0.tar.gz 4559334 SHA256 
96984fe918f9133d08d3115eac012d28814d8ccfaf25289499f028de56135afe SHA512 
3f1c5bfa99410bef155fc8da296019d1e67c22103b0ede73a77d3e38775436f5c851bc7e757f53d4ff6bdb5211ff4e562219baf53d64295cf6650848a3542645
 WHIRLPOOL 
6beb7009fc57ecd7b4cfd9cc80fc4bda7ca69332c6483fb4204cf22746af21f4cf76dad5d4e826205eabc6053d4bb5ba0878248bbe0ca561cad4d3e655c3
+DIST kea-1.1.0.tar.gz 4934875 SHA256 
c3d97aee4faa19653ffe6d37e797e2fbf632124cd0b98bb502f9b97b5a383c2d SHA512 
4ccc2ac493e8ce31d8a0574acac430137965aef11c7dd98a5e11ee88a157503a6efbdbf39e89b04cf7349474051affa993dd0aa65420bd783209e0a8a1d253ea
 WHIRLPOOL 
e666a81b8e645f503acefbdc4a9ca79da12eb7028d6d03d4ca1e03debfdc642f633d6ef4910692f30edf1193a0c74bd65378fa75abed596bcdac1e29371c1553

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



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

2016-01-07 Thread Tony Vroon
commit: a9aa834857763214ec3e2bde8a71d98e4975d769
Author: Tony Vroon  gentoo  org>
AuthorDate: Thu Jan  7 15:56:26 2016 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Thu Jan  7 15:56:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9aa8348

net-misc/kea: Clear down IUSE.

Package-Manager: portage-2.2.26

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

diff --git a/net-misc/kea/kea-1.0.0.ebuild b/net-misc/kea/kea-1.0.0.ebuild
index 48192d8..374b0aa 100644
--- a/net-misc/kea/kea-1.0.0.ebuild
+++ b/net-misc/kea/kea-1.0.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="ipv6 kernel_linux ldap libressl selinux ssl"
+IUSE=""
 
 DEPEND="
dev-cpp/gtest