commit:     55227c3ea15eb2fd745113268a07affd57778507
Author:     Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Wed Jul 30 16:32:44 2014 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Jul 30 16:32:44 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=55227c3e

Initial import from lorem_ipsum overlay

Package-Manager: portage-2.2.10
Manifest-Sign-Key: 62EEF090

---
 net-misc/umip/ChangeLog                            |  7 +++
 net-misc/umip/Manifest                             | 13 +++++
 net-misc/umip/files/mip6d.conf                     |  5 ++
 net-misc/umip/files/mip6d.init                     | 19 +++++++
 .../files/umip-1.0-force-bundled-netlink.patch     | 11 ++++
 net-misc/umip/metadata.xml                         | 14 ++++++
 net-misc/umip/umip-1.0_p20131111.ebuild            | 58 ++++++++++++++++++++++
 net-misc/umip/umip-9999.ebuild                     | 58 ++++++++++++++++++++++
 8 files changed, 185 insertions(+)

diff --git a/net-misc/umip/ChangeLog b/net-misc/umip/ChangeLog
new file mode 100644
index 0000000..6bcb9e7
--- /dev/null
+++ b/net-misc/umip/ChangeLog
@@ -0,0 +1,7 @@
+*umip-1.0_p20131111 (30 Jul 2014)
+*umip-9999 (30 Jul 2014)
+
+  30 Jul 2014; Michael Weber <[email protected]> +files/mip6d.conf,
+  +files/mip6d.init, +files/umip-1.0-force-bundled-netlink.patch, 
+metadata.xml,
+  +umip-1.0_p20131111.ebuild, +umip-9999.ebuild:
+  Initial import from lorem_ipsum overlay

diff --git a/net-misc/umip/Manifest b/net-misc/umip/Manifest
new file mode 100644
index 0000000..ac5af74
--- /dev/null
+++ b/net-misc/umip/Manifest
@@ -0,0 +1,13 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST umip-1.0_p20131111.tar.bz2 179533 SHA256 
7c73b8929a4f1872d55fb242613698e85e08d4487939473b40285bb7c7600c5e SHA512 
80cce63b7b9891df084a51e015bd1ec4f9dee1737b2510d8bc46fc648403490849b87ca5f19ee59af34c7d06f3a5beddf7e657bde47bf36800ca536261b79004
 WHIRLPOOL 
fa0bcbcdd8a73bda51f13d95bd4ccdf40e6a9fdbbe6408ccc2ac7173a2c55ca7af17b81082d0257a4bf2589b137eb5cb693aa0f53c73c0e9de51222f6d0b04f5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iL4EAREIAGYFAlPZHixfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY3QjA4MzdGODg1NUMxMjIzNUQ0MDgxNzky
+N0FERDBDNjJFRUYwOTAACgkQknrdDGLu8JBozQD/X50BjIa+zK+1zh7bEnqIWwmf
+x3kLykVTMOw3PIGsN0cBAIfAlQMvxvFW0IwoI9lkMbGSCv2zsV16ANbMVzWIDbK1
+=Nrwa
+-----END PGP SIGNATURE-----

diff --git a/net-misc/umip/files/mip6d.conf b/net-misc/umip/files/mip6d.conf
new file mode 100644
index 0000000..ae5d049
--- /dev/null
+++ b/net-misc/umip/files/mip6d.conf
@@ -0,0 +1,5 @@
+# localtion of the mip6d config file
+MIP6D_CONF="/etc/mip6d.conf"
+
+# additional args to pass to mip6d
+MIP6D_ARGS=""

diff --git a/net-misc/umip/files/mip6d.init b/net-misc/umip/files/mip6d.init
new file mode 100644
index 0000000..10166ff
--- /dev/null
+++ b/net-misc/umip/files/mip6d.init
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+pidfile="/var/run/mip6d.run"
+command="/usr/sbin/mip6d"
+command_args="-c \"${MIP6D_CONF}\" ${MIP6D_ARGS}"
+extra_started_commands="reload"
+
+depend() {
+       need net
+}
+
+reload() {
+       ebegin "Reloading mip6d configuration"
+       start-stop-daemon --signal HUP --pidfile "${pidfile}" \
+               --exec ${command}
+}

