[DRE-commits] r3690 - in packages/rbot/trunk: . debian debian/patches

Marc Dequènes duck at alioth.debian.org
Sat Jun 27 13:59:44 UTC 2009


Author: duck
Date: 2009-06-27 13:59:43 +0000 (Sat, 27 Jun 2009)
New Revision: 3690

Added:
   packages/rbot/trunk/debian/
   packages/rbot/trunk/debian/NEWS
   packages/rbot/trunk/debian/README.Debian
   packages/rbot/trunk/debian/changelog
   packages/rbot/trunk/debian/compat
   packages/rbot/trunk/debian/control
   packages/rbot/trunk/debian/control.in
   packages/rbot/trunk/debian/copyright
   packages/rbot/trunk/debian/install
   packages/rbot/trunk/debian/patches/
   packages/rbot/trunk/debian/patches/series
   packages/rbot/trunk/debian/patches/spell_module_use_aspell_not_ispell
   packages/rbot/trunk/debian/rbot-remote.xml
   packages/rbot/trunk/debian/rbot.xml
   packages/rbot/trunk/debian/rules
   packages/rbot/trunk/debian/toilet.rb
   packages/rbot/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/rbot/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/rbot/trunk/debian/NEWS
===================================================================
--- packages/rbot/trunk/debian/NEWS	                        (rev 0)
+++ packages/rbot/trunk/debian/NEWS	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,71 @@
+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
+    <login>< 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) <Duck at DuckCorp.org>  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) <Duck at DuckCorp.org>  Wed, 24 Aug 2005 23:58:04 +0200

Added: packages/rbot/trunk/debian/README.Debian
===================================================================
--- packages/rbot/trunk/debian/README.Debian	                        (rev 0)
+++ packages/rbot/trunk/debian/README.Debian	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,49 @@
+rbot for Debian
+---------------
+
+
+Plugins requirements:
+  (these are all optional, if you don't have them, the
+  plugins just won't work)
+
+  - bash: librexml-ruby
+  - cal: bsdmainutils
+  - delicious: librexml-ruby
+  - digg: librexml-ruby
+  - fortune: fortune-mod | fortune 
+  - forecast: librexml-ruby
+  - freshmeat: librexml-ruby
+  - games/shiritori: - (normalize-japanese library is used to play
+      in japanese mode, unfortunately unavailable)
+  - host: host
+  - lastfm: librexml-ruby
+  - slashdot: librexml-ruby
+  - spell: aspell
+  - toilet: toilet
+  - translator: libwww-mechanize-ruby1.8
+  - twitter: librexml-ruby
+  - weather: librexml-ruby
+  - wow: librexml-ruby
+
+Plugins removed:
+  - figlet: figlet is a non-free program
+
+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 <confdir>) ; by default rbot would use '~/.rbot'.
+  Run the bot this way
+    rbot <confdir> (<confdir> 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) <Duck at DuckCorp.org>  Sun, 19 Dec 2004 20:44:29 +0100
+

Added: packages/rbot/trunk/debian/changelog
===================================================================
--- packages/rbot/trunk/debian/changelog	                        (rev 0)
+++ packages/rbot/trunk/debian/changelog	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,94 @@
+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) <Duck at DuckCorp.org>  Wed, 01 Apr 2009 23:47:21 +0200
+
+rbot (0.9.10-3) unstable; urgency=low
+
+  * Minor 'debian/rules' cleanup.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  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) <Duck at DuckCorp.org>  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) <Duck at DuckCorp.org>  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) <Duck at DuckCorp.org>  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) <Duck at DuckCorp.org>  Mon, 20 Dec 2004 03:03:00 +0100
+

Added: packages/rbot/trunk/debian/compat
===================================================================
--- packages/rbot/trunk/debian/compat	                        (rev 0)
+++ packages/rbot/trunk/debian/compat	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1 @@
+7

Added: packages/rbot/trunk/debian/control
===================================================================
--- packages/rbot/trunk/debian/control	                        (rev 0)
+++ packages/rbot/trunk/debian/control	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,23 @@
+Source: rbot
+Section: net
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Build-Depends: debhelper (>= 7.0.1), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), ruby (>= 1.8), ruby-pkg-tools
+Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl
+Standards-Version: 3.8.1
+Homepage: http://ruby-rbot.org/
+
+Package: rbot
+Architecture: all
+Depends: ruby, ${misc:Depends}, libdb-ruby1.8, libopenssl-ruby1.8
+Recommends: libgettext-ruby
+Suggests: librexml-ruby (>= 1.8.1), host, aspell, bsdmainutils, fortune-mod | fortune, toilet, libwww-mechanize-ruby1.8
+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.
+

Added: packages/rbot/trunk/debian/control.in
===================================================================
--- packages/rbot/trunk/debian/control.in	                        (rev 0)
+++ packages/rbot/trunk/debian/control.in	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,23 @@
+Source: rbot
+Section: net
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Build-Depends: @cdbs@, ruby (>= 1.8), ruby-pkg-tools
+Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl
+Standards-Version: 3.8.1
+Homepage: http://ruby-rbot.org/
+
+Package: rbot
+Architecture: all
+Depends: ruby, ${misc:Depends}, libdb-ruby1.8, libopenssl-ruby1.8
+Recommends: libgettext-ruby
+Suggests: librexml-ruby (>= 1.8.1), host, aspell, bsdmainutils, fortune-mod | fortune, toilet, libwww-mechanize-ruby1.8
+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.
+

