1 |
commit: 388efce16e8be9a055ff3758dead842b0580d8c6 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 16:18:53 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 16:18:53 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=388efce1 |
7 |
|
8 |
net-p2p/bitflu: moved to the tree |
9 |
|
10 |
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 0xD0455535) |
11 |
|
12 |
--- |
13 |
net-p2p/bitflu/ChangeLog | 12 ---- |
14 |
net-p2p/bitflu/Manifest | 17 ----- |
15 |
net-p2p/bitflu/bitflu-1.37.ebuild | 82 ------------------------- |
16 |
net-p2p/bitflu/files/bitflu-add-pidfile.patch | 23 ------- |
17 |
net-p2p/bitflu/files/bitflu.config | 45 -------------- |
18 |
net-p2p/bitflu/files/bitflu.initd | 47 -------------- |
19 |
net-p2p/bitflu/metadata.xml | 14 ---- |
20 |
7 files changed, 0 insertions(+), 240 deletions(-) |
21 |
|
22 |
diff --git a/net-p2p/bitflu/ChangeLog b/net-p2p/bitflu/ChangeLog |
23 |
deleted file mode 100644 |
24 |
index b2fa8f1..0000000 |
25 |
--- a/net-p2p/bitflu/ChangeLog |
26 |
+++ /dev/null |
27 |
@@ -1,12 +0,0 @@ |
28 |
- |
29 |
- |
30 |
- 30 Jun 2011; Anthony G. Basile <blueness@g.o> bitflu-1.37.ebuild, |
31 |
- +files/bitflu-add-pidfile.patch, files/bitflu.config, files/bitflu.initd: |
32 |
- Added patch to produce a pid file |
33 |
- |
34 |
-*bitflu-1.37 (30 Jun 2011) |
35 |
- |
36 |
- 30 Jun 2011; Anthony G. Basile <blueness@g.o> +bitflu-1.37.ebuild, |
37 |
- +files/bitflu.config, +files/bitflu.initd, +metadata.xml: |
38 |
- Initial commit |
39 |
- |
40 |
|
41 |
diff --git a/net-p2p/bitflu/Manifest b/net-p2p/bitflu/Manifest |
42 |
deleted file mode 100644 |
43 |
index db0405a..0000000 |
44 |
--- a/net-p2p/bitflu/Manifest |
45 |
+++ /dev/null |
46 |
@@ -1,17 +0,0 @@ |
47 |
------BEGIN PGP SIGNED MESSAGE----- |
48 |
-Hash: SHA256 |
49 |
- |
50 |
-AUX bitflu-add-pidfile.patch 905 RMD160 aa91e4a5801710e01f797283042abdf287c5caaf SHA1 44c52124232e38bae227688aa7cb7a8630814893 SHA256 d4e8af440dcbc7947964c0e7394419b52317d423db67f9c16313752f98d46522 |
51 |
-AUX bitflu.config 1685 RMD160 b151a6c30d57fb8cf2a7badc6a2bd83d75c6a34e SHA1 d80f83e88eabf5ade5d090cabd0073ebd9010a29 SHA256 5b35f229b96a1ab91764b9735b65c43dfee2dbe67e6df76bdd9c9e86f0478db2 |
52 |
-AUX bitflu.initd 899 RMD160 96c9c3376ff9be0e7eddfb70ce4d7db745755544 SHA1 0713c040d4b7b5b62ce861433b8f184eb0fc8b3d SHA256 6d3c97b8192a8e4f5a0aa10b9e40662e51ad41fe108a6e42c8a572405bb55280 |
53 |
-DIST bitflu-1.37.tgz 157754 RMD160 0d5d7c2590d5cb07c9998ee0a6028ff860b44162 SHA1 90d0374272696c175debb73ebc06ff588438bc4c SHA256 c5e6b6fae5c797f4281ddafaa5e3ff8286a5c30758dddfbbdc2b75b1c60c437b |
54 |
-EBUILD bitflu-1.37.ebuild 1926 RMD160 0b7ea87abc40c0f799a4072df6be26a7e3cb6807 SHA1 8ef054e50b93e61c598ffe9b2b66a5ce17c4b2d3 SHA256 7893d1b9e4b05e0c8f0c41e8b97676ae7a96e8294841de7bf8fb736aa3fc780a |
55 |
-MISC ChangeLog 372 RMD160 4a4ada59ab508e41677872dd7718685b1a899091 SHA1 f8d9ea0b2850204b5929d462c5163a371ac33098 SHA256 32569b58b493fb512fbd1b1cfac39dd4682ed6de12a193546cbedfad74047ad7 |
56 |
-MISC metadata.xml 474 RMD160 f0bd37c33fb6634d4a14abf124abc66cf8f8032f SHA1 12bd1299ed1ab08cb22bc27f1b4f6e570ed81b6c SHA256 77c98ffeb8d98e75ced9544883d5bace7dc48934881ab3016fc80713fd3bf93e |
57 |
------BEGIN PGP SIGNATURE----- |
58 |
-Version: GnuPG v2.0.17 (GNU/Linux) |
59 |
- |
60 |
-iEYEAREIAAYFAk4Mk/AACgkQl5yvQNBFVTVrvACfSwziAJDzqkUsR7yMnQKZSOT/ |
61 |
-RAgAoIx5n57XQAgvvGaf6HIv7b/utYzz |
62 |
-=AOtg |
63 |
------END PGP SIGNATURE----- |
64 |
|
65 |
diff --git a/net-p2p/bitflu/bitflu-1.37.ebuild b/net-p2p/bitflu/bitflu-1.37.ebuild |
66 |
deleted file mode 100644 |
67 |
index 0ffccd4..0000000 |
68 |
--- a/net-p2p/bitflu/bitflu-1.37.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,82 +0,0 @@ |
71 |
-# Copyright 1999-2011 Gentoo Foundation |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
-# $Header: $ |
74 |
- |
75 |
-EAPI=3 |
76 |
- |
77 |
-inherit eutils |
78 |
- |
79 |
-DESCRIPTION="Bitflu is a BitTorrent client, written in Perl and is designed to run as a daemon" |
80 |
-HOMEPAGE="http://bitflu.workaround.ch" |
81 |
-SRC_URI="http://bitflu.workaround.ch/bitflu/${P}.tgz" |
82 |
- |
83 |
-LICENSE="Artistic-2" |
84 |
-SLOT="0" |
85 |
-KEYWORDS="~amd64 ~x86" |
86 |
-IUSE="" |
87 |
- |
88 |
-DEPEND="dev-perl/Danga-Socket" |
89 |
-RDEPEND="${DEPEND}" |
90 |
- |
91 |
-pkg_setup() { |
92 |
- enewgroup bitflu |
93 |
- enewuser bitflu -1 -1 /var/lib/bitflu bitflu |
94 |
-} |
95 |
- |
96 |
-src_prepare() { |
97 |
- epatch "${FILESDIR}/${PN}-add-pidfile.patch" |
98 |
-} |
99 |
- |
100 |
-src_compile() { |
101 |
-: |
102 |
-} |
103 |
- |
104 |
-PLUGINS="/usr/lib/bitflu" |
105 |
-HOMEDIR="/var/lib/bitflu" |
106 |
-CONFDIR="/etc/bitflu" |
107 |
-LOGDIR="/var/log/bitflu" |
108 |
- |
109 |
-src_install() { |
110 |
- # executable daemon |
111 |
- exeinto /usr/sbin |
112 |
- doexe bitflu.pl |
113 |
- |
114 |
- # plugins |
115 |
- dodir "${PLUGINS}" |
116 |
- insinto "${PLUGINS}" |
117 |
- doins -r plugins |
118 |
- |
119 |
- # working dir |
120 |
- dodir "${HOMEDIR}" |
121 |
- fowners bitflu:bitflu "${HOMEDIR}" |
122 |
- fperms 775 "${HOMEDIR}" |
123 |
- |
124 |
- # config file |
125 |
- dodir "${CONFDIR}" |
126 |
- fowners bitflu:bitflu "${CONFDIR}" |
127 |
- fperms 775 "${CONFDIR}" |
128 |
- insinto "${CONFDIR}" |
129 |
- doins "${FILESDIR}"/bitflu.config |
130 |
- fowners bitflu:bitflu "${CONFDIR}"/bitflu.config |
131 |
- fperms 664 "${CONFDIR}"/bitflu.config |
132 |
- |
133 |
- # log file |
134 |
- dodir "${LOGDIR}" |
135 |
- fowners bitflu:bitflu "${LOGDIR}" |
136 |
- fperms 775 "${LOGDIR}" |
137 |
- |
138 |
- # docs |
139 |
- dodoc bitflu.config.example ChangeLog.txt CONTRIBUTING README_IPv6.txt \ |
140 |
- README.txt Documentation/bitflu-internals.txt |
141 |
- |
142 |
- newinitd "${FILESDIR}"/bitflu.initd bitflu |
143 |
-} |
144 |
- |
145 |
-pkg_postinst() { |
146 |
- ewarn "Note: At startup, or at the user's request, ${PN} (re)reads its" |
147 |
- ewarn "configuration file and overwrites it with its own sanitized" |
148 |
- ewarn "version. A backup is created in the configuration directory," |
149 |
- ewarn "/etc/${PN}, but that file will subseqently be overwritten if" |
150 |
- ewarn "a further backup is made. You may want to keep your own backup." |
151 |
- ewarn "A prestine example with comments may be found in /usr/share/doc/${P}." |
152 |
-} |
153 |
|
154 |
diff --git a/net-p2p/bitflu/files/bitflu-add-pidfile.patch b/net-p2p/bitflu/files/bitflu-add-pidfile.patch |
155 |
deleted file mode 100644 |
156 |
index 23783b2..0000000 |
157 |
--- a/net-p2p/bitflu/files/bitflu-add-pidfile.patch |
158 |
+++ /dev/null |
159 |
@@ -1,23 +0,0 @@ |
160 |
---- bitflu.pl.orig 2011-06-30 10:47:13.000000000 -0400 |
161 |
-+++ bitflu.pl 2011-06-30 10:50:21.000000000 -0400 |
162 |
-@@ -442,6 +442,10 @@ |
163 |
- } |
164 |
- elsif($child != 0) { |
165 |
- $self->debug("Bitflu is running with pid $child"); |
166 |
-+ open(PIDFILE, ">", $self->Configuration->GetValue('pidfile')) |
167 |
-+ or die("Unable to create $self->Configuration->GetValue('pidfile'): $!\n"); |
168 |
-+ print PIDFILE $child ; |
169 |
-+ close(PIDFILE); |
170 |
- exit(0); |
171 |
- } |
172 |
- |
173 |
-@@ -2816,7 +2820,8 @@ |
174 |
- $self->{conf}->{history} = 1; |
175 |
- $self->{conf}->{ipv6} = 1; |
176 |
- $self->{conf}->{storage} = 'StorageVFS'; |
177 |
-- foreach my $opt qw(ipv6 renice plugindir pluginexclude workdir logfile storage chdir) { |
178 |
-+ $self->{conf}->{pidfile} = '/var/run/bitflu/bitflu.pid'; |
179 |
-+ foreach my $opt qw(pidfile ipv6 renice plugindir pluginexclude workdir logfile storage chdir) { |
180 |
- $self->RuntimeLockValue($opt); |
181 |
- } |
182 |
- } |
183 |
|
184 |
diff --git a/net-p2p/bitflu/files/bitflu.config b/net-p2p/bitflu/files/bitflu.config |
185 |
deleted file mode 100644 |
186 |
index 760a9eb..0000000 |
187 |
--- a/net-p2p/bitflu/files/bitflu.config |
188 |
+++ /dev/null |
189 |
@@ -1,45 +0,0 @@ |
190 |
-# Written by Bitflu::Configuration@2835 on Thu Jun 30 07:53:38 2011 |
191 |
-autocancel = 1.5 |
192 |
-autocommit = 1 |
193 |
-autoload_dir = /var/lib/bitflu/autoload |
194 |
-autoload_scan = 300 |
195 |
-chdir = |
196 |
-checkversion = 1309395241 |
197 |
-completed_downloads = /var/lib/bitflu/seeding |
198 |
-downspeed = 0 |
199 |
-history = 1 |
200 |
-http_autoloadtorrent = 1 |
201 |
-http_maxthreads = 10 |
202 |
-incomplete_downloads = /var/lib/bitflu/unfinished |
203 |
-ipv6 = 1 |
204 |
-kademlia_idseed = 0 |
205 |
-logfile = /var/log/bitflu/bitflu.log |
206 |
-loglevel = 5 |
207 |
-min_free_mb = 0 |
208 |
-pidfile = /var/run/bitflu/bitflu.pid |
209 |
-plugindir = /usr/lib/bitflu/plugins |
210 |
-pluginexclude = |
211 |
-renice = 8 |
212 |
-storage = StorageVFS |
213 |
-telnet_bind = 127.0.0.1 |
214 |
-telnet_maxhist = 20 |
215 |
-telnet_port = 4001 |
216 |
-telnet_view = type,name=25,hash,peers,pieces,bytes,percent,ratio,up,down,eta,note |
217 |
-torrent_bind = 0 |
218 |
-torrent_gcpriority = 5 |
219 |
-torrent_importdir = /var/lib/bitflu/import |
220 |
-torrent_maxpeers = 80 |
221 |
-torrent_maxreq = 6 |
222 |
-torrent_port = 6688 |
223 |
-torrent_totalpeers = 400 |
224 |
-torrent_tracker_autoudp = 1 |
225 |
-torrent_tracker_udpport = 6689 |
226 |
-torrent_trackerblacklist = |
227 |
-torrent_upslots = 10 |
228 |
-unshared_downloads = /var/lib/bitflu/removed |
229 |
-upspeed = 35 |
230 |
-vfs_use_fallocate = 0 |
231 |
-webgui_bind = 127.0.0.1 |
232 |
-webgui_port = 4081 |
233 |
-workdir = /var/lib/bitflu |
234 |
-# EOF # |
235 |
|
236 |
diff --git a/net-p2p/bitflu/files/bitflu.initd b/net-p2p/bitflu/files/bitflu.initd |
237 |
deleted file mode 100644 |
238 |
index 9494ec9..0000000 |
239 |
--- a/net-p2p/bitflu/files/bitflu.initd |
240 |
+++ /dev/null |
241 |
@@ -1,47 +0,0 @@ |
242 |
-#!/sbin/runscript |
243 |
-# Copyright 1999-2011 Gentoo Foundation |
244 |
-# Distributed under the terms of the GNU General Public License v2 |
245 |
-# $Header: $ |
246 |
- |
247 |
-DAEMON=/usr/sbin/bitflu.pl |
248 |
-PIDDIR=/var/run/bitflu |
249 |
-PIDFILE=${PIDDIR}/bitflu.pid |
250 |
-CONFFILE=/etc/bitflu/bitflu.config |
251 |
- |
252 |
-depend() { |
253 |
- need net |
254 |
-} |
255 |
- |
256 |
-checkconfig() { |
257 |
- if [ ! -f ${CONFFILE} ]; then |
258 |
- eerror "No config file ${CONFFILE}" |
259 |
- return 1 |
260 |
- fi |
261 |
- |
262 |
- if [ ! -d ${PIDDIR} ] && ! mkdir -p ${PIDDIR}; then |
263 |
- eerror "Failed to create ${PIDDIR}" |
264 |
- return 1 |
265 |
- fi |
266 |
- |
267 |
- chown bitflu:bitflu ${PIDDIR} |
268 |
-} |
269 |
- |
270 |
-start() { |
271 |
- checkconfig || return 1 |
272 |
- ebegin "Starting bitflu" |
273 |
- start-stop-daemon --start --pidfile "${PIDFILE}" --user bitflu:bitflu \ |
274 |
- --exec "${DAEMON}" -- --config="${CONFFILE}" --daemon -q >/dev/null 2>&1 |
275 |
- eend $? |
276 |
-} |
277 |
- |
278 |
-stop() { |
279 |
- ebegin "Stoping bitflu" |
280 |
- start-stop-daemon --stop --pidfile "${PIDFILE}" --exec "${DAEMON}" |
281 |
- eend $? |
282 |
-} |
283 |
- |
284 |
-restart() { |
285 |
- svc_stop |
286 |
- sleep 2 |
287 |
- svc_start |
288 |
-} |
289 |
|
290 |
diff --git a/net-p2p/bitflu/metadata.xml b/net-p2p/bitflu/metadata.xml |
291 |
deleted file mode 100644 |
292 |
index a9dc13a..0000000 |
293 |
--- a/net-p2p/bitflu/metadata.xml |
294 |
+++ /dev/null |
295 |
@@ -1,14 +0,0 @@ |
296 |
-<?xml version="1.0" encoding="UTF-8"?> |
297 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
298 |
-<pkgmetadata> |
299 |
- <herd>no-herd</herd> |
300 |
- <maintainer> |
301 |
- <email>blueness@g.o</email> |
302 |
- <name>Anthony G. Basile</name> |
303 |
- </maintainer> |
304 |
- <longdescription lang="en"> |
305 |
- Bitflu is a free BitTorrent client. The client was written in Perl and |
306 |
- is designed to run as a daemon (7x24h , like mlnet) on Linux, *BSD and |
307 |
- maybe even OSX. |
308 |
- </longdescription> |
309 |
-</pkgmetadata> |