diff options
Diffstat (limited to 'net-misc/kea')
-rw-r--r-- | net-misc/kea/Manifest | 2 | ||||
-rw-r--r-- | net-misc/kea/kea-9999.ebuild | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest index d5ee52cad5b4..d706cb0e50a6 100644 --- a/net-misc/kea/Manifest +++ b/net-misc/kea/Manifest @@ -15,5 +15,5 @@ DIST kea-2.4.0.tar.gz 10462721 BLAKE2B 07a4424c01872142b85446ee881afbdc9d8b3a0bc DIST kea-2.4.1.tar.gz 10487415 BLAKE2B 21037d28f812ebbc65ae34f5151a209e9c74f6aa005e96ed7cbbf6e4250e6c40eecf5d257b852bf01663a0982b5401008dd6a51a16d861b30a83549f827538b6 SHA512 b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03b32e030be57d75a7914a8ca313833e91d9996b6a05b2b224 EBUILD kea-2.4.0-r1.ebuild 3783 BLAKE2B 08cfb9157984ed86622c14944d051614204e59b16ff21601d5b1a08e0815dc9fbb1b4110210911a9f0f0730eadb712c625773105c19bfd1fa6bea40097bab7ef SHA512 484936bc34d274088f9243fcd23ecff95cf30bebd5036ab8995cf3ad81057df2dacc13e418d11557094d8e9f7aadf01ffa91eaa25913832e359e98d73f98448e EBUILD kea-2.4.1.ebuild 3783 BLAKE2B 08cfb9157984ed86622c14944d051614204e59b16ff21601d5b1a08e0815dc9fbb1b4110210911a9f0f0730eadb712c625773105c19bfd1fa6bea40097bab7ef SHA512 484936bc34d274088f9243fcd23ecff95cf30bebd5036ab8995cf3ad81057df2dacc13e418d11557094d8e9f7aadf01ffa91eaa25913832e359e98d73f98448e -EBUILD kea-9999.ebuild 3649 BLAKE2B 7f2ba60798621edbb491186351f8185947e31a8b6b17d14c930f4b0873bd392aedc36970f15cca9cd58f98dbd3eda069dd274c12c154c6935f9846dccfd4d0bb SHA512 d6e3fcfa8c5f4109a7925007df6311154c8b3b1e535e90b1917609c4a2e614dadcb3727c37cea7448287a60a3558b682c75ed75fb12aa477faccf0bab8e5bbf9 +EBUILD kea-9999.ebuild 3783 BLAKE2B 08cfb9157984ed86622c14944d051614204e59b16ff21601d5b1a08e0815dc9fbb1b4110210911a9f0f0730eadb712c625773105c19bfd1fa6bea40097bab7ef SHA512 484936bc34d274088f9243fcd23ecff95cf30bebd5036ab8995cf3ad81057df2dacc13e418d11557094d8e9f7aadf01ffa91eaa25913832e359e98d73f98448e MISC metadata.xml 760 BLAKE2B def46b553ea484e8c8ebb887fbaa45f30b65b4607b6dbc269540e19e7edac2dd152b6b724f666a2e920b7c7e7269b0e60a08ad46f5e8131b5135950c678d2144 SHA512 308b7461e94919cc2b5ec0627bd63292b874eae91e7520465264fa5c2187085afdfe9c95fddf68265eea49ad38b5cd0e3426982234d191ccbbb4c0161c36a7c9 diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild index 2c411fe395c2..72c97487d6f6 100644 --- a/net-misc/kea/kea-9999.ebuild +++ b/net-misc/kea/kea-9999.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-dev@lists.isc.org)/AC_INIT([kea], [${PVR}-gentoo], [kea-dev@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} |