summaryrefslogtreecommitdiff
path: root/net-p2p/litecoind
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-18 22:13:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-18 22:13:50 +0100
commit6b36d02cbdfea303a1d9bf985b6e8c984c7ac3cf (patch)
tree5b12e13d34ece81eb6b5991db8928e24538287a2 /net-p2p/litecoind
parentae7f349673c9e013e85bbc65e873d3363467a293 (diff)
gentoo auto-resync : 18:05:2023 - 22:13:50
Diffstat (limited to 'net-p2p/litecoind')
-rw-r--r--net-p2p/litecoind/Manifest10
-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, 254 deletions
diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest
deleted file mode 100644
index 8b5a954e2a54..000000000000
--- a/net-p2p/litecoind/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX litecoin.conf 80 BLAKE2B be9f776453fce1081dfa95fd844089d51e8212731d7bb460256a3b258b5369fe14b0bd19af15d9c360fbc07232e8718056acd829e03138a326faba32ac42e4da SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f
-AUX litecoin.confd 245 BLAKE2B b8fa90e547b9582564797bd52cf291fc858f2eacdff41f667d54bde62912b9923a413a9cf2d94c5a5509ea20c23059123a51c88e4cdf4934a09997d5bea92b14 SHA512 57de4657db4f0a3873b6aac700bc78fe8ecdfacdc0acb3fee13866389fc02b7100f4e7252ceb19f76e03d1ca9353008a9ccf40fc48a1a612c6b8fa4a35bae150
-AUX litecoin.initd-r1 833 BLAKE2B 449c88e648272e0093f17f88ac8b6465858ad8f5dec9b469d3fcb14de95bf9f4c2a1fd6feeb4a0015e1ab915a612e97a1b35a50f960cf26bc3e93f6166d1beb4 SHA512 fb594b480734934476c1ed465d0277b0144a760ad3031134cb4496a55812e2fdec9863801316b429a0f2b808fa5ab32b8e1c3010fa0905d822fbf1af776174fb
-AUX litecoin.service 879 BLAKE2B 4a4b270adf486e0563ba16537323776223e275ed2e19cd076eec7a277d907e36f5a466782382b01b8ecc509a9beea4914e277a2f7a5ac3dff0bbbe9a4a445e47 SHA512 f05009fdf4c38d78867588d84a6031d6bed81ad74c08d97a8fae16706f04ce61926dbde775183e0219a33e3a84e5fdad92acaab62e15156f3d07c15677e0f148
-AUX litecoind-0.18.1-gcc12.patch 467 BLAKE2B 5df8e865dbd79bff2e5b6330477f27eb4a57b01afc40f3853d01f522ff6c27f29c46ef36f3f1f044ce399aa5f8a21a252bb2343de7e8265eae1da156bc03eb20 SHA512 8d3c7f1df5d05c0db8f8339cc495157a3941e72750f400b2375f3206f68743193ff06afef477a934ee7d914e90b88bb083bd6b76f9fedea5735589f9b29708d2
-AUX litecoind-0.18.1-system-leveldb.patch 1009 BLAKE2B 6d6b3ef44d1e0af47b1b171d7d0b600c6f24ffd213265583bcec8f99b87c6effdabb1a8de31170a9ffe85e12c3f79d67373ddcde10fb9e71593840c18f96475a SHA512 c51a22af818b4ba1c9eb657161c2edfc94b3ec1c5cb346d208d6adb28bc4dff5d689533d9db2915c744c10ee595be8e846caf4b919a1b9886810ca9258c3fc99
-AUX litecoind.logrotate 113 BLAKE2B 01ca87d1a52061ff95baba8f5c570747b962c7836e5fbe3bed62292afc8b1ddcd7eb550441a3966e84290e2ee2c37acd73ed58b753434723292a28ec17883f22 SHA512 eaa9f462be8dc755b675e4d5cb3ad271e3b1053edfa06df7862fa887160c849c768d2a268a7c8b52d1cfc834c186780b71435ee65475ea6c6692c18bded48dec
-DIST litecoin-0.18.1.tar.gz 5122629 BLAKE2B c6cb220bb893518eaf04e1b4b825dc0318103c955da6f262ef13fc9d925b7bae1bb0407a701a04a17bb3040c613b666e6de3331d443046e9d83aec4ed559e02e SHA512 59605cc0c4fd67c128bad0e2cabcc7b6bda1ebf5b23b7fcaee9fa69e86a4349598feba413f0ad42aef9338a42b0d6f8c04306634bd543856a2e7a203aa717f40
-EBUILD litecoind-0.18.1-r1.ebuild 2201 BLAKE2B 0b210086e05f63ec975f92650237901b82c7b19c36f4a97edfbde0d57ecdf261249ca51084ce3aaf049c3e7ee092eb207ea94215f84989798b9492283137d218 SHA512 2697ddb8b3e172f5834d4f44f3e3c05e9354b4601c237c02c412644f0924b9ad7c756bcb0d2ab14ff0457553a2d12b144405bc3584b87b240383fcb88b00d377
-MISC metadata.xml 324 BLAKE2B 96c5086a4d91f422bf352d191671209ea03937d0abd19aaf03f6b605e56370da229a84aecb3fdbaa028082c88e3084cf46329dc004cba4e060c9916e35e60617 SHA512 9bd81b7cdaac5b3a7826768c7eae061b426827acefd6a821964131b929e05903dea243d2e5942da91f8a0aa32bbed0d948c3ce1e1467512b29f84621468021a8
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>