[libbot-basicbot-pluggable-perl] 02/02: Initial Release
Jotam Jr. Trejo
jotamjr-guest at alioth.debian.org
Mon Oct 28 06:28:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
jotamjr-guest pushed a commit to branch master
in repository libbot-basicbot-pluggable-perl.
commit ef630283984cf51bb1ffda26fb977c547aeb8651
Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
Date: Mon Oct 28 00:27:17 2013 -0600
Initial Release
---
debian/changelog | 2 +-
debian/control | 37 ++++--
debian/copyright | 12 +-
debian/libbot-basicbot-pluggable-perl.docs | 1 -
debian/libbot-basicbot-pluggable-perl.examples | 4 +
.../patches/fix_manpage_errors_from_pod2man.patch | 38 ++++++
debian/patches/fix_pod_misspells.patch | 134 ++++++++++++++++++++
debian/patches/series | 2 +
debian/rules | 15 +++
9 files changed, 220 insertions(+), 25 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ba9ce78..64644e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ libbot-basicbot-pluggable-perl (0.98-1) UNRELEASED; urgency=low
* Initial Release. (Closes: #695946)
- -- Jotam Jr. Trejo <jotamjr at quasar> Sun, 27 Oct 2013 00:11:33 -0600
+ -- Jotam Jr. Trejo <jotamjr at debian.org.sv> Sun, 27 Oct 2013 00:11:33 -0600
diff --git a/debian/control b/debian/control
index ff246ac..8bf7b78 100644
--- a/debian/control
+++ b/debian/control
@@ -2,16 +2,16 @@ Source: libbot-basicbot-pluggable-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jotam Jr. Trejo <jotamjr at quasar>
-Build-Depends: debhelper (>= 9.20120312)
-Build-Depends-Indep: libbot-basicbot-perl (>= 0.60),
+Uploaders: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: libbot-basicbot-perl,
libconfig-find-perl,
- libcrypt-saltedhash-perl (>= 0.06),
+ libcrypt-saltedhash-perl,
libdbd-sqlite3-perl,
libdbi-perl,
libdbm-deep-perl,
liblist-moreutils-perl,
- liblog-log4perl-perl (>= 1.11),
+ liblog-log4perl-perl,
libmoose-perl,
libmoosex-getopt-perl,
libmoosex-simpleconfig-perl,
@@ -24,7 +24,7 @@ Build-Depends-Indep: libbot-basicbot-perl (>= 0.60),
libwww-perl,
libxml-feed-perl,
libyaml-libyaml-perl,
- perl (>= 5.11.4)
+ perl
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libbot-basicbot-pluggable-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libbot-basicbot-pluggable-perl.git
@@ -33,13 +33,13 @@ Homepage: https://metacpan.org/release/Bot-BasicBot-Pluggable
Package: libbot-basicbot-pluggable-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends},
- libbot-basicbot-perl (>= 0.60),
+ libbot-basicbot-perl,
libconfig-find-perl,
- libcrypt-saltedhash-perl (>= 0.06),
+ libcrypt-saltedhash-perl,
libdbi-perl,
libdbm-deep-perl,
liblist-moreutils-perl,
- liblog-log4perl-perl (>= 1.11),
+ liblog-log4perl-perl,
libmoose-perl,
libmoosex-getopt-perl,
libmoosex-simpleconfig-perl,
@@ -52,8 +52,19 @@ Depends: ${misc:Depends}, ${perl:Depends},
libwww-perl,
libxml-feed-perl
Description: extended simple IRC bot for pluggable modules
- Test::Bot::BasicBot::Pluggable was written to provide a minimalistic testing
- bot in order to write cleaner unit tests for Bot::BasicBot::Pluggable
- modules.
+ Bot::BasicBot::Pluggable started as Yet Another Infobot replacement,
+ but now is a generalized framework for writing infobot-type bots that
+ lets you keep each specific function separate. You can have separate modules
+ for factoid tracking, 'seen' status, karma, googling, etc.
+ Included default modules are:
.
- This description was automagically extracted from the module by dh-make-perl.
+ Auth - user authentication and main access.
+ DNS - host lookup (e.g. nslookup and dns).
+ Google - search Google for things.
+ Infobot - handles infobot-style factoids.
+ Join - joins and leaves channels.
+ Karma - tracks the popularity of things.
+ Loader - loads and unloads modules as bot commands.
+ Seen - tells you when people were last seen.
+ Title - gets the title of URLs mentioned in channel.
+ Vars - changes module variables.
diff --git a/debian/copyright b/debian/copyright
index 69d812d..bbbe49c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,21 +2,13 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://metacpan.org/release/Bot-BasicBot-Pluggable
Upstream-Contact: Mario Domgoergen <mdom at cpan.org>
Upstream-Name: Bot-BasicBot-Pluggable
-DISCLAIMER: This copyright info was automatically extracted
- from the perl module. It may not be accurate, so you better
- check the module sources in order to ensure the module for its
- inclusion in Debian or for general legal information. Please,
- if licensing information is incorrectly generated, file a bug
- on dh-make-perl.
- NOTE: Don't forget to remove this disclaimer once you are happy
- with this file.
Files: *
-Copyright: Mario Domgoergen <mdom at cpan.org>
+Copyright: 2012, Mario Domgoergen <mdom at cpan.org>
License: Artistic or GPL-1+
Files: debian/*
-Copyright: 2013, Jotam Jr. Trejo <jotamjr at quasar>
+Copyright: 2013, Jotam Jr. Trejo <jotamjr at debian.org.sv>
License: Artistic or GPL-1+
License: Artistic
diff --git a/debian/libbot-basicbot-pluggable-perl.docs b/debian/libbot-basicbot-pluggable-perl.docs
deleted file mode 100644
index 1333ed7..0000000
--- a/debian/libbot-basicbot-pluggable-perl.docs
+++ /dev/null
@@ -1 +0,0 @@
-TODO
diff --git a/debian/libbot-basicbot-pluggable-perl.examples b/debian/libbot-basicbot-pluggable-perl.examples
index e39721e..cd6f3b1 100644
--- a/debian/libbot-basicbot-pluggable-perl.examples
+++ b/debian/libbot-basicbot-pluggable-perl.examples
@@ -1 +1,5 @@
examples/*
+bin/bot-basicbot-pluggable-cgi
+bin/bot-basicbot-pluggable-cli
+bin/bot-basicbot-pluggable-infobot-upgrade
+bin/storable2dbi.pl
diff --git a/debian/patches/fix_manpage_errors_from_pod2man.patch b/debian/patches/fix_manpage_errors_from_pod2man.patch
new file mode 100644
index 0000000..d1b5a06
--- /dev/null
+++ b/debian/patches/fix_manpage_errors_from_pod2man.patch
@@ -0,0 +1,38 @@
+Description: POD syntax errors
+ The next files contained syntax errors on the POD documentation
+ * lib/Bot/BasicBot/Pluggable/Module/Karma.pm
+ * lib/App/Bot/BasicBot/Pluggable/Terminal.pm
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89806
+Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Last-Update: 2013-10-27
+--- a/lib/Bot/BasicBot/Pluggable/Module/Karma.pm
++++ b/lib/Bot/BasicBot/Pluggable/Module/Karma.pm
+@@ -288,8 +288,6 @@
+ Defaults to 1; whether to randomize the order of reasons. If set
+ to 0, the reasons are sorted in reversed chronological order.
+
+-=back
+-
+ =item karma_change_response
+
+ Defaults to 1; whether to show a response when the karma of a
+@@ -297,6 +295,8 @@
+ If set to 0, the bot will silently update the karma, without
+ a response.
+
++=back
++
+ =head1 AUTHOR
+
+ Mario Domgoergen <mdom at cpan.org>
+--- a/lib/App/Bot/BasicBot/Pluggable/Terminal.pm
++++ b/lib/App/Bot/BasicBot/Pluggable/Terminal.pm
+@@ -15,7 +15,7 @@
+
+ =head1 NAME
+
+-App::Bot::BasicBot::Pluggable::Terminal
++App::Bot::BasicBot::Pluggable::Terminal - alters the default bot class to L<Bot::BasicBot::Pluggable::Terminal>
+
+ =head1 VERSION
+
diff --git a/debian/patches/fix_pod_misspells.patch b/debian/patches/fix_pod_misspells.patch
new file mode 100644
index 0000000..b32b4ce
--- /dev/null
+++ b/debian/patches/fix_pod_misspells.patch
@@ -0,0 +1,134 @@
+Description: fix misspells in pod documentation
+ There are some misspells on the POD documentation on different
+ files provided by this module.
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89805
+Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Last-Update: 2013-10-27
+--- a/lib/Bot/BasicBot/Pluggable.pm
++++ b/lib/Bot/BasicBot/Pluggable.pm
+@@ -460,7 +460,7 @@
+
+ Bot::BasicBot::Pluggable started as Yet Another Infobot replacement, but now
+ is a generalised framework for writing infobot-type bots that lets you keep
+-each specific function seperate. You can have seperate modules for factoid
++each specific function separate. You can have separate modules for factoid
+ tracking, 'seen' status, karma, googling, etc. Included default modules are
+ below. Use C<perldoc Bot::BasicBot::Pluggable::Module::<module name>> for help
+ on their individual terminology.
+@@ -503,7 +503,7 @@
+
+ Reload the module C<$module> - equivalent to unloading it (if it's already
+ loaded) and reloading it. Will stomp the old module's namespace - warnings
+-are expected here. Not toally clean - if you're experiencing odd bugs, restart
++are expected here. Not totally clean - if you're experiencing odd bugs, restart
+ the bot if possible. Works for minor bug fixes, etc.
+
+ =item unload($module)
+@@ -552,7 +552,7 @@
+
+ Returns the bot configuration file for logging. Please refer to
+ L<Log::Log4perl::Config> for the configurations files format. Setting
+-this to a differant file after calling init() has no effect.
++this to a different file after calling init() has no effect.
+
+ Returns or set
+
+--- a/lib/Bot/BasicBot/Pluggable/Module.pm
++++ b/lib/Bot/BasicBot/Pluggable/Module.pm
+@@ -318,7 +318,7 @@
+ return;
+ }
+
+-The preferred way, however, is to override one of the seperate C<seen()>, C<admin()>,
++The preferred way, however, is to override one of the separate C<seen()>, C<admin()>,
+ C<told()> and C<fallback()> methods, corresponding to priorities 0, 1, 2 and 3
+ in order - this will lead to nicer code. This approach is new, though, which
+ is why it's not yet used in most of the shipped modules yet. It will eventually
+@@ -362,7 +362,7 @@
+
+ =item authed($who)
+
+-This is a convinient method that trys to check for the users
++This is a convenient method that tries to check for the users
+ authentication level via Auth.pm. It is exactly equivalent to
+
+ $self->bot->module('Auth')
+--- a/lib/Bot/BasicBot/Pluggable/Module/Auth.pm
++++ b/lib/Bot/BasicBot/Pluggable/Module/Auth.pm
+@@ -221,10 +221,10 @@
+
+ If this variable is true, the implicit authentication handling is
+ disabled. Every module will have to check for authentication via the
+-authed method, otherwise access is just granted. This is only usefull
++authed method, otherwise access is just granted. This is only useful
+ to allow modules to handle directives starting with an exclamation
+ mark without needing any authentication. And to make things even more
+-interesting, you won't be warned that you have't authenticated, so modules
++interesting, you won't be warned that you haven't authenticated, so modules
+ needing authentication will fail without any warning. It defaults to
+ false and should probably never be changed. You've been warned.
+
+--- a/lib/Test/Bot/BasicBot/Pluggable.pm
++++ b/lib/Test/Bot/BasicBot/Pluggable.pm
+@@ -126,7 +126,7 @@
+
+ =head2 DESTROY
+
+-The special subrouting is explicitly overriden with an empty
++The special subroutine is explicitly overridden with an empty
+ subroutine as otherwise AUTOLOAD in Bot::BasicBot will be called
+ for it.
+
+--- a/bin/bot-basicbot-pluggable
++++ b/bin/bot-basicbot-pluggable
+@@ -46,7 +46,7 @@
+ =item --logconfig FILE
+
+ The logging configuration will be read from the specified file.
+-Please refer to L<Log::Log4perl::Config> for its format. The paramter
++Please refer to L<Log::Log4perl::Config> for its format. The parameter
+ loglevel will be ignored if this options is supplied.
+
+ =item --loglevel LEVEL
+@@ -61,7 +61,7 @@
+
+ =item --channel CHANNELNAME
+
+-Channel to connect to. This paramter may be provided several times.
++Channel to connect to. This parameter may be provided several times.
+ You do not have to prefix the channel name with a hash symbol, which
+ would have to be escaped in shell. It's automatically added for
+ you.
+@@ -74,7 +74,7 @@
+
+ =item --module
+
+-Modules to load. This paramter may be profided several times. You
++Modules to load. This parameter may be provided several times. You
+ can call --list-modules to get a list of all available modules. If
+ you do not define any module via this option, I<Auth> and I<Loader>
+ are loaded by default.
+@@ -97,7 +97,7 @@
+
+ This options take a string in the form I<key>=I<value> and can be
+ specified multiple times. The value of the key I<type> define which
+-storage backend to load, all other paramters are passed the the
++storage backend to load, all other parameters are passed to the
+ object constructor as hash reference.
+
+ For example:
+@@ -131,11 +131,11 @@
+ =head1 CONFIGFILE
+
+ The bot read a configfile either found by L<Config::Find> (usually
+-named ~/.bot-basicbot-pluggable.yaml) or specified on the comamnd
+-line via I<--configfile> on startup. The file should be a synatctical
++named ~/.bot-basicbot-pluggable.yaml) or specified on the command
++line via I<--configfile> on startup. The file should be a syntactical
+ correct yaml file with a hash as its first level element. It
+ understands every option listed above and the special settings
+-paramter, which is a hash, where the keys are module names and the
++parameter, which is a hash, where the keys are module names and the
+ value is a hash of configurable module settings. Easier to show
+ than to explain:
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f31582
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix_manpage_errors_from_pod2man.patch
+fix_pod_misspells.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..27c6d30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,19 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ rm $(TMP)/usr/bin/bot-basicbot-pluggable-cgi
+ rm $(TMP)/usr/bin/bot-basicbot-pluggable-cli
+ rm $(TMP)/usr/bin/bot-basicbot-pluggable-infobot-upgrade
+ rm $(TMP)/usr/bin/storable2dbi.pl
+
+override_dh_installexamples:
+ dh_installexamples
+ sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/storable2dbi.pl
+ sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl -w|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/bot-basicbot-pluggable-cgi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbot-basicbot-pluggable-perl.git
More information about the Pkg-perl-cvs-commits
mailing list