debian/0000755000000000000000000000000012162576231007173 5ustar debian/watch0000644000000000000000000000022211704420100010200 0ustar version=3 opts=dversionmangle=s/\+post[0-9]*\+git[0-9a-f]*// \ http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rbot .*/rbot-(.*).tar.gz debian/README.Debian0000644000000000000000000000210012153670327011226 0ustar rbot for Debian --------------- Plugins requirements: (these are all optional, if you don't have them, the plugins just won't work) - cal: bsdmainutils - fortune: fortune-mod | fortune - games/shiritori: - (normalize-japanese library is used to play in japanese mode, unfortunately unavailable) - host: host - spell: aspell - toilet: toilet - translator: ruby-mechanize, ruby-json (for google_translator) Plugins disabled: - dictclient: Ruby/DICT dependency unavailable - httpd: disabled by upstream author - shortenurls: shorturl dependency unavailable How to run the bot: Choose a directory to store your bot configuration (we are calling it ) ; by default rbot would use '~/.rbot'. Run the bot this way rbot ( parameter can be omitted if the directory name is '~/.rbot'). It will create all needed defaut files, and you can later change all parameters directly using bots commands (use help to know how to do it). -- Marc Dequènes (Duck) Sun, 19 Dec 2004 20:44:29 +0100 debian/rbot.manpages0000644000000000000000000000001011700660002011630 0ustar man/*.1 debian/NEWS0000644000000000000000000000622511700657574007706 0ustar rbot (0.9.14-1) unstable; urgency=low * New auth system: The basic hostmask-based auth is over, as long as basic auth levels. There is still a special owner account which can do everything. User accounts protected by password can now be created using 'user create < password>'. It is still possible to user hostmask-based auth with ou without autologin. Unfortunately, there is no upgrade path provided by the Rbot authors, so you have to recreate all accounts and rights (only the owner account is preserved). More details on the new system can be found here: http://ruby-rbot.org/rbot-trac/wiki/NewAuthModule * New plugins: + alias: commands aliases + botsnack: replaces the hardcoded botsnack command + chanserv: sets user rights using Chanserv + debugger: debugging/profiling for rbot + delicious: Del.icio.us URL auto-submiter + dict: remote dictionnaries (includes the previous demauro plugin features) + factoids: replaces the hardcoded fact command + azgame: A-Z game + quiz: Quiz game + shiritori: Shiritori game + uno: UNO game + wheelfortune: Hangman/Wheel Of Fortune game + geoip: resolves the geographic locations of users + hl2: Half-Life 2 server status + modes: manages IRC rights (ncludes the previous opme plugin features) + nickrecover: tries to recover the rbot nick + reaction: automatic replies/reactions to expressions/actions in channel + remotectl: druby remote command execution for rbot (use it with rbot-remote) + ri: Ruby documentation + rss: RSS/RDF reader + salut: responds to salutations + script: allow running scripts from rbot (like mini plugins) + search (includes the previous google plugin features) + time: timezones info + translator: use remote translation services + twitter: Twitter status updater + urban: uses www.urbandictionary.com + usermodes: sets rbot usermodes on connect + wall: allow to read/write rbot site "wall" on http://ruby-rbot.org/wall/ + youtube: YouTube info/search -- Marc Dequènes (Duck) Thu, 02 Apr 2009 01:41:01 +0200 rbot (0.9.9-1) unstable; urgency=low * New configuration file: 'conf.rbot' has been replaced by 'conf.yaml', which is more manageable, allowing on the fly configuration modifications using the "config" command (see: help config). You need to run the bot interractively the first time after upgrading, then a wizard will ask you questions to fill the necessary minimal parameters into the initial 'conf.yaml' file. Rbot may not guess the right directory (mostly if you use SU), so you're advised to specify the config directory in the command line. * Plugin directory has changed: plugins used to be in '/usr/lib/ruby/1.8/rbot/plugins', and now live in '/usr/share/rbot/plugins', so you need to move your custom system-wide plugins manually. * New plugins: + autoop + opme + quakeauth: Q auth on Quakenet network + roshambo: rock-paper-scissors game + tube: London Tube transport information -- Marc Dequènes (Duck) Wed, 24 Aug 2005 23:58:04 +0200 debian/changelog0000644000000000000000000001440112162576035011047 0ustar rbot (0.9.15+post20100705+gitb3aa806-4) unstable; urgency=low [ Cédric Boutillier ] * add dmangleversion option to debian/watch [ Christian Hofstaedtler ] * Remove transitional library names from dependencies * Bump Standards-Version to 3.9.4 (no changes). * Remove outdated DM-Upload-Allowed flag * Remove convienence copy of jQuery * Update Vcs-* fields * Update debian/copyright Format URL [ Marc Dequènes (Duck) ] * Updated documentation build rule to use current rdoc parameters. * Patched buildsys to work with recent ruby-gettext. -- Marc Dequènes (Duck) Wed, 26 Jun 2013 16:35:04 +0200 rbot (0.9.15+post20100705+gitb3aa806-3) unstable; urgency=low * Switched to gem2deb packaging style. * Switched to the new git repository. * Converted copyright file to DEP5. * Updated plugins requirements in 'README.Debian'. * Increased Standards-Version to 3.9.2 (no changes). -- Marc Dequènes (Duck) Tue, 03 Jan 2012 21:36:00 +0100 rbot (0.9.15+post20100705+gitb3aa806-2) unstable; urgency=medium * Fixed FTBFS and other cleanups (Closes: 588657). * Increased Standards-Version to 3.9.0 (no changes). * Added patch 'buildsys_no_rubygems' to remove useless rubygems build dependency. -- Marc Dequènes (Duck) Sun, 11 Jul 2010 12:56:38 +0200 rbot (0.9.15+post20100705+gitb3aa806-1) unstable; urgency=medium * New upstream release (after months of upstream pinging, and thanks to tango_ ;-) (Closes: #551560): + still a few problems, then using a git post-release snapshot + removed obsolete patch 'reaction_plugin_security_update + adapted manpages build, they are now included upstream + build mo files + removed toilet plugin, as the figlet plugin now has toilet support + depends on libtokyocabinet-ruby1.8 (alternative to BDB) + set severity to medium, because rbot is broken with recent Ruby Gettext + updated copyright file + updated Suggests/Recommends and REAME.Debian for plugins * Added documentation package. * Fixed package section. -- Marc Dequènes (Duck) Sun, 27 Jun 2010 17:27:32 +0200 rbot (0.9.14-2) unstable; urgency=high [ Paul van Tilburg ] * Added Debian/Ruby Extras Maintainers to the uploaders. [ Marc Dequènes (Duck) ] * Switched to dpkg-source 3.0 (quilt) format. * Added 'reaction_plugin_security_update' patch to update the reaction plugin and fix several security flows (Closes: #575286). * Increased Standards-Version to 3.8.4 (no changes). -- Marc Dequènes (Duck) Thu, 25 Mar 2010 00:13:39 +0100 rbot (0.9.14-1) unstable; urgency=low * New upstream release * Added missing '${misc:Depends}' dependency. * Bumped Standards-Version (no changes). * Updated copyright file. * Updated disabled plugins list. * Updated plugins documentation. * Updated watch file. * Updated rbot manpage and created rbot-remote manpage. * Changed depends on libdb (unique libdb-ruby1.8 now). * Switched to compat level 7. * Updated site and download URL. * Simplified 'debian/rules' using Ruby Team CDBS rules. * Updated Suggests/Recommends. -- Marc Dequènes (Duck) Wed, 01 Apr 2009 23:47:21 +0200 rbot (0.9.10-3) unstable; urgency=low * Minor 'debian/rules' cleanup. -- Marc Dequènes (Duck) Fri, 21 Mar 2008 01:29:39 +0100 rbot (0.9.10-2) unstable; urgency=high * Fixed ruby dependency as the versioning scheme changed and version limiting is done another way now (Closes: #463484). * Increased Standards-Version (no changes). * Added Homepage URL. * Disabled rubyurl plugins: depends not available in Debian. * Updated README.Debian (Closes: #401718, #441025). * Added toilet plugin from Arnaud Cornet (Closes: #438609). * Switched to debhelper compat 5. -- Marc Dequènes (Duck) Wed, 06 Feb 2008 23:27:57 +0100 rbot (0.9.10-1) unstable; urgency=low * New upstream release: + fixed address_prefix (removed 02_address_prefix_broken patch) + render 03_refs_install_rb patch obsolete + fixed buildsys (removed 04_buildsys_broken patch) * Now using quilt for patch management. * Fixed build-depends: several packages where needed at clean time, then split -Indep. * Updated Depends for new requirements. * Removed new figlet plugin: figlet is non-free, that's why this package would not recommend such a nasty program in any way (please don't waste your time sending crappy reports to the BTS, this will end up to WONTFIX flagging, thanks). * Disabled tinyurl and urban plugins: depends not available in Debian. * Added new recommands: + bsdmainutils: used for cal in cal plugin + fortune-mod | fortune: used in fortune plugin * Updated README.Debian plugins information. * Increased Standards-Version to 3.7.2.1 (no changes). * Updated watch file. -- Marc Dequènes (Duck) Mon, 7 Aug 2006 00:06:16 +0200 rbot (0.9.9-1) unstable; urgency=high * New upstream release. * Fixed depends, and build-depends (avoiding FTBFS). * Removed patches : - 01_core_http_syntax_fix.patch : fixed upstream - 02_freshmeat_bad_rdf_url.patch: url changed again, fixed upstream - 04_weather_bad_icao_code_url.patch: fixed upstream - 05_nickserv_register_fix.patch: nickserv plugin rewritten * Fixed '03_spell_use_aspell_not_ispell.patch' for path change and help message. * Applied '02_address_prefix_broken.patch' borrowed from SVN. * Applied '03_refs_install_rb.patch' fo fix error messages. * Reindexed patches. * Minor manpage update (with encoding fix). * Updated Standards-Version to please lintian (no changes needed). -- Marc Dequènes (Duck) Thu, 25 Aug 2005 00:32:45 +0200 rbot (0.9.7-1) unstable; urgency=low * Initial Release (Closes: #140985). * Applied small patches : - core : fix http.get affectation syntax. - freshmeat : correct RDF URL. - spell : use aspell instead of deprecated ispell. - weather : correct URL where to find ICAO codes in help. - nickserv : fix nickserv registration not saved by bot when passwd not given (autogenerated). * Created missing manpage. -- Marc Dequènes (Duck) Mon, 20 Dec 2004 03:03:00 +0100 debian/rbot.install0000644000000000000000000000034111700734074011525 0ustar data/rbot/* usr/share/rbot/ # this file should be generated at build time. # it did well using setup.rb's post-config.rb, but the # rubygems's config does not care about it. debian/pkgconfig.rb usr/lib/ruby/vendor_ruby/rbot/ debian/require-rubygems.overrides0000644000000000000000000000016411700727547014434 0ustar --- - debian/rbot/usr/lib/ruby/vendor_ruby/rbot/ircbot.rb - debian/rbot/usr/lib/ruby/vendor_ruby/rbot/rbotconfig.rb debian/rbot-doc.docs0000644000000000000000000000005011700675150011546 0ustar README.rdoc AUTHORS TODO build-doc/rdoc debian/compat0000644000000000000000000000000211700653557010375 0ustar 7 debian/source/0000755000000000000000000000000011700727550010472 5ustar debian/source/format0000644000000000000000000000001411700653560011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012162572024010616 5ustar debian/patches/series0000644000000000000000000000012012162567656012043 0ustar buildsys_no_rubygems spell_module_use_aspell_not_ispell buildsys_recent_gettext debian/patches/spell_module_use_aspell_not_ispell0000644000000000000000000000112511221422717017666 0ustar Index: rbot-0.9.14/data/rbot/plugins/spell.rb =================================================================== --- rbot-0.9.14.orig/data/rbot/plugins/spell.rb 2008-10-04 11:30:19.000000000 +0200 +++ rbot-0.9.14/data/rbot/plugins/spell.rb 2009-04-01 23:09:49.000000000 +0200 @@ -5,7 +5,7 @@ class SpellPlugin < Plugin Config.register Config::StringValue.new('spell.path', - :default => 'ispell', + :default => 'aspell', :desc => _('Path to the program to use to check spelling')) Config.register Config::StringValue.new('spell.command_line', :default => '%s -a -S', debian/patches/buildsys_recent_gettext0000644000000000000000000000252112162572024015503 0ustar Index: rbot/Rakefile =================================================================== --- rbot.orig/Rakefile 2013-06-26 15:40:20.684877578 +0200 +++ rbot/Rakefile 2013-06-26 15:59:38.257906086 +0200 @@ -40,7 +40,7 @@ task :define_po_rules do # generate pot file from rb files rgettext_proc = proc do |t| - require 'gettext/utils' + require 'gettext/tools' source_files, pot_file = t.prerequisites, t.name new_pot_file = "#{pot_file}.new" puts "#{source_files.join(', ')} => #{pot_file}" @@ -72,7 +72,7 @@ # update po file from pot file msgmerge_proc = proc do |t| - require 'gettext/utils' + require 'gettext/tools' po_file, pot_file = t.name, t.source puts "#{pot_file} => #{po_file}" if File.exists? po_file @@ -112,8 +112,8 @@ }) do |t| po_file, mo_file = t.source, t.name puts "#{po_file} => #{mo_file}" - require 'gettext/utils' - GetText.rmsgfmt po_file, mo_file + require 'gettext/tools' + GetText::Tools::MsgFmt.run(po_file, "-o", mo_file) end task :check_po_tools do @@ -171,7 +171,7 @@ # to make installation not fail because of lack of ruby-gettext task :buildext do begin - require 'gettext/utils' + require 'gettext/tools' Rake::Task[:makemo].invoke rescue LoadError warn 'Ruby-gettext cannot be located, so mo files cannot be built and installed' debian/patches/buildsys_no_rubygems0000644000000000000000000000166211416322574015021 0ustar Index: rbot-0.9.15+post20100705+gitb3aa806/Rakefile =================================================================== --- rbot-0.9.15+post20100705+gitb3aa806.orig/Rakefile 2010-07-05 11:56:33.000000000 +0200 +++ rbot-0.9.15+post20100705+gitb3aa806/Rakefile 2010-07-11 13:05:06.000000000 +0200 @@ -1,5 +1,4 @@ require 'rake' -require 'rake/gempackagetask' task :default => [:buildext] @@ -9,18 +8,6 @@ task :manpages => ['man/rbot.1', 'man/rbot-remote.1'] -SPECFILE = 'rbot.gemspec' -# The Rakefile is also used after installing the gem, to build -# the .mo files. Since in this case the SPECFILE is not available, -# we must (and can) skip defining the gem packaging tasks. -if File.exist? SPECFILE - spec = eval(File.read(SPECFILE), nil, SPECFILE) - Rake::GemPackageTask.new(spec) do |pkg| - pkg.need_zip = true - pkg.need_tar = true - end -end - # normalize a po/pot file def normalize_po(fn) content = File.read(fn) debian/rbot-doc.doc-base0000644000000000000000000000052111700657761012306 0ustar Document: rbot-doc Title: rbot - The Ruby IRC bot Author: Tom Gilbert (giblet) , Giuseppe "Oblomov" Bilotta (tango_) Abstract: Rdoc-generated API documentation. Section: Programming/Ruby Format: HTML Index: /usr/share/doc/rbot-doc/rdoc/index.html Files: /usr/share/doc/rbot-doc/rdoc/* debian/control0000644000000000000000000000340612162563414010600 0ustar Source: rbot Section: ruby Priority: optional Maintainer: Marc Dequènes (Duck) Uploaders: Debian Ruby Extras Maintainers Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), rake, ruby-gettext Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl, graphviz Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/rbot.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/rbot.git;a=summary Homepage: http://ruby-rbot.org/ XS-Ruby-Versions: all Package: rbot Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-bdb | ruby-tokyocabinet Recommends: ruby-gettext, ruby-hpricot Suggests: host, aspell, bsdmainutils, fortune-mod | fortune, toilet, ruby-mechanize, ruby-json Description: IRC bot written in Ruby Rbot is very extensible thanks to a well designed plugin scheme. It has native infobot-style keywords, fact database, access levels and multi-language support. . It comes with several classical plugins, like DNS queries, Babelfish translation, Google searching, Karma, Weather, quotes, Slashdot news, and many more. Package: rbot-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery Suggests: doc-base Description: IRC bot written in Ruby -- API documentation Rbot is very extensible thanks to a well designed plugin scheme. It has native infobot-style keywords, fact database, access levels and multi-language support. . It comes with several classical plugins, like DNS queries, Babelfish translation, Google searching, Karma, Weather, quotes, Slashdot news, and many more. . This package procides the API documentation, useful for programming plugins. debian/README.source0000644000000000000000000000101211700727550011343 0ustar For general purpose Team Packaging guidelines, see: http://wiki.debian.org/Teams/Ruby/Packaging The following is the maintainer's local policy. Patches to the upstream code are managed in debian/patches/. It is easier to manage everything in git and use a single debian patch file, but it does not allow easy retrieval of a proper rebased patch and the patch's history cannot be sorted out quickly. Methods like gbp-pq are interesting but also have drawbacks, so it's how it gonna be handled in the package for now. debian/copyright0000644000000000000000000000371712153670327011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rbot Source: http://rubygems.org/gems/rbot Files: * Copyright: 2002-2007 Tom Gilbert 2007-2010 Giuseppe Bilotta and the rbot development team License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: 2004-2012 Marc Dequènes (Duck) License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/rules0000755000000000000000000000227212162566733010264 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec DISABLED_PLUGINS = shortenurls dictclient %: dh $@ --buildsystem=ruby --with ruby override_dh_auto_build: dh_auto_build rake makemo rake manpages rdoc -a -t 'rbot - The Ruby IRC bot' -f darkfish -m README.rdoc -o build-doc/rdoc README.rdoc lib rm -f build-doc/rdoc/js/jquery.js ln -s /usr/share/javascript/jquery/jquery.js build-doc/rdoc/js/jquery.js override_dh_install: dh_install # disabled plugins for PL in $(DISABLED_PLUGINS); do \ mv debian/rbot/usr/share/rbot/plugins/$${PL}.rb \ debian/rbot/usr/share/rbot/plugins/$${PL}.rb.disabled; \ done # a few plugins have wrong permissions chmod a-x debian/rbot/usr/share/rbot/plugins/*.rb override_dh_auto_clean: dh_auto_clean rm -rf build-doc # dirty buildsys rm -rf data/locale rm -f man/*.1 rm -f lib/rbot/pkgconfig.rb debian/pkgconfig.rb0000644000000000000000000000017411700733530011463 0ustar module Irc module PKGConfig DATADIR = '/usr/share/rbot' COREDIR = '/usr/lib/ruby/vendor_ruby/rbot/core' end end