--- libnet-snpp-perl-1.17.orig/debian/rules +++ libnet-snpp-perl-1.17/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE = $(shell dh_listpackages) +PERL ?= /usr/bin/perl +TMP = $(CURDIR)/debian/$(PACKAGE) + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty \ + --parents --verbose $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: binary binary-arch binary-indep build clean install --- libnet-snpp-perl-1.17.orig/debian/patches/fix_manpage.patch +++ libnet-snpp-perl-1.17/debian/patches/fix_manpage.patch @@ -0,0 +1,13 @@ +Index: libnet-snpp-perl/lib/Net/SNPP/Server.pm +=================================================================== +--- libnet-snpp-perl.orig/lib/Net/SNPP/Server.pm ++++ libnet-snpp-perl/lib/Net/SNPP/Server.pm +@@ -12,7 +12,7 @@ $counter = 0; + + =head1 NAME + +-Net::SNPP::Server ++Net::SNPP::Server - SNPP server library + + =head1 DESCRIPTION + --- libnet-snpp-perl-1.17.orig/debian/patches/series +++ libnet-snpp-perl-1.17/debian/patches/series @@ -0,0 +1 @@ +fix_manpage.patch --- libnet-snpp-perl-1.17.orig/debian/watch +++ libnet-snpp-perl-1.17/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Net-SNPP/ .*/Net-SNPP-v?([[:digit:]].*)\.tar\.gz --- libnet-snpp-perl-1.17.orig/debian/compat +++ libnet-snpp-perl-1.17/debian/compat @@ -0,0 +1 @@ +5 --- libnet-snpp-perl-1.17.orig/debian/copyright +++ libnet-snpp-perl-1.17/debian/copyright @@ -0,0 +1,29 @@ +This is Debian GNU/Linux's prepackaged Net::SNPP. This is a perl +module which provide connections to SNPP (Simple Network Paging +Protocol) servers. + +This package was put together by Michael Alan Dorman +. The original sources can be found at: +http://search.cpan.org/dist/Net-SNPP/ + +Files: * +Copyright: © 2003-2004 Al Tobey. All rights reserved. + © 2001-2003 Derek J. Balling. All rights reserved. + © 1995-2001 Graham Barr. All rights reserved. +License: GPL-1+ | Artistic + This library is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + +Files: debian/* +Copyright: © 2004-2008 Debian Perl Group + © 2002 Bas Zoetekouw + © 2001, 2003 Michael Alan Dorman +License: Other + This package has been through multiple maintainers, and it is supposed that + all of them had chosen a license compatible with upstream's license. + +Perl is distributed under your choice of the GNU General Public License or the +Artistic License. On Debian GNU/Linux systems, the complete text of the GNU +General Public License can be found in `/usr/share/common-licenses/GPL' and the +Artistic Licence in `/usr/share/common-licenses/Artistic'. + --- libnet-snpp-perl-1.17.orig/debian/changelog +++ libnet-snpp-perl-1.17/debian/changelog @@ -0,0 +1,71 @@ +libnet-snpp-perl (1.17-3) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/watch: use dist-based URL. + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Martín Ferrari ] + * debian/control: + - Removed old dependency on libnet-perl as we have perl 8 since oldstable. + - Added netbase to Build-Depends-Indep to properly run tests, and quilt. + - Bumped Standards-Version (no changes). + - Added myself to uploaders. + - Name ::Server too in description. + * debian/watch: add optional "v" version prefix. + * debian/rules: updated to current practises (Closes: #430665), and enable + tests, and quilt. + * debian/copyright: converted to new format, use UTF-8, and update very old + CP info. + + [ Damyan Ivanov ] + * remove unused dh_installexamples + * make install-stamp depend on build-stamp, not build + + -- Martín Ferrari Mon, 04 Feb 2008 15:32:39 -0200 + +libnet-snpp-perl (1.17-2) unstable; urgency=low + + * Moved debhelper to Build-Depends. + * Set Standards-Version to 3.7.2 (no changes). + * Set Debhelper Compatibility Level to 5. + * Removed empty /usr/lib/perl5 from package. + + -- gregor herrmann Fri, 16 Jun 2006 16:34:41 +0200 + +libnet-snpp-perl (1.17-1) unstable; urgency=low + + * Adopted by Debian Perl Group (Closes: #274136) + * New upstream version + + -- Joachim Breitner Fri, 8 Oct 2004 14:03:37 +0200 + +libnet-snpp-perl (1.16-1) unstable; urgency=low + + * New upstream version (closes: bug#198872) + * Fix debian/copyright issues (closes: bug#157633) + * Acknowledge NMU (thanks Bas) + * Update section. + + -- Michael Alan Dorman Wed, 24 Dec 2003 19:49:18 -0500 + +libnet-snpp-perl (1.11-2.1) unstable; urgency=low + + * Non-maintainer upload (BSP) + * Fixed depends and build-depends for perl 5.8 + + -- Bas Zoetekouw Sun, 1 Sep 2002 14:45:05 +0000 + +libnet-snpp-perl (1.11-2) unstable; urgency=low + + * Update control. + + -- Michael Alan Dorman Sun, 9 Dec 2001 20:42:11 -0500 + +libnet-snpp-perl (1.11-1) unstable; urgency=low + + * Initial Debianization. + + -- Michael Alan Dorman Mon, 5 Nov 2001 12:30:55 -0500 --- libnet-snpp-perl-1.17.orig/debian/control +++ libnet-snpp-perl-1.17/debian/control @@ -0,0 +1,22 @@ +Source: libnet-snpp-perl +Priority: optional +Section: perl +Maintainer: Debian Perl Group +Uploaders: Joachim Breitner , + gregor herrmann , + Carlo Segre , Martín Ferrari +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5.0.0), quilt +Build-Depends-Indep: perl (>= 5.8), netbase +Homepage: http://search.cpan.org/dist/Net-SNPP/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-snpp-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-snpp-perl/ + +Package: libnet-snpp-perl +Architecture: all +Priority: optional +Section: perl +Depends: ${perl:Depends} +Description: perl module for accessing SNPP servers + Net::SNPP is a Perl module that provides access to the SNPP Simple Network + Paging Protocol. It also provides Net:SNPP::Server for creating SNPP servers.