From db0eec2429137d8fbe0785515340b52f3ecd5b72 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Thu, 18 May 2023 22:24:29 +0200 Subject: net-p2p/litecoind: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/899218 Closes: https://bugs.gentoo.org/796599 Closes: https://bugs.gentoo.org/788844 Closes: https://bugs.gentoo.org/672326 Signed-off-by: Jakov Smolić --- net-p2p/litecoind/Manifest | 1 - net-p2p/litecoind/files/litecoin.conf | 8 -- net-p2p/litecoind/files/litecoin.confd | 10 --- net-p2p/litecoind/files/litecoin.initd-r1 | 28 ------- net-p2p/litecoind/files/litecoin.service | 30 ------- .../litecoind/files/litecoind-0.18.1-gcc12.patch | 22 ------ .../files/litecoind-0.18.1-system-leveldb.patch | 37 --------- net-p2p/litecoind/files/litecoind.logrotate | 7 -- net-p2p/litecoind/litecoind-0.18.1-r1.ebuild | 91 ---------------------- net-p2p/litecoind/metadata.xml | 11 --- 10 files changed, 245 deletions(-) delete mode 100644 net-p2p/litecoind/Manifest delete mode 100644 net-p2p/litecoind/files/litecoin.conf delete mode 100644 net-p2p/litecoind/files/litecoin.confd delete mode 100644 net-p2p/litecoind/files/litecoin.initd-r1 delete mode 100644 net-p2p/litecoind/files/litecoin.service delete mode 100644 net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch delete mode 100644 net-p2p/litecoind/files/litecoind-0.18.1-system-leveldb.patch delete mode 100644 net-p2p/litecoind/files/litecoind.logrotate delete mode 100644 net-p2p/litecoind/litecoind-0.18.1-r1.ebuild delete mode 100644 net-p2p/litecoind/metadata.xml (limited to 'net-p2p') diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest deleted file mode 100644 index 5e4199b85aba..000000000000 --- a/net-p2p/litecoind/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST litecoin-0.18.1.tar.gz 5122629 BLAKE2B c6cb220bb893518eaf04e1b4b825dc0318103c955da6f262ef13fc9d925b7bae1bb0407a701a04a17bb3040c613b666e6de3331d443046e9d83aec4ed559e02e SHA512 59605cc0c4fd67c128bad0e2cabcc7b6bda1ebf5b23b7fcaee9fa69e86a4349598feba413f0ad42aef9338a42b0d6f8c04306634bd543856a2e7a203aa717f40 diff --git a/net-p2p/litecoind/files/litecoin.conf b/net-p2p/litecoind/files/litecoin.conf deleted file mode 100644 index c6a55f3d9133..000000000000 --- a/net-p2p/litecoind/files/litecoin.conf +++ /dev/null @@ -1,8 +0,0 @@ -# http://www.bitcoin.org/smf/index.php?topic=644.0 -#rpcuser= -#rpcpassword= - - - - - diff --git a/net-p2p/litecoind/files/litecoin.confd b/net-p2p/litecoind/files/litecoin.confd deleted file mode 100644 index 4261f6e25fe2..000000000000 --- a/net-p2p/litecoind/files/litecoin.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Config file for /etc/init.d/litecoind - -# owner of liteciond process (don't change, must be existing) -LITECOIN_USER="litecoin" - -# See http://www.bitcoin.org/smf/index.php?topic=1063 -LITECOIN_OPTS="${LITECOIN_OPTS}" - -# nice level -NICELEVEL="19" diff --git a/net-p2p/litecoind/files/litecoin.initd-r1 b/net-p2p/litecoind/files/litecoin.initd-r1 deleted file mode 100644 index bc7f307f47a6..000000000000 --- a/net-p2p/litecoind/files/litecoin.initd-r1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -vardir="/var/lib/litecoin" -conffile="${vardir}/.litecoin/litecoin.conf" -litecoind_user="${LITECOIN_USER:-nobody:nobody}" - -description="P2P Internet currency based on Bitcoin but easier to mine." -pidfile="/run/${SVCNAME}.pid" -command="/usr/bin/litecoind" -command_args="${LITECOIN_OPTS}" -command_background="true" -start_stop_daemon_args="-u ${litecoind_user} -e HOME=${vardir} -N ${NICELEVEL:-0} -w 2000" - -depend() { - need net -} - -start_pre() { - checkpath -f -o ${litecoind_user} -m 0400 ${conffile} || return 1 - - if ! grep -q '^rpcpassword=' "${conffile}"; then - eerror "Please edit `readlink -f ${conffile}`" - eerror "There must be at least a line assigning rpcpassword=something-secure" - return 1 - fi -} diff --git a/net-p2p/litecoind/files/litecoin.service b/net-p2p/litecoind/files/litecoin.service deleted file mode 100644 index ae063ac48e1b..000000000000 --- a/net-p2p/litecoind/files/litecoin.service +++ /dev/null @@ -1,30 +0,0 @@ -# It's not recommended to modify this file in-place, because it will be -# overwritten during package upgrades. If you want to customize, the -# best way is to create file -# "/etc/systemd/system/litecoind.service.d/*.conf" -# containing your changes - -# For example, if you want to change some daemon and/or unit options, -# create a file named -# "/etc/systemd/system/litecoind.service.d/myopts.conf" -# containing: -# [Service] -# Environment="LITECOIN_OPTS=-debug -logtimestamps" -# Nice=10 -# This will override the setting appearing below. - -# Note that almost all daemon options could be specified in -# /etc/litecoin/litecoin.conf - -[Unit] -Description=Litecoin Daemon -After=network.target - -[Service] -User=litecoin -Environment=LITECOIN_OPTS= -ExecStart=/usr/bin/litecoind -daemon=0 $LITECOIN_OPTS -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch b/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch deleted file mode 100644 index 12bc5c7b2b1d..000000000000 --- a/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://bugs.gentoo.org/888605 ---- a/src/bench/block_assemble.cpp -+++ b/src/bench/block_assemble.cpp -@@ -22,6 +22,7 @@ - - #include - #include -+#include - - static std::shared_ptr PrepareBlock(const CScript& coinbase_scriptPubKey) - { ---- a/src/net_processing.cpp -+++ b/src/net_processing.cpp -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #include - - diff --git a/net-p2p/litecoind/files/litecoind-0.18.1-system-leveldb.patch b/net-p2p/litecoind/files/litecoind-0.18.1-system-leveldb.patch deleted file mode 100644 index d00748a584fc..000000000000 --- a/net-p2p/litecoind/files/litecoind-0.18.1-system-leveldb.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -894,10 +894,22 @@ - [AC_MSG_ERROR([Cannot set default symbol visibility. Use --disable-reduce-exports.])]) - fi - -+dnl Check for leveldb, only if explicitly requested - LEVELDB_CPPFLAGS= - LIBLEVELDB= - LIBMEMENV= --AM_CONDITIONAL([EMBEDDED_LEVELDB],[true]) -+AC_ARG_WITH([system-leveldb], -+ [AS_HELP_STRING([--with-system-leveldb], -+ [Build with system LevelDB (default is no; DANGEROUS; NOT SUPPORTED)])], -+ [system_leveldb=$withval], -+ [system_leveldb=no] -+) -+if test x$system_leveldb != xno; then -+ LEVELDB_CPPFLAGS= -+ LIBLEVELDB=-lleveldb -+ LIBMEMENV=-lmemenv -+fi -+AM_CONDITIONAL([EMBEDDED_LEVELDB],[test x$system_leveldb = xno]) - AC_SUBST(LEVELDB_CPPFLAGS) - AC_SUBST(LIBLEVELDB) - AC_SUBST(LIBMEMENV) ---- a/src/dbwrapper.cpp -+++ b/src/dbwrapper.cpp -@@ -10,7 +10,7 @@ - #include - #include - #include --#include -+#include - #include - #include - diff --git a/net-p2p/litecoind/files/litecoind.logrotate b/net-p2p/litecoind/files/litecoind.logrotate deleted file mode 100644 index 5b091aa00c4e..000000000000 --- a/net-p2p/litecoind/files/litecoind.logrotate +++ /dev/null @@ -1,7 +0,0 @@ -/var/lib/litecoin/.litecoin/debug.log { - weekly - sharedscripts - postrotate - killall -HUP litecoind - endscript -} diff --git a/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild b/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild deleted file mode 100644 index 23dcc99ddf88..000000000000 --- a/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 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="cpu_flags_x86_sse2 upnp +wallet" - -# uses an internal leveldb API (MemEnv) which newer versions no longer expose -RDEPEND=" - acct-group/litecoin - acct-user/litecoin - dev-libs/boost:= - - - - - - Enable wallet support - - - litecoin-project/litecoin - - -- cgit v1.2.3-65-gdbad