1 |
commit: 55227c3ea15eb2fd745113268a07affd57778507 |
2 |
Author: Michael Weber <michael <AT> xmw <DOT> de> |
3 |
AuthorDate: Wed Jul 30 16:32:44 2014 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 30 16:32:44 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=55227c3e |
7 |
|
8 |
Initial import from lorem_ipsum overlay |
9 |
|
10 |
Package-Manager: portage-2.2.10 |
11 |
Manifest-Sign-Key: 62EEF090 |
12 |
|
13 |
--- |
14 |
net-misc/umip/ChangeLog | 7 +++ |
15 |
net-misc/umip/Manifest | 13 +++++ |
16 |
net-misc/umip/files/mip6d.conf | 5 ++ |
17 |
net-misc/umip/files/mip6d.init | 19 +++++++ |
18 |
.../files/umip-1.0-force-bundled-netlink.patch | 11 ++++ |
19 |
net-misc/umip/metadata.xml | 14 ++++++ |
20 |
net-misc/umip/umip-1.0_p20131111.ebuild | 58 ++++++++++++++++++++++ |
21 |
net-misc/umip/umip-9999.ebuild | 58 ++++++++++++++++++++++ |
22 |
8 files changed, 185 insertions(+) |
23 |
|
24 |
diff --git a/net-misc/umip/ChangeLog b/net-misc/umip/ChangeLog |
25 |
new file mode 100644 |
26 |
index 0000000..6bcb9e7 |
27 |
--- /dev/null |
28 |
+++ b/net-misc/umip/ChangeLog |
29 |
@@ -0,0 +1,7 @@ |
30 |
+*umip-1.0_p20131111 (30 Jul 2014) |
31 |
+*umip-9999 (30 Jul 2014) |
32 |
+ |
33 |
+ 30 Jul 2014; Michael Weber <xmw@g.o> +files/mip6d.conf, |
34 |
+ +files/mip6d.init, +files/umip-1.0-force-bundled-netlink.patch, +metadata.xml, |
35 |
+ +umip-1.0_p20131111.ebuild, +umip-9999.ebuild: |
36 |
+ Initial import from lorem_ipsum overlay |
37 |
|
38 |
diff --git a/net-misc/umip/Manifest b/net-misc/umip/Manifest |
39 |
new file mode 100644 |
40 |
index 0000000..ac5af74 |
41 |
--- /dev/null |
42 |
+++ b/net-misc/umip/Manifest |
43 |
@@ -0,0 +1,13 @@ |
44 |
+-----BEGIN PGP SIGNED MESSAGE----- |
45 |
+Hash: SHA256 |
46 |
+ |
47 |
+DIST umip-1.0_p20131111.tar.bz2 179533 SHA256 7c73b8929a4f1872d55fb242613698e85e08d4487939473b40285bb7c7600c5e SHA512 80cce63b7b9891df084a51e015bd1ec4f9dee1737b2510d8bc46fc648403490849b87ca5f19ee59af34c7d06f3a5beddf7e657bde47bf36800ca536261b79004 WHIRLPOOL fa0bcbcdd8a73bda51f13d95bd4ccdf40e6a9fdbbe6408ccc2ac7173a2c55ca7af17b81082d0257a4bf2589b137eb5cb693aa0f53c73c0e9de51222f6d0b04f5 |
48 |
+-----BEGIN PGP SIGNATURE----- |
49 |
+Version: GnuPG v2 |
50 |
+ |
51 |
+iL4EAREIAGYFAlPZHixfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl |
52 |
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY3QjA4MzdGODg1NUMxMjIzNUQ0MDgxNzky |
53 |
+N0FERDBDNjJFRUYwOTAACgkQknrdDGLu8JBozQD/X50BjIa+zK+1zh7bEnqIWwmf |
54 |
+x3kLykVTMOw3PIGsN0cBAIfAlQMvxvFW0IwoI9lkMbGSCv2zsV16ANbMVzWIDbK1 |
55 |
+=Nrwa |
56 |
+-----END PGP SIGNATURE----- |
57 |
|
58 |
diff --git a/net-misc/umip/files/mip6d.conf b/net-misc/umip/files/mip6d.conf |
59 |
new file mode 100644 |
60 |
index 0000000..ae5d049 |
61 |
--- /dev/null |
62 |
+++ b/net-misc/umip/files/mip6d.conf |
63 |
@@ -0,0 +1,5 @@ |
64 |
+# localtion of the mip6d config file |
65 |
+MIP6D_CONF="/etc/mip6d.conf" |
66 |
+ |
67 |
+# additional args to pass to mip6d |
68 |
+MIP6D_ARGS="" |
69 |
|
70 |
diff --git a/net-misc/umip/files/mip6d.init b/net-misc/umip/files/mip6d.init |
71 |
new file mode 100644 |
72 |
index 0000000..10166ff |
73 |
--- /dev/null |
74 |
+++ b/net-misc/umip/files/mip6d.init |
75 |
@@ -0,0 +1,19 @@ |
76 |
+#!/sbin/runscript |
77 |
+# Copyright 1999-2014 Gentoo Foundation |
78 |
+# Distributed under the terms of the GNU General Public License v2 |
79 |
+# $Header: $ |
80 |
+ |
81 |
+pidfile="/var/run/mip6d.run" |
82 |
+command="/usr/sbin/mip6d" |
83 |
+command_args="-c \"${MIP6D_CONF}\" ${MIP6D_ARGS}" |
84 |
+extra_started_commands="reload" |
85 |
+ |
86 |
+depend() { |
87 |
+ need net |
88 |
+} |
89 |
+ |
90 |
+reload() { |
91 |
+ ebegin "Reloading mip6d configuration" |
92 |
+ start-stop-daemon --signal HUP --pidfile "${pidfile}" \ |
93 |
+ --exec ${command} |
94 |
+} |
95 |
|
96 |
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 |
97 |
new file mode 100644 |
98 |
index 0000000..587199c |
99 |
--- /dev/null |
100 |
+++ b/net-misc/umip/files/umip-1.0-force-bundled-netlink.patch |
101 |
@@ -0,0 +1,11 @@ |
102 |
+--- mip-1.0/configure.ac |
103 |
++++ mip-1.0/configure.ac |
104 |
+@@ -90,7 +90,7 @@ |
105 |
+ ]) |
106 |
+ |
107 |
+ AC_CHECK_LIB(netlink, rtnl_talk) |
108 |
+-AM_CONDITIONAL(LOCAL_NETLINK, test x$ac_cv_lib_netlink_rtnl_talk = xno) |
109 |
++AM_CONDITIONAL(LOCAL_NETLINK, test xno = xno) |
110 |
+ |
111 |
+ AC_ARG_WITH(builtin-crypto, |
112 |
+ AC_HELP_STRING([--with-builtin-crypto],[use builtin crypto code]), |
113 |
|
114 |
diff --git a/net-misc/umip/metadata.xml b/net-misc/umip/metadata.xml |
115 |
new file mode 100644 |
116 |
index 0000000..29852e9 |
117 |
--- /dev/null |
118 |
+++ b/net-misc/umip/metadata.xml |
119 |
@@ -0,0 +1,14 @@ |
120 |
+<?xml version="1.0" encoding="UTF-8"?> |
121 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
122 |
+<pkgmetadata> |
123 |
+ <maintainer> |
124 |
+ <email>hendrik@××××××××××.de</email> |
125 |
+ <name>Hendrik v. Raven (lorem_ipsum)</name> |
126 |
+ </maintainer> |
127 |
+ <longdescription lang="en"> |
128 |
+ 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). |
129 |
+ </longdescription> |
130 |
+ <use> |
131 |
+ <flag name='vt'>enable internal virtual terminal</flag> |
132 |
+ </use> |
133 |
+</pkgmetadata> |
134 |
|
135 |
diff --git a/net-misc/umip/umip-1.0_p20131111.ebuild b/net-misc/umip/umip-1.0_p20131111.ebuild |
136 |
new file mode 100644 |
137 |
index 0000000..8a45191 |
138 |
--- /dev/null |
139 |
+++ b/net-misc/umip/umip-1.0_p20131111.ebuild |
140 |
@@ -0,0 +1,58 @@ |
141 |
+# Copyright 1999-2014 Gentoo Foundation |
142 |
+# Distributed under the terms of the GNU General Public License v2 |
143 |
+# $Header: $ |
144 |
+#!/bin/bash |
145 |
+ |
146 |
+EAPI=5 |
147 |
+ |
148 |
+inherit autotools linux-info |
149 |
+ |
150 |
+DESCRIPTION="Implementation of Mobile IPv6 and NEMO Basic Support." |
151 |
+HOMEPAGE="http://umip.org" |
152 |
+SRC_URI="http://dev.gentoo.org/~xmw/${P}.tar.bz2" |
153 |
+ |
154 |
+LICENSE="GPL-2" |
155 |
+SLOT="0" |
156 |
+KEYWORDS="~amd64" |
157 |
+IUSE="+vt" |
158 |
+ |
159 |
+COMMON_DEPEND="dev-libs/openssl" |
160 |
+DEPEND="${COMMON_DEPEND} |
161 |
+ dev-util/indent |
162 |
+ sys-kernel/linux-headers" |
163 |
+RDEPEND="${COMMON_DEPEND} |
164 |
+ net-misc/radvd |
165 |
+ net-firewall/ipsec-tools[ipv6]" |
166 |
+ |
167 |
+CONFIG_CHECK="~IPV6_MIP6 ~INET6_XFRM_MODE_ROUTEOPTIMIZATION ~IPV6_TUNNEL ~IPV6_MULTIPLE_TABLES IPV6_SUBTREES ~NET_KEY_MIGRATE ~XFRM_SUB_POLICY" |
168 |
+ |
169 |
+pkg_setup() { |
170 |
+ linux-info_pkg_setup |
171 |
+ |
172 |
+ if kernel_is lt 3 8 1 ; then |
173 |
+ ewarn "Your kernel version lacks support for required features." |
174 |
+ ewarn "Upgrade your kernel to a version >= 3.8.1 or apply the patches found at" |
175 |
+ ewarn "http://umip.org/docs/patches/" |
176 |
+ fi |
177 |
+} |
178 |
+ |
179 |
+src_prepare() { |
180 |
+ epatch "${FILESDIR}"/${PN}-1.0-force-bundled-netlink.patch |
181 |
+ |
182 |
+ eautoreconf |
183 |
+} |
184 |
+ |
185 |
+src_configure() { |
186 |
+ econf \ |
187 |
+ --enable-debug \ |
188 |
+ $(use_enable vt) \ |
189 |
+ --without-builtin-crypto |
190 |
+} |
191 |
+ |
192 |
+src_install() { |
193 |
+ default |
194 |
+ |
195 |
+ dodoc extras/*.conf |
196 |
+ newinitd "${FILESDIR}"/mip6d.init mip6d |
197 |
+ newconfd "${FILESDIR}"/mip6d.conf mip6d |
198 |
+} |
199 |
|
200 |
diff --git a/net-misc/umip/umip-9999.ebuild b/net-misc/umip/umip-9999.ebuild |
201 |
new file mode 100644 |
202 |
index 0000000..6eaff5b |
203 |
--- /dev/null |
204 |
+++ b/net-misc/umip/umip-9999.ebuild |
205 |
@@ -0,0 +1,58 @@ |
206 |
+# Copyright 1999-2014 Gentoo Foundation |
207 |
+# Distributed under the terms of the GNU General Public License v2 |
208 |
+# $Header: $ |
209 |
+#!/bin/bash |
210 |
+ |
211 |
+EAPI=5 |
212 |
+ |
213 |
+inherit autotools git-2 linux-info |
214 |
+ |
215 |
+DESCRIPTION="Implementation of Mobile IPv6 and NEMO Basic Support." |
216 |
+HOMEPAGE="http://umip.org" |
217 |
+EGIT_REPO_URI="git://git.${PN}.org/${PN}.git" |
218 |
+ |
219 |
+LICENSE="GPL-2" |
220 |
+SLOT="0" |
221 |
+KEYWORDS="" |
222 |
+IUSE="+vt" |
223 |
+ |
224 |
+COMMON_DEPEND="dev-libs/openssl" |
225 |
+DEPEND="${COMMON_DEPEND} |
226 |
+ dev-util/indent |
227 |
+ sys-kernel/linux-headers" |
228 |
+RDEPEND="${COMMON_DEPEND} |
229 |
+ net-misc/radvd |
230 |
+ net-firewall/ipsec-tools[ipv6]" |
231 |
+ |
232 |
+CONFIG_CHECK="~IPV6_MIP6 ~INET6_XFRM_MODE_ROUTEOPTIMIZATION ~IPV6_TUNNEL ~IPV6_MULTIPLE_TABLES IPV6_SUBTREES ~NET_KEY_MIGRATE ~XFRM_SUB_POLICY" |
233 |
+ |
234 |
+pkg_setup() { |
235 |
+ linux-info_pkg_setup |
236 |
+ |
237 |
+ if kernel_is lt 3 8 1 ; then |
238 |
+ ewarn "Your kernel version lacks support for required features." |
239 |
+ ewarn "Upgrade your kernel to a version >= 3.8.1 or apply the patches found at" |
240 |
+ ewarn "http://umip.org/docs/patches/" |
241 |
+ fi |
242 |
+} |
243 |
+ |
244 |
+src_prepare() { |
245 |
+ epatch "${FILESDIR}"/${PN}-1.0-force-bundled-netlink.patch |
246 |
+ |
247 |
+ eautoreconf |
248 |
+} |
249 |
+ |
250 |
+src_configure() { |
251 |
+ econf \ |
252 |
+ --enable-debug \ |
253 |
+ $(use_enable vt) \ |
254 |
+ --without-builtin-crypto |
255 |
+} |
256 |
+ |
257 |
+src_install() { |
258 |
+ default |
259 |
+ |
260 |
+ dodoc extras/*.conf |
261 |
+ newinitd "${FILESDIR}"/mip6d.init mip6d |
262 |
+ newconfd "${FILESDIR}"/mip6d.conf mip6d |
263 |
+} |