Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 11:09:02 +0200 (CEST)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41005: update/unbreak www/p5-WWW-Search-Google
Message-ID:  <20020726090902.0F07AACE2@snorri.pil.dk>

next in thread | raw e-mail | index | archive | help

>Number:         41005
>Category:       ports
>Synopsis:       update/unbreak www/p5-WWW-Search-Google
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 26 02:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.6-RELEASE-p1 i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD guineapig.pil.dk 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #10: Thu Jun 27 12:30:28 CEST 2002 root@prison.pil.dk:/usr/obj/usr/src/sys/PRISON i386


	
>Description:

This module seems te be maintained by someone else, and
this version does return results from Google. Therefore:

- "update" to 0.19
- bump PORTEPOCH
- unbreak
- update pkg-descr to note that a valid key is required from Google
- assume maintainership



>How-To-Repeat:
	
>Fix:

	

--- p5-WWW-Search-Google.diff begins here ---
diff -ruN p5-WWW-Search-Google.orig/Makefile p5-WWW-Search-Google/Makefile
--- p5-WWW-Search-Google.orig/Makefile	Fri Jul 26 10:28:49 2002
+++ p5-WWW-Search-Google/Makefile	Fri Jul 26 10:43:40 2002
@@ -6,19 +6,24 @@
 #
 
 PORTNAME=	WWW-Search-Google
-PORTVERSION=	2.21
+PORTVERSION=	0.19
+PORTEPOCH=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	WWW/JSMYSER
+MASTER_SITE_SUBDIR=	WWW
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	erwin@lansing.dk
 
-RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/WWW/Search.pm:${PORTSDIR}/www/p5-WWW-Search
-
-BROKEN=		'Port no longer returns search results from Google'
+BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/WWW/Search.pm:${PORTSDIR}/www/p5-WWW-Search \
+		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite
+RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
+
+post-patch:
+	@${PERL} -pi -e '$$_="" if /no warnings/;' \
+		${WRKSRC}/Google.pm
 
 MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 MAN3=		WWW::Search::Google.3
diff -ruN p5-WWW-Search-Google.orig/distinfo p5-WWW-Search-Google/distinfo
--- p5-WWW-Search-Google.orig/distinfo	Fri Jul 26 10:28:49 2002
+++ p5-WWW-Search-Google/distinfo	Fri Jul 26 10:32:13 2002
@@ -1 +1 @@
-MD5 (WWW-Search-Google-2.21.tar.gz) = 6d1864cccfaedafbf9be976b15e70bc7
+MD5 (WWW-Search-Google-0.19.tar.gz) = e465f8be84ad7c39c1bcffe832aa91eb
diff -ruN p5-WWW-Search-Google.orig/pkg-descr p5-WWW-Search-Google/pkg-descr
--- p5-WWW-Search-Google.orig/pkg-descr	Fri Jul 26 10:28:49 2002
+++ p5-WWW-Search-Google/pkg-descr	Fri Jul 26 10:31:38 2002
@@ -1,2 +1,11 @@
-A Google specialization of Perl's WWW::Search module for making and
-interpreting Google searches.
+This class is a Google specialization of WWW::Search. It handles
+searching Google http://www.google.com/ using its new SOAP API
+http://www.google.com/apis/.
+
+All interaction should be done through WWW::Search objects.
+
+Note that you must register for a Google Web API account and have a
+valid Google API license key before using this module.
+
+Author: Leon Brocard <acme@astray.com>
+WWW: http://search.cpan.org/search?dist=WWW-Search-Google
--- p5-WWW-Search-Google.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726090902.0F07AACE2>