diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-12-28 16:15:40 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-12-28 16:15:40 +0000 |
commit | 87a5a04751c0fa8ab23584d2a961b31428bd0dc1 (patch) | |
tree | 0bd906891fd8ba1deb13cbb15bfde500572384e7 | |
parent | Fix underlinking (#496136 by kalle) (diff) | |
download | gentoo-2-87a5a04751c0fa8ab23584d2a961b31428bd0dc1.tar.gz gentoo-2-87a5a04751c0fa8ab23584d2a961b31428bd0dc1.tar.bz2 gentoo-2-87a5a04751c0fa8ab23584d2a961b31428bd0dc1.zip |
Initial commit. Thanks likewhoa\!
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
-rw-r--r-- | net-p2p/datacoin-hp/ChangeLog | 12 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/datacoin-hp-9999.ebuild | 124 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin-hp-sys_leveldb.patch | 179 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin.conf | 5 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin.confd | 9 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin.initd | 104 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin.logrotate | 7 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/files/datacoin.service | 30 | ||||
-rw-r--r-- | net-p2p/datacoin-hp/metadata.xml | 15 |
9 files changed, 485 insertions, 0 deletions
diff --git a/net-p2p/datacoin-hp/ChangeLog b/net-p2p/datacoin-hp/ChangeLog new file mode 100644 index 000000000000..a700f4a59dbf --- /dev/null +++ b/net-p2p/datacoin-hp/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-p2p/datacoin-hp +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/datacoin-hp/ChangeLog,v 1.1 2013/12/28 16:15:40 blueness Exp $ + +*datacoin-hp-9999 (28 Dec 2013) + + 28 Dec 2013; Anthony G. Basile <blueness@gentoo.org> + +datacoin-hp-9999.ebuild, +files/datacoin.conf, +files/datacoin.confd, + +files/datacoin.initd, +files/datacoin.logrotate, +files/datacoin.service, + +files/datacoin-hp-sys_leveldb.patch, +metadata.xml: + Initial commit. Thanks likewhoa\! + diff --git a/net-p2p/datacoin-hp/datacoin-hp-9999.ebuild b/net-p2p/datacoin-hp/datacoin-hp-9999.ebuild new file mode 100644 index 000000000000..0a4bc94a42e1 --- /dev/null +++ b/net-p2p/datacoin-hp/datacoin-hp-9999.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/datacoin-hp/datacoin-hp-9999.ebuild,v 1.1 2013/12/28 16:15:40 blueness Exp $ + +EAPI=5 + +DB_VER="4.8" + +inherit bash-completion-r1 git-2 eutils db-use systemd + +MyPV="${PV/_/-}" +MyPN="${PN/-hp/d}" +MyP="primecoin-${MyPV}" + +DESCRIPTION="High-performance version of datacoin (primecoin-hp fork)." +HOMEPAGE="https://github.com/foo1inge/datacoin-hp" +EGIT_REPO_URI="https://github.com/foo1inge/${PN}.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion examples upnp ipv6 examples logrotate hardened" + +RDEPEND=" + dev-libs/boost[threads(+)] + dev-libs/openssl:0[-bindist] + 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 + net-p2p/bitcoind +" + +S="${WORKDIR}/${MyP}-linux/src" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-sys_leveldb.patch + rm -r src/leveldd + + 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 +} + +pkg_setup() { + local UG="${PN}" + enewgroup "${UG}" + enewuser "${UG}" -1 -1 /var/lib/datacoin "${UG}" +} + +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=0") + + use hardened || OPTS+=("PIE=1") + + 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[@]}" ${MyPN} +} + +#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/${MyPN} + + insinto /etc/datacoin + doins "${FILESDIR}/datacoin.conf" + fowners ${PN}:${PN} /etc/datacoin/datacoin.conf + fperms 600 /etc/datacoin/datacoin.conf + + newconfd "${FILESDIR}/datacoin.confd" ${PN} + newinitd "${FILESDIR}/datacoin.initd" ${PN} + systemd_dounit "${FILESDIR}/datacoin.service" + + keepdir /var/lib/datacoin/.datacoin + fperms 700 /var/lib/datacoin + fowners ${PN}:${PN} /var/lib/datacoin/ + fowners ${PN}:${PN} /var/lib/datacoin/.datacoin + dosym /etc/datacoin/datacoin.conf /var/lib/datacoin/.datacoin/datacoin.conf + + dodoc doc/README.md doc/release-notes.md + newman contrib/debian/manpages/bitcoind.1 ${MyPN}.1 + newman contrib/debian/manpages/bitcoin.conf.5 datacoin.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}/datacoind.logrotate" ${MyPN} + fi +} diff --git a/net-p2p/datacoin-hp/files/datacoin-hp-sys_leveldb.patch b/net-p2p/datacoin-hp/files/datacoin-hp-sys_leveldb.patch new file mode 100644 index 000000000000..2f85d6a11993 --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin-hp-sys_leveldb.patch @@ -0,0 +1,179 @@ +diff --git a/datacoin-qt.pro b/datacoin-qt.pro +index f531607..df0ecc4 100644 +--- a/datacoin-qt.pro ++++ b/datacoin-qt.pro +@@ -4,7 +4,7 @@ macx:TARGET = "Datacoin-Qt" + 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 + +@@ -104,25 +104,29 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) { + 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 --git a/src/leveldb.cpp b/src/leveldb.cpp +index e66f851..2856d70 100644 +--- a/src/leveldb.cpp ++++ b/src/leveldb.cpp +@@ -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 @@ CLevelDB::CLevelDB(const boost::filesystem::path &path, size_t nCacheSize, bool + 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 --git a/src/makefile.unix b/src/makefile.unix +index 359ac3d..ec1e075 100644 +--- a/src/makefile.unix ++++ b/src/makefile.unix +@@ -120,8 +120,7 @@ xCXXFLAGS=-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-para + # 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 \ +@@ -130,7 +129,6 @@ OBJS= \ + obj/crypter.o \ + obj/key.o \ + obj/db.o \ +- obj/init.o \ + obj/keystore.o \ + obj/main.o \ + obj/net.o \ +@@ -150,25 +148,44 @@ OBJS= \ + 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: datacoind + + 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 +@@ -179,24 +196,22 @@ obj/build.h: FORCE + 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) + +-datacoind: $(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)) ++datacoind: $(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/datacoin-hp/files/datacoin.conf b/net-p2p/datacoin-hp/files/datacoin.conf new file mode 100644 index 000000000000..65c9767ea571 --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin.conf @@ -0,0 +1,5 @@ +# see https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File +# + +#rpcuser= +#rpcpassword= diff --git a/net-p2p/datacoin-hp/files/datacoin.confd b/net-p2p/datacoin-hp/files/datacoin.confd new file mode 100644 index 000000000000..95939b8b19a3 --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin.confd @@ -0,0 +1,9 @@ +# Config file for /etc/init.d/datacoind + +# owner of datacoind process (don't change, must be existing) +DATACOIN_USER="datacoin-hp" + +DATACOIN_OPTS="${DATACOIN_OPTS}" + +# nice level +NICELEVEL="19" diff --git a/net-p2p/datacoin-hp/files/datacoin.initd b/net-p2p/datacoin-hp/files/datacoin.initd new file mode 100644 index 000000000000..415f410d31fc --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin.initd @@ -0,0 +1,104 @@ +#!/sbin/runscript +# Distributed under the terms of the GNU General Public License, v2 or later + +VARDIR="/var/lib/datacoin" +CONFFILE="${VARDIR}/.datacoin/datacoin.conf" + +depend() { + need net +} + +checkconfig() { + if [[ "${DATACOIN_USER}" == "" ]] ; then + eerror "Please edit /etc/conf.d/datacoind" + eerror "A user must be specified to run datacoind 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 "${DATACOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then + eerror "Please edit /etc/conf.d/datacoind" + eerror "Specified user must exist!" + return 1 + fi + if `echo "${DATACOIN_USER}" | grep ':' -sq` ; then + if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${DATACOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then + eerror "Please edit /etc/conf.d/datacoind" + 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 Datacoind daemon" + + pkg-config openrc + if [ $? = 0 ]; then + start_openrc + else + start_baselayout + fi +} + +stop() { + ebegin "Stopping Datacoin daemon" + + pkg-config openrc + if [ $? = 0 ]; then + stop_openrc + else + stop_baselayout + fi +} + +start_openrc() { + start-stop-daemon \ + --start --user "${DATACOIN_USER}" --name datacoind \ + --pidfile /var/run/datacoind.pid --make-pidfile \ + --env HOME="${VARDIR}" --exec /usr/bin/datacoind \ + --nicelevel "${NICELEVEL}" \ + --background \ + --wait 2000 \ + -- ${DATACOIN_OPTS} + eend $? +} + +stop_openrc() { + start-stop-daemon --stop --user "${DATACOIN_USER}" \ + --name datacoind --pidfile /var/run/datacoind.pid \ + --wait 30000 \ + --progress + eend $? +} + +start_baselayout() { + start-stop-daemon \ + --start --user "${DATACOIN_USER}" --name datacoind \ + --pidfile /var/run/datacoind.pid --make-pidfile \ + --env HOME="${VARDIR}" --exec /usr/bin/datacoind \ + --chuid "${DATACOIN_USER}" \ + --nicelevel "${NICELEVEL}" \ + --background \ + -- ${DATACOIN_OPTS} + eend $? +} + +stop_baselayout() { + start-stop-daemon \ + --stop \ + --user "${DATACOIN_USER}" \ + --name datacoind \ + --pidfile /var/run/datacoind.pid + eend $? +} diff --git a/net-p2p/datacoin-hp/files/datacoin.logrotate b/net-p2p/datacoin-hp/files/datacoin.logrotate new file mode 100644 index 000000000000..910bafe7de1d --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin.logrotate @@ -0,0 +1,7 @@ +/var/lib/datacoin/.datacoin/debug.log { + weekly + sharedscripts + postrotate + killall -HUP datacoind + endscript +} diff --git a/net-p2p/datacoin-hp/files/datacoin.service b/net-p2p/datacoin-hp/files/datacoin.service new file mode 100644 index 000000000000..e0cb83190a11 --- /dev/null +++ b/net-p2p/datacoin-hp/files/datacoin.service @@ -0,0 +1,30 @@ +# 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/datacoind.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/datacoind.service.d/myopts.conf" +# containing: +# [Service] +# Environment="DATACOIN_OPTS=-debug -logtimestamps" +# Nice=10 +# This will override the setting appearing below. + +# Note that almost all daemon options could be specified in +# /etc/primecoin/datacoin.conf + +[Unit] +Description=Datacoin Daemon +After=network.target + +[Service] +User=datacoin +Environment=DATACOIN_OPTS= +ExecStart=/usr/bin/datacoind -daemon=0 $DATACOIN_OPTS +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/net-p2p/datacoin-hp/metadata.xml b/net-p2p/datacoin-hp/metadata.xml new file mode 100644 index 000000000000..9d01f8f6dc25 --- /dev/null +++ b/net-p2p/datacoin-hp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>email@missionaccomplish.com</email> + <name>Fernando V.</name> + </maintainer> + <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> |