Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/blueness:master commit in: net-misc/tinc/, net-misc/tinc/files/
Date: Mon, 26 Sep 2011 03:29:52
Message-Id: 20377561822a33d883da67b62404943f3edb94ac.blueness@gentoo
1 commit: 20377561822a33d883da67b62404943f3edb94ac
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 03:29:35 2011 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 03:29:35 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=20377561
7
8 net-misc/tinc: moved to tree
9
10 ---
11 net-misc/tinc/ChangeLog | 26 -------------
12 net-misc/tinc/Manifest | 18 ---------
13 net-misc/tinc/files/tinc.networks | 13 ------
14 net-misc/tinc/files/tincd.1 | 70 -----------------------------------
15 net-misc/tinc/files/tincd.conf.1 | 5 --
16 net-misc/tinc/files/tincd.lo.1 | 58 -----------------------------
17 net-misc/tinc/metadata.xml | 9 ----
18 net-misc/tinc/tinc-1.0.16-r1.ebuild | 37 ------------------
19 8 files changed, 0 insertions(+), 236 deletions(-)
20
21 diff --git a/net-misc/tinc/ChangeLog b/net-misc/tinc/ChangeLog
22 deleted file mode 100644
23 index ffbd286..0000000
24 --- a/net-misc/tinc/ChangeLog
25 +++ /dev/null
26 @@ -1,26 +0,0 @@
27 -
28 -
29 - 26 Sep 2011; Anthony G. Basile <blueness@g.o> tinc-1.0.16-r1.ebuild,
30 - +files/tincd.1, +files/tincd.conf.1, +files/tincd.lo.1, -files/tincd,
31 - -files/tincd.conf, -files/tincd.lo:
32 - Rename tincd, tincd.conf and tincd.lo to avoid collision
33 -
34 - 26 Sep 2011; Anthony G. Basile <blueness@g.o> files/tincd,
35 - files/tincd.lo:
36 - Fixed logic with --logfile in init.d scripts
37 -
38 - 26 Sep 2011; Anthony G. Basile <blueness@g.o> files/tincd,
39 - files/tincd.conf, files/tincd.lo:
40 - Cleaned up the init scripts
41 -
42 - 26 Sep 2011; Anthony G. Basile <blueness@g.o> tinc-1.0.16-r1.ebuild,
43 - -files/tincdnosyslog, -files/tincdsyslog, files/tincd, files/tincd.conf:
44 - Changed to toggle syslog on conf.d variable, bug #371357#c11
45 -
46 -*tinc-1.0.16-r1 (26 Sep 2011)
47 -
48 - 26 Sep 2011; Anthony G. Basile <blueness@g.o> +tinc-1.0.16-r1.ebuild,
49 - +files/tinc.networks, +files/tincd, +files/tincd.conf, +files/tincd.lo,
50 - +files/tincdnosyslog, +files/tincdsyslog, +metadata.xml:
51 - Work on bug #371357
52 -
53
54 diff --git a/net-misc/tinc/Manifest b/net-misc/tinc/Manifest
55 deleted file mode 100644
56 index 1b9454e..0000000
57 --- a/net-misc/tinc/Manifest
58 +++ /dev/null
59 @@ -1,18 +0,0 @@
60 ------BEGIN PGP SIGNED MESSAGE-----
61 -Hash: SHA256
62 -
63 -AUX tinc.networks 387 RMD160 cc842d8ab6fb137d87276553fbf7465baeccf871 SHA1 8339d5882e494a0fd2390e1abfd0f24163949ce4 SHA256 7165721abd3706c95973118fbb503e18f9a008da6bdbf21a4ce35ecf7818d5ad
64 -AUX tincd.1 1753 RMD160 00630b4f43fff9e00516c2952dc463b3375ea6a5 SHA1 badcf16780eb0fa2446d30419c6652675944f753 SHA256 bfc641e976f21652b62a42461c6b227695c1d36e1ca20def9dfb4ebfb6fa5b20
65 -AUX tincd.conf.1 157 RMD160 72e67087f4f88a4958a54eb8cf8270cdfebe4339 SHA1 82dda948f1982c9289d6732f20b7e0da33ca2f6a SHA256 eef883d3cf4ba8376f6b37518f39df103b0d999c5faa2a82653926ce50255060
66 -AUX tincd.lo.1 1357 RMD160 4adfac136270557063ef3cb22be03ef0dc580d1c SHA1 d6887f62c92afb348dbbb36a22737e417cddf1bb SHA256 c01093edb573e6f2f8f12cb7f43274345d058a251db3a798fccb17fc1fa02a22
67 -DIST tinc-1.0.16.tar.gz 519460 RMD160 a4d44bd90d4c19f4cc8bc27c1f92a8fb437698d3 SHA1 6700e63c548228b1675f243f0075f98511f1e3a8 SHA256 f20863cb1155ba4e4dd4cf16c35a5d706cd326eb8fe62b8b0a31fd57241a5400
68 -EBUILD tinc-1.0.16-r1.ebuild 1049 RMD160 e141117d9eb378493a52881c47f112a6ae23c828 SHA1 12dee3e10bf7043c3766e39c23985fadbf96717c SHA256 02a35aa29622d9f06a4df084616188a45312f600fe3a33b8fdc9072ded8014ef
69 -MISC ChangeLog 1002 RMD160 9c3ed25b446f232f3d53de63853eaf2187ab5674 SHA1 21f61aa6c9eb331abe45eaf0e2b3eea599bfcead SHA256 614f33d25c5300a5f1a10ae63a3a200042befff6fd85e51a22d7bc3507572840
70 -MISC metadata.xml 323 RMD160 4afa38944097d8968b63842a67ed19531f0d9ec4 SHA1 40e3e0444e37634e1c939a5dd5677cef74827778 SHA256 8a800ba6f409642a7327882575dab780d140d7692155b5644850421abb7bb4d5
71 ------BEGIN PGP SIGNATURE-----
72 -Version: GnuPG v2.0.17 (GNU/Linux)
73 -
74 -iEYEAREIAAYFAk5/5vwACgkQl5yvQNBFVTXxIACdFuUoLcGMN8VNw2mOclWTormk
75 -Q/EAn3R21bf2tMN4IDBXpqxc7EmcxyP5
76 -=VExt
77 ------END PGP SIGNATURE-----
78
79 diff --git a/net-misc/tinc/files/tinc.networks b/net-misc/tinc/files/tinc.networks
80 deleted file mode 100644
81 index e1844ce..0000000
82 --- a/net-misc/tinc/files/tinc.networks
83 +++ /dev/null
84 @@ -1,13 +0,0 @@
85 -# file: /etc/conf.d/tinc.networks for /etc/init.d/tincd
86 -
87 -# In this file you define the tinc networks you want to connect to
88 -
89 -# USAGE:
90 -# you add a network to the init script by defining:
91 -# NETWORK: your_network_name
92 -#
93 -# if you want to connect to multiple VPN's just set them behind each other. e.g.
94 -# NETWORK: foo
95 -# NETWORK: bar
96 -#
97 -# this would join the network foo and the network bar.
98
99 diff --git a/net-misc/tinc/files/tincd.1 b/net-misc/tinc/files/tincd.1
100 deleted file mode 100644
101 index 6ecbb50..0000000
102 --- a/net-misc/tinc/files/tincd.1
103 +++ /dev/null
104 @@ -1,70 +0,0 @@
105 -#!/sbin/runscript
106 -# Copyright 1999-2011 Gentoo Foundation
107 -# Distributed under the terms of the GNU General Public License v2
108 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd,v 1.5 2008/04/01 14:08:45 dragonheart Exp $
109 -
110 -extra_commands="reload"
111 -
112 -NETS="/etc/conf.d/tinc.networks"
113 -DAEMON="/usr/sbin/tincd"
114 -
115 -depend() {
116 - use logger dns
117 - need net
118 -}
119 -
120 -checkconfig() {
121 - if ! grep -q '^ *NETWORK:' "${NETS}" ; then
122 - eerror "No VPN networks configured in ${NETS}"
123 - return 1
124 - fi
125 -}
126 -
127 -start() {
128 - checkconfig || return 1
129 - ebegin "Starting tinc VPN networks"
130 - awk '/^ *NETWORK:/ { print $2 }' "${NETS}" | while read NETNAME
131 - do
132 - CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
133 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
134 - if [ ! -f "${CONFIG}" ]; then
135 - eerror "Cannot start network ${NETNAME}."
136 - eerror "Please set up ${CONFIG} !"
137 - else
138 - ebegin "Starting tinc network ${NETNAME}"
139 - if [ "${SYSLOG}" == "yes" ]; then
140 - LOG=""
141 - else
142 - LOG="--logfile=/var/log/tinc.${NETNAME}.log"
143 - fi
144 - start-stop-daemon --start --exec "${DAEMON}" -- --net="${NETNAME}" "${LOG}" --pidfile "${PIDFILE}"
145 - eend $?
146 - fi
147 - done
148 -}
149 -
150 -stop() {
151 - ebegin "Stopping tinc VPN networks"
152 - awk '/^ *NETWORK:/ { print $2 }' "${NETS}" | while read NETNAME
153 - do
154 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
155 - if [ -f "${PIDFILE}" ]; then
156 - ebegin "Stopping tinc network ${NETNAME}"
157 - start-stop-daemon --stop --pidfile "${PIDFILE}"
158 - eend $?
159 - fi
160 - done
161 -}
162 -
163 -reload() {
164 - ebegin "Reloading configuration for tinc VPN networks"
165 - awk '/^ *NETWORK:/ { print $2 }' "${NETS}" | while read NETNAME
166 - do
167 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
168 - if [ -f "${PIDFILE}" ]; then
169 - ebegin "Reloading tinc network ${NETNAME}"
170 - start-stop-daemon --signal HUP --pidfile ${PIDFILE}
171 - eend $?
172 - fi
173 - done
174 -}
175
176 diff --git a/net-misc/tinc/files/tincd.conf.1 b/net-misc/tinc/files/tincd.conf.1
177 deleted file mode 100644
178 index 0394702..0000000
179 --- a/net-misc/tinc/files/tincd.conf.1
180 +++ /dev/null
181 @@ -1,5 +0,0 @@
182 -#rc_need="net.net"
183 -
184 -#If you want tincd to log to syslog, then set this to "yes"
185 -#Anything else and tincd will log to /var/log/tinc.NETNAME.log.
186 -SYSLOG="yes"
187
188 diff --git a/net-misc/tinc/files/tincd.lo.1 b/net-misc/tinc/files/tincd.lo.1
189 deleted file mode 100644
190 index 97c4ad4..0000000
191 --- a/net-misc/tinc/files/tincd.lo.1
192 +++ /dev/null
193 @@ -1,58 +0,0 @@
194 -#!/sbin/runscript
195 -# Copyright 1999-2011 Gentoo Foundation
196 -# Distributed under the terms of the GNU General Public License v2
197 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd.lo,v 1.1 2010/07/18 10:04:56 dragonheart Exp $
198 -
199 -extra_commands="reload"
200 -
201 -DAEMON="/usr/sbin/tincd"
202 -
203 -depend()
204 -{
205 - use logger dns
206 - need net
207 -}
208 -
209 -start()
210 -{
211 - NETNAME="${RC_SVCNAME#*.}"
212 - CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
213 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
214 - if [ ! -f "${CONFIG}" ]; then
215 - eerror "Cannot start network ${NETNAME}."
216 - eerror "Please set up ${CONFIG} !"
217 - else
218 - ebegin "Starting tinc network $NETNAME"
219 - if [ "${SYSLOG}" == "yes" ]; then
220 - LOG=""
221 - else
222 - LOG="--logfile=/var/log/tinc.${NETNAME}.log"
223 - fi
224 - start-stop-daemon --start --exec "${DAEMON}" -- --net="${NETNAME}" "${LOG}" --pidfile "${PIDFILE}"
225 - eend $?
226 - fi
227 -}
228 -
229 -stop()
230 -{
231 - NETNAME="${RC_SVCNAME#*.}"
232 - CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
233 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
234 - if [ -f "${PIDFILE}" ] ; then
235 - ebegin "Stopping tinc network ${NETNAME}"
236 - start-stop-daemon --stop --pidfile "${PIDFILE}"
237 - eend $?
238 - fi
239 -}
240 -
241 -reload()
242 -{
243 - NETNAME=${RC_SVCNAME#*.}
244 - CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
245 - PIDFILE="/var/run/tinc.${NETNAME}.pid"
246 - if [ -f "${PIDFILE}" ] ; then
247 - ebegin "Reloading tinc network ${NETNAME}"
248 - start-stop-daemon --signal HUP --pidfile "${PIDFILE}"
249 - eend $?
250 - fi
251 -}
252
253 diff --git a/net-misc/tinc/metadata.xml b/net-misc/tinc/metadata.xml
254 deleted file mode 100644
255 index ce4aedb..0000000
256 --- a/net-misc/tinc/metadata.xml
257 +++ /dev/null
258 @@ -1,9 +0,0 @@
259 -<?xml version="1.0" encoding="UTF-8"?>
260 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
261 -<pkgmetadata>
262 - <maintainer>
263 - <email>blueness@g.o</email>
264 - <name>Anthony G. Basile</name>
265 - </maintainer>
266 - <longdescription>tinc is an easy to configure VPN implementation.</longdescription>
267 -</pkgmetadata>
268
269 diff --git a/net-misc/tinc/tinc-1.0.16-r1.ebuild b/net-misc/tinc/tinc-1.0.16-r1.ebuild
270 deleted file mode 100644
271 index 7524656..0000000
272 --- a/net-misc/tinc/tinc-1.0.16-r1.ebuild
273 +++ /dev/null
274 @@ -1,37 +0,0 @@
275 -# Copyright 1999-2011 Gentoo Foundation
276 -# Distributed under the terms of the GNU General Public License v2
277 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16.ebuild,v 1.2
278 -
279 -EAPI=4
280 -
281 -DESCRIPTION="tinc is an easy to configure VPN implementation"
282 -HOMEPAGE="http://www.tinc-vpn.org/"
283 -SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
284 -
285 -LICENSE="GPL-2"
286 -SLOT="0"
287 -KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
288 -IUSE="+lzo +zlib"
289 -
290 -DEPEND=">=dev-libs/openssl-0.9.7c
291 - lzo? ( dev-libs/lzo:2 )
292 - zlib? ( >=sys-libs/zlib-1.1.4-r2 )"
293 -
294 -src_configure() {
295 - econf --enable-jumbograms $(use_enable lzo) $(use_enable zlib)
296 -}
297 -
298 -src_install() {
299 - emake DESTDIR="${D}" install
300 - dodir /etc/tinc
301 - dodoc AUTHORS NEWS README THANKS
302 - newinitd "${FILESDIR}"/tincd.1 tincd
303 - newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo
304 - doconfd "${FILESDIR}"/tinc.networks
305 - newconfd "${FILESDIR}"/tincd.conf.1 tincd
306 -}
307 -
308 -pkg_postinst() {
309 - elog "This package requires the tun/tap kernel device."
310 - elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
311 -}