1 |
blueness 13/12/28 18:57:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: litecoind-0.8.6.1.ebuild |
5 |
Log: |
6 |
Version bump, bug #494942 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 net-p2p/litecoind/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 1 Dec 2013 13:20:37 -0000 1.1 |
24 |
+++ ChangeLog 28 Dec 2013 18:57:17 -0000 1.2 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-p2p/litecoind |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.1 2013/12/01 13:20:37 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.2 2013/12/28 18:57:17 blueness Exp $ |
30 |
+ |
31 |
+*litecoind-0.8.6.1 (28 Dec 2013) |
32 |
+ |
33 |
+ 28 Dec 2013; Anthony G. Basile <blueness@g.o> |
34 |
+ +litecoind-0.8.6.1.ebuild: |
35 |
+ Version bump, bug #494942 |
36 |
|
37 |
*litecoind-0.8.5.3_rc3 (01 Dec 2013) |
38 |
|
39 |
@@ -9,4 +15,3 @@ |
40 |
+files/litecoin.initd, +files/litecoin.service, |
41 |
+files/litecoin-sys_leveldb.patch, +files/litecoind.logrotate, +metadata.xml: |
42 |
Initial commit |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 net-p2p/litecoind/litecoind-0.8.6.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/litecoind-0.8.6.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/litecoind-0.8.6.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: litecoind-0.8.6.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/litecoind-0.8.6.1.ebuild,v 1.1 2013/12/28 18:57:17 blueness Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
DB_VER="4.8" |
61 |
|
62 |
inherit bash-completion-r1 db-use eutils systemd |
63 |
|
64 |
MyPV="${PV/_/-}" |
65 |
MyPN="litecoin" |
66 |
MyP="${MyPN}-${MyPV}" |
67 |
|
68 |
DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine." |
69 |
HOMEPAGE="https://litecoin.org/" |
70 |
SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz" |
71 |
|
72 |
LICENSE="MIT ISC GPL-2" |
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~x86" |
75 |
IUSE="bash-completion examples ipv6 logrotate upnp" |
76 |
|
77 |
RDEPEND=" |
78 |
dev-libs/boost[threads(+)] |
79 |
dev-libs/openssl:0[-bindist] |
80 |
logrotate? ( |
81 |
app-admin/logrotate |
82 |
) |
83 |
upnp? ( |
84 |
net-libs/miniupnpc |
85 |
) |
86 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
87 |
<=dev-libs/leveldb-1.12.0[-snappy] |
88 |
" |
89 |
DEPEND="${RDEPEND} |
90 |
>=app-shells/bash-4.1 |
91 |
sys-apps/sed |
92 |
" |
93 |
|
94 |
S="${WORKDIR}/${MyP}" |
95 |
|
96 |
pkg_setup() { |
97 |
local UG='litecoin' |
98 |
enewgroup "${UG}" |
99 |
enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}" |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch |
104 |
rm -r src/leveldb |
105 |
|
106 |
if has_version '>=dev-libs/boost-1.52'; then |
107 |
sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix |
108 |
fi |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
OPTS=() |
113 |
|
114 |
OPTS+=("DEBUGFLAGS=") |
115 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
116 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
117 |
|
118 |
if use upnp; then |
119 |
OPTS+=("USE_UPNP=1") |
120 |
else |
121 |
OPTS+=("USE_UPNP=-") |
122 |
fi |
123 |
|
124 |
use ipv6 || OPTS+=("USE_IPV6=-") |
125 |
|
126 |
OPTS+=("USE_SYSTEM_LEVELDB=1") |
127 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
128 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
129 |
|
130 |
cd src || die |
131 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
132 |
} |
133 |
|
134 |
#Tests are broken with and without our litecoin-sys_leveldb.patch. |
135 |
#When tests work, make sure to inherit toolchain-funcs |
136 |
#src_test() { |
137 |
# cd src || die |
138 |
# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin |
139 |
# ./test_litecoin || die 'Tests failed' |
140 |
#} |
141 |
|
142 |
src_install() { |
143 |
dobin src/${PN} |
144 |
|
145 |
insinto /etc/litecoin |
146 |
doins "${FILESDIR}/litecoin.conf" |
147 |
fowners litecoin:litecoin /etc/litecoin/litecoin.conf |
148 |
fperms 600 /etc/litecoin/litecoin.conf |
149 |
|
150 |
newconfd "${FILESDIR}/litecoin.confd" ${PN} |
151 |
newinitd "${FILESDIR}/litecoin.initd" ${PN} |
152 |
systemd_dounit "${FILESDIR}/litecoin.service" |
153 |
|
154 |
keepdir /var/lib/litecoin/.litecoin |
155 |
fperms 700 /var/lib/litecoin |
156 |
fowners litecoin:litecoin /var/lib/litecoin/ |
157 |
fowners litecoin:litecoin /var/lib/litecoin/.litecoin |
158 |
dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf |
159 |
|
160 |
dodoc doc/README.md doc/release-notes.md |
161 |
newman contrib/debian/manpages/bitcoind.1 litecoind.1 |
162 |
newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5 |
163 |
|
164 |
if use bash-completion; then |
165 |
newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion |
166 |
fi |
167 |
|
168 |
if use examples; then |
169 |
docinto examples |
170 |
dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools} |
171 |
fi |
172 |
|
173 |
if use logrotate; then |
174 |
insinto /etc/logrotate.d |
175 |
newins "${FILESDIR}/litecoind.logrotate" litecoind |
176 |
fi |
177 |
} |