Added: packages/rbot/trunk/debian/copyright
===================================================================
--- packages/rbot/trunk/debian/copyright	                        (rev 0)
+++ packages/rbot/trunk/debian/copyright	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,20 @@
+This package was debianized by Marc Dequènes <Duck at DuckCorp.org> on
+Sun, 19 Dec 2004 20:44:29 +0100.
+
+It was downloaded from http://ruby-rbot.org/download/
+
+Upstream Authors: Tom Gilbert <tom at linuxbrit.co.uk> and contributors
+   (see '/usr/share/doc/rbot/AUTHORS' file)
+
+Copyright:
+
+   Copyright (C) 2002-2007 Tom Gilbert.
+   Copyright (C) 2007-2008 Giuseppe Bilotta and the rbot development team
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the MIT license with acknolwedgement clause (see
+COPYING.rbot) or the GNU General Public License, version 2 (see GPLv2)
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+

Added: packages/rbot/trunk/debian/install
===================================================================
--- packages/rbot/trunk/debian/install	                        (rev 0)
+++ packages/rbot/trunk/debian/install	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1 @@
+debian/toilet.rb usr/share/rbot/plugins/

Added: packages/rbot/trunk/debian/patches/series
===================================================================
--- packages/rbot/trunk/debian/patches/series	                        (rev 0)
+++ packages/rbot/trunk/debian/patches/series	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1 @@
+spell_module_use_aspell_not_ispell

Added: packages/rbot/trunk/debian/patches/spell_module_use_aspell_not_ispell
===================================================================
--- packages/rbot/trunk/debian/patches/spell_module_use_aspell_not_ispell	                        (rev 0)
+++ packages/rbot/trunk/debian/patches/spell_module_use_aspell_not_ispell	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,13 @@
+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',

Added: packages/rbot/trunk/debian/rbot-remote.xml
===================================================================
--- packages/rbot/trunk/debian/rbot-remote.xml	                        (rev 0)
+++ packages/rbot/trunk/debian/rbot-remote.xml	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,193 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Marc</firstname>">
+  <!ENTITY dhsurname   "<surname>Dequ\[`e]nes</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>20090401</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>Duck at DuckCorp.org</email>">
+  <!ENTITY dhusername  "Marc Dequ\[`e]nes (Duck)">
+  <!ENTITY dhucpackage "<refentrytitle>RBOT-REMOTE</refentrytitle>">
+  <!ENTITY dhpackage   "rbot-remote">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2004-2009</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>IRC bot written in ruby</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+        <group choice="req">
+           <group choice="req">
+	  	<arg><option>-u USER</option></arg>
+	  	<arg><option>--user USER</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-p PASSWORD</option></arg>
+	  	<arg><option>--password PASSWORD</option></arg>
+           </group>
+	</group>
+        <group choice="opt">
+           <group choice="req">
+	  	<arg><option>-d DEST</option></arg>
+	  	<arg><option>--destination DEST</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-r DRB_URI</option></arg>
+	  	<arg><option>--uri DRB_URI</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-h</option></arg>
+	  	<arg><option>--help</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-a</option></arg>
+	  	<arg><option>--about</option></arg>
+           </group>
+	</group>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para><command>&dhpackage;</command> is a proof-of-concept example for
+      rbot druby-based api. This program reads lines of text from the standard
+      input and sends them to a specified irc channel or user via rbot.
+    </para>
+
+    <para>Make sure you have remotectl.rb plugin loaded and assigned the needed
+       rights to the user before use.
+    </para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>This program follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-u <parameter>USER</parameter></option></term>
+        <term><option>--user <parameter>USER</parameter></option></term>
+        <listitem>
+          <para>Remote user.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-p <parameter>PASSWORD</parameter></option></term>
+        <term><option>--password <parameter>PASSWORD</parameter></option></term>
+        <listitem>
+          <para>Remote user password.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-d <parameter>DEST</parameter></option></term>
+        <term><option>--destination <parameter>DEST</parameter></option></term>
+        <listitem>
+          <para>Destination for message (user or channel).</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-r <parameter>DRB_URI</parameter></option></term>
+        <term><option>--uri <parameter>DRB_URI</parameter></option></term>
+        <listitem>
+          <para>Rbot url.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-h</option></term>
+        <term><option>--help</option></term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-a</option></term>
+        <term><option>--about</option></term>
+        <listitem>
+          <para>Tell what it's all about.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 3 or
+      any later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+

