diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-02-15 15:14:35 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-02-15 16:13:05 +0100 |
commit | ea2e2b86b9cc9253cf19945858da531c93675254 (patch) | |
tree | 59a3a35988581de7e070cdd230993d295dbcf4d0 /net-misc/kea | |
parent | app-arch/unrar: drop old (diff) | |
download | gentoo-ea2e2b86b9cc9253cf19945858da531c93675254.tar.gz gentoo-ea2e2b86b9cc9253cf19945858da531c93675254.tar.bz2 gentoo-ea2e2b86b9cc9253cf19945858da531c93675254.zip |
net-misc/kea: bump to v1.9.4
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/kea')
-rw-r--r-- | net-misc/kea/Manifest | 1 | ||||
-rw-r--r-- | net-misc/kea/kea-1.9.4.ebuild | 73 | ||||
-rw-r--r-- | net-misc/kea/kea-9999.ebuild | 7 |
3 files changed, 77 insertions, 4 deletions
diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest index 1663e61c01d4..9648d8a84f96 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-1.9.4.ebuild b/net-misc/kea/kea-1.9.4.ebuild new file mode 100644 index 000000000000..f693a2e9d6d1 --- /dev/null +++ b/net-misc/kea/kea-1.9.4.ebuild @@ -0,0 +1,73 @@ +# 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}" + +DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server" +HOMEPAGE="http://www.isc.org/kea/" +if [[ ${PV} = 9999* ]] ; 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 ~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} = *9999 ]] && 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-9999.ebuild b/net-misc/kea/kea-9999.ebuild index 3e20776fe7e7..f693a2e9d6d1 100644 --- a/net-misc/kea/kea-9999.ebuild +++ b/net-misc/kea/kea-9999.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} = 9999* ]] ; 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 |