diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/dobbscoin/README | 7 | ||||
-rw-r--r-- | network/dobbscoin/dobbscoin-qt.desktop | 10 | ||||
-rw-r--r-- | network/dobbscoin/dobbscoin.SlackBuild | 136 | ||||
-rw-r--r-- | network/dobbscoin/dobbscoin.info | 10 | ||||
-rw-r--r-- | network/dobbscoin/doinst.sh | 3 | ||||
-rw-r--r-- | network/dobbscoin/miniupnpc-1.9-api.patch | 29 | ||||
-rw-r--r-- | network/dobbscoin/slack-desc | 19 |
7 files changed, 0 insertions, 214 deletions
diff --git a/network/dobbscoin/README b/network/dobbscoin/README deleted file mode 100644 index 4a0867d399b42..0000000000000 --- a/network/dobbscoin/README +++ /dev/null @@ -1,7 +0,0 @@ -DobbsCOIN is an scrypt implementation, Crypto-Currency meme coin, based -on the SubGenius Deity J.R. "BOB" Dobbs, and his Mighty 'Church of the -SubGenius' - -UPNP is disabled; it requires the optional dependency miniupnpc. - -Package provides both dobbscoin-qt (GUI) and dobbscoind (CLI). diff --git a/network/dobbscoin/dobbscoin-qt.desktop b/network/dobbscoin/dobbscoin-qt.desktop deleted file mode 100644 index 8615c8d3e489c..0000000000000 --- a/network/dobbscoin/dobbscoin-qt.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Dobbscoin -GenericName=Dobbscoin QT-Client -Comment=Dobbscoin client to send and receive money -Exec=/usr/bin/dobbscoin-qt -Icon=dobbscoin -StartupNotify=true -Terminal=false -Type=Application -Categories=Network;P2P; diff --git a/network/dobbscoin/dobbscoin.SlackBuild b/network/dobbscoin/dobbscoin.SlackBuild deleted file mode 100644 index 0c9d90bdb8c1d..0000000000000 --- a/network/dobbscoin/dobbscoin.SlackBuild +++ /dev/null @@ -1,136 +0,0 @@ -#!/bin/bash - -# Slackware build script for dobbscoin - -# Copyright 2014 Erik W. Hanson, Minneapolis, MN, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# based on bitcoin.SlackBuild by nomnombtc <nomnombtc@arcor.de> - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=dobbscoin -VERSION=${VERSION:-0.10.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -# Detect miniupnpc -if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi - -# Detect qrencode -if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-source-$VERSION -tar xvf $CWD/${PRGNAM}-source-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz -cd $PRGNAM-source-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Fix for miniupnpc >= 1.9.20150730. -# Source: https://github.com/dogecoin/dogecoin/issues/1292 -patch -p1 < $CWD/miniupnpc-1.9-api.patch - -./autogen.sh - -export CC=clang -export CXX=clang++ - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-silent-rules \ - --enable-static=no \ - --with-gui="${QTGUI:-qt4}" \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - - -mkdir -p $PKG/usr/man/man{1,5} -install -m 0644 contrib/debian/manpages/*.1 $PKG/usr/man/man1/ -install -m 0644 contrib/debian/manpages/*.5 $PKG/usr/man/man5/ -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/share/{applications,pixmaps} -install -m 0644 contrib/debian/dobbscoin-qt.desktop $PKG/usr/share/applications/ -install -m 0644 share/pixmaps/dobbscoin128.xpm $PKG/usr/share/pixmaps/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/* COPYING contrib/debian/examples/dobbscoin.conf $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/dobbscoin/dobbscoin.info b/network/dobbscoin/dobbscoin.info deleted file mode 100644 index 184c4b2763ae0..0000000000000 --- a/network/dobbscoin/dobbscoin.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="dobbscoin" -VERSION="0.10.1" -HOMEPAGE="http://dobbscoin.info/" -DOWNLOAD="https://github.com/dobbscoin/dobbscoin-source/archive/v0.10.1/dobbscoin-source-0.10.1.tar.gz" -MD5SUM="7742688342b80820b7cf70db50d812f6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="protobuf3 qt4" -MAINTAINER="Erik Hanson" -EMAIL="erik@slackbuilds.org" diff --git a/network/dobbscoin/doinst.sh b/network/dobbscoin/doinst.sh deleted file mode 100644 index 140e33222297c..0000000000000 --- a/network/dobbscoin/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications -fi diff --git a/network/dobbscoin/miniupnpc-1.9-api.patch b/network/dobbscoin/miniupnpc-1.9-api.patch deleted file mode 100644 index 2fe88bac4bcdf..0000000000000 --- a/network/dobbscoin/miniupnpc-1.9-api.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 984e204d7c60f0d0c5cc7d1c3a5daefcd7433f6e Mon Sep 17 00:00:00 2001 -From: acerix <dylan@psilly.com> -Date: Wed, 7 Oct 2015 20:33:08 -0400 -Subject: [PATCH] apply bitcoin patch for miniupnpc 1.9 - ---- - src/net.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/net.cpp b/src/net.cpp -index 279ee4d..f7ea000 100644 ---- a/src/net.cpp -+++ b/src/net.cpp -@@ -1109,10 +1109,14 @@ void ThreadMapPort() - #ifndef UPNPDISCOVER_SUCCESS - /* miniupnpc 1.5 */ - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); --#else -+#elif MINIUPNPC_API_VERSION < 14 - /* miniupnpc 1.6 */ - int error = 0; - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); -+#else -+ /* miniupnpc 1.9.20150730 */ -+ int error = 0; -+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error); - #endif - - struct UPNPUrls urls; diff --git a/network/dobbscoin/slack-desc b/network/dobbscoin/slack-desc deleted file mode 100644 index a97e7f7c7789e..0000000000000 --- a/network/dobbscoin/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -dobbscoin: dobbscoin (The P2P currency of the Econocolypse) -dobbscoin: -dobbscoin: Dobbscoin is a peer-to-peer settlement instrument, a "currency like -dobbscoin: electronic document", not to be confused with 'Legal Tender'. -dobbscoin: -dobbscoin: -dobbscoin: -dobbscoin: -dobbscoin: -dobbscoin: -dobbscoin: |