Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 04:02:05 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383188 - in head: . irc/rbot irc/rbot/files
Message-ID:  <201504040402.t34425t8085076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Apr  4 04:02:04 2015
New Revision: 383188
URL: https://svnweb.freebsd.org/changeset/ports/383188

Log:
  Update rbot to the new upstream from the 20150311 snapshot.
  
  It now actually works with Ruby 2.0+.
  
  This requires manual migration to fix the registry files. See the
  UPDATING entry.

Deleted:
  head/irc/rbot/files/patch-lib__rbot__load-gettext.rb
Modified:
  head/UPDATING
  head/irc/rbot/Makefile
  head/irc/rbot/distinfo
  head/irc/rbot/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sat Apr  4 01:06:47 2015	(r383187)
+++ head/UPDATING	Sat Apr  4 04:02:04 2015	(r383188)
@@ -5,6 +5,19 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20150403:
+  AFFECTS: Users of irc/rbot
+  AUTHOR: bdrewery@FreeBSD.org
+
+  Ruby Bot now has a new upstream maintainer.  The project has been updated
+  to work with Ruby 2.0+.  Some migration is needed to move away from
+  BDB regristry files.  The guide for that is at
+  https://github.com/ruby-rbot/rbot/wiki/MigrationGuide
+
+  rbotdb can be used to backup a BDB database and then restore it to a working
+  format for the new rbot. Update your conf.yaml after with 'core.db: tc'
+  once converted.
+
 20150324:
   AFFECTS: Users of dns/bind9*
   AUTHOR: mat@FreeBSD.org

Modified: head/irc/rbot/Makefile
==============================================================================
--- head/irc/rbot/Makefile	Sat Apr  4 01:06:47 2015	(r383187)
+++ head/irc/rbot/Makefile	Sat Apr  4 04:02:04 2015	(r383188)
@@ -2,22 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	rbot
-PORTVERSION=	0.9.15
-PORTREVISION=	2
+PORTVERSION=	20150311
+PORTREVISION=	0
+PORTEPOCH=	1
 CATEGORIES=	irc ruby
-MASTER_SITES=	http://ruby-rbot.org/download/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	bdrewery@FreeBSD.org
 COMMENT=	Ruby IRC bot similar to infobot
 
-RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
-		rubygem-gettext>=1.93.0:${PORTSDIR}/devel/rubygem-gettext
+RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/tokyocabinet.so:${PORTSDIR}/databases/ruby-tokyocabinet \
+		rubygem-mechanize>=0:${PORTSDIR}/www/rubygem-mechanize \
+		rubygem-tzinfo>=0:${PORTSDIR}/devel/rubygem-tzinfo \
+		rubygem-oauth>=0:${PORTSDIR}/net/rubygem-oauth \
+		rubygem-oauth2>=0:${PORTSDIR}/net/rubygem-oauth2
+LIB_DEPENDS=	libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
 
 USE_RUBY=	yes
 USE_RUBY_SETUP=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	ruby-${PORTNAME}
+GH_TAGNAME=	545f21791ad804a52f6b7470403a1fa5a3976f5f
+
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
 
@@ -25,15 +32,8 @@ PORTDOCS=	REQUIREMENTS ChangeLog
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-pre-install:
-	${RM} ${WRKSRC}/bin/svnwatch-postcommit-hook
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/irc/rbot/distinfo
==============================================================================
--- head/irc/rbot/distinfo	Sat Apr  4 01:06:47 2015	(r383187)
+++ head/irc/rbot/distinfo	Sat Apr  4 04:02:04 2015	(r383188)
@@ -1,2 +1,2 @@
-SHA256 (rbot-0.9.15.tgz) = f5f41b6760ad22a7057cf81c661b93ad59152fcc94374ef2c8c0e96f821a7f0b
-SIZE (rbot-0.9.15.tgz) = 709338
+SHA256 (ruby-rbot-rbot-20150311-545f21791ad804a52f6b7470403a1fa5a3976f5f_GH0.tar.gz) = f0912663bd88316e13fb46a3afbe676eb70d65e1664cfbd52f627f6f07e71098
+SIZE (ruby-rbot-rbot-20150311-545f21791ad804a52f6b7470403a1fa5a3976f5f_GH0.tar.gz) = 752090