diff --git a/net-misc/umip/files/umip-1.0-force-bundled-netlink.patch 
b/net-misc/umip/files/umip-1.0-force-bundled-netlink.patch
new file mode 100644
index 0000000..587199c
--- /dev/null
+++ b/net-misc/umip/files/umip-1.0-force-bundled-netlink.patch
@@ -0,0 +1,11 @@
+--- mip-1.0/configure.ac
++++ mip-1.0/configure.ac
+@@ -90,7 +90,7 @@
+ ])
+ 
+ AC_CHECK_LIB(netlink, rtnl_talk)
+-AM_CONDITIONAL(LOCAL_NETLINK, test x$ac_cv_lib_netlink_rtnl_talk = xno)
++AM_CONDITIONAL(LOCAL_NETLINK, test xno = xno)
+ 
+ AC_ARG_WITH(builtin-crypto,
+       AC_HELP_STRING([--with-builtin-crypto],[use builtin crypto code]),

diff --git a/net-misc/umip/metadata.xml b/net-misc/umip/metadata.xml
new file mode 100644
index 0000000..29852e9
--- /dev/null
+++ b/net-misc/umip/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer>
+               <email>[email protected]</email>
+               <name>Hendrik v. Raven (lorem_ipsum)</name>
+       </maintainer>
+       <longdescription lang="en">
+               UMIP is an open source implementation of Mobile IPv6 and NEMO 
Basic Support for Linux. It supports the following IETF RFC: RFC6275 (Mobile 
IPv6), RFC3963 (NEMO), RFC3776 and RFC4877 (IPsec and IKEv2). 
+       </longdescription>
+       <use>
+               <flag name='vt'>enable internal virtual terminal</flag>
+       </use>
+</pkgmetadata>

diff --git a/net-misc/umip/umip-1.0_p20131111.ebuild 
b/net-misc/umip/umip-1.0_p20131111.ebuild
new file mode 100644
index 0000000..8a45191
--- /dev/null
+++ b/net-misc/umip/umip-1.0_p20131111.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+#!/bin/bash
+
+EAPI=5
+
+inherit autotools linux-info
+
+DESCRIPTION="Implementation of Mobile IPv6 and NEMO Basic Support."
+HOMEPAGE="http://umip.org";
+SRC_URI="http://dev.gentoo.org/~xmw/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+vt"
+
+COMMON_DEPEND="dev-libs/openssl"
+DEPEND="${COMMON_DEPEND}
+       dev-util/indent
+       sys-kernel/linux-headers"
+RDEPEND="${COMMON_DEPEND}
+       net-misc/radvd
+       net-firewall/ipsec-tools[ipv6]"
+
+CONFIG_CHECK="~IPV6_MIP6 ~INET6_XFRM_MODE_ROUTEOPTIMIZATION ~IPV6_TUNNEL 
~IPV6_MULTIPLE_TABLES IPV6_SUBTREES ~NET_KEY_MIGRATE ~XFRM_SUB_POLICY"
+
+pkg_setup() {
+       linux-info_pkg_setup
+
+       if kernel_is lt 3 8 1 ; then
+               ewarn "Your kernel version lacks support for required features."
+               ewarn "Upgrade your kernel to a version >= 3.8.1 or apply the 
patches found at"
+               ewarn "http://umip.org/docs/patches/";
+       fi
+}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.0-force-bundled-netlink.patch
+
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --enable-debug \
+               $(use_enable vt) \
+               --without-builtin-crypto
+}
+
+src_install() {
+       default
+
+       dodoc extras/*.conf
+       newinitd "${FILESDIR}"/mip6d.init mip6d
+       newconfd "${FILESDIR}"/mip6d.conf mip6d
+}

diff --git a/net-misc/umip/umip-9999.ebuild b/net-misc/umip/umip-9999.ebuild
new file mode 100644
index 0000000..6eaff5b
--- /dev/null
+++ b/net-misc/umip/umip-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+#!/bin/bash
+
+EAPI=5
+
+inherit autotools git-2 linux-info
+
+DESCRIPTION="Implementation of Mobile IPv6 and NEMO Basic Support."
+HOMEPAGE="http://umip.org";
+EGIT_REPO_URI="git://git.${PN}.org/${PN}.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+vt"
+
+COMMON_DEPEND="dev-libs/openssl"
+DEPEND="${COMMON_DEPEND}
+       dev-util/indent
+       sys-kernel/linux-headers"
+RDEPEND="${COMMON_DEPEND}
+       net-misc/radvd
+       net-firewall/ipsec-tools[ipv6]"
+
+CONFIG_CHECK="~IPV6_MIP6 ~INET6_XFRM_MODE_ROUTEOPTIMIZATION ~IPV6_TUNNEL 
~IPV6_MULTIPLE_TABLES IPV6_SUBTREES ~NET_KEY_MIGRATE ~XFRM_SUB_POLICY"
+
+pkg_setup() {
+       linux-info_pkg_setup
+
+       if kernel_is lt 3 8 1 ; then
+               ewarn "Your kernel version lacks support for required features."
+               ewarn "Upgrade your kernel to a version >= 3.8.1 or apply the 
patches found at"
+               ewarn "http://umip.org/docs/patches/";
+       fi
+}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.0-force-bundled-netlink.patch
+
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --enable-debug \
+               $(use_enable vt) \
+               --without-builtin-crypto
+}
+
+src_install() {
+       default
+
+       dodoc extras/*.conf
+       newinitd "${FILESDIR}"/mip6d.init mip6d
+       newconfd "${FILESDIR}"/mip6d.conf mip6d
+}

Reply via email to