Added: packages/rbot/trunk/debian/rbot.xml
===================================================================
--- packages/rbot/trunk/debian/rbot.xml	                        (rev 0)
+++ packages/rbot/trunk/debian/rbot.xml	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,200 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Marc</firstname>">
+  <!ENTITY dhsurname   "<surname>Dequ\[`e]nes</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>20090401</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>Duck at DuckCorp.org</email>">
+  <!ENTITY dhusername  "Marc Dequ\[`e]nes (Duck)">
+  <!ENTITY dhucpackage "<refentrytitle>RBOT</refentrytitle>">
+  <!ENTITY dhpackage   "rbot">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2004-2009</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>IRC bot written in ruby</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+        <group choice="opt">
+           <group choice="req">
+	  	<arg><option>-d</option></arg>
+	  	<arg><option>--debug</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-h</option></arg>
+	  	<arg><option>--help</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-v</option></arg>
+	  	<arg><option>--version</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-l LEVEL</option></arg>
+	  	<arg><option>--loglevel LEVEL</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-b</option></arg>
+	  	<arg><option>--background</option></arg>
+           </group>
+           <group choice="req">
+	  	<arg><option>-p PIDFILE</option></arg>
+	  	<arg><option>--pidfile PIDFILE</option></arg>
+           </group>
+	</group>
+
+	<arg choice="opt" rep="norepeat">confdir</arg>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para><command>&dhpackage;</command> starts the Rbot (ruby IRC bot).</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>This program follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-d</option></term>
+        <term><option>--debug</option></term>
+        <listitem>
+          <para>Display debug information (very verbose).</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-h</option></term>
+        <term><option>--help</option></term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-v</option></term>
+        <term><option>--version</option></term>
+        <listitem>
+          <para>Display version information.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-l <parameter>LEVEL</parameter></option></term>
+        <term><option>--loglevel <parameter>LEVEL</parameter></option></term>
+        <listitem>
+          <para>
+             Sets the minimum log level verbosity. Possible values for the
+             loglevel are 0 (DEBUG), 1 (INFO), 2 (WARN), 3 (ERROR), 4
+             (FATAL). The default loglevel is 1 (INFO messages). The logfile
+             is located at BOTDIR/BOTNAME.log and doesn't contain IRC logs
+             (which are located at BOTDIR/logs/*), but only rbot diagnostic
+             messages.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-b</option></term>
+        <term><option>--background</option></term>
+        <listitem>
+          <para>Background (daemonize) the bot.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-p <parameter>PIDFILE</parameter></option></term>
+        <term><option>--pidfile <parameter>PIDFILE</parameter></option></term>
+        <listitem>
+          <para>Write the bot pid to PIDFILE. The default pidfile is BOTDIR/rbot.pid.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>CONFDIR</parameter></term>
+        <listitem>
+          <para>Path to the directory where are stored the bot's configuration files. The default config directory is ~/.rbot.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 3 or
+      any later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+

Added: packages/rbot/trunk/debian/rules
===================================================================
--- packages/rbot/trunk/debian/rules	                        (rev 0)
+++ packages/rbot/trunk/debian/rules	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+# In order to regenerate 'debian/control' :
+#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+# Then check manually if everything's ok
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+DEB_RUBY_CONFIG_ARGS += --shebang=never
+MANPAGES := debian/rbot.1 debian/rbot-remote.1
+
+
+build/rbot:: $(MANPAGES)
+
+%.1: %.xml
+	xsltproc -nonet -o $@ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+
+install/rbot::
+	# figlet is non-free, that's why this package would not recommend such a nasty program in any way
+	rm debian/rbot/usr/share/rbot/plugins/figlet.rb
+	# disabled plugins
+	for PL in shortenurls dictclient; do \
+		mv debian/rbot/usr/share/rbot/plugins/$${PL}.rb debian/rbot/usr/share/rbot/plugins/$${PL}.rb.disabled; \
+	done
+
+binary-install/rbot::
+	dh_installman -prbot $(MANPAGES)
+
+clean:: 
+	rm -f $(MANPAGES)
+	# buildsys fix
+	rm -f lib/rbot/pkgconfig.rb
+


Property changes on: packages/rbot/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/rbot/trunk/debian/toilet.rb
===================================================================
--- packages/rbot/trunk/debian/toilet.rb	                        (rev 0)
+++ packages/rbot/trunk/debian/toilet.rb	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,20 @@
+class ToiletPlugin < Plugin
+  def help(plugin, topic="")
+    "toilet [<message>] => print using toilet"
+  end
+  def privmsg(m)
+	  case m.params
+	  when nil
+		  m.reply "incorrect usage: " + help(m.plugin)
+		  return
+	  when (/^-/)
+		  m.reply "incorrect usage: " + help(m.plugin)
+		  return
+	  else
+		  m.reply Utils.safe_exec("toilet", "--gay", "--irc", m.params)
+		  return
+	  end
+  end
+end
+plugin = ToiletPlugin.new
+plugin.register("toilet")

Added: packages/rbot/trunk/debian/watch
===================================================================
--- packages/rbot/trunk/debian/watch	                        (rev 0)
+++ packages/rbot/trunk/debian/watch	2009-06-27 13:59:43 UTC (rev 3690)
@@ -0,0 +1,4 @@
+version=2
+http://ruby-rbot.org/download/ \
+	rbot-(.*)\.(?:tar\.gz|tgz) \
+        debian uupdate




More information about the Pkg-ruby-extras-commits mailing list