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