r14965 - in /trunk/libpoe-component-irc-perl/debian: changelog control patches/ patches/fix_manpages.patch patches/series rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Fri Feb 15 05:41:07 UTC 2008


Author: tincho-guest
Date: Fri Feb 15 05:41:05 2008
New Revision: 14965

URL: http://svn.debian.org/wsvn/?sc=1&rev=14965
Log:
  - added libtest-pod-perl, libtest-pod-coverage-perl, libsocket6-perl to
    B-D-I.
  - added quilt B-D.
    used during testing. Added libpoe-component-sslify-perl.
  - fixed short Description.
* debian/rules: from scratch. NOTE: the tests are enabled and they use the
  network via loopback interface. A ad-hoc test of localhost reachability is
  included as precondition for running the tests. The only tests that access
  a non-local IP (t/testsuite_03_online.t), fails gracefully in case of
  timeout.
* debian/patches: fix to manpages (missing newline).

Added:
    trunk/libpoe-component-irc-perl/debian/patches/
    trunk/libpoe-component-irc-perl/debian/patches/fix_manpages.patch
    trunk/libpoe-component-irc-perl/debian/patches/series
Modified:
    trunk/libpoe-component-irc-perl/debian/changelog
    trunk/libpoe-component-irc-perl/debian/control
    trunk/libpoe-component-irc-perl/debian/rules

Modified: trunk/libpoe-component-irc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-irc-perl/debian/changelog?rev=14965&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/changelog (original)
+++ trunk/libpoe-component-irc-perl/debian/changelog Fri Feb 15 05:41:05 2008
@@ -1,4 +1,4 @@
-libpoe-component-irc-perl (5.62+dfsg-1) UNRELEASED; urgency=low
+libpoe-component-irc-perl (5.62+dfsg-1) unstable; urgency=low
 
   [ gregor herrmann ]
   * Take over for the Debian Perl Group on maintainer's request; cf.
@@ -17,13 +17,22 @@
     - debhelper should not go in b-d-i.
     - bumped Standards-Version (no changes).
     - added myself to Uploaders.
+    - added libtest-pod-perl, libtest-pod-coverage-perl, libsocket6-perl to
+      B-D-I.
+    - added quilt B-D.
     - removed libtimedate-perl *depends.
     - removed libpoe-component-client-ident-perl from Suggests, as it is only
-    used during testing. Added libpoe-component-sslify-perl.
+      used during testing. Added libpoe-component-sslify-perl.
+    - fixed short Description.
   * debian/copyright: new format and more complete info.
-  * debian/rules: from scratch.
+  * debian/rules: from scratch. NOTE: the tests are enabled and they use the
+    network via loopback interface. A ad-hoc test of localhost reachability is
+    included as precondition for running the tests. The only tests that access
+    a non-local IP (t/testsuite_03_online.t), fails gracefully in case of
+    timeout.
+  * debian/patches: fix to manpages (missing newline).
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 13 Feb 2008 21:42:27 +0100
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Fri, 15 Feb 2008 03:39:07 -0200
 
 libpoe-component-irc-perl (5.02-1) unstable; urgency=low
 

Modified: trunk/libpoe-component-irc-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-irc-perl/debian/control?rev=14965&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/control (original)
+++ trunk/libpoe-component-irc-perl/debian/control Fri Feb 15 05:41:05 2008
@@ -1,9 +1,10 @@
 Source: libpoe-component-irc-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt
 Build-Depends-Indep: perl, libpoe-perl, libpoe-filter-ircd-perl,
- libpoe-component-client-dns-perl, libpoe-component-client-ident-perl, netbase
+ libpoe-component-client-dns-perl, libpoe-component-client-ident-perl, netbase,
+ libtest-pod-perl, libtest-pod-coverage-perl, libsocket6-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Martín Ferrari <martin.ferrari at gmail.com>
 Standards-Version: 3.7.3
@@ -15,7 +16,7 @@
 Architecture: all
 Depends: ${perl:Depends}, libpoe-perl, libpoe-filter-ircd-perl
 Suggests: libpoe-component-client-dns-perl, libpoe-component-sslify-perl
-Description: a fully event-driven IRC client module.
+Description: a fully event-driven IRC client module
  POE::Component::IRC is a POE component (who'd have guessed?) which
  acts as an easily controllable IRC client for your other POE
  components and sessions. You create an IRC component and tell it what

Added: trunk/libpoe-component-irc-perl/debian/patches/fix_manpages.patch
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-irc-perl/debian/patches/fix_manpages.patch?rev=14965&op=file
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/patches/fix_manpages.patch (added)
+++ trunk/libpoe-component-irc-perl/debian/patches/fix_manpages.patch Fri Feb 15 05:41:05 2008
@@ -1,0 +1,36 @@
+Index: libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin.pm
+===================================================================
+--- libpoe-component-irc-perl.orig/lib/POE/Component/IRC/Plugin.pm
++++ libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin.pm
+@@ -24,6 +24,7 @@ sub PCI_EAT_ALL		() { 4 }
+ 
+ 1;
+ __END__
++
+ =head1 NAME
+ 
+ POE::Component::IRC::Plugin - Provides plugin documentation for PoCo-IRC
+Index: libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm
+===================================================================
+--- libpoe-component-irc-perl.orig/lib/POE/Component/IRC/Plugin/Connector.pm
++++ libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm
+@@ -162,6 +162,7 @@ sub _time_out {
+ 
+ 1;
+ __END__
++
+ =head1 NAME
+ 
+ POE::Component::IRC::Plugin::Connector - A PoCo-IRC plugin that deals with the messy business of staying connected to an IRC server.
+Index: libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/PlugMan.pm
+===================================================================
+--- libpoe-component-irc-perl.orig/lib/POE/Component/IRC/Plugin/PlugMan.pm
++++ libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/PlugMan.pm
+@@ -272,6 +272,7 @@ sub loaded {
+ 
+ 1;
+ __END__
++
+ =head1 NAME
+ 
+ POE::Component::IRC::Plugin::PlugMan - A PoCo-IRC plugin that provides plugin management services. 

Added: trunk/libpoe-component-irc-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-irc-perl/debian/patches/series?rev=14965&op=file
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/patches/series (added)
+++ trunk/libpoe-component-irc-perl/debian/patches/series Fri Feb 15 05:41:05 2008
@@ -1,0 +1,1 @@
+fix_manpages.patch

Modified: trunk/libpoe-component-irc-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-irc-perl/debian/rules?rev=14965&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/rules (original)
+++ trunk/libpoe-component-irc-perl/debian/rules Fri Feb 15 05:41:05 2008
@@ -1,21 +1,26 @@
 #!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
+PERL    ?= /usr/bin/perl
+PACKAGE  = $(shell dh_listpackages)
+TMP      = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-	$(MAKE) test
+	# Run tests only if localhost is reachable, the perl snippet returns
+	# fail code when reachable.
+	perl -MNet::Ping -e 'exit (Net::Ping->new()->ping("127.0.0.1", 1));' \
+		|| $(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp




More information about the Pkg-perl-cvs-commits mailing list