diff options
Diffstat (limited to 'net-p2p')
52 files changed, 0 insertions, 2646 deletions
diff --git a/net-p2p/litecoin-qt/Manifest b/net-p2p/litecoin-qt/Manifest deleted file mode 100644 index 9845cb8..0000000 --- a/net-p2p/litecoin-qt/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX litecoin-sys_leveldb.patch 7264 SHA256 61e2f69923572903fe7a7f23b38eb6b4c71f19f09ca7881da085174688d3d684 SHA512 96030e7ce3062facf9231b9ae99945c5eb5f5989cb274e9249ebe444b07970d17ed46ec721ad89cf9c607ca8bb86c0a41024e25ab6859df80029b3f03fad0038 WHIRLPOOL 742c70b2a55b3f45862b09717737415f8ff69c5b2700153fb9df810e3a4665df82112e01d30d089403ff5cc21c7b3c25fb13b0ba6f718bfb82c364a546615124 -DIST litecoin-0.8.5.3-rc3.tar.gz 4804918 SHA256 67d2f14ab654825bf21abbb4d2c4681a6af4c3b074a2a1813d6da63fea3a8afc SHA512 640cd8a60122cc26889c81bddd20057c20557ae9a9eea431b68421f5ee37f7938ca2776196649b553b05977278242c4d1bab520671cae549227c1f69835a72b5 WHIRLPOOL f327423e13a1d8e092c54f6201362a8c32acff87a71fd17a737c22e57e09472f579dfdbedcd398fabab75e8f5f7a5559ff566df737fec410baf8dfe80fb3bb6d -EBUILD litecoin-qt-0.8.5.3_rc3.ebuild 3174 SHA256 3ecc5122406f6017067075751374d745a20764b45eb9c459aece2f1d1e87bc1a SHA512 7a16a1d3acb430a829df2779a2d26fc0d60b0d722e23bf038692c8cad97b8948f923415eeb5903847de453408e7103051e564e129bbd417040c832f7cde1e9ff WHIRLPOOL 6722969393b99b1b3d2f7e4e71df5507860aaa47fdbf533e69887ad6f694dea682f53556423be544a5125d72a08dad1adaf088f94fbfddc7d044218af7c01d0a -MISC metadata.xml 410 SHA256 11dd35369374e9d177c13cc65343f63d8138003f943bc098dbf51a322d55f263 SHA512 45ae0fa8f2dfd1bfbaf1802e5d56df1777c5b8cedcd64645d462bb0250eda2a4c70ac756017ccb471475d9c0682dce53fbfc1d0dff12699545d8b6df2c5020e8 WHIRLPOOL b51d5222220a24d3fa72084ab4ec59c5e7de827ca19838aea9f03a3d57fe303cad988d7ef8aafec8538db55d347466a239e82f64264994a9c00af40fbf156332 diff --git a/net-p2p/litecoin-qt/files/litecoin-sys_leveldb.patch b/net-p2p/litecoin-qt/files/litecoin-sys_leveldb.patch deleted file mode 100644 index a4ae56a..0000000 --- a/net-p2p/litecoin-qt/files/litecoin-sys_leveldb.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff -Naur litecoin-0.8.5.3-rc3.orig/bitcoin-qt.pro litecoin-0.8.5.3-rc3/bitcoin-qt.pro ---- litecoin-0.8.5.3-rc3.orig/bitcoin-qt.pro 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/bitcoin-qt.pro 2013-11-29 14:53:00.960537685 -0500 -@@ -5,7 +5,7 @@ - INCLUDEPATH += src src/json src/qt - QT += core gui network - greaterThan(QT_MAJOR_VERSION, 4): QT += widgets --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 - -@@ -101,25 +101,30 @@ - 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 litecoin-0.8.5.3-rc3.orig/src/leveldb.cpp litecoin-0.8.5.3-rc3/src/leveldb.cpp ---- litecoin-0.8.5.3-rc3.orig/src/leveldb.cpp 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/src/leveldb.cpp 2013-11-29 14:55:33.760543008 -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 litecoin-0.8.5.3-rc3.orig/src/makefile.unix litecoin-0.8.5.3-rc3/src/makefile.unix ---- litecoin-0.8.5.3-rc3.orig/src/makefile.unix 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/src/makefile.unix 2013-11-29 15:08:58.337571033 -0500 -@@ -110,8 +110,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 \ -@@ -120,7 +119,6 @@ - obj/crypter.o \ - obj/key.o \ - obj/db.o \ -- obj/init.o \ - obj/keystore.o \ - obj/main.o \ - obj/net.o \ -@@ -141,9 +139,17 @@ - obj/hash.o \ - obj/bloom.o \ - obj/noui.o \ -- obj/leveldb.o \ - obj/txdb.o - -+OBJS := \ -+ obj/leveldb.o \ -+ obj/init.o \ -+ $(BASEOBJS) -+ -+TESTOBJS := \ -+ obj-test/leveldb.o \ -+ $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) \ -+ $(BASEOBJS) - - ifdef USE_SSE2 - DEFS += -DUSE_SSE2 -@@ -156,15 +162,25 @@ - test check: test_litecoin FORCE - ./test_litecoin - -+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 -@@ -175,33 +191,34 @@ - version.cpp: obj/build.h - DEFS += -DHAVE_BUILD_INFO - --obj/%-sse2.o: %-sse2.cpp -- $(CXX) -c $(xCXXFLAGS) -msse2 -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) - -+obj/%-sse2.o: %-sse2.cpp -+ $(CXX) -c $(xCXXFLAGS) -msse2 -MMD -MF $(@:%.o=%.d) -o $@ $< -+ $(P_TO_D) -+ - obj/%.o: %.cpp -- $(CXX) -c $(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) - --litecoind: $(OBJS:obj/%=obj/%) -+litecoind: $(OBJS) - $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) - --TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) -- - 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) -+ $(P_TO_D) -+ -+obj-test/leveldb.o: leveldb.cpp -+ $(CXX) -c $(TESTDEFS) $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $< -+ $(P_TO_D) -+ -+TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) - --test_litecoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) -+test_litecoin: $(TESTOBJS) - $(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS) - - clean: diff --git a/net-p2p/litecoin-qt/litecoin-qt-0.8.5.3_rc3.ebuild b/net-p2p/litecoin-qt/litecoin-qt-0.8.5.3_rc3.ebuild deleted file mode 100644 index 50aa86e..0000000 --- a/net-p2p/litecoin-qt/litecoin-qt-0.8.5.3_rc3.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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="litecoin" -MyP="${MyPN}-${MyPV}" - -DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine." -HOMEPAGE="https://litecoin.org/" -SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${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 - - 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 litecoin codebase is mostly taken from bitcoin-qt - eqmake4 bitcoin-qt.pro "${OPTS[@]}" -} - -#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" "Litecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/litecoin;\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/litecoin-qt/metadata.xml b/net-p2p/litecoin-qt/metadata.xml deleted file mode 100644 index 0e8b4f9..0000000 --- a/net-p2p/litecoin-qt/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='1stclassmsg'>Enable first-class Bitcoin message tools</flag> - <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest deleted file mode 100644 index 5fdc43e..0000000 --- a/net-p2p/litecoind/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX litecoin-sys_leveldb.patch 7264 SHA256 61e2f69923572903fe7a7f23b38eb6b4c71f19f09ca7881da085174688d3d684 SHA512 96030e7ce3062facf9231b9ae99945c5eb5f5989cb274e9249ebe444b07970d17ed46ec721ad89cf9c607ca8bb86c0a41024e25ab6859df80029b3f03fad0038 WHIRLPOOL 742c70b2a55b3f45862b09717737415f8ff69c5b2700153fb9df810e3a4665df82112e01d30d089403ff5cc21c7b3c25fb13b0ba6f718bfb82c364a546615124 -AUX litecoin.conf 80 SHA256 541ae10cc2246b620de3e7efa97eee59efacf83d28ea5f1297a121d0708226d2 SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f WHIRLPOOL 728e38b62da2c7c3a1149ac511b92d156f7b3c51dacfadd7ce74d9e6f915a6547c4cc8d34159243f50eee333c63b35949b311ea5a7f48a6c3bf17a5d4d47c123 -AUX litecoin.confd 245 SHA256 32f96a43c8c2aa049151a0fbc27b290e863d1b1a3c78eef5cb054fe5bad21011 SHA512 57de4657db4f0a3873b6aac700bc78fe8ecdfacdc0acb3fee13866389fc02b7100f4e7252ceb19f76e03d1ca9353008a9ccf40fc48a1a612c6b8fa4a35bae150 WHIRLPOOL 9c54b91df1225d812011af2fe27059262a70754e8a396f91a598479a76193d36203f8825af2a8e30f21d8b91c6df5ba734217f32f33c23bf6ca7a16498f43f28 -AUX litecoin.initd 2511 SHA256 0c7e6671312e43d3f0373489ee93ee4dab379d53f38f724b38a3727d2f1480c8 SHA512 3ae65555aba11d8e4d292021e5b4b45ebb4b65a1fda81ed3836c5528319e5268391732f44be1e2b80a1f3d189729c29b40c1705fbd52b8588021cdac1f36f5d0 WHIRLPOOL e81d79e24f53c4d0ae1b5d9da9ee8e4726fe15d76f992c5cf6a9816d70675177934f8b00937e777c037f3d496c2af923f15292faea765f7d5d5f4c261de860a1 -AUX litecoin.service 879 SHA256 be344624575e7e69203bd7e17abc930847e27d95217b65b74ebfcf2e59a4bbca SHA512 f05009fdf4c38d78867588d84a6031d6bed81ad74c08d97a8fae16706f04ce61926dbde775183e0219a33e3a84e5fdad92acaab62e15156f3d07c15677e0f148 WHIRLPOOL def62eeef8c032a372c0624860369a32ff27b4099fa3ff720ac908139fb2c23e1aab4f4b4e623d890d309a5114352f2feb59ae105563b462e82667a52804c17f -AUX litecoind.logrotate 113 SHA256 dce250c9f27ed9b36fa9376d92fedf89bf6f7f523360dc5baaa65179fd1d504b SHA512 eaa9f462be8dc755b675e4d5cb3ad271e3b1053edfa06df7862fa887160c849c768d2a268a7c8b52d1cfc834c186780b71435ee65475ea6c6692c18bded48dec WHIRLPOOL 3e771d6c2dfddd291386a1ed98009f1778e561a1b8ac43507f3ca709d1c389c3b8d6db5128ade485a0b92ba56b2388727935149af391fe3ef6f9e18ec432c04e -DIST litecoin-0.8.5.3-rc3.tar.gz 4804918 SHA256 67d2f14ab654825bf21abbb4d2c4681a6af4c3b074a2a1813d6da63fea3a8afc SHA512 640cd8a60122cc26889c81bddd20057c20557ae9a9eea431b68421f5ee37f7938ca2776196649b553b05977278242c4d1bab520671cae549227c1f69835a72b5 WHIRLPOOL f327423e13a1d8e092c54f6201362a8c32acff87a71fd17a737c22e57e09472f579dfdbedcd398fabab75e8f5f7a5559ff566df737fec410baf8dfe80fb3bb6d -EBUILD litecoind-0.8.5.3_rc3.ebuild 2996 SHA256 0f5bb9ea3bde410f58d41e9ccdfdb5d7cb545659d67023db3304d246e533b210 SHA512 21a2c0e6bfa8b73ed57021a8f03c3ae8617c69e344459a2216519ad34e847547541f55d229cc29608c62a5d2778014555ff81ca3707941878f5de56f319b6664 WHIRLPOOL 7475e8a32d4fefc2aec64d520148ebfad75e9e543789b088b6bc66a0568fcee9c1d470e277b24dbfa252ccfcebf36710bd5ee0dd526cfa148334ff59772c3e0c -MISC metadata.xml 327 SHA256 2009a65ac31a6a928926715ab212766020927524623581b18ee1f5026a6a689c SHA512 4d68f30b7c29aa5b6c3f7fd5c657ffbbe12706ce5d8d332cd8848906a27ae852e39d48219f6137a65c31db9c7693c2218edf8b6b1511cb1098d86bdb394cd0f9 WHIRLPOOL f7ad1bdb29423c9a88a721e77168aa35372a3411f77c775e2ac518eefc7ee39def4a307a66b4da02f80a6e9d8cdcff8fafa20da1792b7909e84bcad67598c4d9 diff --git a/net-p2p/litecoind/files/litecoin-sys_leveldb.patch b/net-p2p/litecoind/files/litecoin-sys_leveldb.patch deleted file mode 100644 index a4ae56a..0000000 --- a/net-p2p/litecoind/files/litecoin-sys_leveldb.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff -Naur litecoin-0.8.5.3-rc3.orig/bitcoin-qt.pro litecoin-0.8.5.3-rc3/bitcoin-qt.pro ---- litecoin-0.8.5.3-rc3.orig/bitcoin-qt.pro 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/bitcoin-qt.pro 2013-11-29 14:53:00.960537685 -0500 -@@ -5,7 +5,7 @@ - INCLUDEPATH += src src/json src/qt - QT += core gui network - greaterThan(QT_MAJOR_VERSION, 4): QT += widgets --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 - -@@ -101,25 +101,30 @@ - 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 litecoin-0.8.5.3-rc3.orig/src/leveldb.cpp litecoin-0.8.5.3-rc3/src/leveldb.cpp ---- litecoin-0.8.5.3-rc3.orig/src/leveldb.cpp 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/src/leveldb.cpp 2013-11-29 14:55:33.760543008 -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 litecoin-0.8.5.3-rc3.orig/src/makefile.unix litecoin-0.8.5.3-rc3/src/makefile.unix ---- litecoin-0.8.5.3-rc3.orig/src/makefile.unix 2013-11-28 21:17:05.000000000 -0500 -+++ litecoin-0.8.5.3-rc3/src/makefile.unix 2013-11-29 15:08:58.337571033 -0500 -@@ -110,8 +110,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 \ -@@ -120,7 +119,6 @@ - obj/crypter.o \ - obj/key.o \ - obj/db.o \ -- obj/init.o \ - obj/keystore.o \ - obj/main.o \ - obj/net.o \ -@@ -141,9 +139,17 @@ - obj/hash.o \ - obj/bloom.o \ - obj/noui.o \ -- obj/leveldb.o \ - obj/txdb.o - -+OBJS := \ -+ obj/leveldb.o \ -+ obj/init.o \ -+ $(BASEOBJS) -+ -+TESTOBJS := \ -+ obj-test/leveldb.o \ -+ $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) \ -+ $(BASEOBJS) - - ifdef USE_SSE2 - DEFS += -DUSE_SSE2 -@@ -156,15 +162,25 @@ - test check: test_litecoin FORCE - ./test_litecoin - -+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 -@@ -175,33 +191,34 @@ - version.cpp: obj/build.h - DEFS += -DHAVE_BUILD_INFO - --obj/%-sse2.o: %-sse2.cpp -- $(CXX) -c $(xCXXFLAGS) -msse2 -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) - -+obj/%-sse2.o: %-sse2.cpp -+ $(CXX) -c $(xCXXFLAGS) -msse2 -MMD -MF $(@:%.o=%.d) -o $@ $< -+ $(P_TO_D) -+ - obj/%.o: %.cpp -- $(CXX) -c $(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) - --litecoind: $(OBJS:obj/%=obj/%) -+litecoind: $(OBJS) - $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) - --TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) -- - 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) -+ $(P_TO_D) -+ -+obj-test/leveldb.o: leveldb.cpp -+ $(CXX) -c $(TESTDEFS) $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $< -+ $(P_TO_D) -+ -+TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) - --test_litecoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) -+test_litecoin: $(TESTOBJS) - $(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS) - - clean: diff --git a/net-p2p/litecoind/files/litecoin.conf b/net-p2p/litecoind/files/litecoin.conf deleted file mode 100644 index c6a55f3..0000000 --- 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 4261f6e..0000000 --- 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 b/net-p2p/litecoind/files/litecoin.initd deleted file mode 100644 index 036ab8c..0000000 --- a/net-p2p/litecoind/files/litecoin.initd +++ /dev/null @@ -1,104 +0,0 @@ -#!/sbin/runscript -# Distributed under the terms of the GNU General Public License, v2 or later - -VARDIR="/var/lib/litecoin" -CONFFILE="${VARDIR}/.litecoin/litecoin.conf" - -depend() { - need net -} - -checkconfig() { - if [[ "${LITECOIN_USER}" == "" ]] ; then - eerror "Please edit /etc/conf.d/litecoind" - eerror "A user must be specified to run litecoind 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 "${LITECOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then - eerror "Please edit /etc/conf.d/litecoind" - eerror "Specified user must exist!" - return 1 - fi - if `echo "${LITECOIN_USER}" | grep ':' -sq` ; then - if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${LITECOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then - eerror "Please edit /etc/conf.d/litecoind" - 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 Litecoind daemon" - - pkg-config openrc - if [ $? = 0 ]; then - start_openrc - else - start_baselayout - fi -} - -stop() { - ebegin "Stopping Litecoin daemon" - - pkg-config openrc - if [ $? = 0 ]; then - stop_openrc - else - stop_baselayout - fi -} - -start_openrc() { - start-stop-daemon \ - --start --user "${LITECOIN_USER}" --name litecoind \ - --pidfile /var/run/litecoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/litecoind \ - --nicelevel "${NICELEVEL}" \ - --background \ - --wait 2000 \ - -- ${LITECOIN_OPTS} - eend $? -} - -stop_openrc() { - start-stop-daemon --stop --user "${LITECOIN_USER}" \ - --name litecoind --pidfile /var/run/litecoind.pid \ - --wait 30000 \ - --progress - eend $? -} - -start_baselayout() { - start-stop-daemon \ - --start --user "${LITECOIN_USER}" --name litecoind \ - --pidfile /var/run/litecoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/litecoind \ - --chuid "${LITECOIN_USER}" \ - --nicelevel "${NICELEVEL}" \ - --background \ - -- ${LITECOIN_OPTS} - eend $? -} - -stop_baselayout() { - start-stop-daemon \ - --stop \ - --user "${LITECOIN_USER}" \ - --name litecoind \ - --pidfile /var/run/litecoind.pid - eend $? -} diff --git a/net-p2p/litecoind/files/litecoin.service b/net-p2p/litecoind/files/litecoin.service deleted file mode 100644 index ae063ac..0000000 --- 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.logrotate b/net-p2p/litecoind/files/litecoind.logrotate deleted file mode 100644 index 5b091aa..0000000 --- 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.8.5.3_rc3.ebuild b/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild deleted file mode 100644 index 294446b..0000000 --- a/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DB_VER="4.8" - -inherit bash-completion-r1 db-use eutils systemd - -MyPV="${PV/_/-}" -MyPN="litecoin" -MyP="${MyPN}-${MyPV}" - -DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine." -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="bash-completion 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}" - -pkg_setup() { - local UG='litecoin' - enewgroup "${UG}" - enewuser "${UG}" -1 -1 /var/lib/litecoin "${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 litecoin-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_litecoin -# ./test_litecoin || die 'Tests failed' -#} - -src_install() { - dobin src/${PN} - - 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" ${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 bash-completion; then - newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion - fi - - 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}/litecoind.logrotate" litecoind - fi -} diff --git a/net-p2p/litecoind/metadata.xml b/net-p2p/litecoind/metadata.xml deleted file mode 100644 index 5c226ba..0000000 --- a/net-p2p/litecoind/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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='logrotate'>Use app-admin/logrotate for rotating logs</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/multibit/Manifest b/net-p2p/multibit/Manifest deleted file mode 100644 index d22dc9a..0000000 --- a/net-p2p/multibit/Manifest +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX auto-install.xml 869 SHA256 8d8ae59fb63a59723c7f73e36524d41b7bfc61ace639c0a6b80f9fee60cfd9de SHA512 f52b030e038ddbcf250ac788d0c356b5da725e6d5c38cafcaf29ba3b0b593b3b9285cb7a9954d1b4754193e53ac3d78e2465d659f1063f9a1fd52855aeccd283 WHIRLPOOL 36c842217c8a7050b97fc7b3928d29da6ef578880b269d50c0db8059233bd6600ec0b8f6d59c9561537ff89b76481cb20c44c8c3730517ba0a2b7548a791ed3b -AUX multibit 88 SHA256 7b8990e7b506d8f5270bff419a5c48ffcf96d52c2abf57436f37cbae8a009649 SHA512 72393da3c5cac23fe3d87c5277680b8b9d8959a0fc01caf4ad6606f447befb4ba49f8591f8941defaf965e07c2cb796b7c2fd59e60d9ff9949fbc657bef3e86d WHIRLPOOL 506a66d87256804b4ff8212a98fbfdd072fec12ee531497503ffa7a2f65a78b6f35fdc51574e38a7f0808c4dc70105fcdec21996ece1fd021440bd6b20cea8c5 -DIST multibit-0.5.15-linux.jar 8323523 SHA256 f0744e153d1d14b4c469ff7264939c094578968ad32c9e3a03a42ec963729881 SHA512 cdcde123dfc56e551bab4d4c7c0aec39f7cdaaa560507bfeea65ae05d776c2a0adf58b2be6dc76218876ca292590decfb4eb2070472c55a88c8e88bfe6e77626 WHIRLPOOL ac2010a337c781d7c649cb6a011c1d539f7f9f87fe19faa5811afa834ff84696c543d4d6f1f4ca1b7fe2496dbb804c79f783e20368eb7aabcba3e7b70befeee3 -EBUILD multibit-0.5.15.ebuild 917 SHA256 a2ff6d7e11ab8561f38fa161003b50b715f7c4e8a267d950a662a468d6fc67ef SHA512 df2bdd5ec9b6ddeca841b5e8cb45c8749ad0df552cc2ff36f7eecbc85fbe1574e534916846fd7f51c5b494b23dd7b6d4b48d7443ef5fd14079c3dc18d9fbe6d8 WHIRLPOOL b80f0658a3b58d1918aba5fc76f724e6dbc65c5a6eb42c9c525fdce8dab60039fcd4360d5d3cc64bdd2d9c5a91e1f3f160671ead9f0e81eb22fc454471e84747 -MISC metadata.xml 238 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f SHA512 3c3d75f1cb90ffcfb98df47481fbde6d451254a29fa87577acd25bc27cbcc3e5dbc0c1efce5974be905428f0b7caf912c8b051417aff92763847fa377493a153 WHIRLPOOL 6ec3d597b87aff99014404b8b732e6f600aafc3c3eeebfab135c9c19cde2e43161cfa23f841bd72826cc3393b724e1dac115c15dcce2b74ace6f1d6ec209dbf3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQIcBAEBCAAGBQJSmm2UAAoJEJOE+m71LUu6chwP/3hFCQYAf6Mz0vzVbL6ToMBX -3I89FDzXsUDzhRX5ornjqGd6+bdyfJom1mq1nBdWqS6v9Bw9QYbDJfXBxHDtJxhy -5Ap6ggGncyr7pipIsVr8p5XnZ6IiaQ4unXbeG8FAbP7lJn+C55HIBf0aN0I2yq9R -KVxzuoCWum7RjktF9JGY4J8Voj7FXhrlwwz+knRQMKUBvz+zNdZbF9r/ewVXxYqH -ZTu2EdUgkZrA6e7j7gj0fnFfD/6WzYoq5bnJz9LZS8WZVrFBF6QJLoK00Fh/zJaY -Bv2FsXVsG7hox4bjLXPhOUdtKruySGCiza+hi7hfKpYZ46B/vPMAS0rL/pwhWtNV -v3LuB3miV3afS+JGK7rG1zOp8TCx+l5ytxcVZQQPK0VVu2UHZOoqVCz8+a8Jj5KV -7LKFLSKwwaHth8mqtb6N/y3rmPLDFfZru0bbac3LgG9NSQuK+3tZFkukC2vC9mYX -XtoEi5yEigynrGSB2Wu+WwreGnhFHAErJqdDwcoo/a3Nn0Sdxs3C0VVVc+zenJN0 -pSJvomGCJFYy+D3t2sbZe0i/5abBEpRcMalNGwxfkFk87AO+NXkFqN9EqmqoDXew -ADU40MSQTEvNvcG5rGuBc/3f0C9HtHt5ZiUtXI4tvbCx8c3H3LliiqVpbEwqIjrv -j5LxA3wEyjz5Ow9+wIEc -=Nb5n ------END PGP SIGNATURE----- diff --git a/net-p2p/multibit/files/auto-install.xml b/net-p2p/multibit/files/auto-install.xml deleted file mode 100644 index eba5cc6..0000000 --- a/net-p2p/multibit/files/auto-install.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<AutomatedInstallation langpack="eng"> -<com.izforge.izpack.panels.HelloPanel id="UNKNOWN (com.izforge.izpack.panels.HelloPanel)"/> -<com.izforge.izpack.panels.InfoPanel id="UNKNOWN (com.izforge.izpack.panels.InfoPanel)"/> -<com.izforge.izpack.panels.LicencePanel id="UNKNOWN (com.izforge.izpack.panels.LicencePanel)"/> -<com.izforge.izpack.panels.TargetPanel id="UNKNOWN (com.izforge.izpack.panels.TargetPanel)"> -<installpath>ED/opt/MultiBit-0.5.15</installpath> -</com.izforge.izpack.panels.TargetPanel> -<com.izforge.izpack.panels.ShortcutPanel id="UNKNOWN (com.izforge.izpack.panels.ShortcutPanel)"/> -<com.izforge.izpack.panels.InstallPanel id="UNKNOWN (com.izforge.izpack.panels.InstallPanel)"/> -<com.izforge.izpack.panels.FinishPanel id="UNKNOWN (com.izforge.izpack.panels.FinishPanel)"/> -</AutomatedInstallation> diff --git a/net-p2p/multibit/files/multibit b/net-p2p/multibit/files/multibit deleted file mode 100755 index 1ac8055..0000000 --- a/net-p2p/multibit/files/multibit +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -/usr/bin/java -jar /opt/MultiBit-0.5.15/multibit-exe.jar >/dev/null 2>&1 & diff --git a/net-p2p/multibit/metadata.xml b/net-p2p/multibit/metadata.xml deleted file mode 100644 index 1e75873..0000000 --- a/net-p2p/multibit/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> -</pkgmetadata> diff --git a/net-p2p/multibit/multibit-0.5.15.ebuild b/net-p2p/multibit/multibit-0.5.15.ebuild deleted file mode 100644 index b850c98..0000000 --- a/net-p2p/multibit/multibit-0.5.15.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils - -DESCRIPTION="MultiBit is a secure, lightweight, international Bitcoin wallet written in Java" -HOMEPAGE="https://multibit.org/" -SRC_URI="https://multibit.org/releases/${P}/${P}-linux.jar" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=">=virtual/jre-1.6" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_unpack() { -: -} - -src_prepare() { - cp "${FILESDIR}"/auto-install.xml "${WORKDIR}" - sed -i "s:ED:${ED}:" auto-install.xml -} - -src_install() { - exeinto /usr/bin - doexe "${FILESDIR}"/${PN} - - make_desktop_entry "${PN}" "Multibit" "/opt/MultiBit-${PV}/multibit48.png" "GNOME;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/multibit;\nTerminal=false" - - addpredict "$(unset HOME; echo ~)/.gconf" - java -jar "${DISTDIR}"/${P}-linux.jar auto-install.xml >/dev/null 2>&1 -} diff --git a/net-p2p/namecoin-qt/Manifest b/net-p2p/namecoin-qt/Manifest deleted file mode 100644 index 2eb218d..0000000 --- a/net-p2p/namecoin-qt/Manifest +++ /dev/null @@ -1,23 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -DIST namecoin-qt-0.3.72.tar.gz 1453901 SHA256 74d088f96735b3397b9a71bc10bbbe1211cd2594baf593c4b9062457c1d4b869 SHA512 63d42fb1a982f725f22d35992fadb192116b7ee73a418cba52285325df5a56d41b47d3de7d1b9b53b816c160d1909ecff70117de94edead0eab343da6809e417 WHIRLPOOL bd2385a3118406a9076bf3587e3cc8f4e25ddac350ec62901e1d577d92fc113de58fa59f9138dac2e82efcb1553d4dba657cd2092f23800e995756fe98c3f012 -EBUILD namecoin-qt-0.3.72.ebuild 2707 SHA256 786639b7ca54d83b178d68d6223e602677aee0e16b89f2f1e4a5dffeb2193d0a SHA512 1808b54261a6c4a1c2fbe315e81fbca65bbae5eab2f9416f745f77ffc8f1f13215d20674a9ec3aa982ff2609691b03faf1d81bd5f4e3a3958b2fcd1f18f50d69 WHIRLPOOL 237e0b02d38d51fef9770e9fad4ad0030f3b26863fbf207be3a3e8babad31a9e9b4ab5b333e8c08df6628a9aa9f9e293bc5d97e6ad959747ae3d1de9f675b5e4 -MISC metadata.xml 335 SHA256 fd617e5b5cdf18a293d584d24d15a4cf35d3626106804f2424bd2d55143cf804 SHA512 80c5870e0ef0fdb6e4ffc9a7877aeca9269684e1bc42e2dd1ce6ea10214710dc70b4dcf848f581b439ae50d5dac32614c292ca943d023f4d53b773f1af851565 WHIRLPOOL d64f49a82dd2e8107c4dee45b3f56de370064b5303b912be29a9307167b7e0b78659e468647fe370b83d94881121c476acf80cefd943cde67c02ceff38696edc ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQIcBAEBCAAGBQJSmo7+AAoJEJOE+m71LUu63YsP/3vbt4Ug+vv8oUQt4A3yLwPw -4UN3e1i2gHhCWwH8bQByiCkwfn+wDQgAnDObMc9bvpQfsjZCS6IhWgEMjwy/znNz -0b9VWkAUTx9hZrhE+yd0ttLhO6TsMNKzjiNb/ED0uG+n60E/la8BKizgJfF44SMx -v67OHG9+sCcGB7p9B0OdlW8eQvmbi+8igSuSXMuFkiDnsOd8jK2aOYTHguwDh/L2 -FCc3AszxNZsYU+Ww/txQO1PVIwofBLhSyxaqXtpdBD/Q7RIbIcR+dmMvpKsLzMIr -yTgxqplYIqc2bwO1Ifn46UuInYpr8U2Xp22qQWBNqBWjkhRrd8pbRgCyg4D/cpyp -LjLt7TpgE2/eNQr/vFqQiPg8EGcIB/UpKSlGFGIVp7qS7nVc1IS09emAsHBYkF+4 -qNwikWZe9Yvp43X2MvoqKIS+IomAhytIFkKESnX8NRC+Vl28ursfssr5LLbZpaLS -Z6T9tdHXR8KAd2lUOGd1YpexVXKeg8SC7+fajqWnjKrfRAZqYe0+K3f4kgikzVWV -811fKOBnIqyxx242LZNwZtNVnbYCpgiPbSUMAm34V1s28zz8cdfnm534ZPwOc3+c -n5E2hAxjrw9E3rwWuocYNi8175iOnZ2aSb6Gatdv0Whk7jaAtoocarlaPX87BZSF -igxsTHXV+zEtipyyUKvO -=uxXW ------END PGP SIGNATURE----- diff --git a/net-p2p/namecoin-qt/metadata.xml b/net-p2p/namecoin-qt/metadata.xml deleted file mode 100644 index 6365b7b..0000000 --- a/net-p2p/namecoin-qt/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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild b/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild deleted file mode 100644 index b358a43..0000000 --- a/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DB_VER="4.8" - -LANGS="af_ZA ar bg ca_ES cs da de el_GR en es_CL es et eu_ES fa_IR fa fi fr_CA fr gu_IN he hi_IN hr hu it ja lt 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 - -DESCRIPTION="A P2P network based domain name system" -HOMEPAGE="https://dot-bit.org/" -SRC_URI="https://github.com/namecoinq/namecoinq/archive/v${PV/0/Q}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT ISC cryptopp GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -#upnp is broken -#IUSE="dbus ipv6 upnp" -IUSE="dbus ipv6" - -RDEPEND=" - dev-libs/boost[threads(+)] - dev-libs/crypto++ - dev-libs/openssl:0[-bindist] - sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] - dev-qt/qtgui:4 - dbus? ( - dev-qt/qtdbus:4 - ) -" -# Add this when upnp is fixed -# upnp? ( net-libs/miniupnpc) - -DEPEND="${RDEPEND} - >=app-shells/bash-4.1 -" - -S="${WORKDIR}/namecoinq-v${PV/0/Q}" - -src_prepare() { - 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") - -#Upnp is broken -# if use upnp; then -# OPTS+=("USE_UPNP=1") -# else -# OPTS+=("USE_UPNP=-") -# fi - - OPTS+=("USE_UPNP=-") - - 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 - - eqmake4 namecoin-qt.pro "${OPTS[@]}" -} - -#Tests are broken -#src_test() { -# cd src || die -# emake -f makefile.unix "${OPTS[@]}" test_namecoin -# ./test_namecoin || die 'Tests failed' -#} - -src_install() { - qt4-r2_src_install - - dobin ${PN} - - insinto /usr/share/pixmaps - newins "src/qt/res/icons/bitcoin.ico" "${PN}.ico" - - make_desktop_entry "${PN} %u" "Namecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;DNS;" "MimeType=x-scheme-handler/namecoin;\nTerminal=false" -} - -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/namecoind/Manifest b/net-p2p/namecoind/Manifest deleted file mode 100644 index 9b1556a..0000000 --- a/net-p2p/namecoind/Manifest +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX namecoin.conf 80 SHA256 541ae10cc2246b620de3e7efa97eee59efacf83d28ea5f1297a121d0708226d2 SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f WHIRLPOOL 728e38b62da2c7c3a1149ac511b92d156f7b3c51dacfadd7ce74d9e6f915a6547c4cc8d34159243f50eee333c63b35949b311ea5a7f48a6c3bf17a5d4d47c123 -AUX namecoin.confd 244 SHA256 4fbf157c72d254497298f0e08440dd038f668b921dd61ff5c3306e0a02bb8e1f SHA512 dedd94211b7808a8bd067c929ce5dd7f864cb8ae9c90eceb4856cf88cd81ec0ae20ad12c38450257e6d5c08f7eeca7cb116bfc2b7fe28bd854668eaf67f65b5d WHIRLPOOL 55b75fe9cd772fc24fb857ec2c9930cdb162dd425b5903adb586f9220516ef1b06a3090f5733a471d5819797b6763bb7350a57d0786f29b4bcdfa737ee5ac9d9 -AUX namecoin.initd 2510 SHA256 794f327eb304a9e7ea47a8b9c3cae99a671b4069046ab02845f3ddc2deed73a0 SHA512 cf639ccb07366e29e00f3165ede6497109d72c820d27b186d31003768deeea2103568f2d24f2cc04d994e096d6a33e3b15c8aacd2c340ffc2f5d6d9d71b58842 WHIRLPOOL 78b8c1033570089e4d7609c14a8548d2c4f4d9bfdac1c99f7f6f0a800af14f6a12488a5c5e5215b5d1e6add13e163e234dd06748a338227a1a5eeb30ec34af8c -AUX namecoind-0.3.72-makefile.patch 1582 SHA256 c69a27a610e906fe7605fa5c5df4c497795c5580b2f55b0db987ce95616110cc SHA512 9102a487acdb176c7b77fc7fab73b5aa7f5098819030bad813890e96d01ba9250817b39b1fa2c945cc6bce67f92f66ae429a81c7d760a1740d46fc88d8f9efd5 WHIRLPOOL 717a4eaeb253d1c4aab5fce83daddfcee26a06a999487625c9c8df3c70448b591ae8b5a358e08a33450c4d2da6ea08aee75a54e2761c6448ac1d30c1d93e239e -DIST namecoind-0.3.72.tar.gz 1453901 SHA256 74d088f96735b3397b9a71bc10bbbe1211cd2594baf593c4b9062457c1d4b869 SHA512 63d42fb1a982f725f22d35992fadb192116b7ee73a418cba52285325df5a56d41b47d3de7d1b9b53b816c160d1909ecff70117de94edead0eab343da6809e417 WHIRLPOOL bd2385a3118406a9076bf3587e3cc8f4e25ddac350ec62901e1d577d92fc113de58fa59f9138dac2e82efcb1553d4dba657cd2092f23800e995756fe98c3f012 -EBUILD namecoind-0.3.72.ebuild 1741 SHA256 ebaf8d1a0489601844ecad5bdd93a646e5e839a2bf3d2354a1d295b5e0eb577d SHA512 55930697a9e3dedbcc7dd63c7260bb92bcf338d16e5483320b80638e4b350a16d46a714e8adf30fd8785f0f92315983d488d09ea2af062dcca9e58da14e87a0f WHIRLPOOL 4b3dc0ede54087eb9e9f50bae21874ce8974c333b399ca1e923dd9c3c05ed9dad35acec72001f679106f8a4697d26b9cda1d593b761a80710d438d2bf59f847f -MISC metadata.xml 238 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f SHA512 3c3d75f1cb90ffcfb98df47481fbde6d451254a29fa87577acd25bc27cbcc3e5dbc0c1efce5974be905428f0b7caf912c8b051417aff92763847fa377493a153 WHIRLPOOL 6ec3d597b87aff99014404b8b732e6f600aafc3c3eeebfab135c9c19cde2e43161cfa23f841bd72826cc3393b724e1dac115c15dcce2b74ace6f1d6ec209dbf3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQIcBAEBCAAGBQJSmpCEAAoJEJOE+m71LUu6vLkP/itRTVQT5gCrnqXDxws9h/eS -oRiJXWo8hxNlb3aUAQ587TbLQfqzLt9mQ2bVo4+Jxu0IMy8ZYpQhUTyEwkzIrn1R -d9go26AU92/cQrj3eiQ3ufMZKo1pqXYVA3YKvaL192mRsSqLw+OUMZ7ldrgBfCh5 -SnqwpHEuoCzqIHySoz7QxvVfxb3ksHpi7IOWJTg+sk0bkSGZMr2P6ytWjdURVhOM -/PFt6529g+UatBU7/EgsEuS14ycQJW9/eZH79jJWHvKxkmEyThRG4ottIm8/MQP+ -eqMDQazd3EgtP0EYEU9EOQdZFkgUVsx/mb4q7XsfcQdLCLgI4jy28RxMeSbS15fL -OVp2Z+HslBIPH+h46HMexOFBn4MYySlWpzuzLTe+6JvZBBjv3T8cUoHoxYGs3cNj -PcWFK8dd9vyhJALPBVa3joLcxshw5JABsuL7lNF89F0DZMBy+HcNRCoUOuMUhPlN -JA6/baZd72eh9o/trJI0iGPDJX/x2hAhL/KUq4xLr3WLsKnu8AvAvTlpf4X14ehh -PKiVkLrRE5CIEcKGwWm9FwhTOR59KPiqEgSv2YXX8arQ9VZLiMfCcQ/qyjlakMo5 -0GHRL8T+BK0JLT4dEIxUoKo27J6tQt/VmA/T9ECCPadj5GOwu1mol+4Ktq2LHZ+2 -rUxmrZ06kOBtp1y9NCEC -=HiSu ------END PGP SIGNATURE----- diff --git a/net-p2p/namecoind/files/namecoin.conf b/net-p2p/namecoind/files/namecoin.conf deleted file mode 100644 index c6a55f3..0000000 --- a/net-p2p/namecoind/files/namecoin.conf +++ /dev/null @@ -1,8 +0,0 @@ -# http://www.bitcoin.org/smf/index.php?topic=644.0 -#rpcuser= -#rpcpassword= - - - - - diff --git a/net-p2p/namecoind/files/namecoin.confd b/net-p2p/namecoind/files/namecoin.confd deleted file mode 100644 index 0120a56..0000000 --- a/net-p2p/namecoind/files/namecoin.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Config file for /etc/init.d/namecoin - -# owner of namecoind process (don't change, must be existing) -NAMECOIN_USER="namecoin" - -# See http://www.bitcoin.org/smf/index.php?topic=1063 -NAMECOIN_OPTS="${NAMECOIN_OPTS}" - -# nice level -NICELEVEL="19" diff --git a/net-p2p/namecoind/files/namecoin.initd b/net-p2p/namecoind/files/namecoin.initd deleted file mode 100644 index 4330c91..0000000 --- a/net-p2p/namecoind/files/namecoin.initd +++ /dev/null @@ -1,104 +0,0 @@ -#!/sbin/runscript -# Distributed under the terms of the GNU General Public License, v2 or later - -VARDIR="/var/lib/namecoin" -CONFFILE="${VARDIR}/.namecoin/bitcoin.conf" - -depend() { - need net -} - -checkconfig() { - if [[ "${NAMECOIN_USER}" == "" ]] ; then - eerror "Please edit /etc/conf.d/namecoind" - eerror "A user must be specified to run namecoind 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 "${NAMECOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then - eerror "Please edit /etc/conf.d/namecoind" - eerror "Specified user must exist!" - return 1 - fi - if `echo "${NAMECOIN_USER}" | grep ':' -sq` ; then - if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${NAMECOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then - eerror "Please edit /etc/conf.d/namecoind" - 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 Namecoind daemon" - - pkg-config openrc - if [ $? = 0 ]; then - start_openrc - else - start_baselayout - fi -} - -stop() { - ebegin "Stopping Namecoin daemon" - - pkg-config openrc - if [ $? = 0 ]; then - stop_openrc - else - stop_baselayout - fi -} - -start_openrc() { - start-stop-daemon \ - --start --user "${NAMECOIN_USER}" --name namecoind \ - --pidfile /var/run/namecoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/namecoind \ - --nicelevel "${NICELEVEL}" \ - --background \ - --wait 2000 \ - -- ${NAMECOIN_OPTS} - eend $? -} - -stop_openrc() { - start-stop-daemon --stop --user "${NAMECOIN_USER}" \ - --name namecoind --pidfile /var/run/namecoind.pid \ - --wait 30000 \ - --progress - eend $? -} - -start_baselayout() { - start-stop-daemon \ - --start --user "${NAMECOIN_USER}" --name namecoind \ - --pidfile /var/run/namecoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/namecoind \ - --chuid "${NAMECOIN_USER}" \ - --nicelevel "${NICELEVEL}" \ - --background \ - -- ${NAMECOIN_OPTS} - eend $? -} - -stop_baselayout() { - start-stop-daemon \ - --stop \ - --user "${NAMECOIN_USER}" \ - --name namecoind \ - --pidfile /var/run/namecoind.pid - eend $? -} diff --git a/net-p2p/namecoind/files/namecoind-0.3.72-makefile.patch b/net-p2p/namecoind/files/namecoind-0.3.72-makefile.patch deleted file mode 100644 index f899694..0000000 --- a/net-p2p/namecoind/files/namecoind-0.3.72-makefile.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -Naur namecoinq-vQ.3.72.orig/src/Makefile namecoinq-vQ.3.72/src/Makefile ---- namecoinq-vQ.3.72.orig/src/Makefile 2013-10-29 09:38:10.000000000 -0400 -+++ namecoinq-vQ.3.72/src/Makefile 2013-11-30 18:43:25.016028725 -0500 -@@ -1,6 +1,6 @@ --CXX=g++ -+CXX?=g++ - --DEFS=-D_MT -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -+DEFS=-D_MT -DNOPCH -DFOURWAYSSE2 -DUSE_SSL - - # Detect MinGW - MINGW=$(shell uname -s|grep -i mingw32) -@@ -8,20 +8,10 @@ - # Link boost statically - DEFS += -DBOOST_THREAD_USE_LIB - --INCLUDEPATHS= \ -- -I../libs/openssl-1.0.1e/include \ -- -I../libs/db-4.7.25.NC/build_unix \ -- -I../libs/boost_1_50_0 -- --LIBPATHS= \ -- -L../libs/openssl-1.0.1e \ -- -L../libs/db-4.7.25.NC/build_unix \ -- -L../libs/boost_1_50_0/stage/lib -- - LIBBOOST_SUFFIX= - - LIBS= \ -- -Wl,-Bstatic \ -+ -Wl,-Bdynamic \ - -l boost_system$(LIBBOOST_SUFFIX) \ - -l boost_filesystem$(LIBBOOST_SUFFIX) \ - -l boost_program_options$(LIBBOOST_SUFFIX) \ -@@ -70,7 +60,7 @@ - -l pthread - endif - --CXXFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEFS) $(INCLUDEPATHS) -+#CXXFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEFS) $(INCLUDEPATHS) - HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \ - script.h allocators.h db.h walletdb.h crypter.h net.h irc.h keystore.h main.h wallet.h bitcoinrpc.h uibase.h ui.h noui.h init.h auxpow.h - -@@ -110,7 +100,7 @@ - obj/nogui/namecoin.o: namecoin.h - - namecoind: $(OBJS:obj/%=obj/nogui/%) obj/nogui/namecoin.o -- $(CXX) $(CXXFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) -+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) - - clean: - -rm -f namecoin namecoind diff --git a/net-p2p/namecoind/metadata.xml b/net-p2p/namecoind/metadata.xml deleted file mode 100644 index 1e75873..0000000 --- a/net-p2p/namecoind/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> -</pkgmetadata> diff --git a/net-p2p/namecoind/namecoind-0.3.72.ebuild b/net-p2p/namecoind/namecoind-0.3.72.ebuild deleted file mode 100644 index a0a4320..0000000 --- a/net-p2p/namecoind/namecoind-0.3.72.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2010-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -DB_VER="4.8" - -inherit db-use eutils toolchain-funcs - -DESCRIPTION="A P2P network based domain name system" -HOMEPAGE="https://dot-bit.org/" -SRC_URI="https://github.com/namecoinq/namecoinq/archive/v${PV/0/Q}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT ISC cryptopp" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ssl upnp" - -RDEPEND=" - dev-libs/boost[threads(+)] - dev-libs/crypto++ - dev-libs/openssl[-bindist] - upnp? ( - net-libs/miniupnpc - ) - sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] -" -DEPEND="${RDEPEND} - >=app-shells/bash-4.1 -" - -S="${WORKDIR}/namecoinq-v${PV/0/Q}" - -pkg_setup() { - local UG='namecoin' - enewgroup "${UG}" - enewuser "${UG}" -1 -1 /var/lib/namecoin "${UG}" -} - -src_prepare() { - epatch "${FILESDIR}"/namecoind-0.3.72-makefile.patch -} - -src_compile() { - local OPTS=() - - OPTS+=("CXXFLAGS=${CXXFLAGS} -I$(db_includedir "${DB_VER}")") - OPTS+=("LDFLAGS=${LDFLAGS} -ldb_cxx-${DB_VER}") - - use ssl && OPTS+=(USE_SSL=1) - use upnp && OPTS+=(USE_UPNP=1) - - cd src || die - emake CXX="$(tc-getCXX)" "${OPTS[@]}" ${PN} -} - -src_install() { - dobin src/${PN} - - insinto /etc/namecoin - doins "${FILESDIR}/namecoin.conf" - fowners namecoin:namecoin /etc/namecoin/namecoin.conf - fperms 600 /etc/namecoin/namecoin.conf - - newconfd "${FILESDIR}/namecoin.confd" ${PN} - newinitd "${FILESDIR}/namecoin.initd" ${PN} - - keepdir /var/lib/namecoin/.namecoin - fperms 700 /var/lib/namecoin - fowners namecoin:namecoin /var/lib/namecoin/ - fowners namecoin:namecoin /var/lib/namecoin/.namecoin - dosym /etc/namecoin/namecoin.conf /var/lib/namecoin/.namecoin/bitcoin.conf - - dodoc doc/README - dodoc DESIGN-namecoin.md FAQ.md doc/README_merged-mining.md -} diff --git a/net-p2p/ppcoin-qt/Manifest b/net-p2p/ppcoin-qt/Manifest deleted file mode 100644 index 5be0e7e..0000000 --- a/net-p2p/ppcoin-qt/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST ppcoin-0.3.0.tar.gz 12233878 SHA256 919bb1c60eeebdd173ddcd4c83264f745bbf2af29410ded062f6c6bfce44f694 SHA512 c5f505a162e5044b3173c301d52b4851a6e3fbb4dbc2742c7204d583f534e235b1c8942b1afc5d9613d6a37009da83e1a9708fe4edfb68cb9717b76666bf029f WHIRLPOOL ab23d64672cfa9882d1dd23aad6a7448c9f4d7669557ddadabf80a1733682a46d4b5becc4605b40fbd2e943203897edfc4ba8904dee284bde055d81769404246 -EBUILD ppcoin-qt-0.3.0.ebuild 2870 SHA256 0d2e490d04b1b69cee1d5dcca18b45a67d358458f4588406071ae7b6dd84c3bb SHA512 74792efe6441f9f55df629eb165877e7cb1adb65e071e9704e467b7059d5e4da412e5fe2976c3370bca73dabbda7af019c4007a7f81e834124dc40c7539467a3 WHIRLPOOL 08c750a28637be99dff76c26032a78f59e4f7326496099bd6065d36406abc0aea2491de052a689bb0c24cb3f2788430145d84a28821bf736dfa2ce2c6b470b0c -MISC metadata.xml 335 SHA256 fd617e5b5cdf18a293d584d24d15a4cf35d3626106804f2424bd2d55143cf804 SHA512 80c5870e0ef0fdb6e4ffc9a7877aeca9269684e1bc42e2dd1ce6ea10214710dc70b4dcf848f581b439ae50d5dac32614c292ca943d023f4d53b773f1af851565 WHIRLPOOL d64f49a82dd2e8107c4dee45b3f56de370064b5303b912be29a9307167b7e0b78659e468647fe370b83d94881121c476acf80cefd943cde67c02ceff38696edc diff --git a/net-p2p/ppcoin-qt/metadata.xml b/net-p2p/ppcoin-qt/metadata.xml deleted file mode 100644 index 6365b7b..0000000 --- a/net-p2p/ppcoin-qt/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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild b/net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild deleted file mode 100644 index 74fe029..0000000 --- a/net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DB_VER="4.8" - -LANGS="ca_ES cs da de en es_CL es et eu_ES fa_IR fa fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW" - -inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 - -MyPV="${PV/_/-}" -MyPN="ppcoin" -MyP="${MyPN}-${MyPV}" - -DESCRIPTION="Cryptocurrency forked from Bitcoin which aims to be energy efficiency." -HOMEPAGE="http://peercoin.net/" -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-qt/qtgui:4 - dbus? ( - dev-qt/qtdbus:4 - ) -" -DEPEND="${RDEPEND} - >=app-shells/bash-4.1 -" - -DOCS="README" - -S="${WORKDIR}/${MyP}-linux/src" - -src_prepare() { - 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 ppcoin 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_ppcoin -# ./test_ppcoin || die 'Tests failed' -#} - -src_install() { - qt4-r2_src_install - - dobin ${PN} - - insinto /usr/share/pixmaps - newins "src/qt/res/icons/ppcoin.ico" "${PN}.ico" - - make_desktop_entry "${PN} %u" "PPcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/ppcoin;\nTerminal=false" - - 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/ppcoind/Manifest b/net-p2p/ppcoind/Manifest deleted file mode 100644 index ff34cb6..0000000 --- a/net-p2p/ppcoind/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX ppcoin.conf 80 SHA256 541ae10cc2246b620de3e7efa97eee59efacf83d28ea5f1297a121d0708226d2 SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f WHIRLPOOL 728e38b62da2c7c3a1149ac511b92d156f7b3c51dacfadd7ce74d9e6f915a6547c4cc8d34159243f50eee333c63b35949b311ea5a7f48a6c3bf17a5d4d47c123 -AUX ppcoin.confd 233 SHA256 fb877ae7608b5c2aaae29e522d8cfb42e51e064831c64b228b64da2b11aac64d SHA512 efb8f210143d993e922668e3daffc8bb74406be2f912729f68ebfcbcb3d44e10e0fed495963c4273a95099d37f3afc66b49616724bd827e6b4359b2e3a27d9c3 WHIRLPOOL 12e7a8e82d33b023be054c6c019cc61a5783e32e108e54358c76789e1e89ce441a095561e1a4750cb341350ef7da7a97b6ebfb06f8ec3a7fcd2809e27d5eb110 -AUX ppcoin.initd 2451 SHA256 36146630912dcf0468f0ec8311baa3eb5150e596c8a5963f293610804ba818dc SHA512 ed289b877653b42132a3c9b85832a7248da2c2956adffadfe71523b7d01feafd7738ebf050c0dee974237ea015b46610221ecb1d706ea4593e53ee6cb6c02448 WHIRLPOOL 5460640f1aed58cca4e1b3a45d0e93f8997a16df21c75beb1972dd4371bdf166a6d3b067acd1167a850e97794abd2943bebd12b8cac7cfd8ee9252cbdc0968e5 -AUX ppcoin.service 859 SHA256 df6e7f616816a07efb4d3d627d1ee80699f541bdcbafce7ba7aef2640291bce9 SHA512 8395ef4f5b026757f4202c78eb55b6978d2cdec49f6db801bb6daddea8d8a524afacf53368a78c3a7055ce5cc4ada53ac6c88567b02951fa7a722e5dd9ebd3c1 WHIRLPOOL bbd546e3d7043132f65117e567fe0f0b756f60093184e67316398cc8589f46a5029d9118431a4fa2d5e9e834c1f2beb180f0e5e20f8d7a8ae1fa96273b278076 -AUX ppcoind.logrotate 107 SHA256 5aefed737e73b6393e2f004318b34429616a35187131bade4743a1c8aa7e7d91 SHA512 bf36d07a6dcebcc50ac7e0b74433333902df6ef22396a876b96289cca90882720ed95ef0cc8fbf3abeea6800cbe2386e56b27bb798922f3be98134dee1caed69 WHIRLPOOL 68521503b26df24b66dd20a9ef3174ffc1427abf483185b709d46fc54d148250e4a85ee887e292398063205737640b7accd7365cd707ea5c3e80b72b503e3880 -DIST ppcoin-0.3.0.tar.gz 12233878 SHA256 919bb1c60eeebdd173ddcd4c83264f745bbf2af29410ded062f6c6bfce44f694 SHA512 c5f505a162e5044b3173c301d52b4851a6e3fbb4dbc2742c7204d583f534e235b1c8942b1afc5d9613d6a37009da83e1a9708fe4edfb68cb9717b76666bf029f WHIRLPOOL ab23d64672cfa9882d1dd23aad6a7448c9f4d7669557ddadabf80a1733682a46d4b5becc4605b40fbd2e943203897edfc4ba8904dee284bde055d81769404246 -EBUILD ppcoind-0.3.0.ebuild 2585 SHA256 008c3ec110c48dbdc119f06cafd1d6576bf1a4e87b043720d7abfefe1190b0b7 SHA512 c11d881e8a02b0f11672228bbb1dcabe068e5cff6fcc3fc924734bcf997d1b95e310c007619716a22e6e1f39e9cd9182844f1def1003e11d6636ae0b78fb18ee WHIRLPOOL 148fce902490690a65a3495e8f8fb7d5fe36f29f31a3cebb735032152342094e7d2c82873c61813f9af0c58c062c95db2749db9ef45fa3a0b46631614a93f409 -MISC metadata.xml 327 SHA256 2009a65ac31a6a928926715ab212766020927524623581b18ee1f5026a6a689c SHA512 4d68f30b7c29aa5b6c3f7fd5c657ffbbe12706ce5d8d332cd8848906a27ae852e39d48219f6137a65c31db9c7693c2218edf8b6b1511cb1098d86bdb394cd0f9 WHIRLPOOL f7ad1bdb29423c9a88a721e77168aa35372a3411f77c775e2ac518eefc7ee39def4a307a66b4da02f80a6e9d8cdcff8fafa20da1792b7909e84bcad67598c4d9 diff --git a/net-p2p/ppcoind/files/ppcoin.conf b/net-p2p/ppcoind/files/ppcoin.conf deleted file mode 100644 index c6a55f3..0000000 --- a/net-p2p/ppcoind/files/ppcoin.conf +++ /dev/null @@ -1,8 +0,0 @@ -# http://www.bitcoin.org/smf/index.php?topic=644.0 -#rpcuser= -#rpcpassword= - - - - - diff --git a/net-p2p/ppcoind/files/ppcoin.confd b/net-p2p/ppcoind/files/ppcoin.confd deleted file mode 100644 index 81fbf49..0000000 --- a/net-p2p/ppcoind/files/ppcoin.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Config file for /etc/init.d/ppcoind - -# owner of ppciond process (don't change, must be existing) -PPCOIN_USER="ppcoin" - -# See http://www.bitcoin.org/smf/index.php?topic=1063 -PPCOIN_OPTS="${PPCOIN_OPTS}" - -# nice level -NICELEVEL="19" diff --git a/net-p2p/ppcoind/files/ppcoin.initd b/net-p2p/ppcoind/files/ppcoin.initd deleted file mode 100644 index 1c73731..0000000 --- a/net-p2p/ppcoind/files/ppcoin.initd +++ /dev/null @@ -1,104 +0,0 @@ -#!/sbin/runscript -# Distributed under the terms of the GNU General Public License, v2 or later - -VARDIR="/var/lib/ppcoin" -CONFFILE="${VARDIR}/.ppcoin/ppcoin.conf" - -depend() { - need net -} - -checkconfig() { - if [[ "${PPCOIN_USER}" == "" ]] ; then - eerror "Please edit /etc/conf.d/ppcoind" - eerror "A user must be specified to run ppcoind 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 "${PPCOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then - eerror "Please edit /etc/conf.d/ppcoind" - eerror "Specified user must exist!" - return 1 - fi - if `echo "${PPCOIN_USER}" | grep ':' -sq` ; then - if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${PPCOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then - eerror "Please edit /etc/conf.d/ppcoind" - 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 PPcoind daemon" - - pkg-config openrc - if [ $? = 0 ]; then - start_openrc - else - start_baselayout - fi -} - -stop() { - ebegin "Stopping PPcoin daemon" - - pkg-config openrc - if [ $? = 0 ]; then - stop_openrc - else - stop_baselayout - fi -} - -start_openrc() { - start-stop-daemon \ - --start --user "${PPCOIN_USER}" --name ppcoind \ - --pidfile /var/run/ppcoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/ppcoind \ - --nicelevel "${NICELEVEL}" \ - --background \ - --wait 2000 \ - -- ${PPCOIN_OPTS} - eend $? -} - -stop_openrc() { - start-stop-daemon --stop --user "${PPCOIN_USER}" \ - --name ppcoind --pidfile /var/run/ppcoind.pid \ - --wait 30000 \ - --progress - eend $? -} - -start_baselayout() { - start-stop-daemon \ - --start --user "${PPCOIN_USER}" --name ppcoind \ - --pidfile /var/run/ppcoind.pid --make-pidfile \ - --env HOME="${VARDIR}" --exec /usr/bin/ppcoind \ - --chuid "${PPCOIN_USER}" \ - --nicelevel "${NICELEVEL}" \ - --background \ - -- ${PPCOIN_OPTS} - eend $? -} - -stop_baselayout() { - start-stop-daemon \ - --stop \ - --user "${PPCOIN_USER}" \ - --name ppcoind \ - --pidfile /var/run/ppcoind.pid - eend $? -} diff --git a/net-p2p/ppcoind/files/ppcoin.service b/net-p2p/ppcoind/files/ppcoin.service deleted file mode 100644 index 3a83178..0000000 --- a/net-p2p/ppcoind/files/ppcoin.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/ppcoind.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/ppcoind.service.d/myopts.conf" -# containing: -# [Service] -# Environment="PPCOIN_OPTS=-debug -logtimestamps" -# Nice=10 -# This will override the setting appearing below. - -# Note that almost all daemon options could be specified in -# /etc/ppcoin/ppcoin.conf - -[Unit] -Description=PPcoin Daemon -After=network.target - -[Service] -User=ppcoin -Environment=PPCOIN_OPTS= -ExecStart=/usr/bin/ppcoind -daemon=0 $PPCOIN_OPTS -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/ppcoind/files/ppcoind.logrotate b/net-p2p/ppcoind/files/ppcoind.logrotate deleted file mode 100644 index 4ea060b..0000000 --- a/net-p2p/ppcoind/files/ppcoind.logrotate +++ /dev/null @@ -1,7 +0,0 @@ -/var/lib/ppcoin/.ppcoin/debug.log { - weekly - sharedscripts - postrotate - killall -HUP ppcoind - endscript -} diff --git a/net-p2p/ppcoind/metadata.xml b/net-p2p/ppcoind/metadata.xml deleted file mode 100644 index 5c226ba..0000000 --- a/net-p2p/ppcoind/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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='logrotate'>Use app-admin/logrotate for rotating logs</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/ppcoind/ppcoind-0.3.0.ebuild b/net-p2p/ppcoind/ppcoind-0.3.0.ebuild deleted file mode 100644 index 56461f8..0000000 --- a/net-p2p/ppcoind/ppcoind-0.3.0.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DB_VER="4.8" - -inherit bash-completion-r1 db-use eutils systemd - -MyPV="${PV/_/-}" -MyPN="ppcoin" -MyP="${MyPN}-${MyPV}" - -DESCRIPTION="Cryptocurrency forked from Bitcoin which aims to be energy efficiency." -HOMEPAGE="http://peercoin.net/" -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] -" -DEPEND="${RDEPEND} - >=app-shells/bash-4.1 - sys-apps/sed -" - -S="${WORKDIR}/${MyP}-linux/src" - -pkg_setup() { - local UG='ppcoin' - enewgroup "${UG}" - enewuser "${UG}" -1 -1 /var/lib/ppcoin "${UG}" -} - -src_prepare() { - 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 -#src_test() { -# cd src || die -# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_ppcoin -# ./test_ppcoin || die 'Tests failed' -#} - -src_install() { - dobin src/${PN} - - insinto /etc/ppcoin - doins "${FILESDIR}/ppcoin.conf" - fowners ppcoin:ppcoin /etc/ppcoin/ppcoin.conf - fperms 600 /etc/ppcoin/ppcoin.conf - - newconfd "${FILESDIR}/ppcoin.confd" ${PN} - newinitd "${FILESDIR}/ppcoin.initd" ${PN} - systemd_dounit "${FILESDIR}/ppcoin.service" - - keepdir /var/lib/ppcoin/.ppcoin - fperms 700 /var/lib/ppcoin - fowners ppcoin:ppcoin /var/lib/ppcoin/ - fowners ppcoin:ppcoin /var/lib/ppcoin/.ppcoin - dosym /etc/ppcoin/ppcoin.conf /var/lib/ppcoin/.ppcoin/ppcoin.conf - - dodoc README - newman contrib/debian/manpages/bitcoind.1 ppcoind.1 - newman contrib/debian/manpages/bitcoin.conf.5 ppcoin.conf.5 - - if use examples; then - docinto examples - dodoc -r contrib/{bitrpc,gitian-descriptors,gitian-downloader,pyminer,wallettools} - - fi - - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/ppcoind.logrotate" ppcoind - fi -} diff --git a/net-p2p/primecoin-qt/Manifest b/net-p2p/primecoin-qt/Manifest deleted file mode 100644 index 8a900c9..0000000 --- a/net-p2p/primecoin-qt/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX primecoin-sys_leveldb.patch 6836 SHA256 460e6d013d897d108c8c0234dc0a5f57b114b050c586f8877ef8ad7c3f1f6dba SHA512 b7dd42bf2a83528db7b828fd95e93a9c025cb84ea3844591a4012fd2504a785cbdc589ceff6324664a44087d09a133c05eed186c4dfa82b534257224ff0f906f WHIRLPOOL b6a178d084d9f877c82cba21301071e542e39e63865dcb0179d2a2b3d6e1d72d2ae9263a3332c4512298d29850023e5b8b1249f86520d8ad3c55fcd339a46013 -DIST primecoin-0.1.2.tar.gz 16521236 SHA256 d0f3c6a91b4d505f25e9284bcca85e420cf09d0e6cf71e5a001b7e1367ef46d0 SHA512 cff71b0e6459c4e534e78acef9491090d05c0cb864a068c0a3cb289310a1ee13fd69c7b61a7d6cb9732af54fbcf1fa4e77db8c8528a09bbdafd36421fdf7aff1 WHIRLPOOL 5031efa135dcf08975a06a037179863ad180920e0c55e0ec5d1863b4b24d005ce829fa0e0f081120d3610bc0abd1d3919db477a33e32ec6d0d353b7177480eb1 -EBUILD primecoin-qt-0.1.2.ebuild 3135 SHA256 b6acacca97172009af942cf357b320fc76448a0d525b6dd95cceeefe653d8ef0 SHA512 0c632ab9032797c7b578590ed09f80c772b5a4100600ddc4e80fb8bfc1c976bd0320c77ae16a2c5186179cb2e062c2ddf96c1d6c22ebf591f8b41f06d4081214 WHIRLPOOL 6f878143d2badfb77673914ea851d773f7eb82dc037ec95d993009dcc5e98dd65392de0bac7d1540ee123f5c2536be7d7f343f074aa56b7dcf23b6676d3a85b2 -MISC metadata.xml 335 SHA256 fd617e5b5cdf18a293d584d24d15a4cf35d3626106804f2424bd2d55143cf804 SHA512 80c5870e0ef0fdb6e4ffc9a7877aeca9269684e1bc42e2dd1ce6ea10214710dc70b4dcf848f581b439ae50d5dac32614c292ca943d023f4d53b773f1af851565 WHIRLPOOL d64f49a82dd2e8107c4dee45b3f56de370064b5303b912be29a9307167b7e0b78659e468647fe370b83d94881121c476acf80cefd943cde67c02ceff38696edc 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 39d0aa6..0000000 --- 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 6365b7b..0000000 --- a/net-p2p/primecoin-qt/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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/primecoin-qt/primecoin-qt-0.1.2.ebuild b/net-p2p/primecoin-qt/primecoin-qt-0.1.2.ebuild deleted file mode 100644 index ddf284e..0000000 --- a/net-p2p/primecoin-qt/primecoin-qt-0.1.2.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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" "PPcoin-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 9f5a1b1..0000000 --- a/net-p2p/primecoind/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX primecoin-sys_leveldb.patch 6836 SHA256 460e6d013d897d108c8c0234dc0a5f57b114b050c586f8877ef8ad7c3f1f6dba SHA512 b7dd42bf2a83528db7b828fd95e93a9c025cb84ea3844591a4012fd2504a785cbdc589ceff6324664a44087d09a133c05eed186c4dfa82b534257224ff0f906f WHIRLPOOL b6a178d084d9f877c82cba21301071e542e39e63865dcb0179d2a2b3d6e1d72d2ae9263a3332c4512298d29850023e5b8b1249f86520d8ad3c55fcd339a46013 -AUX primecoin.conf 80 SHA256 541ae10cc2246b620de3e7efa97eee59efacf83d28ea5f1297a121d0708226d2 SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f WHIRLPOOL 728e38b62da2c7c3a1149ac511b92d156f7b3c51dacfadd7ce74d9e6f915a6547c4cc8d34159243f50eee333c63b35949b311ea5a7f48a6c3bf17a5d4d47c123 -AUX primecoin.confd 251 SHA256 a6aed5bde7b688ccdbeff88b67e5f912f031ca65fb9cc5c0ce0ddc3d00fd7ac2 SHA512 e291ae30a35b19e29982615875003c0d9c81b70e79f023ad4ada0166ba9199df5dd17d7f72750d9fe681e2c7ccfa5696e9f34a661449fa4a1210690e4d4c0d4e WHIRLPOOL a36b5e113598c68c947b829822d5f0f4f8a1944dda2905a73268f2ec48ff47b1dd2af4833c22e7acda92de52125e671cb6d8b847c3421658d044c16170aeeb87 -AUX primecoin.initd 2541 SHA256 39697a124ab6bbccb2688ffad3dcd3761020941fc5c10c2129685f57c00e8ce0 SHA512 41a6a7272701b95cf5f4fe9fac60ff0f126ce49f02cd27955d76fbc7bf630aa5c6b5dc16f15e3eba22a28ffef9430132cbdcec8150ffc6c087809843ffebb767 WHIRLPOOL d5f842d64cd6f333f710ed836ce7da9cacce5822dd28644eb7a3c8aaece52b5a0a63af7080280a60e3def35fe73167184afe0de8dd4e845d0231d3a461a5bd42 -AUX primecoin.service 889 SHA256 f38b0b67a950b1b43dce4906aeece22bd186ddc198bce0b9136edc5bf4149fd3 SHA512 5b37b776f419bf9da51952e9a4b3bc7f8879297d1e6d8d551ea4658a8daf7f2f5138bd018443a514ee7787b8c6265fadc409bbc9bdb1d58a8df34ae312dbfd0f WHIRLPOOL 503a5e730cd9cee91308d8d79a0ed59f3ef0fe7dbd1c673c82deb5f12cf3c7c07de498d31b996c9fe0523ebba50752c792f8b636896b01b04718de2e929512d9 -AUX primecoind.logrotate 116 SHA256 fb78530aad1491be7c75dede40e82809020b438f272a6a8506ba74eb9af0691b SHA512 ad6873f47e73a305e3b44fc0a6e9ef430a2e82392ff6c5230f365aaa1b1d64afc8d97094006dc2b57b8b9245288f3e144ecdccb5913d98d7171fcd6a216022e9 WHIRLPOOL 0d6c4b3fcbe60de559febe9d8029de177821c0aceec31fdae3b9b907aebc24ffc4f1b7ecc2102a8ae486f25ac00fd479a1b349ce2ed39a1e6fb85a620b30a97e -DIST primecoin-0.1.2.tar.gz 16521236 SHA256 d0f3c6a91b4d505f25e9284bcca85e420cf09d0e6cf71e5a001b7e1367ef46d0 SHA512 cff71b0e6459c4e534e78acef9491090d05c0cb864a068c0a3cb289310a1ee13fd69c7b61a7d6cb9732af54fbcf1fa4e77db8c8528a09bbdafd36421fdf7aff1 WHIRLPOOL 5031efa135dcf08975a06a037179863ad180920e0c55e0ec5d1863b4b24d005ce829fa0e0f081120d3610bc0abd1d3919db477a33e32ec6d0d353b7177480eb1 -EBUILD primecoind-0.1.2.ebuild 3024 SHA256 c661c2e767999b8ac9b936126a4c27c8b57bff190c6a30a8e18a1cead281fc4f SHA512 2d7327fc9f6a711d43d755222fde4ca434c8e02603f187046d0b92ca04f840c35f44ea4683bc4df6cbc5bd2097bc846927d40aab295ac86f464419125566ef2b WHIRLPOOL 49caeaef12029e0abbdf62c7af083523d388382c5e611cfd157cfd7542ce47ee8aaae12aee309551d9aa58b2b7ba8db27cdce5ab20c248a653eff8830dfbee33 -MISC metadata.xml 327 SHA256 2009a65ac31a6a928926715ab212766020927524623581b18ee1f5026a6a689c SHA512 4d68f30b7c29aa5b6c3f7fd5c657ffbbe12706ce5d8d332cd8848906a27ae852e39d48219f6137a65c31db9c7693c2218edf8b6b1511cb1098d86bdb394cd0f9 WHIRLPOOL f7ad1bdb29423c9a88a721e77168aa35372a3411f77c775e2ac518eefc7ee39def4a307a66b4da02f80a6e9d8cdcff8fafa20da1792b7909e84bcad67598c4d9 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 39d0aa6..0000000 --- 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 c6a55f3..0000000 --- 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 6dd0def..0000000 --- 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 a821c37..0000000 --- a/net-p2p/primecoind/files/primecoin.initd +++ /dev/null @@ -1,104 +0,0 @@ -#!/sbin/runscript -# 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.service b/net-p2p/primecoind/files/primecoin.service deleted file mode 100644 index 8fd2eca..0000000 --- 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 84623c4..0000000 --- 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 5c226ba..0000000 --- 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> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <use> - <flag name='logrotate'>Use app-admin/logrotate for rotating logs</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/primecoind/primecoind-0.1.2.ebuild b/net-p2p/primecoind/primecoind-0.1.2.ebuild deleted file mode 100644 index fdbb914..0000000 --- a/net-p2p/primecoind/primecoind-0.1.2.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DB_VER="4.8" - -inherit bash-completion-r1 db-use eutils systemd - -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="bash-completion 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" ${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 - - if use bash-completion; then - newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion - fi - - 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 -} |