ports/64789: another update to port irc/rbot
David Bushong
david+ports at bushong.net
Sat Mar 27 01:40:11 UTC 2004
>Number: 64789
>Category: ports
>Synopsis: another update to port irc/rbot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 26 17:40:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: David Bushong
>Release: FreeBSD 4.8-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD firebat.bushong.net 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #5: Sun Mar 2 11:58:22 PST 2003 dbushong at firebat.bushong.net:/stripe/obj/usr/src/sys/FIREBAT i386
>Description:
A few more fixes for irc/rbot to work better under ruby 1.8
>How-To-Repeat:
apply this patch to results of the previous one (PORTREVISION 1)
>Fix:
diff -ruN rbot.bak/Makefile rbot/Makefile
--- rbot.bak/Makefile Fri Mar 26 12:07:10 2004
+++ rbot/Makefile Fri Mar 26 17:34:33 2004
@@ -7,7 +7,7 @@
PORTNAME= rbot
PORTVERSION= 0.9.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc ruby
MASTER_SITES= http://linuxbrit.co.uk/downloads/
diff -ruN rbot.bak/files/patch-18-syntax rbot/files/patch-18-syntax
--- rbot.bak/files/patch-18-syntax Thu Mar 25 18:53:08 2004
+++ rbot/files/patch-18-syntax Fri Mar 26 17:33:08 2004
@@ -99,3 +99,25 @@
else
return nil
end
+--- rbot/utils.rb.orig Fri Mar 26 17:30:31 2004
++++ rbot/utils.rb Fri Mar 26 17:31:09 2004
+@@ -168,7 +168,7 @@
+
+ http.start {|http|
+ begin
+- resp , = http.get(query)
++ resp = http.get(query)
+ if resp.code == "200"
+ return resp.body
+ end
+--- rbot/plugins/google.rb.orig Fri Mar 26 17:31:42 2004
++++ rbot/plugins/google.rb Fri Mar 26 17:31:53 2004
+@@ -32,7 +32,7 @@
+
+ http.start {|http|
+ begin
+- resp , = http.get(query)
++ resp = http.get(query)
+ if resp.code == "302"
+ result = resp['location']
+ end
diff -ruN rbot.bak/pkg-plist rbot/pkg-plist
--- rbot.bak/pkg-plist Sun Oct 6 18:11:28 2002
+++ rbot/pkg-plist Fri Mar 26 17:29:12 2004
@@ -47,7 +47,6 @@
%%RUBY_SITELIBDIR%%/rbot/plugins/freshmeat.rb
%%RUBY_SITELIBDIR%%/rbot/plugins/roulette.rb
%%RUBY_SITELIBDIR%%/rbot/dbhash.rb
-%%RUBY_SITELIBDIR%%/rbot/keywords.rb.orig
@dirrm %%RUBY_SITELIBDIR%%/rbot/languages
@dirrm %%RUBY_SITELIBDIR%%/rbot/dbplugins
@dirrm %%RUBY_SITELIBDIR%%/rbot/plugins
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list