summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2023-05-18 22:24:29 +0200
committerJakov Smolić <jsmolic@gentoo.org>2023-05-18 22:24:29 +0200
commitdb0eec2429137d8fbe0785515340b52f3ecd5b72 (patch)
tree84dc505de3208028af76887e0ebb6dd14519719f /net-p2p
parentsci-geosciences/congen: treeclean (diff)
downloadgentoo-db0eec2429137d8fbe0785515340b52f3ecd5b72.tar.gz
gentoo-db0eec2429137d8fbe0785515340b52f3ecd5b72.tar.bz2
gentoo-db0eec2429137d8fbe0785515340b52f3ecd5b72.zip
net-p2p/litecoind: treeclean
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ć <jsmolic@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/litecoind/Manifest1
-rw-r--r--net-p2p/litecoind/files/litecoin.conf8
-rw-r--r--net-p2p/litecoind/files/litecoin.confd10
-rw-r--r--net-p2p/litecoind/files/litecoin.initd-r128
-rw-r--r--net-p2p/litecoind/files/litecoin.service30
-rw-r--r--net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch22
-rw-r--r--net-p2p/litecoind/files/litecoind-0.18.1-system-leveldb.patch37
-rw-r--r--net-p2p/litecoind/files/litecoind.logrotate7
-rw-r--r--net-p2p/litecoind/litecoind-0.18.1-r1.ebuild91
-rw-r--r--net-p2p/litecoind/metadata.xml11
10 files changed, 0 insertions, 245 deletions
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 <list>
- #include <vector>
-+#include <array>
-
- static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
- {
---- a/src/net_processing.cpp
-+++ b/src/net_processing.cpp
-@@ -29,6 +29,7 @@
- #include <util/system.h>
- #include <util/moneystr.h>
- #include <util/strencodings.h>
-+#include <array>
-
- #include <memory>
-
-
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 <leveldb/cache.h>
- #include <leveldb/env.h>
- #include <leveldb/filter_policy.h>
--#include <memenv.h>
-+#include <leveldb/helpers/memenv.h>
- #include <stdint.h>
- #include <algorithm>
-
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:=
- <dev-libs/leveldb-1.23:=
- dev-libs/libevent:=[threads(+)]
- dev-libs/openssl:=[-bindist(-)]
- sys-libs/db:$(db_ver_to_slot ${DB_VER})[cxx]
- upnp? ( net-libs/miniupnpc:= )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-system-leveldb.patch
- "${FILESDIR}"/${P}-gcc12.patch
-)
-
-src_prepare() {
- default
- rm -r src/leveldb || die
- eautoreconf
-}
-
-src_configure() {
- # To avoid executable GNU stack.
- append-ldflags -Wl,-z,noexecstack
-
- local myeconfargs=(
- $(use_enable wallet)
- $(use_with upnp miniupnpc)
- $(use_enable upnp upnp-default)
- $(use_enable cpu_flags_x86_sse2 sse2)
- --disable-ccache
- --disable-static
- # tests are broken and segfault
- --disable-tests
- --with-system-leveldb
- --without-libs
- --with-daemon
- --without-gui
- --without-qrencode
- )
- 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
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/litecoind.logrotate litecoind
-}
diff --git a/net-p2p/litecoind/metadata.xml b/net-p2p/litecoind/metadata.xml
deleted file mode 100644
index 2cf9009b6392..000000000000
--- a/net-p2p/litecoind/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="wallet">Enable wallet support</flag>
- </use>
- <upstream>
- <remote-id type="github">litecoin-project/litecoin</remote-id>
- </upstream>
-</pkgmetadata>