Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/kea/
Date: Wed, 18 May 2022 12:27:59
Message-Id: 1652876868.81a63c1b1c97241a2650b313579d83abbf177fe4.polynomial-c@gentoo
1 commit: 81a63c1b1c97241a2650b313579d83abbf177fe4
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 18 12:27:01 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed May 18 12:27:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a63c1b
7
8 net-misc/kea: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 net-misc/kea/kea-1.8.2.ebuild | 78 -------------------------------------------
13 1 file changed, 78 deletions(-)
14
15 diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild
16 deleted file mode 100644
17 index 7bf6f71daf2a..000000000000
18 --- a/net-misc/kea/kea-1.8.2.ebuild
19 +++ /dev/null
20 @@ -1,78 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -MY_PV="${PV//_p/-P}"
27 -MY_PV="${MY_PV/_/-}"
28 -MY_P="${PN}-${MY_PV}"
29 -
30 -DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
31 -HOMEPAGE="https://www.isc.org/kea/"
32 -if [[ ${PV} = 9999* ]] ; then
33 - inherit autotools git-r3
34 - EGIT_REPO_URI="https://github.com/isc-projects/kea.git"
35 -else
36 - inherit autotools
37 - SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
38 - ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz"
39 - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
40 - KEYWORDS="~amd64 ~arm64 ~x86"
41 -fi
42 -
43 -LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
44 -SLOT="0"
45 -IUSE="mysql +openssl postgres samples"
46 -
47 -DEPEND="
48 - dev-libs/boost:=
49 - dev-cpp/gtest
50 - dev-libs/log4cplus
51 - mysql? ( dev-db/mysql-connector-c )
52 - !openssl? ( dev-libs/botan:2= )
53 - openssl? ( dev-libs/openssl:0= )
54 - postgres? ( dev-db/postgresql:* )
55 -"
56 -RDEPEND="${DEPEND}
57 - acct-group/dhcp
58 - acct-user/dhcp"
59 -BDEPEND="virtual/pkgconfig"
60 -
61 -S="${WORKDIR}/${MY_P}"
62 -
63 -PATCHES=(
64 - "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch
65 - "${FILESDIR}"/${PN}-1.8.2-boost-1.77.0.patch
66 -)
67 -
68 -src_prepare() {
69 - default
70 - eautoreconf
71 - # Brand the version with Gentoo
72 - sed -i \
73 - -e "/VERSION=/s:'$: Gentoo-${PR}':" \
74 - configure || die
75 -}
76 -
77 -src_configure() {
78 - local myeconfargs=(
79 - --disable-static
80 - --enable-perfdhcp
81 - --localstatedir="${EPREFIX}/var"
82 - --without-werror
83 - $(use_with mysql)
84 - $(use_with openssl)
85 - $(use_with postgres pgsql)
86 - $(use_enable samples install-configurations)
87 - )
88 - econf "${myeconfargs[@]}"
89 -}
90 -
91 -src_install() {
92 - default
93 - newconfd "${FILESDIR}"/${PN}-confd-r1 ${PN}
94 - newinitd "${FILESDIR}"/${PN}-initd-r1 ${PN}
95 - keepdir /var/lib/${PN} /var/log
96 - rm -rf "${ED}"/var/run || die
97 - find "${ED}" -type f -name "*.la" -delete || die
98 -}