NetBSD changed their search engine; fix from Jason Harris

<jharris@widomaker.com>.
This commit is contained in:
naddy 2001-11-09 02:16:22 +00:00
parent 604e6177f5
commit ae438bbd3b
2 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2001/11/07 00:40:45 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2001/11/09 02:16:22 naddy Exp $
COMMENT= "command line interface to popular WWW search engines"
PKGNAME= ${DISTNAME}p1
DISTNAME= surfraw-1.0.5
CATEGORIES= www
NEED_VERSION= 1.363

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-elvi_netbsd,v 1.1 2001/11/09 02:16:22 naddy Exp $
--- elvi/netbsd.orig Mon Jan 15 08:57:21 2001
+++ elvi/netbsd Fri Nov 9 03:02:48 2001
@@ -68,6 +68,6 @@ fi
if test -z "$escaped_args"; then
w3_browse_url "http://www.netbsd.org/"
else
- w3_browse_url "http://www.netbsd.org/cgi-bin/htsearch?method=and&format=builtin-long&sort=score&config=htdig&words=${escaped_args}"
+ w3_browse_url "http://www.google.com/custom?q=${escaped_args}&cof=LW%3A247%3BL%3Ahttp%3A%2F%2Fwww.netbsd.org%2Fimages%2FNetBSD-smaller.jpg%3BLH%3A241%3BAH%3Acenter%3BAWFID%3A4f6b0499f0f58d2c%3B&domains=netbsd.org&sitesearch=netbsd.org"
fi
exit $?