1 |
blueness 11/12/21 17:32:22 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: tinc-1.0.16-r2.ebuild |
5 |
Log: |
6 |
Added USE flags for raw, uml and vde sockets, bug #371131 |
7 |
|
8 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 net-misc/tinc/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/metadata.xml?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/metadata.xml?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/metadata.xml?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/metadata.xml,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- metadata.xml 24 Sep 2011 10:09:49 -0000 1.8 |
24 |
+++ metadata.xml 21 Dec 2011 17:32:22 -0000 1.9 |
25 |
@@ -6,4 +6,9 @@ |
26 |
<name>Anthony G. Basile</name> |
27 |
</maintainer> |
28 |
<longdescription>tinc is an easy to configure VPN implementation.</longdescription> |
29 |
+ <use> |
30 |
+ <flag name='raw'> Enable support for Raw Sockets</flag> |
31 |
+ <flag name='uml'> Enable support for User Mode Linux Sockets</flag> |
32 |
+ <flag name='vde'> Enable Virtual Distributed Ethernet (VDE) based networking</flag> |
33 |
+ </use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.27 net-misc/tinc/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.27&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.27&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?r1=1.26&r2=1.27 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v |
47 |
retrieving revision 1.26 |
48 |
retrieving revision 1.27 |
49 |
diff -u -r1.26 -r1.27 |
50 |
--- ChangeLog 4 Dec 2011 10:30:32 -0000 1.26 |
51 |
+++ ChangeLog 21 Dec 2011 17:32:22 -0000 1.27 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for net-misc/tinc |
54 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.26 2011/12/04 10:30:32 swegener Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.27 2011/12/21 17:32:22 blueness Exp $ |
57 |
+ |
58 |
+*tinc-1.0.16-r2 (21 Dec 2011) |
59 |
+ |
60 |
+ 21 Dec 2011; Anthony G. Basile <blueness@g.o> +tinc-1.0.16-r2.ebuild, |
61 |
+ +files/fix-compile-vde-uml.patch, +files/fix-missing-vde.patch, metadata.xml: |
62 |
+ Added USE flags for raw, uml and vde sockets, bug #371131 |
63 |
|
64 |
04 Dec 2011; Sven Wegener <swegener@g.o> files/tincd, files/tincd.1, |
65 |
files/tincd.lo, files/tincd.lo.1: |
66 |
|
67 |
|
68 |
|
69 |
1.1 net-misc/tinc/tinc-1.0.16-r2.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.16-r2.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.16-r2.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: tinc-1.0.16-r2.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2011 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16.ebuild,v 1.2 |
79 |
|
80 |
EAPI="4" |
81 |
|
82 |
inherit eutils |
83 |
|
84 |
DESCRIPTION="tinc is an easy to configure VPN implementation" |
85 |
HOMEPAGE="http://www.tinc-vpn.org/" |
86 |
SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz" |
87 |
|
88 |
LICENSE="GPL-2" |
89 |
SLOT="0" |
90 |
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos" |
91 |
IUSE="+lzo +zlib raw uml vde" |
92 |
|
93 |
DEPEND=">=dev-libs/openssl-0.9.7c |
94 |
lzo? ( dev-libs/lzo:2 ) |
95 |
zlib? ( >=sys-libs/zlib-1.1.4-r2 ) |
96 |
vde? ( net-misc/vde )" |
97 |
RDEPEND="${DEPEND}" |
98 |
|
99 |
src_prepare() { |
100 |
local COUNT=0 |
101 |
use raw && COUNT=$(($COUNT+1)) |
102 |
use uml && COUNT=$(($COUNT+1)) |
103 |
use vde && COUNT=$(($COUNT+1)) |
104 |
|
105 |
if [[ ${COUNT} -gt 1 ]]; then |
106 |
eerror |
107 |
eerror "\033[1;31m**************************************************\033[1;31m" |
108 |
eerror |
109 |
eerror "\033[1;31m If you selected either raw, uml or vde,\033[1;31m" |
110 |
eerror "\033[1;31m you can select only one.\033[1;31m" |
111 |
eerror |
112 |
eerror "\033[1;31m**************************************************\033[1;31m" |
113 |
eerror |
114 |
die |
115 |
fi |
116 |
|
117 |
epatch "${FILESDIR}"/fix-missing-vde.patch |
118 |
epatch "${FILESDIR}"/fix-compile-vde-uml.patch |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
econf --enable-jumbograms $(use_enable lzo) $(use_enable zlib) |
123 |
use raw && cd "${S}"/src && ln -sf raw_socket/device.c |
124 |
use uml && cd "${S}"/src && ln -sf uml_socket/device.c |
125 |
use vde && cd "${S}"/src && ln -sf vde/device.c |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
emake DESTDIR="${D}" install |
130 |
dodir /etc/tinc |
131 |
dodoc AUTHORS NEWS README THANKS |
132 |
newinitd "${FILESDIR}"/tincd.1 tincd |
133 |
newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo |
134 |
doconfd "${FILESDIR}"/tinc.networks |
135 |
newconfd "${FILESDIR}"/tincd.conf.1 tincd |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
elog "This package requires the tun/tap kernel device." |
140 |
elog "Look at http://www.tinc-vpn.org/ for how to configure tinc" |
141 |
} |