1 |
commit: 7840ff0da3502a04b1d10beacd3e28a70cf95c1f |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Fri Jan 8 21:14:33 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Fri Jan 8 21:14:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7840ff0d |
7 |
|
8 |
net-p2p/monero: drop old (security) |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
12 |
|
13 |
net-p2p/monero/Manifest | 2 - |
14 |
net-p2p/monero/monero-0.17.1.7.ebuild | 117 ---------------------------------- |
15 |
net-p2p/monero/monero-0.17.1.8.ebuild | 117 ---------------------------------- |
16 |
3 files changed, 236 deletions(-) |
17 |
|
18 |
diff --git a/net-p2p/monero/Manifest b/net-p2p/monero/Manifest |
19 |
index 745879ca..841b64b9 100644 |
20 |
--- a/net-p2p/monero/Manifest |
21 |
+++ b/net-p2p/monero/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST monero-0.17.1.7.tar.gz 10598750 BLAKE2B 03a80f3c38bc1b643d8d9ddba4ee1de59e0f4c6d66cfc5dcb700d19659a5cb66add4fcf1320c1ed2b7dfa15fdfe9548eb758e67661832f9da7bd0e173b5a0ae1 SHA512 b049a738eb5752a620fc19dfafd5e2996d3f33d89737774264a5ef69b7fcfcd9fe852b89e35187486f48fdc8bb73c2010a1917d1ed7fcb4f1f87b18a6bb4c2d5 |
24 |
-DIST monero-0.17.1.8.tar.gz 10603308 BLAKE2B f515c90fac83bcf866cc042b34be38d366c7e48a70db76b2a900e9922ca460db7604aa15f4f03b2e5301647a75f40ad0f04c2dadd416a079da2f77be46d584a2 SHA512 e9cde3c77d71dd468237e823f647551fb3fef89f7132ebe2be1ac10545dd926f2d2b07794af4664d82e4d19b8b3b8b69fa090ed64ccab7ca63ffae3c0559eec0 |
25 |
DIST monero-0.17.1.9.tar.gz 10607015 BLAKE2B 2746fa1d8feafead39f10d1c8800ecd82e4049930b7acae42e946474558114422703e8cb37f1bd3833e57ec9987ccdff2fd530a632693cab206420153f8e6ab4 SHA512 b529d1c691584a5bf1e1fa342909dbb296ef57b0b7d018d95dd40ee418257a15f8f94ec74f780762f28f57f5db4a953becce97558af407f89828d55da88e61d8 |
26 |
|
27 |
diff --git a/net-p2p/monero/monero-0.17.1.7.ebuild b/net-p2p/monero/monero-0.17.1.7.ebuild |
28 |
deleted file mode 100644 |
29 |
index fb62cb79..00000000 |
30 |
--- a/net-p2p/monero/monero-0.17.1.7.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,117 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit cmake systemd |
39 |
- |
40 |
-DESCRIPTION="The secure, private, untraceable cryptocurrency" |
41 |
-HOMEPAGE="https://github.com/monero-project/monero" |
42 |
- |
43 |
-if [[ ${PV} == 9999 ]]; then |
44 |
- inherit git-r3 |
45 |
- EGIT_REPO_URI="https://github.com/monero-project/monero.git" |
46 |
-else |
47 |
- SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
-fi |
50 |
- |
51 |
-LICENSE="BSD MIT" |
52 |
-SLOT="0" |
53 |
-IUSE="+daemon libressl readline +tools +wallet-cli +wallet-rpc" |
54 |
-REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" |
55 |
-RESTRICT="test" |
56 |
- |
57 |
-DEPEND=" |
58 |
- acct-group/monero |
59 |
- acct-user/monero |
60 |
- dev-libs/boost:=[nls,threads] |
61 |
- dev-libs/libsodium:= |
62 |
- dev-libs/randomx |
63 |
- dev-libs/rapidjson |
64 |
- dev-libs/supercop |
65 |
- net-dns/unbound:=[threads] |
66 |
- net-libs/czmq:= |
67 |
- net-libs/miniupnpc |
68 |
- !libressl? ( dev-libs/openssl:= ) |
69 |
- libressl? ( dev-libs/libressl:= ) |
70 |
- readline? ( sys-libs/readline:0= ) |
71 |
-" |
72 |
-RDEPEND="${DEPEND}" |
73 |
-BDEPEND="virtual/pkgconfig" |
74 |
- |
75 |
-PATCHES=( |
76 |
- "${FILESDIR}/${PN}-0.17.1.7-linkjobs.patch" |
77 |
- "${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch" |
78 |
-) |
79 |
- |
80 |
-src_configure() { |
81 |
- local mycmakeargs=( |
82 |
- # TODO: Update CMake to install built libraries (help wanted) |
83 |
- -DBUILD_SHARED_LIBS=OFF |
84 |
- -DMANUAL_SUBMODULES=ON |
85 |
- -DMONERO_PARALLEL_LINK_JOBS=1 |
86 |
- -DUSE_DEVICE_TREZOR=OFF |
87 |
- ) |
88 |
- |
89 |
- cmake_src_configure |
90 |
-} |
91 |
- |
92 |
-src_compile() { |
93 |
- local targets=() |
94 |
- use daemon && targets+=(daemon) |
95 |
- use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage}) |
96 |
- use wallet-cli && targets+=(simplewallet) |
97 |
- use wallet-rpc && targets+=(wallet_rpc_server) |
98 |
- cmake_build ${targets[@]} |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- einstalldocs |
103 |
- |
104 |
- # Install all binaries. |
105 |
- find "${BUILD_DIR}/bin/" -type f -executable -print0 | |
106 |
- while IFS= read -r -d '' line; do |
107 |
- dobin "$line" |
108 |
- done |
109 |
- |
110 |
- if use daemon; then |
111 |
- dodoc utils/conf/monerod.conf |
112 |
- |
113 |
- # data-dir |
114 |
- keepdir /var/lib/monero |
115 |
- fowners monero:monero /var/lib/monero |
116 |
- fperms 0755 /var/lib/monero |
117 |
- |
118 |
- # log-file dir |
119 |
- keepdir /var/log/monero |
120 |
- fowners monero:monero /var/log/monero |
121 |
- fperms 0755 /var/log/monero |
122 |
- |
123 |
- # /etc/monero/monerod.conf |
124 |
- insinto /etc/monero |
125 |
- doins "${FILESDIR}/monerod.conf" |
126 |
- |
127 |
- # OpenRC |
128 |
- newconfd "${FILESDIR}/monerod.confd" monerod |
129 |
- newinitd "${FILESDIR}/monerod.initd" monerod |
130 |
- |
131 |
- # systemd |
132 |
- systemd_dounit "${FILESDIR}/monerod.service" |
133 |
- fi |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- if use daemon; then |
138 |
- elog "Start the Monero P2P daemon as a system service with" |
139 |
- elog "'rc-service monerod start'. Enable it at startup with" |
140 |
- elog "'rc-update add monerod default'." |
141 |
- elog |
142 |
- elog "Run monerod status as any user to get sync status and other stats." |
143 |
- elog |
144 |
- elog "The Monero blockchain can take up a lot of space (80 GiB) and is stored" |
145 |
- elog "in /var/lib/monero by default. You may want to enable pruning by adding" |
146 |
- elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" |
147 |
- elog "or move the data directory to another disk." |
148 |
- fi |
149 |
-} |
150 |
|
151 |
diff --git a/net-p2p/monero/monero-0.17.1.8.ebuild b/net-p2p/monero/monero-0.17.1.8.ebuild |
152 |
deleted file mode 100644 |
153 |
index fb62cb79..00000000 |
154 |
--- a/net-p2p/monero/monero-0.17.1.8.ebuild |
155 |
+++ /dev/null |
156 |
@@ -1,117 +0,0 @@ |
157 |
-# Copyright 1999-2021 Gentoo Authors |
158 |
-# Distributed under the terms of the GNU General Public License v2 |
159 |
- |
160 |
-EAPI=7 |
161 |
- |
162 |
-inherit cmake systemd |
163 |
- |
164 |
-DESCRIPTION="The secure, private, untraceable cryptocurrency" |
165 |
-HOMEPAGE="https://github.com/monero-project/monero" |
166 |
- |
167 |
-if [[ ${PV} == 9999 ]]; then |
168 |
- inherit git-r3 |
169 |
- EGIT_REPO_URI="https://github.com/monero-project/monero.git" |
170 |
-else |
171 |
- SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
172 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
173 |
-fi |
174 |
- |
175 |
-LICENSE="BSD MIT" |
176 |
-SLOT="0" |
177 |
-IUSE="+daemon libressl readline +tools +wallet-cli +wallet-rpc" |
178 |
-REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" |
179 |
-RESTRICT="test" |
180 |
- |
181 |
-DEPEND=" |
182 |
- acct-group/monero |
183 |
- acct-user/monero |
184 |
- dev-libs/boost:=[nls,threads] |
185 |
- dev-libs/libsodium:= |
186 |
- dev-libs/randomx |
187 |
- dev-libs/rapidjson |
188 |
- dev-libs/supercop |
189 |
- net-dns/unbound:=[threads] |
190 |
- net-libs/czmq:= |
191 |
- net-libs/miniupnpc |
192 |
- !libressl? ( dev-libs/openssl:= ) |
193 |
- libressl? ( dev-libs/libressl:= ) |
194 |
- readline? ( sys-libs/readline:0= ) |
195 |
-" |
196 |
-RDEPEND="${DEPEND}" |
197 |
-BDEPEND="virtual/pkgconfig" |
198 |
- |
199 |
-PATCHES=( |
200 |
- "${FILESDIR}/${PN}-0.17.1.7-linkjobs.patch" |
201 |
- "${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch" |
202 |
-) |
203 |
- |
204 |
-src_configure() { |
205 |
- local mycmakeargs=( |
206 |
- # TODO: Update CMake to install built libraries (help wanted) |
207 |
- -DBUILD_SHARED_LIBS=OFF |
208 |
- -DMANUAL_SUBMODULES=ON |
209 |
- -DMONERO_PARALLEL_LINK_JOBS=1 |
210 |
- -DUSE_DEVICE_TREZOR=OFF |
211 |
- ) |
212 |
- |
213 |
- cmake_src_configure |
214 |
-} |
215 |
- |
216 |
-src_compile() { |
217 |
- local targets=() |
218 |
- use daemon && targets+=(daemon) |
219 |
- use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage}) |
220 |
- use wallet-cli && targets+=(simplewallet) |
221 |
- use wallet-rpc && targets+=(wallet_rpc_server) |
222 |
- cmake_build ${targets[@]} |
223 |
-} |
224 |
- |
225 |
-src_install() { |
226 |
- einstalldocs |
227 |
- |
228 |
- # Install all binaries. |
229 |
- find "${BUILD_DIR}/bin/" -type f -executable -print0 | |
230 |
- while IFS= read -r -d '' line; do |
231 |
- dobin "$line" |
232 |
- done |
233 |
- |
234 |
- if use daemon; then |
235 |
- dodoc utils/conf/monerod.conf |
236 |
- |
237 |
- # data-dir |
238 |
- keepdir /var/lib/monero |
239 |
- fowners monero:monero /var/lib/monero |
240 |
- fperms 0755 /var/lib/monero |
241 |
- |
242 |
- # log-file dir |
243 |
- keepdir /var/log/monero |
244 |
- fowners monero:monero /var/log/monero |
245 |
- fperms 0755 /var/log/monero |
246 |
- |
247 |
- # /etc/monero/monerod.conf |
248 |
- insinto /etc/monero |
249 |
- doins "${FILESDIR}/monerod.conf" |
250 |
- |
251 |
- # OpenRC |
252 |
- newconfd "${FILESDIR}/monerod.confd" monerod |
253 |
- newinitd "${FILESDIR}/monerod.initd" monerod |
254 |
- |
255 |
- # systemd |
256 |
- systemd_dounit "${FILESDIR}/monerod.service" |
257 |
- fi |
258 |
-} |
259 |
- |
260 |
-pkg_postinst() { |
261 |
- if use daemon; then |
262 |
- elog "Start the Monero P2P daemon as a system service with" |
263 |
- elog "'rc-service monerod start'. Enable it at startup with" |
264 |
- elog "'rc-update add monerod default'." |
265 |
- elog |
266 |
- elog "Run monerod status as any user to get sync status and other stats." |
267 |
- elog |
268 |
- elog "The Monero blockchain can take up a lot of space (80 GiB) and is stored" |
269 |
- elog "in /var/lib/monero by default. You may want to enable pruning by adding" |
270 |
- elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" |
271 |
- elog "or move the data directory to another disk." |
272 |
- fi |
273 |
-} |