summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-03-21 03:08:32 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-03-21 03:12:36 +1100
commit7ad2bf50acb4b50b7248e72c8a090ba9af98ad75 (patch)
tree7ddb5bed9c8831627f2d11dca10e5dc6a0c12619 /net-p2p/gift-gnutella
parentapp-cdr/disc-cover: remove old (diff)
downloadgentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.tar.gz
gentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.tar.bz2
gentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.zip
net-p2p: removed last-rited gift* packages
Diffstat (limited to 'net-p2p/gift-gnutella')
-rw-r--r--net-p2p/gift-gnutella/Manifest1
-rw-r--r--net-p2p/gift-gnutella/files/cacheupdate.sh73
-rw-r--r--net-p2p/gift-gnutella/gift-gnutella-0.0.11.ebuild47
-rw-r--r--net-p2p/gift-gnutella/metadata.xml8
4 files changed, 0 insertions, 129 deletions
diff --git a/net-p2p/gift-gnutella/Manifest b/net-p2p/gift-gnutella/Manifest
deleted file mode 100644
index 0e2260e2b457..000000000000
--- a/net-p2p/gift-gnutella/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gift-gnutella-0.0.11.tar.bz2 405742 SHA256 5a28fd53ad617a6acdc3042144829e74822510d80963a6ca35e7d256d5a06f86 SHA512 41a933580a2d2de1e925f7b4807e82dfc5570e3dbf2789738102f1131da142a51100550579ec59d7ee7331b424a21bf073d50900524fac39291197fcf6357308 WHIRLPOOL 34d0c3a10007e1ac1ab8f2fec29cfa11f91ba4169eea2641ad30257f59bdc7e967c126bad492ca3d718421d39cdf77baf6902c0dfc5e45497b89af05539ab50a
diff --git a/net-p2p/gift-gnutella/files/cacheupdate.sh b/net-p2p/gift-gnutella/files/cacheupdate.sh
deleted file mode 100644
index ee6f832aae28..000000000000
--- a/net-p2p/gift-gnutella/files/cacheupdate.sh
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-CACHE_LIST="g2.tjtech.org/g2/
- gwc1c.olden.ch.3557.nyud.net:8080/gwc/
- gwc.eod.cc/skulls.php
- skulls.mi-cha-el.org/skulls.php
- gwc.frodoslair.net/skulls/skulls"
-
-URLFILE="?urlfile=1\&client=GEN2\&version=0.2"
-HOSTFILE="?hostfile=1\&client=GEN2\&version=0.2"
-
-if [ -d ~/.giFT/Gnutella/ ]; then
- cd ~/.giFT/Gnutella
-
- # Try to fetch an updated list
- wget http://gcachescan.jonatkins.com/ -O .my_list &> /dev/null
- if [[ $? -eq 0 ]] ; then
- my_cache_list=$(grep gcachedetail .my_list | sed -e "s:.*gcachedetail.cgi?\(.*\)\">?</a>.*:\1:g" | head -n 10)
- [[ -n ${my_cache_list} ]] && CACHE_LIST=${my_cache_list}
- else
- echo "Failed to fetch gwebcaches' list, trying with local list."
- fi
-
- # Fetch gwebcaches
- ok=0
- for cache in ${CACHE_LIST} ; do
- wget ${cache}${URLFILE} -O .gwebcaches.new &> /dev/null
- if [[ $? -ne 0 ]] ; then
- echo "Failed to fetch gwebcaches file from ${cache}"
- #CACHE_LIST=${CACHE_LIST/${cache}/}
- elif [[ -z $(grep -e "^http://.*" .gwebcaches.new) ]] || [[ -n $(grep ERROR .gwebcaches.new) ]] ; then
- echo "Fetched file from ${cache} is invalid"
- else
- mv .gwebcaches.new gwebcaches
- echo -e "\ngwebcaches fetched\n"
- ok=1
- break
- fi
- done
- if [[ $ok -ne 1 ]] ; then
- echo "Couldn't fetch gwebcaches!"
- exit 1
- fi
-
- # Fetch nodes
- ok=0
- for cache in ${CACHE_LIST} ; do
- wget ${cache}${HOSTFILE} -O .nodes.new &> /dev/null
- if [[ $? -ne 0 ]] ; then
- echo "Failed to fetch nodes file from ${cache}"
- #CACHE_LIST=${CACHE_LIST/${cache}/}
- elif [[ -n $(grep ERROR .nodes.new) ]] ; then
- echo "Fetched file from ${cache} is invalid"
- else
- mv .nodes.new nodes
- echo -e "\nnodes fetched\n"
- ok=1
- break
- fi
- done
- if [[ $ok -ne 1 ]] ; then
- echo "Couldn't fetch nodes!"
- exit 1
- fi
-
- rm .my_list
- echo -e "\nUpdate complete!"
-else
- echo " ~/.giFT/Gnutella/ does not exist. Please run gift-setup."
-fi
diff --git a/net-p2p/gift-gnutella/gift-gnutella-0.0.11.ebuild b/net-p2p/gift-gnutella/gift-gnutella-0.0.11.ebuild
deleted file mode 100644
index 43c817730a04..000000000000
--- a/net-p2p/gift-gnutella/gift-gnutella-0.0.11.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-DESCRIPTION="The giFT Gnutella plugin"
-HOMEPAGE="http://gift.sf.net/"
-SRC_URI="mirror://sourceforge/gift/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ia64 ~ppc sparc x86 ~x86-fbsd"
-IUSE="xml"
-
-RDEPEND=">=net-p2p/gift-0.11.6"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- app-arch/bzip2
- dev-libs/libxml2"
-
-src_compile() {
- econf $(use_with xml libxml) || die "failed to configure"
- emake || die "failed to build"
-}
-
-src_install() {
- einstall giftconfdir="${D}"/etc/giFT \
- plugindir="${D}"/usr/$(get_libdir)/giFT \
- datadir="${D}"/usr/share \
- giftperldir="${D}"/usr/bin \
- libgiftincdir="${D}"/usr/include/libgift || die "einstall failed"
- newbin "${FILESDIR}"/cacheupdate.sh ${PN}-cacheupdate.sh
-}
-
-pkg_postinst() {
- elog "It is recommended that you re-run gift-setup as"
- elog "the user you will run the giFT daemon as:"
- elog "\tgift-setup"
- echo
- elog "Alternatively you can add the following line to"
- elog "your ~/.giFT/giftd.conf configuration file:"
- elog "plugins = Gnutella"
- echo
- elog "To update your caches, run:"
- elog "\t${PN}-cacheupdate.sh"
-}
diff --git a/net-p2p/gift-gnutella/metadata.xml b/net-p2p/gift-gnutella/metadata.xml
deleted file mode 100644
index ba4b48b2f85c..000000000000
--- a/net-p2p/gift-gnutella/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="sourceforge">gift</remote-id>
- </upstream>
-</pkgmetadata>