summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Elsner <open@mindrunner.de>2013-04-07 13:52:10 +0200
committerLukas Elsner <open@mindrunner.de>2013-04-07 13:52:10 +0200
commit104aacc7255c6e189cd5b834d27df3fe2759d6f0 (patch)
treed6f0970a33086178a90eedc76e2a0da088d64dc4 /net-misc
parentminecraft version bump (diff)
downloadluman-104aacc7255c6e189cd5b834d27df3fe2759d6f0.tar.gz
luman-104aacc7255c6e189cd5b834d27df3fe2759d6f0.tar.bz2
luman-104aacc7255c6e189cd5b834d27df3fe2759d6f0.zip
added ike
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ike/Manifest3
-rw-r--r--net-misc/ike/files/iked17
-rw-r--r--net-misc/ike/ike-2.2.0_alpha_rc9.ebuild51
3 files changed, 71 insertions, 0 deletions
diff --git a/net-misc/ike/Manifest b/net-misc/ike/Manifest
new file mode 100644
index 0000000..894cbff
--- /dev/null
+++ b/net-misc/ike/Manifest
@@ -0,0 +1,3 @@
+AUX iked 251 SHA256 bcf59e1b63abbd1fae77906d37e91dabc75743d6d0c2f50e1414139006fb880f SHA512 6e3bfb1a87e8984fff8f7b0afd7f1d4472f19cc757fd3fc10ea5e76a49cd38b64550de43e59a1346f8837f3c23a9117fdf34f9d9b890236b33766a72f49f3905 WHIRLPOOL 509382f2eb73be3aa643f545c939df3809eaa4fb7dcaf986a34918fea2eb9f7558c02feda387550dd0a28f202d59f6b93a75cccc82ab96a3d59e8125a7ccfa91
+DIST ike-2.2.0-alpha-9.tbz2 593146 SHA256 c73265bc65ab957e56d4d80caaef55a1729b7e1f57c3fde5e2e64ebdf3649124 SHA512 1714d628d675d3ac755e87bbaf1fa8b165db7edc0ecfe66b17528b6817ef2723795d16a3d74832d81a4b42d6b5d4b4fb7b8157c551127b4a93b81bf698f415ae WHIRLPOOL aa19a38ee35655244a58fd7363604d9baf76cf5456133e09531abb4c7e827551c4b78b4fee14485f47d94a39978c12382971b2eb4344e2fa653e0947a479f982
+EBUILD ike-2.2.0_alpha_rc9.ebuild 1116 SHA256 95b9ca878fe43b71eeb4f438dcf43e7fd6cd4466a5cb903198ff36c9024f2058 SHA512 79ce8c68f4df182e9971b733602585cbcf0f2952ffee764453565d79aa03cbfb72b8d00f2fea9e0e65717925e75f698e721bd476e9809c41feb2957a45811b96 WHIRLPOOL 77cd680a6dbe282e3cf9ecd7d14859e9eb54b815b29be889a59778e53ab8b03f1dd313be7ea663647e82ea05d1b0c245aa8585b3547efc01e366cf445031182a
diff --git a/net-misc/ike/files/iked b/net-misc/ike/files/iked
new file mode 100644
index 0000000..ec43577
--- /dev/null
+++ b/net-misc/ike/files/iked
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ike daemon"
+ start-stop-daemon --start --exec /usr/sbin/iked
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ike daemon"
+ start-stop-daemon --stop --oknodo --exec /usr/sbin/iked
+ eend $?
+}
diff --git a/net-misc/ike/ike-2.2.0_alpha_rc9.ebuild b/net-misc/ike/ike-2.2.0_alpha_rc9.ebuild
new file mode 100644
index 0000000..dfc7f6d
--- /dev/null
+++ b/net-misc/ike/ike-2.2.0_alpha_rc9.ebuild
@@ -0,0 +1,51 @@
+# 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_PV=$(replace_version_separator 4 '-' ${MY_PV})
+MY_P=${PN}-${MY_PV}
+
+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
+}