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.24-r2.ebuild tinc-1.1_pre10-r1.ebuild ChangeLog tinc-1.0.24-r1.ebuild tinc-1.1_pre10.ebuild
Date: Sat, 27 Sep 2014 15:02:14
Message-Id: 20140927150209.B35E166CC@oystercatcher.gentoo.org
1 blueness 14/09/27 15:02:09
2
3 Modified: ChangeLog
4 Added: tinc-1.0.24-r2.ebuild tinc-1.1_pre10-r1.ebuild
5 Removed: tinc-1.0.24-r1.ebuild tinc-1.1_pre10.ebuild
6 Log:
7 Fix bashism, bug #523862
8
9 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
10
11 Revision Changes Path
12 1.49 net-misc/tinc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.49&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?rev=1.49&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/ChangeLog?r1=1.48&r2=1.49
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v
21 retrieving revision 1.48
22 retrieving revision 1.49
23 diff -u -r1.48 -r1.49
24 --- ChangeLog 17 Jul 2014 05:47:19 -0000 1.48
25 +++ ChangeLog 27 Sep 2014 15:02:09 -0000 1.49
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-misc/tinc
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.48 2014/07/17 05:47:19 dlan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.49 2014/09/27 15:02:09 blueness Exp $
31 +
32 +*tinc-1.1_pre10-r1 (27 Sep 2014)
33 +*tinc-1.0.24-r2 (27 Sep 2014)
34 +
35 + 27 Sep 2014; Anthony G. Basile <blueness@g.o> +tinc-1.0.24-r2.ebuild,
36 + +tinc-1.1_pre10-r1.ebuild, -tinc-1.0.24-r1.ebuild, -tinc-1.1_pre10.ebuild,
37 + files/tincd-r1:
38 + Fix bashism, bug #523862
39
40 *tinc-1.1_pre10 (17 Jul 2014)
41 *tinc-1.0.24-r1 (17 Jul 2014)
42
43
44
45 1.1 net-misc/tinc/tinc-1.0.24-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.24-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.0.24-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: tinc-1.0.24-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.24-r2.ebuild,v 1.1 2014/09/27 15:02:09 blueness Exp $
55
56 EAPI="5"
57 inherit systemd
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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
66 IUSE="+lzo uml vde +zlib"
67
68 DEPEND="dev-libs/openssl
69 lzo? ( dev-libs/lzo:2 )
70 zlib? ( sys-libs/zlib )"
71 RDEPEND="${DEPEND}
72 vde? ( net-misc/vde )"
73
74 src_configure() {
75 econf \
76 --enable-jumbograms \
77 --disable-tunemu \
78 $(use_enable lzo) \
79 $(use_enable uml) \
80 $(use_enable vde) \
81 $(use_enable zlib)
82 }
83
84 src_install() {
85 emake DESTDIR="${D}" install
86 dodir /etc/tinc
87 dodoc AUTHORS NEWS README THANKS
88 doconfd "${FILESDIR}"/tinc.networks
89 newconfd "${FILESDIR}"/tincd.conf tincd
90 newinitd "${FILESDIR}"/tincd-r1 tincd
91 systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
92 }
93
94 pkg_postinst() {
95 elog "This package requires the tun/tap kernel device."
96 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
97 }
98
99
100
101 1.1 net-misc/tinc/tinc-1.1_pre10-r1.ebuild
102
103 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.1_pre10-r1.ebuild?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/tinc-1.1_pre10-r1.ebuild?rev=1.1&content-type=text/plain
105
106 Index: tinc-1.1_pre10-r1.ebuild
107 ===================================================================
108 # Copyright 1999-2014 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.1_pre10-r1.ebuild,v 1.1 2014/09/27 15:02:09 blueness Exp $
111
112 EAPI="5"
113
114 MY_PV=${PV/_/}
115 MY_P=${PN}-${MY_PV}
116
117 PYTHON_COMPAT=( python2_7 )
118 inherit eutils systemd python-any-r1
119
120 DESCRIPTION="tinc is an easy to configure VPN implementation"
121 HOMEPAGE="http://www.tinc-vpn.org/"
122 SRC_URI="http://www.tinc-vpn.org/packages/${MY_P}.tar.gz"
123
124 LICENSE="GPL-2"
125 SLOT="0"
126 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
127 IUSE="+lzo +ncurses +openssl gcrypt gui +readline uml vde +zlib"
128
129 DEPEND="dev-libs/openssl
130 lzo? ( dev-libs/lzo:2 )
131 ncurses? ( sys-libs/ncurses )
132 readline? ( sys-libs/readline )
133 zlib? ( sys-libs/zlib )"
134 RDEPEND="${DEPEND}
135 vde? ( net-misc/vde )
136 ${PYTHON_DEPS}
137 gui? ( $(python_gen_any_dep '
138 dev-python/wxpython[${PYTHON_USEDEP}]
139 ') )"
140
141 REQUIRED_USE="^^ ( openssl gcrypt )"
142
143 S="${WORKDIR}/${MY_P}"
144
145 src_configure() {
146 econf \
147 --enable-jumbograms \
148 --disable-tunemu \
149 --with-windows2000 \
150 --disable-silent-rules \
151 $(use_enable lzo) \
152 $(use_enable ncurses curses) \
153 $(use_enable readline) \
154 $(use_enable uml) \
155 $(use_enable vde) \
156 $(use_enable zlib) \
157 $(use_with openssl) \
158 # $(use_with gcrypt libgcrypt), upstream not ready
159 }
160
161 src_install() {
162 emake DESTDIR="${D}" install
163 dodir /etc/tinc
164 dodoc AUTHORS NEWS README THANKS
165 doconfd "${FILESDIR}"/tinc.networks
166 newconfd "${FILESDIR}"/tincd.conf tincd
167 newinitd "${FILESDIR}"/tincd-r1 tincd
168 systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
169
170 if use gui; then
171 python_fix_shebang "${ED}"/usr/bin/tinc-gui
172 else
173 rm -f "${ED}"/usr/bin/tinc-gui || die
174 fi
175 }
176
177 pkg_postinst() {
178 elog "This package requires the tun/tap kernel device."
179 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
180 }