summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-01-12 04:04:31 +0000
committerJeroen Roovers <jer@gentoo.org>2010-01-12 04:04:31 +0000
commit713bcf847806614ad15f9c5fe68829cabd2423e6 (patch)
treebba6a7a644d432b37bf52984d749d9deb58b4abf /www-client/surfraw
parentVersion bump. This will hopefully also fix bug #286634. (diff)
downloadgentoo-2-713bcf847806614ad15f9c5fe68829cabd2423e6.tar.gz
gentoo-2-713bcf847806614ad15f9c5fe68829cabd2423e6.tar.bz2
gentoo-2-713bcf847806614ad15f9c5fe68829cabd2423e6.zip
Remove old.
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'www-client/surfraw')
-rw-r--r--www-client/surfraw/ChangeLog6
-rw-r--r--www-client/surfraw/files/surfraw-2.1.5-gentoo_pkg_tools.patch42
-rw-r--r--www-client/surfraw/surfraw-2.2.5.ebuild75
3 files changed, 5 insertions, 118 deletions
diff --git a/www-client/surfraw/ChangeLog b/www-client/surfraw/ChangeLog
index 444115965a96..850fb5b8b53e 100644
--- a/www-client/surfraw/ChangeLog
+++ b/www-client/surfraw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/surfraw
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.51 2010/01/10 20:25:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/ChangeLog,v 1.52 2010/01/12 04:04:30 jer Exp $
+
+ 12 Jan 2010; Jeroen Roovers <jer@gentoo.org>
+ -files/surfraw-2.1.5-gentoo_pkg_tools.patch, -surfraw-2.2.5.ebuild:
+ Remove old.
10 Jan 2010; Markus Meier <maekke@gentoo.org> surfraw-2.2.6.ebuild:
x86 stable, bug #298240
diff --git a/www-client/surfraw/files/surfraw-2.1.5-gentoo_pkg_tools.patch b/www-client/surfraw/files/surfraw-2.1.5-gentoo_pkg_tools.patch
deleted file mode 100644
index 548a51dc353a..000000000000
--- a/www-client/surfraw/files/surfraw-2.1.5-gentoo_pkg_tools.patch
+++ /dev/null
@@ -1,42 +0,0 @@
- Needs a little more thought, or some method which would allow for an upstream
-push without affecting the non-Gentoo users.
-
-Index: surfraw-2.1.5/surfraw-bash-completion.IN
-===================================================================
---- surfraw-2.1.5/surfraw-bash-completion.IN {cset 8f95d483-869f-47ba-aba2-f0a12bb9dd07}
-+++ surfraw-2.1.5/surfraw-bash-completion.IN {local clone}
-@@ -1,4 +1,25 @@
- # -*- sh -*- bash programmable completion for Surfraw, v2.2
-+
-+# This is for people who wish to use surfraw completion, without
-+# installing the bash-completion package.
-+shopt -s extglob
-+
-+_srpkgname()
-+{
-+ local pd
-+ local dir=$(sed -n -e '/^PORTDIR=/ { s/^[^=]\+="\?\([^"]\+\|\S\+\).*/\1/p ; q }' \
-+ /etc/make.{conf,globals})/*
-+ local cur="$1"
-+
-+ COMPREPLY=($(compgen -W "$(
-+ for pd in $dir
-+ do
-+ [ ! -d ${pd} ] && continue
-+ builtin cd ${pd}
-+ echo *
-+ done)" -- ${cur})
-+ )
-+}
- _surfraw()
- { COMPREPLY=()
- local cur=${COMP_WORDS[COMP_CWORD]}
-@@ -14,7 +35,7 @@ _surfraw()
- then COMPREPLY=( $( compgen -W "$elvi" -- $cur ) )
- # "sr go<tab>" for google
- elif [[ $prev == @(alioth|deb@(bugs|contents|packages|pts|sec)|freshmeat|fsfdir|sourceforge) ]]
-- then COMPREPLY=( $(apt-cache --generate pkgnames $cur) )
-+ then _srpkgname ${cur}
- # "sr debbugs 4<tab>" to check 44bsd-rdist bugs...
- elif [[ -x /usr/bin/look ]] # in bsdmainutils, "important"
- then COMPREPLY=( $(/usr/bin/look ${cur:-''}) )
diff --git a/www-client/surfraw/surfraw-2.2.5.ebuild b/www-client/surfraw/surfraw-2.2.5.ebuild
deleted file mode 100644
index 0f66a80a937f..000000000000
--- a/www-client/surfraw/surfraw-2.2.5.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.2.5.ebuild,v 1.6 2009/07/19 14:27:32 nixnut Exp $
-
-inherit bash-completion eutils
-
-DESCRIPTION="A fast unix command line interface to WWW"
-HOMEPAGE="http://surfraw.alioth.debian.org/"
-SRC_URI="http://${PN}.alioth.debian.org/dist/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="amd64 hppa ppc sparc x86"
-IUSE=""
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-2.1.5-gentoo_pkg_tools.patch
- # Man page symlinks shouldn't link to compressed files
- sed -i 's,\.gz,,g' links.IN
-}
-
-src_compile() {
- econf \
- --with-elvidir='$(datadir)'/surfraw \
- --disable-opensearch \
- || die "./configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
-
- dobashcompletion surfraw-bash-completion
-}
-
-pkg_preinst() {
- has_version "=${CATEGORY}/${PN}-1.0.7"
- upgrade_from_1_0_7=$?
-}
-
-pkg_postinst() {
- bash-completion_pkg_postinst
- einfo
- einfo "You can get a list of installed elvi by just typing 'surfraw' or"
- einfo "the abbreviated 'sr'."
- einfo
- einfo "You can try some searches, for example:"
- einfo "$ sr ask why is jeeves gay? "
- einfo "$ sr google -results=100 RMS, GNU, which is sinner, which is sin?"
- einfo "$ sr rhyme -method=perfect Julian"
- einfo
- einfo "The system configuration file is /etc/surfraw.conf"
- einfo
- einfo "Users can specify preferences in '~/.surfraw.conf' e.g."
- einfo "SURFRAW_graphical_browser=mozilla"
- einfo "SURFRAW_text_browser=w3m"
- einfo "SURFRAW_graphical=no"
- einfo
- einfo "surfraw works with any graphical and/or text WWW browser"
- einfo
- if [[ $upgrade_from_1_0_7 = 0 ]] ; then
- ewarn "surfraw usage has changed slightly since version 1.0.7, elvi are now called"
- ewarn "using the 'sr' wrapper script as described above. If you wish to return to"
- ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH"
- fi
- # This file was always autogenerated, and is no longer needed.
- if [ -f "${ROOT}"/etc/surfraw_elvi.list ]; then
- rm -f "${ROOT}"/etc/surfraw_elvi.list
- fi
-}