Modified: head/irc/rbot/pkg-plist
==============================================================================
--- head/irc/rbot/pkg-plist	Sat Apr  4 01:06:47 2015	(r383187)
+++ head/irc/rbot/pkg-plist	Sat Apr  4 04:02:04 2015	(r383188)
@@ -1,23 +1,22 @@
 bin/rbot
-bin/rbot-remote
+bin/rbotdb
 %%RUBY_SITELIBDIR%%/rbot/botuser.rb
-%%RUBY_SITELIBDIR%%/rbot/compat19.rb
-%%RUBY_SITELIBDIR%%/rbot/config-compat.rb
 %%RUBY_SITELIBDIR%%/rbot/config.rb
 %%RUBY_SITELIBDIR%%/rbot/core/auth.rb
 %%RUBY_SITELIBDIR%%/rbot/core/basics.rb
 %%RUBY_SITELIBDIR%%/rbot/core/config.rb
 %%RUBY_SITELIBDIR%%/rbot/core/filters_ui.rb
 %%RUBY_SITELIBDIR%%/rbot/core/irclog.rb
-%%RUBY_SITELIBDIR%%/rbot/core/remote.rb
 %%RUBY_SITELIBDIR%%/rbot/core/unicode.rb
 %%RUBY_SITELIBDIR%%/rbot/core/userdata.rb
+%%RUBY_SITELIBDIR%%/rbot/core/utils/agent.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/extends.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/filters.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/httputil.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/parse_time.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/utils.rb
 %%RUBY_SITELIBDIR%%/rbot/core/utils/wordlist.rb
+%%RUBY_SITELIBDIR%%/rbot/core/webservice.rb
 %%RUBY_SITELIBDIR%%/rbot/core/wordlist_ui.rb
 %%RUBY_SITELIBDIR%%/rbot/irc.rb
 %%RUBY_SITELIBDIR%%/rbot/ircbot.rb
@@ -30,17 +29,21 @@ bin/rbot-remote
 %%RUBY_SITELIBDIR%%/rbot/pkgconfig.rb
 %%RUBY_SITELIBDIR%%/rbot/plugins.rb
 %%RUBY_SITELIBDIR%%/rbot/rbotconfig.rb
-%%RUBY_SITELIBDIR%%/rbot/registry/bdb.rb
+%%RUBY_SITELIBDIR%%/rbot/registry.rb
+%%RUBY_SITELIBDIR%%/rbot/registry/daybreak.rb
+%%RUBY_SITELIBDIR%%/rbot/registry/dbm.rb
+%%RUBY_SITELIBDIR%%/rbot/registry/sqlite.rb
 %%RUBY_SITELIBDIR%%/rbot/registry/tc.rb
 %%RUBY_SITELIBDIR%%/rbot/rfc2812.rb
 %%RUBY_SITELIBDIR%%/rbot/timer.rb
+man/rbot.xml.gz
 %%DATADIR%%/contrib/plugins/stats.rb
 %%DATADIR%%/contrib/plugins/vandale.rb
 %%DATADIR%%/filters/rss.rb
 %%DATADIR%%/languages/dutch.lang
 %%DATADIR%%/languages/english.lang
-%%DATADIR%%/languages/french.lang
 %%DATADIR%%/languages/finnish.lang
+%%DATADIR%%/languages/french.lang
 %%DATADIR%%/languages/german.lang
 %%DATADIR%%/languages/italian.lang
 %%DATADIR%%/languages/japanese.lang
@@ -56,22 +59,15 @@ bin/rbot-remote
 %%DATADIR%%/plugins/chanserv.rb
 %%DATADIR%%/plugins/chucknorris.rb
 %%DATADIR%%/plugins/chucknorris.yml.gz
-%%DATADIR%%/plugins/debugger.rb
 %%DATADIR%%/plugins/deepthoughts.rb
-%%DATADIR%%/plugins/delicious.rb
 %%DATADIR%%/plugins/dice.rb
-%%DATADIR%%/plugins/dict.rb
-%%DATADIR%%/plugins/dictclient.rb
-%%DATADIR%%/plugins/digg.rb
 %%DATADIR%%/plugins/eightball.rb
 %%DATADIR%%/plugins/excuse.rb
 %%DATADIR%%/plugins/factoids.rb
 %%DATADIR%%/plugins/figlet.rb
