Gentoo Archives: gentoo-commits

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