diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-11-09 11:57:25 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-11-09 11:59:16 +0100 |
commit | 517f783331e1c17e007963be5222369445a9904d (patch) | |
tree | 3db29a0de27c2855e2c572f4ad7f8f567f0decf5 /net-dns | |
parent | package.mask drop obsolete entries (diff) | |
download | gentoo-517f783331e1c17e007963be5222369445a9904d.tar.gz gentoo-517f783331e1c17e007963be5222369445a9904d.tar.bz2 gentoo-517f783331e1c17e007963be5222369445a9904d.zip |
Remove masked for removal packages
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/namecoin-qt/Manifest | 1 | ||||
-rw-r--r-- | net-dns/namecoin-qt/metadata.xml | 8 | ||||
-rw-r--r-- | net-dns/namecoin-qt/namecoin-qt-0.3.72.ebuild | 129 | ||||
-rw-r--r-- | net-dns/namecoin-qt/namecoin-qt-0.3.80.ebuild | 134 | ||||
-rw-r--r-- | net-dns/namecoind/Manifest | 1 | ||||
-rw-r--r-- | net-dns/namecoind/files/namecoin.conf | 8 | ||||
-rw-r--r-- | net-dns/namecoind/files/namecoin.confd | 10 | ||||
-rw-r--r-- | net-dns/namecoind/files/namecoin.initd | 104 | ||||
-rw-r--r-- | net-dns/namecoind/files/namecoind-0.3.72-makefile.patch | 52 | ||||
-rw-r--r-- | net-dns/namecoind/files/namecoind-0.3.80-makefile.patch | 30 | ||||
-rw-r--r-- | net-dns/namecoind/metadata.xml | 8 | ||||
-rw-r--r-- | net-dns/namecoind/namecoind-0.3.72.ebuild | 78 | ||||
-rw-r--r-- | net-dns/namecoind/namecoind-0.3.80.ebuild | 84 |
13 files changed, 0 insertions, 647 deletions
diff --git a/net-dns/namecoin-qt/Manifest b/net-dns/namecoin-qt/Manifest deleted file mode 100644 index 13ae953fa3dc..000000000000 --- a/net-dns/namecoin-qt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST namecoin-qt-0.3.72.tar.gz 1453901 SHA256 74d088f96735b3397b9a71bc10bbbe1211cd2594baf593c4b9062457c1d4b869 SHA512 63d42fb1a982f725f22d35992fadb192116b7ee73a418cba52285325df5a56d41b47d3de7d1b9b53b816c160d1909ecff70117de94edead0eab343da6809e417 WHIRLPOOL bd2385a3118406a9076bf3587e3cc8f4e25ddac350ec62901e1d577d92fc113de58fa59f9138dac2e82efcb1553d4dba657cd2092f23800e995756fe98c3f012 diff --git a/net-dns/namecoin-qt/metadata.xml b/net-dns/namecoin-qt/metadata.xml deleted file mode 100644 index eb713250612e..000000000000 --- a/net-dns/namecoin-qt/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-needed --> - <upstream> - <remote-id type="github">namecoinq/namecoinq</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-dns/namecoin-qt/namecoin-qt-0.3.72.ebuild b/net-dns/namecoin-qt/namecoin-qt-0.3.72.ebuild deleted file mode 100644 index 29f3a47aed69..000000000000 --- a/net-dns/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 -# $Id$ - -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-dns/namecoin-qt/namecoin-qt-0.3.80.ebuild b/net-dns/namecoin-qt/namecoin-qt-0.3.80.ebuild deleted file mode 100644 index c61e7d743261..000000000000 --- a/net-dns/namecoin-qt/namecoin-qt-0.3.80.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 git-r3 - -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" -# Try to use github -SRC_URI="" -EGIT_REPO_URI="https://github.com/namecoin/namecoin.git" -EGIT_BRANCH="namecoinq-release" -EGIT_COMMIT="nc${PV}" - -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}/${PN}-${PV}" - -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-dns/namecoind/Manifest b/net-dns/namecoind/Manifest deleted file mode 100644 index 4619a47e6307..000000000000 --- a/net-dns/namecoind/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST namecoind-0.3.72.tar.gz 1453901 SHA256 74d088f96735b3397b9a71bc10bbbe1211cd2594baf593c4b9062457c1d4b869 SHA512 63d42fb1a982f725f22d35992fadb192116b7ee73a418cba52285325df5a56d41b47d3de7d1b9b53b816c160d1909ecff70117de94edead0eab343da6809e417 WHIRLPOOL bd2385a3118406a9076bf3587e3cc8f4e25ddac350ec62901e1d577d92fc113de58fa59f9138dac2e82efcb1553d4dba657cd2092f23800e995756fe98c3f012 diff --git a/net-dns/namecoind/files/namecoin.conf b/net-dns/namecoind/files/namecoin.conf deleted file mode 100644 index c6a55f3d9133..000000000000 --- a/net-dns/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-dns/namecoind/files/namecoin.confd b/net-dns/namecoind/files/namecoin.confd deleted file mode 100644 index 0120a560b644..000000000000 --- a/net-dns/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-dns/namecoind/files/namecoin.initd b/net-dns/namecoind/files/namecoin.initd deleted file mode 100644 index abb7dabca9be..000000000000 --- a/net-dns/namecoind/files/namecoin.initd +++ /dev/null @@ -1,104 +0,0 @@ -#!/sbin/openrc-run -# Distributed under the terms of the GNU General Public License, v2 or later - -VARDIR="/var/lib/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-dns/namecoind/files/namecoind-0.3.72-makefile.patch b/net-dns/namecoind/files/namecoind-0.3.72-makefile.patch deleted file mode 100644 index f8996944e13c..000000000000 --- a/net-dns/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-dns/namecoind/files/namecoind-0.3.80-makefile.patch b/net-dns/namecoind/files/namecoind-0.3.80-makefile.patch deleted file mode 100644 index 2dce6b5a4f85..000000000000 --- a/net-dns/namecoind/files/namecoind-0.3.80-makefile.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.github 2015-01-01 10:05:04.000000000 +0000 -+++ Makefile 2015-01-01 10:15:05.000000000 +0000 -@@ -1,4 +1,4 @@ --CXX=g++ -+CXX?=g++ - - DEFS=-D_MT -DNOPCH -DFOURWAYSSE2 -DUSE_SSL - -@@ -8,20 +8,10 @@ - # Link boost statically - DEFS += -DBOOST_THREAD_USE_LIB - --INCLUDEPATHS= \ -- -I../libs/openssl-1.0.1i/include \ -- -I../libs/db-4.7.25.NC/build_unix \ -- -I../libs/boost_1_50_0 -- --LIBPATHS= \ -- -L../libs/openssl-1.0.1i \ -- -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) \ diff --git a/net-dns/namecoind/metadata.xml b/net-dns/namecoind/metadata.xml deleted file mode 100644 index eb713250612e..000000000000 --- a/net-dns/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-needed --> - <upstream> - <remote-id type="github">namecoinq/namecoinq</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-dns/namecoind/namecoind-0.3.72.ebuild b/net-dns/namecoind/namecoind-0.3.72.ebuild deleted file mode 100644 index 552cf4aea74c..000000000000 --- a/net-dns/namecoind/namecoind-0.3.72.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -DB_VER="4.8" - -inherit db-use eutils toolchain-funcs user - -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/glib:2 - 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-dns/namecoind/namecoind-0.3.80.ebuild b/net-dns/namecoind/namecoind-0.3.80.ebuild deleted file mode 100644 index 230c2cb4915f..000000000000 --- a/net-dns/namecoind/namecoind-0.3.80.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -DB_VER="4.8" - -inherit db-use eutils toolchain-funcs user git-r3 - -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" -# Try to use github -SRC_URI="" -EGIT_REPO_URI="https://github.com/namecoin/namecoin.git" -EGIT_BRANCH="namecoinq-release" -EGIT_COMMIT="nc${PV}" - -LICENSE="MIT ISC cryptopp" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ssl upnp" - -RDEPEND=" - dev-libs/boost[threads(+)] - dev-libs/glib:2 - 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}/${PN}-${PV}" - -pkg_setup() { - local UG='namecoin' - enewgroup "${UG}" - enewuser "${UG}" -1 -1 /var/lib/namecoin "${UG}" -} - -src_prepare() { - cd src || die - epatch "${FILESDIR}"/namecoind-0.3.80-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 -} |