changeset 348:3f5268b98b82

add ebuild for the shrewsoft VPN client
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 16 Sep 2013 16:19:24 +0200
parents 2ed312984209
children 41783c4398c1
files net-misc/ike/Manifest net-misc/ike/ike-2.2.1.ebuild
diffstat 2 files changed, 52 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-misc/ike/Manifest	Mon Sep 16 16:19:24 2013 +0200
@@ -0,0 +1,2 @@
+DIST ike-2.2.1-release.tbz2 670872 SHA256 05c72f1ef1547818f5af367afa3f116f4b511a4a19ce723a22f8357a98ab7b57 SHA512 44c0127c581eff684a3d618ca98a790f93d3e0c189a225d658ade0d3d0c7d1253a974c160dcf6c6bce6ad04cfb2aeb6d3dc5b6c6059a9f8e30ab4f7d7697aac1 WHIRLPOOL e479d5b62d06e19c9a90b05dd57d0e48218133091a4db1bee4b72504fdfa7c32c7b74d17f757ad5d017db943740a1809380dfea0fe75ae7c3b8f304a45edb8e7
+EBUILD ike-2.2.1.ebuild 1071 SHA256 ed5ae2f433d6309a560bc3fbe9193e9ca8761b5aa37984df334da84c4ff9f9b2 SHA512 5bbe3870e012e0e8293ff60f55134c75ef7d994492c65c318774ebd684f03c4952d0ba84c464423620ea2120a48f60fa7991c74c3ea21532dfac8941e4a9b658 WHIRLPOOL 2bf594ff5e79195a30c7e4299478645dd8760df4b0ec07228fb0654a9bb14e803ba0d9ca375d1d5fca60b69fa21db0f3c319299dd39f15603ce024de3e012e96
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-misc/ike/ike-2.2.1.ebuild	Mon Sep 16 16:19:24 2013 +0200
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+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="http://www.shrew.net/download/${PN}/${MY_P}.tbz2"
+
+LICENSE="shrew"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap nat qt4"
+
+COMMON_DEPEND="dev-libs/libedit
+	dev-libs/openssl
+	qt4? ( x11-libs/qt-core )
+	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+=( $(cmake-utils_use ldap LDAP)
+		$(cmake-utils_use nat NATT)
+		$(cmake-utils_use qt4 QTGUI)
+		"-DMANDIR=/usr/share/man")
+
+	cmake-utils_src_configure
+}
+
+src_install(){
+	cmake-utils_src_install
+	doinitd ${FILESDIR}/iked || die
+}