changeset 473:0b4e563c0b7e

adjust the ebuild to EAPI6
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 17 May 2019 08:04:16 +0200
parents 432aef2ffe17
children 670fbd1fadf9
files net-misc/ike/Manifest net-misc/ike/ike-2.2.1-r3.ebuild
diffstat 2 files changed, 53 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net-misc/ike/Manifest	Fri May 17 07:28:33 2019 +0200
+++ b/net-misc/ike/Manifest	Fri May 17 08:04:16 2019 +0200
@@ -1,3 +1,4 @@
 AUX iked 243 BLAKE2B e455e506f58ce99c600e782e0cb12130365beeccd3dad2758ccf0885b99bb340b95854683eb12e7e0d735ada9ed39631fe36136b09d8ca2fb9dd992b43d5fa47 SHA512 3bd066ca386f2f956b7d11d551e1f071e9c90d107511b4ab6012470bd1f460e325dc5ea86f896558fc662b99bee31e61b21139d641418f5e6cc77a7cc3135021
 DIST ike-2.2.1-release.tgz 843761 BLAKE2B bb43ee14be229015f2ad296c1dfda5ba11a3ba3d836abf3fd6a77dbe2fa445e0242ffa12b801a1e1eaa9609f7e2a07496104ed3ae03032723f0dd41a8a3f1ab8 SHA512 9eb4e8b8aa778b00a098531efc5761a53f39dbb13164e452e0c610e83fc5f23c28360b5baee6e60e0133450291dc0097dfd878a05ac86b5f93d504530411b5ce
 EBUILD ike-2.2.1-r2.ebuild 1070 BLAKE2B 1f2f236ce8756c16a53e51e02ca2232031fbb6a416d7af31b561ac455c8a6ba2d0773474b59ab3c0762034729c9d824afdbd17ba896836e7e1c09a8197342356 SHA512 c95751b3c16875346cf7c396a38059c11eaf0809e2855b924d59f9553dc4d11ef237fb8092dac6aacfc8f1f884feaddb1cd00d174cce9e6e8453cc6feec9b374
+EBUILD ike-2.2.1-r3.ebuild 1129 BLAKE2B f0eb5c097a978526766bc47e8bdb77f74cf7ba87c5acb235913462e5903533f42d99e7389a34aff5cded8c0cd2149dc656284bf34ff7b91361cccfecb5d9bcde SHA512 b189a4e9228734e9897ce7fb1685accebee43b90c9c8a62caade6ae87b87e9f04140f6665f076555707655925b327b3667b25ce3b5805938f775ed7d574b517d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-misc/ike/ike-2.2.1-r3.ebuild	Fri May 17 08:04:16 2019 +0200
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD="1"
+inherit cmake-utils linux-info versionator
+
+MY_PV=$(replace_version_separator 3 '-' ${PV/rc})
+MY_P=${PN}-${PV}-release
+
+DESCRIPTION="Shrew soft VPN Client"
+HOMEPAGE="http://www.shrew.net/"
+SRC_URI="https://www.shrew.net/download/${PN}/${MY_P}.tgz"
+
+LICENSE="shrew"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap nat qt4"
+
+COMMON_DEPEND="dev-libs/libedit
+	dev-libs/openssl
+	qt4? ( dev-qt/qtcore )
+	ldap? ( net-nds/openldap )"
+DEPEND="${COMMON_DEPEND}
+	dev-util/cmake
+	>=sys-devel/bison-2.3
+	sys-devel/flex"
+RDEPEND="${COMMON_DEPEND}"
+
+DOCS="CONTRIB.TXT README.TXT TODO.TXT"
+
+CONFIG_CHECK="INET_XFRM_MODE_TRANSPORT INET_XFRM_MODE_TUNNEL"
+
+S="${WORKDIR}/${PN}"
+
+src_configure(){
+	mycmakeargs+=( -DLDAP=$(usex ldap)
+		-DNATT=$(usex nat)
+		-DQTGUI=$(usex qt4)
+		"-DMANDIR=/usr/share/man")
+
+	cmake-utils_src_configure
+}
+
+src_install(){
+	cmake-utils_src_install
+	# multilib strict fix
+	mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die "mv failed"
+	doinitd ${FILESDIR}/iked || die
+}