-%%DATADIR%%/plugins/forecast.rb
 %%DATADIR%%/plugins/fortune.rb
-%%DATADIR%%/plugins/freshmeat.rb
-%%DATADIR%%/plugins/geoip.rb
 %%DATADIR%%/plugins/games/azgame.rb
+%%DATADIR%%/plugins/games/greed.rb
 %%DATADIR%%/plugins/games/hangman.rb
 %%DATADIR%%/plugins/games/quiz.rb
 %%DATADIR%%/plugins/games/roshambo.rb
@@ -79,20 +75,17 @@ bin/rbot-remote
 %%DATADIR%%/plugins/games/shiritori.rb
 %%DATADIR%%/plugins/games/uno.rb
 %%DATADIR%%/plugins/games/wheelfortune.rb
+%%DATADIR%%/plugins/geoip.rb
 %%DATADIR%%/plugins/googlefight.rb
 %%DATADIR%%/plugins/greet.rb
-%%DATADIR%%/plugins/grouphug.rb
 %%DATADIR%%/plugins/hl2.rb
 %%DATADIR%%/plugins/host.rb
 %%DATADIR%%/plugins/httpd.rb.disabled
 %%DATADIR%%/plugins/imdb.rb
 %%DATADIR%%/plugins/insult.rb
-%%DATADIR%%/plugins/iplookup.rb
 %%DATADIR%%/plugins/karma.rb
 %%DATADIR%%/plugins/keywords.rb
 %%DATADIR%%/plugins/lart.rb
-%%DATADIR%%/plugins/lastfm.rb
-%%DATADIR%%/plugins/lib_spotify.rb
 %%DATADIR%%/plugins/linkbot.rb
 %%DATADIR%%/plugins/markov.rb
 %%DATADIR%%/plugins/math.rb
@@ -101,37 +94,34 @@ bin/rbot-remote
 %%DATADIR%%/plugins/nickserv.rb
 %%DATADIR%%/plugins/note.rb
 %%DATADIR%%/plugins/nslookup.rb
+%%DATADIR%%/plugins/oxford.rb
 %%DATADIR%%/plugins/plugin.header
+%%DATADIR%%/plugins/poll.rb
 %%DATADIR%%/plugins/quakeauth.rb
 %%DATADIR%%/plugins/quotes.rb
 %%DATADIR%%/plugins/reaction.rb
 %%DATADIR%%/plugins/remind.rb
-%%DATADIR%%/plugins/remotectl.rb
 %%DATADIR%%/plugins/ri.rb
 %%DATADIR%%/plugins/rot13.rb
 %%DATADIR%%/plugins/rss.rb
 %%DATADIR%%/plugins/salut.rb
 %%DATADIR%%/plugins/script.rb
 %%DATADIR%%/plugins/search.rb
+%%DATADIR%%/plugins/sed.rb
 %%DATADIR%%/plugins/seen.rb
 %%DATADIR%%/plugins/shortenurls.rb
 %%DATADIR%%/plugins/slashdot.rb
 %%DATADIR%%/plugins/spell.rb
-%%DATADIR%%/plugins/spotify.rb
 %%DATADIR%%/plugins/theyfightcrime.rb
-%%DATADIR%%/plugins/threat.rb
 %%DATADIR%%/plugins/time.rb
 %%DATADIR%%/plugins/topic.rb
 %%DATADIR%%/plugins/translator.rb
-%%DATADIR%%/plugins/tube.rb
 %%DATADIR%%/plugins/tumblr.rb
 %%DATADIR%%/plugins/twitter.rb
 %%DATADIR%%/plugins/urban.rb
 %%DATADIR%%/plugins/url.rb
 %%DATADIR%%/plugins/usermodes.rb
-%%DATADIR%%/plugins/wall.rb
 %%DATADIR%%/plugins/weather.rb
-%%DATADIR%%/plugins/wow.rb
 %%DATADIR%%/plugins/wserver.rb
 %%DATADIR%%/plugins/youtube.rb
 %%DATADIR%%/templates/keywords.rbot



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