--- libnet-irc-perl-0.75.orig/debian/control +++ libnet-irc-perl-0.75/debian/control @@ -0,0 +1,16 @@ +Source: libnet-irc-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Gunnar Wolf , Niko Tyni +Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 4.0.2), dpatch (>= 2.0.9) +Build-Depends-Indep: perl (>= 5.6.1) + +Package: libnet-irc-perl +Architecture: all +Depends: ${perl:Depends} +Description: IRC (Internet Relay Chat) interface module for Perl + This package contains an interface to write programs that connect + to IRC, the Internet Relay Chat. + --- libnet-irc-perl-0.75.orig/debian/watch +++ libnet-irc-perl-0.75/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://www.cpan.org/modules/by-module/Net/Net-IRC-(\d.*)\.tar\.gz debian uupdate --- libnet-irc-perl-0.75.orig/debian/changelog +++ libnet-irc-perl-0.75/debian/changelog @@ -0,0 +1,133 @@ +libnet-irc-perl (0.75-5) unstable; urgency=low + + * Migrate to dpatch. + * Add myself to Uploaders. + * Move debhelper from Build-Depends-Indep to Build-Depends, + as per policy. + * Upgrade to Standards-Version 3.6.2. No changes needed. + * Don't ignore the return value of 'make test'. + * debian/patches/40handler.pm: + + only call handler() if the object supports it. (Closes: #303400) + + -- Niko Tyni Sat, 14 Jan 2006 17:23:40 +0200 + +libnet-irc-perl (0.75-4) unstable; urgency=low + + * Example file irctest is no longer compressed, can be directly run + * In case somebody runs the example file irctest, he will get a + warning and a delay, as this script can send any user-readable file + on the FS + * Fixed: debian/watch pointed to the wrong URL + + -- Gunnar Wolf Sat, 16 Apr 2005 11:47:13 -0500 + +libnet-irc-perl (0.75-3) unstable; urgency=low + + * Added debian/watch file + * Fixed uninitialized value generating a warning in do_one_loop - + Thanks to Michael Ablassmeier for the patch. (Closes: #299606) + + -- Gunnar Wolf Sat, 26 Mar 2005 13:28:24 -0600 + +libnet-irc-perl (0.75-2) unstable; urgency=low + + * Fixed: Generated man pages now have the correct name (was + consistently missing ::IRC) (Closes: #295967) + + -- Gunnar Wolf Sat, 26 Mar 2005 13:26:44 -0600 + +libnet-irc-perl (0.75-1) unstable; urgency=low + + * New upstream release + * Upstream fixed manpage descriptions to correctly reflect the + modules' names (Closes: #252994) + + -- Gunnar Wolf Fri, 17 Dec 2004 17:04:02 -0600 + +libnet-irc-perl (0.73-3) unstable; urgency=low + + * Changed source package name back to libnet-irc-perl, to be + consistent with other Perl packages + * Bumped up standards-version to 3.6.1 + * Moved to section: perl + * New maintainer - Debian Perl Group via Gunnar Wolf + (Closes: #279810) + + -- Gunnar Wolf Thu, 16 Dec 2004 17:37:48 -0600 + +net-irc (0.73-2) unstable; urgency=low + + * Fix failure in coonection caused by hostnames that don't resolve or + that resolve to 127.0.0.1, + Closes: #143769 + + -- Stephen Zander Sat, 18 May 2002 18:06:49 -0700 + +net-irc (0.73-1) unstable; urgency=low + + * New upstream source, Closes: #99846, #128828 + * Merges NMU changes into CVS repository, + Closes: #98148, #113205, #119502, #127479 + + -- Stephen Zander Fri, 11 Jan 2002 22:56:08 -0800 + +net-irc (0.70-1.1) unstable; urgency=low + + * Non-maintainer upload + * Fix IPv6 address parsing. Closes: Bug#119502 + * Rebuild with current dehhelper + * Use INSTALLDIRS=vendor for MakeMakfile. Closes: Bug#113205 + * Add patch from Andrew Suffield to disable Sys::Hostname usage which + broke the LocalAddr parameter. Closes: Bug#98148 + * Add Build-Depends + * Zap emacs bits from changelog + + -- Wichert Akkerman Wed, 2 Jan 2002 18:48:19 +0100 + +net-irc (0.70-1) unstable; urgency=low + + * New upstream source, Closes: #78323 + * Termination of DCC session now works, Closes: #60616 + + -- Stephen Zander Tue, 12 Dec 2000 18:43:37 -0800 + +net-irc (0.63-1) unstable; urgency=low + + * New upstream source. + * Brought .orig.tar.gz in line with upstream. + + -- Stephen Zander Tue, 18 Apr 2000 18:05:54 -0700 + +libnet-irc-perl (0.62-1) unstable; urgency=low + + * New upstream source. + + -- Stephen Zander Fri, 5 Nov 1999 19:58:05 -0800 + +libnet-irc-perl (0.60-1) unstable; urgency=low + + * New maintainer. + * New upstream source. + + -- Stephen Zander Thu, 19 Aug 1999 08:59:04 -0700 + +libnet-irc-perl (0.54-1.1) unstable; urgency=low + + * NMU for the perl upgrade. Closes:#41523 + * Corrected the rules files to conform to perl policy 1.0.1 + * Upgraded standards-version. + * The .packlist file is removed by dh_perl. Closes: #37937 + * Included irctest. Closes: #25524 + * Included the Changes file as the upstream changelog file. + * Set to architecture all since there are no binary files. + + -- Raphael Hertzog Mon, 19 Jul 1999 19:59:14 +0200 + +libnet-irc-perl (0.54-1) unstable; urgency=low + + * Initial release. + + -- Ben Gertzfield Mon, 3 Aug 1998 00:07:23 -0700 + + --- libnet-irc-perl-0.75.orig/debian/patches/20do_one_loop.dpatch +++ libnet-irc-perl-0.75/debian/patches/20do_one_loop.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20do_one_loop.dpatch by Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix uninitialized value generating a warning in do_one_loop +## DP: (#299606, patch from Michael Ablassmeier) + +@DPATCH@ +diff -urNad trunk~/IRC.pm trunk/IRC.pm +--- trunk~/IRC.pm 2006-01-14 16:17:19.000000000 +0200 ++++ trunk/IRC.pm 2006-01-14 16:17:32.212158636 +0200 +@@ -138,7 +138,7 @@ + # we don't want to bother waiting on input or running + # scheduled events if we're just flushing the output queue + # so we bail out here +- return if $caller eq 'Net::IRC::flush_output_queue'; ++ return if defined($caller) and $caller eq 'Net::IRC::flush_output_queue'; + + # Check the queue for scheduled events to run. + if(!$self->schedulequeue->is_empty) { --- libnet-irc-perl-0.75.orig/debian/patches/30irctest.dpatch +++ libnet-irc-perl-0.75/debian/patches/30irctest.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30irctest.dpatch by Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: In case somebody runs the example file irctest, he will get a +## DP: warning and a delay, as this script can send any user-readable file +## DP: on the FS. (Gunnar Wolf) + + +@DPATCH@ +diff -urNad trunk~/irctest trunk/irctest +--- trunk~/irctest 2003-05-15 23:49:00.000000000 +0300 ++++ trunk/irctest 2006-01-14 16:19:21.207291042 +0200 +@@ -14,6 +14,21 @@ + + my $irc = new Net::IRC; + ++print << 'INIT_WARN'; +++------------------------------------------------------------ ++| IMPORTANT NOTE ++| ++| Running this script might constitute a severe security risk ++| This script will send ANY FILE it is requested as a response ++| to the message 'Send me ' ++| ++| You have been warned. +++------------------------------------------------------------ ++(sleeping for two seconds) ++INIT_WARN ++ ++sleep 2; ++ + print "Creating connection to IRC server...\n"; + + my $conn = $irc->newconn(Server => ($ARGV[0] || 'irc.prison.net'), --- libnet-irc-perl-0.75.orig/debian/patches/40handler.dpatch +++ libnet-irc-perl-0.75/debian/patches/40handler.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 40handler.dpatch by Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Only call handler() for those objects supporting it. (#303400) + +@DPATCH@ +diff -urNad trunk~/DCC.pm trunk/DCC.pm +--- trunk~/DCC.pm 2005-12-17 16:30:50.000000000 +0200 ++++ trunk/DCC.pm 2006-01-14 16:32:57.840202802 +0200 +@@ -145,7 +145,7 @@ + # Only do the Disconnection Dance of Death if the socket is still + # live. Duplicate dcc_close events would be a Bad Thing. + +- if ($self->{_socket}->opened) { ++ if ($self->{_socket}->opened and $self->{_parent}->can('handler')) { + $self->{_parent}->handler(Net::IRC::Event->new('dcc_close', + $self->{_nick}, + $self->{_socket}, --- libnet-irc-perl-0.75.orig/debian/patches/00list +++ libnet-irc-perl-0.75/debian/patches/00list @@ -0,0 +1,4 @@ +10manpages.dpatch +20do_one_loop.dpatch +30irctest.dpatch +40handler.dpatch --- libnet-irc-perl-0.75.orig/debian/patches/10manpages.dpatch +++ libnet-irc-perl-0.75/debian/patches/10manpages.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10manpages.dpatch by Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Install manpages with the correct names. (#295967, Gunnar Wolf) + +@DPATCH@ +diff -urNad trunk~/Makefile.PL trunk/Makefile.PL +--- trunk~/Makefile.PL 2003-04-18 06:03:58.000000000 +0300 ++++ trunk/Makefile.PL 2006-01-14 16:14:34.156986139 +0200 +@@ -21,6 +21,12 @@ + 'IO::Socket' => 0, + 'Sys::Hostname' => 0, + }, ++ 'MAN3PODS' => { ++ 'IRC.pm' => 'blib/man3/Net::IRC.3pm', ++ 'Connection.pm' => 'blib/man3/Net::IRC::Connection.3pm', ++ 'DCC.pm' => 'blib/man3/Net::IRC::DCC.3pm', ++ 'Event.pm' => 'blib/man3/Net::IRC::Event.3pm', ++ }, + 'VERSION_FROM' => 'IRC.pm', # finds $VERSION + 'dist' => { 'COMPRESS' => 'gzip --best' }, + ); --- libnet-irc-perl-0.75.orig/debian/copyright +++ libnet-irc-perl-0.75/debian/copyright @@ -0,0 +1,21 @@ +This is the Debian GNU/Linux version of the Net::IRC Perl module. + +From the README: + +8. Copyright +------------------------ + + This is standard legal boilerplate stuff, I suppose. The names on the +copyright notice do NOT reflect in any way the time and effort put into this +project by lots of studly people, but if we did that, we'd have to start a +small corporation to handle them all in case of legal problems. :-) + +Without further ado... *ahem* : + + This module copyright (c) 1997 Greg Bacon & Dennis Taylor. All rights + reserved. This module is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License, distributed with + this module. + +The Perl Artistic License is available on Debian GNU/Linux systems in +the file /usr/share/common-licenses/Artistic --- libnet-irc-perl-0.75.orig/debian/rules +++ libnet-irc-perl-0.75/debian/rules @@ -0,0 +1,56 @@ +#! /usr/bin/make -f +# -*-makefile-*- +# debian/rules file for libnet-irc-perl + +export DH_COMPAT=4 + +PERL ?= /usr/bin/perl + +package := $(firstword $(shell dh_listpackages)) +prefix := $(PWD)/debian/$(package)/usr + +include /usr/share/dpatch/dpatch.make + +build: patch build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL) + $(MAKE) + $(MAKE) test + touch $@ + +clean: checkroot clean-patched unpatch + +clean-patched: + rm -f build-stamp + dh_clean + [ ! -f Makefile ] || $(MAKE) distclean + +binary-indep: checkroot build + dh_clean + dh_installdirs + + $(MAKE) pure_install PREFIX=$(prefix) + chmod 0644 irctest + + dh_installdocs README + dh_installexamples irctest + dh_installchangelogs Changes + + dh_compress -X irctest + dh_fixperms + dh_perl + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: checkroot build + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + +.PHONY: binary binary-arch binary-indep clean checkroot build