1 |
blueness 12/05/02 10:20:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitflu-1.43.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 net-p2p/bitflu/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitflu/ChangeLog?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitflu/ChangeLog?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitflu/ChangeLog?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitflu/ChangeLog,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- ChangeLog 10 Apr 2012 10:05:17 -0000 1.12 |
24 |
+++ ChangeLog 2 May 2012 10:20:39 -0000 1.13 |
25 |
@@ -1,5 +1,10 @@ |
26 |
|
27 |
|
28 |
+*bitflu-1.43 (02 May 2012) |
29 |
+ |
30 |
+ 02 May 2012; Anthony G. Basile <blueness@g.o> +bitflu-1.43.ebuild: |
31 |
+ Version bump |
32 |
+ |
33 |
10 Apr 2012; Anthony G. Basile <blueness@g.o> -bitflu-1.38.ebuild, |
34 |
-bitflu-1.39.ebuild, -bitflu-1.40.ebuild: |
35 |
Remove older unstable versions |
36 |
|
37 |
|
38 |
|
39 |
1.1 net-p2p/bitflu/bitflu-1.43.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitflu/bitflu-1.43.ebuild?rev=1.1&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitflu/bitflu-1.43.ebuild?rev=1.1&content-type=text/plain |
43 |
|
44 |
Index: bitflu-1.43.ebuild |
45 |
=================================================================== |
46 |
# Copyright 1999-2012 Gentoo Foundation |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitflu/bitflu-1.43.ebuild,v 1.1 2012/05/02 10:20:39 blueness Exp $ |
49 |
|
50 |
EAPI=4 |
51 |
|
52 |
inherit eutils |
53 |
|
54 |
DESCRIPTION="Bitflu is a BitTorrent client, written in Perl and is designed to run as a daemon" |
55 |
HOMEPAGE="http://bitflu.workaround.ch" |
56 |
SRC_URI="http://bitflu.workaround.ch/bitflu/${P}.tgz" |
57 |
|
58 |
LICENSE="Artistic-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
IUSE="" |
62 |
|
63 |
DEPEND="dev-perl/Danga-Socket |
64 |
dev-perl/Sys-Syscall" |
65 |
RDEPEND="${DEPEND}" |
66 |
|
67 |
pkg_setup() { |
68 |
enewgroup bitflu |
69 |
enewuser bitflu -1 -1 /var/lib/bitflu bitflu |
70 |
} |
71 |
|
72 |
src_compile() { |
73 |
: |
74 |
} |
75 |
|
76 |
PLUGINS="/usr/lib/bitflu" |
77 |
HOMEDIR="/var/lib/bitflu" |
78 |
CONFDIR="/etc/bitflu" |
79 |
LOGDIR="/var/log/bitflu" |
80 |
|
81 |
src_install() { |
82 |
# executable daemon |
83 |
exeinto /usr/sbin |
84 |
doexe bitflu.pl |
85 |
|
86 |
# plugins |
87 |
dodir "${PLUGINS}" |
88 |
insinto "${PLUGINS}" |
89 |
doins -r plugins |
90 |
|
91 |
# working dir |
92 |
dodir "${HOMEDIR}" |
93 |
fowners bitflu:bitflu "${HOMEDIR}" |
94 |
fperms 775 "${HOMEDIR}" |
95 |
|
96 |
# config file |
97 |
dodir "${CONFDIR}" |
98 |
fowners bitflu:bitflu "${CONFDIR}" |
99 |
fperms 775 "${CONFDIR}" |
100 |
insinto "${CONFDIR}" |
101 |
doins "${FILESDIR}"/bitflu.config |
102 |
fowners bitflu:bitflu "${CONFDIR}"/bitflu.config |
103 |
fperms 664 "${CONFDIR}"/bitflu.config |
104 |
|
105 |
# log file |
106 |
dodir "${LOGDIR}" |
107 |
fowners bitflu:bitflu "${LOGDIR}" |
108 |
fperms 775 "${LOGDIR}" |
109 |
|
110 |
# docs |
111 |
dodoc bitflu.config.example ChangeLog.txt CONTRIBUTING README_IPv6.txt \ |
112 |
README.txt Documentation/bitflu-internals.txt |
113 |
|
114 |
newinitd "${FILESDIR}"/bitflu.initd bitflu |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
ewarn "Note: At startup, or at the user's request, ${PN} (re)reads its" |
119 |
ewarn "configuration file and overwrites it with its own sanitized" |
120 |
ewarn "version. A backup is created in the configuration directory," |
121 |
ewarn "/etc/${PN}, but that file will subseqently be overwritten if" |
122 |
ewarn "a further backup is made. You may want to keep your own backup." |
123 |
ewarn "A prestine example with comments may be found in /usr/share/doc/${P}." |
124 |
} |