summaryrefslogtreecommitdiff
path: root/net-p2p/litecoind
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-p2p/litecoind
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-p2p/litecoind')
-rw-r--r--net-p2p/litecoind/Manifest2
-rw-r--r--net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild (renamed from net-p2p/litecoind/litecoind-0.10.4.0.ebuild)67
2 files changed, 37 insertions, 32 deletions
diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest
index d236036869ee..4f2f551d351e 100644
--- a/net-p2p/litecoind/Manifest
+++ b/net-p2p/litecoind/Manifest
@@ -8,5 +8,5 @@ AUX litecoind-0.10.2.2-memenv_h.patch 506 BLAKE2B 70f9911bd90fcba5c4f41aaabfd8a2
AUX litecoind-0.10.4.0-gcc6.patch 2789 BLAKE2B 3c943438cad1b029a4764b76b901e1959edb14599b09aced7897d632defc5005d70d7de3f49e9ea56fe87243b071e2257f6b6984bd748be7697b607044ee47ae SHA512 7c5a14c50076438d04fd7ce3b24d0c17ae23d67c043ffb381e893f2ec6c4903842638347be12ca090bef2e3fb07721bccae77c61c34018ba406e9ceba4cd0cc0
AUX litecoind.logrotate 113 BLAKE2B 01ca87d1a52061ff95baba8f5c570747b962c7836e5fbe3bed62292afc8b1ddcd7eb550441a3966e84290e2ee2c37acd73ed58b753434723292a28ec17883f22 SHA512 eaa9f462be8dc755b675e4d5cb3ad271e3b1053edfa06df7862fa887160c849c768d2a268a7c8b52d1cfc834c186780b71435ee65475ea6c6692c18bded48dec
DIST litecoin-0.10.4.0.tar.gz 4730189 BLAKE2B 3b3e4db10ca7ebb048853a424438d888a239cc736b1b2aa29dd0b6571daec5a64f95aee98a82991cd3e69b26965151f298655ca09745f103ebde1d15216ae2f8 SHA512 ae17e754d188efb1b51a376a52fe03e43b58c5059673b7dd4ecbf4f48574290b84011525fef2e10893f53e4da3d6ad9b5577001bb40aef7080d4c2479f4714a9
-EBUILD litecoind-0.10.4.0.ebuild 2540 BLAKE2B ef6a027643dfe1be6d2dab61d122e7db4c300698ac78a9f2b3bf1cdb0685d05503733da6c7456adb0d53caaffd01ba776f1eb11ea7c9a2f5d8b77e8973520efb SHA512 89119ed9d9885cc233dbe6740f257679280196eba492b3ceb7fb0ad6323c222f4b771c6c096d23da571f3d2757d25a08f647c60474bf275ef7e1e7e4396daf58
+EBUILD litecoind-0.10.4.0-r1.ebuild 2477 BLAKE2B 87d60b98924d9a9cbbccff690f41ec061a018741e14dfd7429b1975ecd05011119e0c4c7d640ad6939aabd91563ebccac0b843b2b3aa41698e0c2bc1b65d9f45 SHA512 f552dffae98726192f3da5d29b65a6dce76c7ba18dd3074d1d99ace58d3b7497f2aabe1c65475c0fe5a23e26812acf028ada6dc563a06eae5eae9f1ab0be96bf
MISC metadata.xml 396 BLAKE2B d75a242beda5f641ab3e995c20517fc18334d39df0fdb44107e1c54adcd87911d8baf360ae05bdf66ba9d5e690d296760ba3d1599e8bd8cf5fbb1ed653601c29 SHA512 b7bed8abba67ee6344e39e4a41991a0b1c036a51cf1ca338a8851507e8e7bcb9e3081445eaa7fb09b2b1ef352d02dbff5339faebc0becce9273bd743344d47a6
diff --git a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild b/net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild
index 7fce85154fd6..47158fa5e560 100644
--- a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild
+++ b/net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild
@@ -1,19 +1,20 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DB_VER="4.8"
-inherit autotools db-use eutils flag-o-matic systemd user
+inherit autotools db-use flag-o-matic systemd
-MyPV="${PV/_/-}"
-MyPN="litecoin"
-MyP="${MyPN}-${MyPV}"
+MY_PV="${PV/_/-}"
+MY_PN="litecoin"
+MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="The offical daemon to run your own (full) Litecoin node"
HOMEPAGE="https://litecoin.org/"
-SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz"
+SRC_URI="https://github.com/${MY_PN}-project/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT ISC GPL-2"
SLOT="0"
@@ -21,31 +22,31 @@ KEYWORDS="~amd64 ~x86"
IUSE="logrotate upnp +wallet"
RDEPEND="
+ acct-group/litecoin
+ acct-user/litecoin
dev-libs/boost:=[threads(+)]
+ dev-libs/leveldb:=
dev-libs/openssl:0[-bindist]
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
logrotate? ( app-admin/logrotate )
upnp? ( net-libs/miniupnpc )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- >=dev-libs/leveldb-1.18-r1:=
"
-DEPEND="${RDEPEND}
+DEPEND="
+ ${RDEPEND}
>=app-shells/bash-4.1
sys-apps/sed
"
-S="${WORKDIR}/${MyP}"
-
-pkg_setup() {
- local UG='litecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}"
-}
+PATCHES=(
+ "${FILESDIR}"/0.9.0-sys_leveldb.patch
+ "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch
+ "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/0.9.0-sys_leveldb.patch
- epatch "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch
- epatch "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch
- epatch "${FILESDIR}"/${P}-gcc6.patch
+ default
+
eautoreconf
rm -r src/leveldb
}
@@ -60,18 +61,22 @@ src_configure() {
else
my_econf="${my_econf} --without-miniupnpc --disable-upnp-default"
fi
- econf \
- $(use_enable wallet)\
- --disable-ccache \
- --disable-static \
- --disable-tests \
- --with-system-leveldb \
- --with-system-libsecp256k1 \
- --without-libs \
- --with-daemon \
- --without-gui \
- --without-qrencode \
+
+ local myeconfargs=(
+ $(use_enable wallet)
+ --disable-ccache
+ --disable-static
+ --disable-tests
+ --with-system-leveldb
+ --with-system-libsecp256k1
+ --without-libs
+ --with-daemon
+ --without-gui
+ --without-qrencode
${my_econf}
+ )
+
+ econf "${myeconfargs[@]}"
}
src_install() {