Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoind/
Date: Sun, 18 Jul 2021 03:50:12
Message-Id: 1626580179.7f13bff130027d7f6f37474c389b1fd62258bd68.sam@gentoo
1 commit: 7f13bff130027d7f6f37474c389b1fd62258bd68
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 03:28:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 03:49:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f13bff1
7
8 net-p2p/litecoind: drop 0.10.4.0-r2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-p2p/litecoind/Manifest | 1 -
13 net-p2p/litecoind/litecoind-0.10.4.0-r2.ebuild | 108 -------------------------
14 2 files changed, 109 deletions(-)
15
16 diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest
17 index d318bafd732..5e4199b85ab 100644
18 --- a/net-p2p/litecoind/Manifest
19 +++ b/net-p2p/litecoind/Manifest
20 @@ -1,2 +1 @@
21 -DIST litecoin-0.10.4.0.tar.gz 4730189 BLAKE2B 3b3e4db10ca7ebb048853a424438d888a239cc736b1b2aa29dd0b6571daec5a64f95aee98a82991cd3e69b26965151f298655ca09745f103ebde1d15216ae2f8 SHA512 ae17e754d188efb1b51a376a52fe03e43b58c5059673b7dd4ecbf4f48574290b84011525fef2e10893f53e4da3d6ad9b5577001bb40aef7080d4c2479f4714a9
22 DIST litecoin-0.18.1.tar.gz 5122629 BLAKE2B c6cb220bb893518eaf04e1b4b825dc0318103c955da6f262ef13fc9d925b7bae1bb0407a701a04a17bb3040c613b666e6de3331d443046e9d83aec4ed559e02e SHA512 59605cc0c4fd67c128bad0e2cabcc7b6bda1ebf5b23b7fcaee9fa69e86a4349598feba413f0ad42aef9338a42b0d6f8c04306634bd543856a2e7a203aa717f40
23
24 diff --git a/net-p2p/litecoind/litecoind-0.10.4.0-r2.ebuild b/net-p2p/litecoind/litecoind-0.10.4.0-r2.ebuild
25 deleted file mode 100644
26 index 4baece7f884..00000000000
27 --- a/net-p2p/litecoind/litecoind-0.10.4.0-r2.ebuild
28 +++ /dev/null
29 @@ -1,108 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -DB_VER="4.8"
36 -
37 -inherit autotools db-use flag-o-matic systemd
38 -
39 -MY_PV="${PV/_/-}"
40 -MY_PN="litecoin"
41 -MY_P="${MY_PN}-${MY_PV}"
42 -
43 -DESCRIPTION="The offical daemon to run your own (full) Litecoin node"
44 -HOMEPAGE="https://litecoin.org/"
45 -SRC_URI="https://github.com/${MY_PN}-project/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
46 -S="${WORKDIR}/${MY_P}"
47 -
48 -LICENSE="MIT ISC GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="logrotate upnp +wallet"
52 -
53 -RDEPEND="
54 - acct-group/litecoin
55 - acct-user/litecoin
56 - dev-libs/boost:=[threads(+)]
57 - dev-libs/leveldb:=
58 - dev-libs/openssl:0[-bindist(-)]
59 - sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
60 - logrotate? ( app-admin/logrotate )
61 - upnp? ( net-libs/miniupnpc )
62 -"
63 -DEPEND="
64 - ${RDEPEND}
65 - >=app-shells/bash-4.1
66 - sys-apps/sed
67 -"
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/0.9.0-sys_leveldb.patch
71 - "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch
72 - "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch
73 - "${FILESDIR}"/${P}-gcc6.patch
74 -)
75 -
76 -src_prepare() {
77 - default
78 -
79 - eautoreconf
80 - rm -r src/leveldb
81 -}
82 -
83 -src_configure() {
84 - # To avoid executable GNU stack.
85 - append-ldflags -Wl,-z,noexecstack
86 -
87 - local my_econf=
88 - if use upnp; then
89 - my_econf="${my_econf} --with-miniupnpc --enable-upnp-default"
90 - else
91 - my_econf="${my_econf} --without-miniupnpc --disable-upnp-default"
92 - fi
93 -
94 - local myeconfargs=(
95 - $(use_enable wallet)
96 - --disable-ccache
97 - --disable-static
98 - --disable-tests
99 - --with-system-leveldb
100 - --with-system-libsecp256k1
101 - --without-libs
102 - --with-daemon
103 - --without-gui
104 - --without-qrencode
105 - ${my_econf}
106 - )
107 -
108 - econf "${myeconfargs[@]}"
109 -}
110 -
111 -src_install() {
112 - default
113 -
114 - insinto /etc/litecoin
115 - doins "${FILESDIR}/litecoin.conf"
116 - fowners litecoin:litecoin /etc/litecoin/litecoin.conf
117 - fperms 600 /etc/litecoin/litecoin.conf
118 -
119 - newconfd "${FILESDIR}/litecoin.confd" ${PN}
120 - newinitd "${FILESDIR}/litecoin.initd-r1" ${PN}
121 - systemd_dounit "${FILESDIR}/litecoin.service"
122 -
123 - keepdir /var/lib/litecoin/.litecoin
124 - fperms 700 /var/lib/litecoin
125 - fowners litecoin:litecoin /var/lib/litecoin/
126 - fowners litecoin:litecoin /var/lib/litecoin/.litecoin
127 - dosym ../../../../etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf
128 -
129 - dodoc doc/README.md doc/release-notes.md
130 - newman contrib/debian/manpages/bitcoind.1 litecoind.1
131 - newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5
132 -
133 - if use logrotate; then
134 - insinto /etc/logrotate.d
135 - newins "${FILESDIR}/litecoind.logrotate" litecoind
136 - fi
137 -}