Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/tinc: tinc-1.0.16-r3.ebuild ChangeLog tinc-1.0.16-r1.ebuild tinc-1.0.16-r2.ebuild
Date: Tue, 31 Jan 2012 22:53:13
Message-Id: 20120131225303.2D8472004B@flycatcher.gentoo.org
1 blueness 12/01/31 22:53:03
2
3 Modified: ChangeLog
4 Added: tinc-1.0.16-r3.ebuild
5 Removed: tinc-1.0.16-r1.ebuild tinc-1.0.16-r2.ebuild
6 Log:
7 Fix bug #401423 and removed older ~arch
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.29 net-misc/tinc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.29&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.29&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?r1=1.28&r2=1.29
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v
21 retrieving revision 1.28
22 retrieving revision 1.29
23 diff -u -r1.28 -r1.29
24 --- ChangeLog 15 Jan 2012 19:48:38 -0000 1.28
25 +++ ChangeLog 31 Jan 2012 22:53:03 -0000 1.29
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-misc/tinc
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.28 2012/01/15 19:48:38 tove Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.29 2012/01/31 22:53:03 blueness Exp $
31 +
32 +*tinc-1.0.16-r3 (31 Jan 2012)
33 +
34 + 31 Jan 2012; Anthony G. Basile <blueness@g.o> -tinc-1.0.16-r1.ebuild,
35 + -tinc-1.0.16-r2.ebuild, +tinc-1.0.16-r3.ebuild, files/tincd.1,
36 + files/tincd.lo.1:
37 + Fix bug #401423 and removed older ~arch
38
39 15 Jan 2012; Torsten Veller <tove@g.o> tinc-1.0.16-r1.ebuild,
40 tinc-1.0.16-r2.ebuild:
41
42
43
44 1.1 net-misc/tinc/tinc-1.0.16-r3.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.16-r3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.16-r3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: tinc-1.0.16-r3.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16-r3.ebuild,v 1.1 2012/01/31 22:53:03 blueness Exp $
54
55 EAPI="4"
56
57 inherit eutils
58
59 DESCRIPTION="tinc is an easy to configure VPN implementation"
60 HOMEPAGE="http://www.tinc-vpn.org/"
61 SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
66 IUSE="+lzo +zlib raw uml vde"
67
68 DEPEND=">=dev-libs/openssl-0.9.7c
69 lzo? ( dev-libs/lzo:2 )
70 zlib? ( >=sys-libs/zlib-1.1.4-r2 )
71 vde? ( net-misc/vde )"
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 local COUNT=0
76 use raw && COUNT=$(($COUNT+1))
77 use uml && COUNT=$(($COUNT+1))
78 use vde && COUNT=$(($COUNT+1))
79
80 if [[ ${COUNT} -gt 1 ]]; then
81 eerror
82 eerror "\033[1;31m**************************************************\033[1;31m"
83 eerror
84 eerror "\033[1;31m If you selected either raw, uml or vde,\033[1;31m"
85 eerror "\033[1;31m you can select only one.\033[1;31m"
86 eerror
87 eerror "\033[1;31m**************************************************\033[1;31m"
88 eerror
89 die
90 fi
91
92 epatch "${FILESDIR}"/fix-missing-vde.patch
93 epatch "${FILESDIR}"/fix-compile-vde-uml.patch
94 }
95
96 src_configure() {
97 econf --enable-jumbograms $(use_enable lzo) $(use_enable zlib)
98 use raw && cd "${S}"/src && ln -sf raw_socket/device.c
99 use uml && cd "${S}"/src && ln -sf uml_socket/device.c
100 use vde && cd "${S}"/src && ln -sf vde/device.c
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install
105 dodir /etc/tinc
106 dodoc AUTHORS NEWS README THANKS
107 newinitd "${FILESDIR}"/tincd.1 tincd
108 newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo
109 doconfd "${FILESDIR}"/tinc.networks
110 newconfd "${FILESDIR}"/tincd.conf.1 tincd
111 }
112
113 pkg_postinst() {
114 elog "This package requires the tun/tap kernel device."
115 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
116 }