* [gentoo-commits] repo/gentoo:master commit in: net-p2p/primecoin-qt/files/, net-p2p/dogecoin-qt/, net-p2p/primecoin-qt/, ...
@ 2018-02-18 23:00 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-02-18 23:00 UTC (permalink / raw
To: gentoo-commits
commit: 3ab664b328fac9c710a80ab2119856a9167da5f3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 23:00:02 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 23:00:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab664b3
profiles: Remove last-rited net-p2p/{doge,prime}coin*
Closes: https://bugs.gentoo.org/520070
Closes: https://bugs.gentoo.org/555082
Closes: https://bugs.gentoo.org/643994
Closes: https://bugs.gentoo.org/644312
net-p2p/dogecoin-qt/Manifest | 1 -
net-p2p/dogecoin-qt/dogecoin-qt-1.6.ebuild | 144 -----------------
net-p2p/dogecoin-qt/metadata.xml | 61 -------
net-p2p/primecoin-qt/Manifest | 1 -
.../primecoin-qt/files/primecoin-sys_leveldb.patch | 176 ---------------------
net-p2p/primecoin-qt/metadata.xml | 58 -------
net-p2p/primecoin-qt/primecoin-qt-0.1.2-r1.ebuild | 143 -----------------
net-p2p/primecoind/Manifest | 1 -
.../primecoind/files/primecoin-sys_leveldb.patch | 176 ---------------------
net-p2p/primecoind/files/primecoin.conf | 8 -
net-p2p/primecoind/files/primecoin.confd | 10 --
net-p2p/primecoind/files/primecoin.initd | 104 ------------
net-p2p/primecoind/files/primecoin.initd-r1 | 28 ----
net-p2p/primecoind/files/primecoin.service | 30 ----
net-p2p/primecoind/files/primecoind.logrotate | 7 -
net-p2p/primecoind/metadata.xml | 11 --
net-p2p/primecoind/primecoind-0.1.2-r1.ebuild | 122 --------------
profiles/package.mask | 8 -
18 files changed, 1089 deletions(-)
diff --git a/net-p2p/dogecoin-qt/Manifest b/net-p2p/dogecoin-qt/Manifest
deleted file mode 100644
index 86b53c3d877..00000000000
--- a/net-p2p/dogecoin-qt/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dogecoin-1.6.tar.gz 3405829 BLAKE2B 40bdec100f1cbca35c5780b84f0fd27c5978324b78a8e53634ce6c5e868208c48419113b12a45341ead2ac29194246ba05d4a54af3d5ae5db65d8b30342411ec SHA512 dd40d96f87aa787af3ae7da38ec33c94bdc15b1176c2468c3a7408778b3b0e64f2c2bdafa3a85e72ef02fe4b9f931cbe7dec33b1da3bc867978d747f31662621
diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.6.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.6.ebuild
deleted file mode 100644
index 8c1c86314a7..00000000000
--- a/net-p2p/dogecoin-qt/dogecoin-qt-1.6.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DB_VER="4.8"
-
-LANGS="af_ZA ar bg bs ca ca_ES cs cy da de el_GR en eo es es_CL et eu_ES fa fa_IR fi fr fr_CA gu_IN he hi_IN hr hu it ja la lt lv_LV nb nl pl pt_BR pt_PT ro_RO ru sk sr sv th_TH tr uk zh_CN zh_TW"
-inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2
-
-MyPV="${PV/_/-}"
-MyPN="dogecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="P2P Internet currency favored by Shiba Inus worldwide"
-HOMEPAGE="https://dogecoin.com/"
-SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${MyPV}.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dbus ipv6 kde +qrcode upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/openssl:0[-bindist]
- qrcode? (
- media-gfx/qrencode
- )
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- <=dev-libs/leveldb-1.12.0[-snappy]
- dev-qt/qtgui:4
- dbus? (
- dev-qt/qtdbus:4
- )
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
-"
-
-DOCS="doc/README.md doc/release-notes.md"
-
-S="${WORKDIR}/${MyP}"
-
-src_prepare() {
-# epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
-# rm -r src/leveldb || die
-
- sed 's/BDB_INCLUDE_PATH=.*//' -i 'dogecoin-qt.pro' || die
-
- cd src || die
-
- local filt= yeslang= nolang=
-
- #for lan in $LANGS; do
- # if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
- # ewarn "Language '$lan' no longer supported. Ebuild needs update."
- # fi
- #done
-
- for ts in $(ls qt/locale/*.ts)
- do
- x="${ts/*bitcoin_/}"
- x="${x/.ts/}"
- if ! use "linguas_$x"; then
- nolang="$nolang $x"
- rm "$ts"
- filt="$filt\\|$x"
- else
- yeslang="$yeslang $x"
- fi
- done
-
- filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)"
- sed "/${filt}/d" -i 'qt/bitcoin.qrc' || die
- einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
-}
-
-src_configure() {
- OPTS=()
-
- use dbus && OPTS+=("USE_DBUS=1")
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use qrcode && OPTS+=("USE_QRCODE=1")
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- if has_version '>=dev-libs/boost-1.52'; then
- OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX")
- fi
-
- #The litecoin codebase is mostly taken from bitcoin-qt
- eqmake4 dogecoin-qt.pro "${OPTS[@]}" || die
-}
-
-#Tests are broken with and without our litecoin-sys_leveldb.patch
-#src_test() {
-# cd src || die
-# emake -f makefile.unix "${OPTS[@]}" test_litecoin
-# ./test_litecoin || die 'Tests failed'
-#}
-
-src_install() {
-# qt4-r2_src_install
-
- dobin ${PN}
-
- insinto /usr/share/pixmaps
- newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
-
- make_desktop_entry "${PN} %u" "Dogecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/dogecoin;\nTerminal=false"
-
-# newman contrib/debian/manpages/bitcoin-qt.1 ${PN}.1
-
-# if use kde; then
-# insinto /usr/share/kde4/services
-# newins contrib/debian/bitcoin-qt.protocol ${PN}.protocol
-# fi
-}
-
-update_caches() {
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
- buildsycoca
-}
-
-pkg_postinst() {
- update_caches
-}
-
-pkg_postrm() {
- update_caches
-}
diff --git a/net-p2p/dogecoin-qt/metadata.xml b/net-p2p/dogecoin-qt/metadata.xml
deleted file mode 100644
index cd7c1635f62..00000000000
--- a/net-p2p/dogecoin-qt/metadata.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <longdescription lang="en">
- This is a client for the Dogecoin cryptocurrency.
- Dogecoin is a scrypt-based alternative to Bitcoin.
- </longdescription>
- <use>
- <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag>
- <flag name="linguas_af_ZA">Afrikaans locale for South Africa</flag>
- <flag name="linguas_ar">Arabic locale</flag>
- <flag name="linguas_bg">Bulgarian locale</flag>
- <flag name="linguas_bs">Bosnian locale</flag>
- <flag name="linguas_ca">Catalan locale</flag>
- <flag name="linguas_ca_ES">Catalan locale for Spain</flag>
- <flag name="linguas_cs">Czech locale</flag>
- <flag name="linguas_cy">Welsh locale</flag>
- <flag name="linguas_da">Danish locale</flag>
- <flag name="linguas_de">German locale</flag>
- <flag name="linguas_el_GR">Modern Greek locale for Greece</flag>
- <flag name="linguas_en">English locale</flag>
- <flag name="linguas_eo">Esperanto locale</flag>
- <flag name="linguas_es">Spanish locale</flag>
- <flag name="linguas_es_CL">Spanish locale for Chile</flag>
- <flag name="linguas_et">Estonian locale</flag>
- <flag name="linguas_eu_ES">Basque locale for Spain</flag>
- <flag name="linguas_fa">Persian locale</flag>
- <flag name="linguas_fa_IR">Persian locale for Iran</flag>
- <flag name="linguas_fi">Finnish locale</flag>
- <flag name="linguas_fr">French locale</flag>
- <flag name="linguas_fr_CA">French locale for Canada</flag>
- <flag name="linguas_gu_IN">Gujarati locale for India</flag>
- <flag name="linguas_he">Hebrew locale</flag>
- <flag name="linguas_hi_IN">Hindi locale for India</flag>
- <flag name="linguas_hr">Croatian locale</flag>
- <flag name="linguas_hu">Hungarian locale</flag>
- <flag name="linguas_it">Italian locale</flag>
- <flag name="linguas_ja">Japanese locale</flag>
- <flag name="linguas_la">Latin locale</flag>
- <flag name="linguas_lt">Lithuanian locale</flag>
- <flag name="linguas_lv_LV">Latvian locale for Latvia</flag>
- <flag name="linguas_nb">Norwegian Bokmål locale</flag>
- <flag name="linguas_nl">Dutch locale</flag>
- <flag name="linguas_pl">Polish locale</flag>
- <flag name="linguas_pt_BR">Portuguese locale for Brazil</flag>
- <flag name="linguas_pt_PT">Portuguese locale for Portugal</flag>
- <flag name="linguas_ro_RO">Romanian locale for Romania</flag>
- <flag name="linguas_ru">Russian locale</flag>
- <flag name="linguas_sk">Slovak locale</flag>
- <flag name="linguas_sr">Serbian locale</flag>
- <flag name="linguas_sv">Swedish locale</flag>
- <flag name="linguas_th_TH">Thai locale for Thailand</flag>
- <flag name="linguas_tr">Turkish locale</flag>
- <flag name="linguas_uk">Ukrainian locale</flag>
- <flag name="linguas_zh_CN">Chinese locale for China</flag>
- <flag name="linguas_zh_TW">Chinese locale for Taiwan</flag>
- </use>
- <upstream>
- <remote-id type="github">dogecoin/dogecoin</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/primecoin-qt/Manifest b/net-p2p/primecoin-qt/Manifest
deleted file mode 100644
index 4a577a756da..00000000000
--- a/net-p2p/primecoin-qt/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST primecoin-0.1.2.tar.gz 16521236 BLAKE2B a79d9fcc9f2cfadeef640e685bd20fc6d9075fe4c4c7cba9bbab84c6f556fef45971dd884b8eecc70ab3bdcad42c82c3a2dd75819649d954c30b468185b9e2bd SHA512 cff71b0e6459c4e534e78acef9491090d05c0cb864a068c0a3cb289310a1ee13fd69c7b61a7d6cb9732af54fbcf1fa4e77db8c8528a09bbdafd36421fdf7aff1
diff --git a/net-p2p/primecoin-qt/files/primecoin-sys_leveldb.patch b/net-p2p/primecoin-qt/files/primecoin-sys_leveldb.patch
deleted file mode 100644
index 39d0aa63fb7..00000000000
--- a/net-p2p/primecoin-qt/files/primecoin-sys_leveldb.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-diff -Naur primecoin-0.1.2-linux.orig/src/bitcoin-qt.pro primecoin-0.1.2-linux/src/bitcoin-qt.pro
---- primecoin-0.1.2-linux.orig/src/bitcoin-qt.pro 2013-08-05 08:37:14.000000000 -0400
-+++ primecoin-0.1.2-linux/src/bitcoin-qt.pro 2013-11-30 16:39:48.464770389 -0500
-@@ -4,7 +4,7 @@
- VERSION = 0.8.3
- INCLUDEPATH += src src/json src/qt
- QT += network
--DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
-+DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE LEVELDB_WITHOUT_MEMENV
- CONFIG += no_include_pwd
- CONFIG += thread
-
-@@ -98,25 +98,29 @@
- QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
- }
-
-+contains(USE_SYSTEM_LEVELDB, 1) {
-+ LIBS += -lleveldb
-+} else {
- INCLUDEPATH += src/leveldb/include src/leveldb/helpers
--LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
-+LIBS += $$PWD/src/leveldb/libleveldb.a
- !win32 {
- # we use QMAKE_CXXFLAGS_RELEASE even without RELEASE=1 because we use RELEASE to indicate linking preferences not -O preferences
-- genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a
-+ genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a
- } else {
- # make an educated guess about what the ranlib command is called
- isEmpty(QMAKE_RANLIB) {
- QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
- }
- LIBS += -lshlwapi
-- genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
-+ genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a
- }
- genleveldb.target = $$PWD/src/leveldb/libleveldb.a
- genleveldb.depends = FORCE
- PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a
- QMAKE_EXTRA_TARGETS += genleveldb
-+}
- # Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it.
--QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean
-+QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb && $(MAKE) clean || true
-
- # regenerate src/build.h
- !win32|contains(USE_BUILD_INFO, 1) {
-diff -Naur primecoin-0.1.2-linux.orig/src/src/leveldb.cpp primecoin-0.1.2-linux/src/src/leveldb.cpp
---- primecoin-0.1.2-linux.orig/src/src/leveldb.cpp 2013-08-05 08:37:20.000000000 -0400
-+++ primecoin-0.1.2-linux/src/src/leveldb.cpp 2013-11-30 16:41:25.632773774 -0500
-@@ -8,7 +8,9 @@
- #include <leveldb/env.h>
- #include <leveldb/cache.h>
- #include <leveldb/filter_policy.h>
--#include <memenv/memenv.h>
-+#ifndef LEVELDB_WITHOUT_MEMENV
-+#include <memenv.h>
-+#endif
-
- #include <boost/filesystem.hpp>
-
-@@ -43,8 +45,12 @@
- options = GetOptions(nCacheSize);
- options.create_if_missing = true;
- if (fMemory) {
-+#ifndef LEVELDB_WITHOUT_MEMENV
- penv = leveldb::NewMemEnv(leveldb::Env::Default());
- options.env = penv;
-+#else
-+ throw std::runtime_error("CLevelDB(): compiled without memenv support");
-+#endif
- } else {
- if (fWipe) {
- printf("Wiping LevelDB in %s\n", path.string().c_str());
-diff -Naur primecoin-0.1.2-linux.orig/src/src/makefile.unix primecoin-0.1.2-linux/src/src/makefile.unix
---- primecoin-0.1.2-linux.orig/src/src/makefile.unix 2013-08-05 08:37:21.000000000 -0400
-+++ primecoin-0.1.2-linux/src/src/makefile.unix 2013-11-30 17:20:06.545854617 -0500
-@@ -111,8 +111,7 @@
- # adds some defaults in front. Unfortunately, LDFLAGS=... $(LDFLAGS) does not work.
- xLDFLAGS=$(LDHARDENING) $(LDFLAGS)
-
--OBJS= \
-- leveldb/libleveldb.a \
-+BASEOBJS := \
- obj/alert.o \
- obj/version.o \
- obj/checkpoints.o \
-@@ -121,7 +120,6 @@
- obj/crypter.o \
- obj/key.o \
- obj/db.o \
-- obj/init.o \
- obj/keystore.o \
- obj/main.o \
- obj/net.o \
-@@ -141,25 +139,44 @@
- obj/hash.o \
- obj/bloom.o \
- obj/noui.o \
-- obj/leveldb.o \
- obj/txdb.o \
- obj/prime.o \
- obj/checkpointsync.o
-
-+OBJS := \
-+ obj/leveldb.o \
-+ obj/init.o \
-+ $(BASEOBJS)
-+
-+TESTOBJS := \
-+ obj-test/leveldb.o \
-+ $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) \
-+ $(BASEOBJS)
-+
- all: primecoind
-
- test check: test_primecoin FORCE
- ./test_primecoin
-
-+ifdef USE_SYSTEM_LEVELDB
-+ LIBS += -lleveldb
-+ TESTLIBS += -lmemenv
-+else
- #
- # LevelDB support
- #
- MAKEOVERRIDES =
--LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
-+LIBS += $(CURDIR)/leveldb/libleveldb.a
-+TESTLIBS += $(CURDIR)/leveldb/libmemenv.a
- DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
- DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
- leveldb/libleveldb.a:
-- @echo "Building LevelDB ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libleveldb.a libmemenv.a && cd ..
-+ @echo "Building LevelDB ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libleveldb.a && cd ..
-+leveldb/libmemenv.a:
-+ @echo "Building LevelDB memenv ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libmemenv.a && cd ..
-+OBJS += leveldb/libleveldb.a
-+TESTOBJS += leveldb/libmemenv.a
-+endif
-
- # auto-generated dependencies:
- -include obj/*.P
-@@ -170,24 +187,22 @@
- version.cpp: obj/build.h
- DEFS += -DHAVE_BUILD_INFO
-
--obj/%.o: %.cpp
-- $(CXX) -c $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $<
-+P_TO_D = \
- @cp $(@:%.o=%.d) $(@:%.o=%.P); \
-- sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-+ sed -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
- -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
- rm -f $(@:%.o=%.d)
-
--primecoind: $(OBJS:obj/%=obj/%)
-- $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
-+obj/%.o: %.cpp
-+ $(CXX) -c $(xCXXFLAGS) -DLEVELDB_WITHOUT_MEMENV -MMD -MF $(@:%.o=%.d) -o $@ $<
-+ $(P_TO_D)
-
--TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))
-+primecoind: $(OBJS)
-+ $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
-
- obj-test/%.o: test/%.cpp
-- $(CXX) -c $(TESTDEFS) $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $<
-- @cp $(@:%.o=%.d) $(@:%.o=%.P); \
-- sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-- -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
-- rm -f $(@:%.o=%.d)
-+ $(CXX) -c $(xCXXFLAGS) -DLEVELDB_WITHOUT_MEMENV -MMD -MF $(@:%.o=%.d) -o $@ $<
-+ $(P_TO_D)
-
- test_primecoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%))
- $(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS)
diff --git a/net-p2p/primecoin-qt/metadata.xml b/net-p2p/primecoin-qt/metadata.xml
deleted file mode 100644
index 9f3c591f05b..00000000000
--- a/net-p2p/primecoin-qt/metadata.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag>
- <flag name="linguas_af_ZA">Afrikaans locale for South Africa</flag>
- <flag name="linguas_ar">Arabic locale</flag>
- <flag name="linguas_bg">Bulgarian locale</flag>
- <flag name="linguas_bs">Bosnian locale</flag>
- <flag name="linguas_ca">Catalan locale</flag>
- <flag name="linguas_ca_ES">Catalan locale for Spain</flag>
- <flag name="linguas_cs">Czech locale</flag>
- <flag name="linguas_cy">Welsh locale</flag>
- <flag name="linguas_da">Danish locale</flag>
- <flag name="linguas_de">German locale</flag>
- <flag name="linguas_el_GR">Modern Greek locale for Greece</flag>
- <flag name="linguas_en">English locale</flag>
- <flag name="linguas_eo">Esperanto locale</flag>
- <flag name="linguas_es">Spanish locale</flag>
- <flag name="linguas_es_CL">Spanish locale for Chile</flag>
- <flag name="linguas_et">Estonian locale</flag>
- <flag name="linguas_eu_ES">Basque locale for Spain</flag>
- <flag name="linguas_fa">Persian locale</flag>
- <flag name="linguas_fa_IR">Persian locale for Iran</flag>
- <flag name="linguas_fi">Finnish locale</flag>
- <flag name="linguas_fr">French locale</flag>
- <flag name="linguas_fr_CA">French locale for Canada</flag>
- <flag name="linguas_gu_IN">Gujarati locale for India</flag>
- <flag name="linguas_he">Hebrew locale</flag>
- <flag name="linguas_hi_IN">Hindi locale for India</flag>
- <flag name="linguas_hr">Croatian locale</flag>
- <flag name="linguas_hu">Hungarian locale</flag>
- <flag name="linguas_it">Italian locale</flag>
- <flag name="linguas_ja">Japanese locale</flag>
- <flag name="linguas_la">Latin locale</flag>
- <flag name="linguas_lt">Lithuanian locale</flag>
- <flag name="linguas_lv_LV">Latvian locale for Latvia</flag>
- <flag name="linguas_nb">Norwegian Bokmål locale</flag>
- <flag name="linguas_nl">Dutch locale</flag>
- <flag name="linguas_pl">Polish locale</flag>
- <flag name="linguas_pt_BR">Portuguese locale for Brazil</flag>
- <flag name="linguas_pt_PT">Portuguese locale for Portugal</flag>
- <flag name="linguas_ro_RO">Romanian locale for Romania</flag>
- <flag name="linguas_ru">Russian locale</flag>
- <flag name="linguas_sk">Slovak locale</flag>
- <flag name="linguas_sr">Serbian locale</flag>
- <flag name="linguas_sv">Swedish locale</flag>
- <flag name="linguas_th_TH">Thai locale for Thailand</flag>
- <flag name="linguas_tr">Turkish locale</flag>
- <flag name="linguas_uk">Ukrainian locale</flag>
- <flag name="linguas_zh_CN">Chinese locale for China</flag>
- <flag name="linguas_zh_TW">Chinese locale for Taiwan</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">primecoin</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/primecoin-qt/primecoin-qt-0.1.2-r1.ebuild b/net-p2p/primecoin-qt/primecoin-qt-0.1.2-r1.ebuild
deleted file mode 100644
index c8230c811d7..00000000000
--- a/net-p2p/primecoin-qt/primecoin-qt-0.1.2-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DB_VER="4.8"
-
-LANGS="af_ZA ar bg bs ca_ES ca cs cy da de el_GR en eo es_CL es et eu_ES fa_IR fa fi fr_CA fr gu_IN he hi_IN hr hu it ja la lt lv_LV nb nl pl pt_BR pt_PT ro_RO ru sk sr sv th_TH tr uk zh_CN zh_TW"
-
-inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2
-
-MyPV="${PV/_/-}"
-MyPN="primecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="Cryptocurrency forked from Bitcoin which aims to be energy efficiency"
-HOMEPAGE="http://primecoin.org/"
-SRC_URI="mirror://sourceforge/${MyPN}/${MyP}-linux.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dbus ipv6 kde +qrcode upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/openssl:0[-bindist]
- qrcode? (
- media-gfx/qrencode
- )
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- <=dev-libs/leveldb-1.12.0[-snappy]
- dev-qt/qtgui:4
- dbus? (
- dev-qt/qtdbus:4
- )
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
-"
-
-DOCS="doc/README.md doc/release-notes.md"
-
-S="${WORKDIR}/${MyP}-linux/src"
-
-src_prepare() {
- epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
- rm -r src/leveldb
-
- cd src || die
-
- local filt= yeslang= nolang=
-
- for lan in $LANGS; do
- if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
- ewarn "Language '$lan' no longer supported. Ebuild needs update."
- fi
- done
-
- for ts in $(ls qt/locale/*.ts)
- do
- x="${ts/*bitcoin_/}"
- x="${x/.ts/}"
- if ! use "linguas_$x"; then
- nolang="$nolang $x"
- rm "$ts"
- filt="$filt\\|$x"
- else
- yeslang="$yeslang $x"
- fi
- done
-
- filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)"
- sed "/${filt}/d" -i 'qt/bitcoin.qrc'
- einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
-}
-
-src_configure() {
- OPTS=()
-
- use dbus && OPTS+=("USE_DBUS=1")
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use qrcode && OPTS+=("USE_QRCODE=1")
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- if has_version '>=dev-libs/boost-1.52'; then
- OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX")
- fi
-
- #The primecoin codebase is mostly taken from bitcoin-qt
- eqmake4 bitcoin-qt.pro "${OPTS[@]}"
-}
-
-#Tests are broken
-#src_test() {
-# cd src || die
-# emake -f makefile.unix "${OPTS[@]}" test_primecoin
-# ./test_primecoin || die 'Tests failed'
-#}
-
-src_install() {
- qt4-r2_src_install
-
- dobin ${PN}
-
- insinto /usr/share/pixmaps
- newins "share/pixmaps/primecoin.ico" "${PN}.ico"
-
- make_desktop_entry "${PN} %u" "Primecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/primecoin;\nTerminal=false"
-
- newman contrib/debian/manpages/bitcoin-qt.1 ${PN}.1
-
- if use kde; then
- insinto /usr/share/kde4/services
- newins contrib/debian/bitcoin-qt.protocol ${PN}.protocol
- fi
-}
-
-update_caches() {
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
- buildsycoca
-}
-
-pkg_postinst() {
- update_caches
-}
-
-pkg_postrm() {
- update_caches
-}
diff --git a/net-p2p/primecoind/Manifest b/net-p2p/primecoind/Manifest
deleted file mode 100644
index 4a577a756da..00000000000
--- a/net-p2p/primecoind/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST primecoin-0.1.2.tar.gz 16521236 BLAKE2B a79d9fcc9f2cfadeef640e685bd20fc6d9075fe4c4c7cba9bbab84c6f556fef45971dd884b8eecc70ab3bdcad42c82c3a2dd75819649d954c30b468185b9e2bd SHA512 cff71b0e6459c4e534e78acef9491090d05c0cb864a068c0a3cb289310a1ee13fd69c7b61a7d6cb9732af54fbcf1fa4e77db8c8528a09bbdafd36421fdf7aff1
diff --git a/net-p2p/primecoind/files/primecoin-sys_leveldb.patch b/net-p2p/primecoind/files/primecoin-sys_leveldb.patch
deleted file mode 100644
index 39d0aa63fb7..00000000000
--- a/net-p2p/primecoind/files/primecoin-sys_leveldb.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-diff -Naur primecoin-0.1.2-linux.orig/src/bitcoin-qt.pro primecoin-0.1.2-linux/src/bitcoin-qt.pro
---- primecoin-0.1.2-linux.orig/src/bitcoin-qt.pro 2013-08-05 08:37:14.000000000 -0400
-+++ primecoin-0.1.2-linux/src/bitcoin-qt.pro 2013-11-30 16:39:48.464770389 -0500
-@@ -4,7 +4,7 @@
- VERSION = 0.8.3
- INCLUDEPATH += src src/json src/qt
- QT += network
--DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
-+DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE LEVELDB_WITHOUT_MEMENV
- CONFIG += no_include_pwd
- CONFIG += thread
-
-@@ -98,25 +98,29 @@
- QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
- }
-
-+contains(USE_SYSTEM_LEVELDB, 1) {
-+ LIBS += -lleveldb
-+} else {
- INCLUDEPATH += src/leveldb/include src/leveldb/helpers
--LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
-+LIBS += $$PWD/src/leveldb/libleveldb.a
- !win32 {
- # we use QMAKE_CXXFLAGS_RELEASE even without RELEASE=1 because we use RELEASE to indicate linking preferences not -O preferences
-- genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a
-+ genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a
- } else {
- # make an educated guess about what the ranlib command is called
- isEmpty(QMAKE_RANLIB) {
- QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
- }
- LIBS += -lshlwapi
-- genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
-+ genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a
- }
- genleveldb.target = $$PWD/src/leveldb/libleveldb.a
- genleveldb.depends = FORCE
- PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a
- QMAKE_EXTRA_TARGETS += genleveldb
-+}
- # Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it.
--QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean
-+QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb && $(MAKE) clean || true
-
- # regenerate src/build.h
- !win32|contains(USE_BUILD_INFO, 1) {
-diff -Naur primecoin-0.1.2-linux.orig/src/src/leveldb.cpp primecoin-0.1.2-linux/src/src/leveldb.cpp
---- primecoin-0.1.2-linux.orig/src/src/leveldb.cpp 2013-08-05 08:37:20.000000000 -0400
-+++ primecoin-0.1.2-linux/src/src/leveldb.cpp 2013-11-30 16:41:25.632773774 -0500
-@@ -8,7 +8,9 @@
- #include <leveldb/env.h>
- #include <leveldb/cache.h>
- #include <leveldb/filter_policy.h>
--#include <memenv/memenv.h>
-+#ifndef LEVELDB_WITHOUT_MEMENV
-+#include <memenv.h>
-+#endif
-
- #include <boost/filesystem.hpp>
-
-@@ -43,8 +45,12 @@
- options = GetOptions(nCacheSize);
- options.create_if_missing = true;
- if (fMemory) {
-+#ifndef LEVELDB_WITHOUT_MEMENV
- penv = leveldb::NewMemEnv(leveldb::Env::Default());
- options.env = penv;
-+#else
-+ throw std::runtime_error("CLevelDB(): compiled without memenv support");
-+#endif
- } else {
- if (fWipe) {
- printf("Wiping LevelDB in %s\n", path.string().c_str());
-diff -Naur primecoin-0.1.2-linux.orig/src/src/makefile.unix primecoin-0.1.2-linux/src/src/makefile.unix
---- primecoin-0.1.2-linux.orig/src/src/makefile.unix 2013-08-05 08:37:21.000000000 -0400
-+++ primecoin-0.1.2-linux/src/src/makefile.unix 2013-11-30 17:20:06.545854617 -0500
-@@ -111,8 +111,7 @@
- # adds some defaults in front. Unfortunately, LDFLAGS=... $(LDFLAGS) does not work.
- xLDFLAGS=$(LDHARDENING) $(LDFLAGS)
-
--OBJS= \
-- leveldb/libleveldb.a \
-+BASEOBJS := \
- obj/alert.o \
- obj/version.o \
- obj/checkpoints.o \
-@@ -121,7 +120,6 @@
- obj/crypter.o \
- obj/key.o \
- obj/db.o \
-- obj/init.o \
- obj/keystore.o \
- obj/main.o \
- obj/net.o \
-@@ -141,25 +139,44 @@
- obj/hash.o \
- obj/bloom.o \
- obj/noui.o \
-- obj/leveldb.o \
- obj/txdb.o \
- obj/prime.o \
- obj/checkpointsync.o
-
-+OBJS := \
-+ obj/leveldb.o \
-+ obj/init.o \
-+ $(BASEOBJS)
-+
-+TESTOBJS := \
-+ obj-test/leveldb.o \
-+ $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) \
-+ $(BASEOBJS)
-+
- all: primecoind
-
- test check: test_primecoin FORCE
- ./test_primecoin
-
-+ifdef USE_SYSTEM_LEVELDB
-+ LIBS += -lleveldb
-+ TESTLIBS += -lmemenv
-+else
- #
- # LevelDB support
- #
- MAKEOVERRIDES =
--LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
-+LIBS += $(CURDIR)/leveldb/libleveldb.a
-+TESTLIBS += $(CURDIR)/leveldb/libmemenv.a
- DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
- DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
- leveldb/libleveldb.a:
-- @echo "Building LevelDB ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libleveldb.a libmemenv.a && cd ..
-+ @echo "Building LevelDB ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libleveldb.a && cd ..
-+leveldb/libmemenv.a:
-+ @echo "Building LevelDB memenv ..." && cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(xCXXFLAGS)" libmemenv.a && cd ..
-+OBJS += leveldb/libleveldb.a
-+TESTOBJS += leveldb/libmemenv.a
-+endif
-
- # auto-generated dependencies:
- -include obj/*.P
-@@ -170,24 +187,22 @@
- version.cpp: obj/build.h
- DEFS += -DHAVE_BUILD_INFO
-
--obj/%.o: %.cpp
-- $(CXX) -c $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $<
-+P_TO_D = \
- @cp $(@:%.o=%.d) $(@:%.o=%.P); \
-- sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-+ sed -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
- -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
- rm -f $(@:%.o=%.d)
-
--primecoind: $(OBJS:obj/%=obj/%)
-- $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
-+obj/%.o: %.cpp
-+ $(CXX) -c $(xCXXFLAGS) -DLEVELDB_WITHOUT_MEMENV -MMD -MF $(@:%.o=%.d) -o $@ $<
-+ $(P_TO_D)
-
--TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))
-+primecoind: $(OBJS)
-+ $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
-
- obj-test/%.o: test/%.cpp
-- $(CXX) -c $(TESTDEFS) $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $<
-- @cp $(@:%.o=%.d) $(@:%.o=%.P); \
-- sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-- -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
-- rm -f $(@:%.o=%.d)
-+ $(CXX) -c $(xCXXFLAGS) -DLEVELDB_WITHOUT_MEMENV -MMD -MF $(@:%.o=%.d) -o $@ $<
-+ $(P_TO_D)
-
- test_primecoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%))
- $(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS)
diff --git a/net-p2p/primecoind/files/primecoin.conf b/net-p2p/primecoind/files/primecoin.conf
deleted file mode 100644
index c6a55f3d913..00000000000
--- a/net-p2p/primecoind/files/primecoin.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-# http://www.bitcoin.org/smf/index.php?topic=644.0
-#rpcuser=
-#rpcpassword=
-
-
-
-
-
diff --git a/net-p2p/primecoind/files/primecoin.confd b/net-p2p/primecoind/files/primecoin.confd
deleted file mode 100644
index 6dd0defc0ce..00000000000
--- a/net-p2p/primecoind/files/primecoin.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# Config file for /etc/init.d/primecoind
-
-# owner of primeciond process (don't change, must be existing)
-PRIMECOIN_USER="primecoin"
-
-# See http://www.bitcoin.org/smf/index.php?topic=1063
-PRIMECOIN_OPTS="${PRIMECOIN_OPTS}"
-
-# nice level
-NICELEVEL="19"
diff --git a/net-p2p/primecoind/files/primecoin.initd b/net-p2p/primecoind/files/primecoin.initd
deleted file mode 100644
index 37a24b8a6b7..00000000000
--- a/net-p2p/primecoind/files/primecoin.initd
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/sbin/openrc-run
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-VARDIR="/var/lib/primecoin"
-CONFFILE="${VARDIR}/.primecoin/primecoin.conf"
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [[ "${PRIMECOIN_USER}" == "" ]] ; then
- eerror "Please edit /etc/conf.d/primecoind"
- eerror "A user must be specified to run primecoind as that user."
- eerror "Modify USER to your needs (you may also add a group after a colon)"
- return 1
- fi
- if ! `getent passwd | cut -d ':' -f 1 | grep $( echo "${PRIMECOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then
- eerror "Please edit /etc/conf.d/primecoind"
- eerror "Specified user must exist!"
- return 1
- fi
- if `echo "${PRIMECOIN_USER}" | grep ':' -sq` ; then
- if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${PRIMECOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then
- eerror "Please edit /etc/conf.d/primecoind"
- eerror "Specified group must exist!"
- return 1
- fi
- fi
- 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
- if ! stat -Lc '%a' "${CONFFILE}" | grep -q '^[4567]00$'; then
- eerror "`readlink -f ${CONFFILE}` should not be readable by other users"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting Primecoind daemon"
-
- pkg-config openrc
- if [ $? = 0 ]; then
- start_openrc
- else
- start_baselayout
- fi
-}
-
-stop() {
- ebegin "Stopping Primecoin daemon"
-
- pkg-config openrc
- if [ $? = 0 ]; then
- stop_openrc
- else
- stop_baselayout
- fi
-}
-
-start_openrc() {
- start-stop-daemon \
- --start --user "${PRIMECOIN_USER}" --name primecoind \
- --pidfile /var/run/primecoind.pid --make-pidfile \
- --env HOME="${VARDIR}" --exec /usr/bin/primecoind \
- --nicelevel "${NICELEVEL}" \
- --background \
- --wait 2000 \
- -- ${PRIMECOIN_OPTS}
- eend $?
-}
-
-stop_openrc() {
- start-stop-daemon --stop --user "${PRIMECOIN_USER}" \
- --name primecoind --pidfile /var/run/primecoind.pid \
- --wait 30000 \
- --progress
- eend $?
-}
-
-start_baselayout() {
- start-stop-daemon \
- --start --user "${PRIMECOIN_USER}" --name primecoind \
- --pidfile /var/run/primecoind.pid --make-pidfile \
- --env HOME="${VARDIR}" --exec /usr/bin/primecoind \
- --chuid "${PRIMECOIN_USER}" \
- --nicelevel "${NICELEVEL}" \
- --background \
- -- ${PRIMECOIN_OPTS}
- eend $?
-}
-
-stop_baselayout() {
- start-stop-daemon \
- --stop \
- --user "${PRIMECOIN_USER}" \
- --name primecoind \
- --pidfile /var/run/primecoind.pid
- eend $?
-}
diff --git a/net-p2p/primecoind/files/primecoin.initd-r1 b/net-p2p/primecoind/files/primecoin.initd-r1
deleted file mode 100644
index 936902b342a..00000000000
--- a/net-p2p/primecoind/files/primecoin.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/primecoin"
-conffile="${vardir}/.primecoin/primecoin.conf"
-primecoind_user="${PRIMECOIN_USER:-nobody:nobody}"
-
-description="Bitcoin crypto-currency wallet for automated services"
-pidfile="/run/${SVCNAME}.pid"
-command="/usr/bin/primecoind"
-command_args="${PRIMECOIN_OPTS}"
-command_background="true"
-start_stop_daemon_args="-u ${primecoind_user} -e HOME=${vardir} -N ${NICELEVEL:-0} -w 2000"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -f -o ${primecoind_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/primecoind/files/primecoin.service b/net-p2p/primecoind/files/primecoin.service
deleted file mode 100644
index 8fd2ecaba5a..00000000000
--- a/net-p2p/primecoind/files/primecoin.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/primecoind.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/primecoind.service.d/myopts.conf"
-# containing:
-# [Service]
-# Environment="PRIMECOIN_OPTS=-debug -logtimestamps"
-# Nice=10
-# This will override the setting appearing below.
-
-# Note that almost all daemon options could be specified in
-# /etc/primecoin/primecoin.conf
-
-[Unit]
-Description=Primecoin Daemon
-After=network.target
-
-[Service]
-User=primecoin
-Environment=PRIMECOIN_OPTS=
-ExecStart=/usr/bin/primecoind -daemon=0 $PRIMECOIN_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-p2p/primecoind/files/primecoind.logrotate b/net-p2p/primecoind/files/primecoind.logrotate
deleted file mode 100644
index 84623c46f96..00000000000
--- a/net-p2p/primecoind/files/primecoind.logrotate
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/lib/primecoin/.primecoin/debug.log {
- weekly
- sharedscripts
- postrotate
- killall -HUP primecoind
- endscript
-}
diff --git a/net-p2p/primecoind/metadata.xml b/net-p2p/primecoind/metadata.xml
deleted file mode 100644
index ddbf34a0def..00000000000
--- a/net-p2p/primecoind/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="logrotate">Use app-admin/logrotate for rotating logs</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">primecoin</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/primecoind/primecoind-0.1.2-r1.ebuild b/net-p2p/primecoind/primecoind-0.1.2-r1.ebuild
deleted file mode 100644
index 6a57982eb96..00000000000
--- a/net-p2p/primecoind/primecoind-0.1.2-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DB_VER="4.8"
-
-inherit bash-completion-r1 db-use eutils systemd user
-
-MyPV="${PV/_/-}"
-MyPN="primecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine"
-HOMEPAGE="http://primecoin.org/"
-SRC_URI="mirror://sourceforge/${MyPN}/${MyP}-linux.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples ipv6 logrotate upnp"
-
-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.12.0[-snappy]
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
- sys-apps/sed
-"
-
-S="${WORKDIR}/${MyP}-linux/src"
-
-pkg_setup() {
- local UG='primecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/primecoin "${UG}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
- rm -r src/leveldb
-
- if has_version '>=dev-libs/boost-1.52'; then
- sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix
- fi
-}
-
-src_configure() {
- OPTS=()
-
- OPTS+=("DEBUGFLAGS=")
- OPTS+=("CXXFLAGS=${CXXFLAGS}")
- OPTS+=("LDFLAGS=${LDFLAGS}")
-
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- cd src || die
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
-}
-
-#Tests are broken with and without our primecoin-sys_leveldb.patch.
-#When tests work, make sure to inherit toolchain-funcs
-#src_test() {
-# cd src || die
-# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_primecoin
-# ./test_primecoin || die 'Tests failed'
-#}
-
-src_install() {
- dobin src/${PN}
-
- insinto /etc/primecoin
- doins "${FILESDIR}/primecoin.conf"
- fowners primecoin:primecoin /etc/primecoin/primecoin.conf
- fperms 600 /etc/primecoin/primecoin.conf
-
- newconfd "${FILESDIR}/primecoin.confd" ${PN}
- newinitd "${FILESDIR}/primecoin.initd-r1" ${PN}
- systemd_dounit "${FILESDIR}/primecoin.service"
-
- keepdir /var/lib/primecoin/.primecoin
- fperms 700 /var/lib/primecoin
- fowners primecoin:primecoin /var/lib/primecoin/
- fowners primecoin:primecoin /var/lib/primecoin/.primecoin
- dosym /etc/primecoin/primecoin.conf /var/lib/primecoin/.primecoin/primecoin.conf
-
- dodoc doc/README.md doc/release-notes.md
- newman contrib/debian/manpages/bitcoind.1 primecoind.1
- newman contrib/debian/manpages/bitcoin.conf.5 primecoin.conf.5
-
- sed -i -e 's/bitcoin/primecoin/g' contrib/bitcoind.bash-completion
- newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion
-
- if use examples; then
- docinto examples
- dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools}
- fi
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/primecoind.logrotate" primecoind
- fi
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index bdf1e7223f7..4f34bd99df2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -228,14 +228,6 @@ games-strategy/hedgewars
# Please migrate to cyrus-imapd-3.0 releases
=net-mail/cyrus-imapd-2.5*
-# Andreas Sturmlechner <asturm@gentoo.org> (20 Jan 2018)
-# Outdated and broken for a long time, blocking cleanups.
-# Depends on deprecated LINGUAS/Qt4/kde4-functions.eclass.
-# Masked for removal in 30 days. Bugs #520070, 555082, 643994, 644312
-net-p2p/dogecoin-qt
-net-p2p/primecoin-qt
-net-p2p/primecoind
-
# Patrice Clement <monsieurp@gentoo.org> (18 Jan 2018)
# mpv >= 0.28.0 requires changes currently only available in ffmpeg-9999.
>=media-video/mpv-0.28.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-18 23:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-18 23:00 [gentoo-commits] repo/gentoo:master commit in: net-p2p/primecoin-qt/files/, net-p2p/dogecoin-qt/, net-p2p/primecoin-qt/, Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox