From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- net-p2p/litecoind/Manifest | 2 +- net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild | 108 +++++++++++++++++++++++++ net-p2p/litecoind/litecoind-0.10.4.0.ebuild | 103 ----------------------- 3 files changed, 109 insertions(+), 104 deletions(-) create mode 100644 net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild delete mode 100644 net-p2p/litecoind/litecoind-0.10.4.0.ebuild (limited to 'net-p2p/litecoind') 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-r1.ebuild b/net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild new file mode 100644 index 000000000000..47158fa5e560 --- /dev/null +++ b/net-p2p/litecoind/litecoind-0.10.4.0-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DB_VER="4.8" + +inherit autotools db-use flag-o-matic systemd + +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/${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" +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 ) +" +DEPEND=" + ${RDEPEND} + >=app-shells/bash-4.1 + sys-apps/sed +" + +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() { + default + + eautoreconf + rm -r src/leveldb +} + +src_configure() { + # To avoid executable GNU stack. + append-ldflags -Wl,-z,noexecstack + + local my_econf= + if use upnp; then + my_econf="${my_econf} --with-miniupnpc --enable-upnp-default" + else + my_econf="${my_econf} --without-miniupnpc --disable-upnp-default" + fi + + 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() { + default + + insinto /etc/litecoin + doins "${FILESDIR}/litecoin.conf" + fowners litecoin:litecoin /etc/litecoin/litecoin.conf + fperms 600 /etc/litecoin/litecoin.conf + + newconfd "${FILESDIR}/litecoin.confd" ${PN} + newinitd "${FILESDIR}/litecoin.initd-r1" ${PN} + systemd_dounit "${FILESDIR}/litecoin.service" + + keepdir /var/lib/litecoin/.litecoin + fperms 700 /var/lib/litecoin + fowners litecoin:litecoin /var/lib/litecoin/ + fowners litecoin:litecoin /var/lib/litecoin/.litecoin + dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf + + dodoc doc/README.md doc/release-notes.md + newman contrib/debian/manpages/bitcoind.1 litecoind.1 + newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5 + + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}/litecoind.logrotate" litecoind + fi +} diff --git a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild b/net-p2p/litecoind/litecoind-0.10.4.0.ebuild deleted file mode 100644 index 7fce85154fd6..000000000000 --- a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -DB_VER="4.8" - -inherit autotools db-use eutils flag-o-matic systemd user - -MyPV="${PV/_/-}" -MyPN="litecoin" -MyP="${MyPN}-${MyPV}" - -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" - -LICENSE="MIT ISC GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="logrotate upnp +wallet" - -RDEPEND=" - dev-libs/boost:=[threads(+)] - dev-libs/openssl:0[-bindist] - 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} - >=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}" -} - -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 - eautoreconf - rm -r src/leveldb -} - -src_configure() { - # To avoid executable GNU stack. - append-ldflags -Wl,-z,noexecstack - - local my_econf= - if use upnp; then - my_econf="${my_econf} --with-miniupnpc --enable-upnp-default" - 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 \ - ${my_econf} -} - -src_install() { - default - - insinto /etc/litecoin - doins "${FILESDIR}/litecoin.conf" - fowners litecoin:litecoin /etc/litecoin/litecoin.conf - fperms 600 /etc/litecoin/litecoin.conf - - newconfd "${FILESDIR}/litecoin.confd" ${PN} - newinitd "${FILESDIR}/litecoin.initd-r1" ${PN} - systemd_dounit "${FILESDIR}/litecoin.service" - - keepdir /var/lib/litecoin/.litecoin - fperms 700 /var/lib/litecoin - fowners litecoin:litecoin /var/lib/litecoin/ - fowners litecoin:litecoin /var/lib/litecoin/.litecoin - dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf - - dodoc doc/README.md doc/release-notes.md - newman contrib/debian/manpages/bitcoind.1 litecoind.1 - newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5 - - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/litecoind.logrotate" litecoind - fi -} -- cgit v1.2.3