r74557 - in /trunk/libnetserver-generic-perl: Generic.pm Makefile.PL debian/ debian/changelog debian/control debian/copyright debian/libnetserver-generic-perl.substvars debian/rules debian/watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon May 16 19:33:20 UTC 2011


Author: gregoa
Date: Mon May 16 19:32:55 2011
New Revision: 74557

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74557
Log:
[svn-inject] Applying Debian modifications (1.03-8) to trunk

Added:
    trunk/libnetserver-generic-perl/debian/
    trunk/libnetserver-generic-perl/debian/changelog
    trunk/libnetserver-generic-perl/debian/control
    trunk/libnetserver-generic-perl/debian/copyright
    trunk/libnetserver-generic-perl/debian/libnetserver-generic-perl.substvars
    trunk/libnetserver-generic-perl/debian/rules   (with props)
    trunk/libnetserver-generic-perl/debian/watch
Modified:
    trunk/libnetserver-generic-perl/Generic.pm
    trunk/libnetserver-generic-perl/Makefile.PL

Modified: trunk/libnetserver-generic-perl/Generic.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/Generic.pm?rev=74557&op=diff
==============================================================================
--- trunk/libnetserver-generic-perl/Generic.pm (original)
+++ trunk/libnetserver-generic-perl/Generic.pm Mon May 16 19:32:55 2011
@@ -41,15 +41,18 @@
 
 =head1 SYNOPSIS
 
+  use NetServer::Generic;
+
   my $server_cb = sub  {
                          my ($s) = shift ;
                          print STDOUT "Echo server: type bye to quit, exit ",
-                                      "to kill the server.\n\n" ;
+                                      "to kill the server.\n";
                          while (defined ($tmp = <STDIN>)) {
                              return if ($tmp =~ /^bye/i);
                              $s->quit() if ($tmp =~ /^exit/i);
                              print STDOUT "You said:>$tmp\n";
-                       }                            
+                         }
+		       };
   my ($foo) = new NetServer::Generic;
   $foo->port(9000);
   $foo->callback($server_cb);
@@ -453,7 +456,7 @@
 I<asackett at artsackett.com>, Claudio Garcia I<cgarcia at dbitech.com>,
 Claudio Calvelli I<lunatic at assurdo.com>, Martin Waite
 I<Martin.Waite at montgomery134.freeserve.co.uk>. Debian package
-contributed by Jon Middleton, I<jjm at datacash.com>.
+contributed by Jon Middleton, I<jjm at ixtab.org.uk>.
 
 =head1 HISTORY
 

Modified: trunk/libnetserver-generic-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/Makefile.PL?rev=74557&op=diff
==============================================================================
--- trunk/libnetserver-generic-perl/Makefile.PL (original)
+++ trunk/libnetserver-generic-perl/Makefile.PL Mon May 16 19:32:55 2011
@@ -2,9 +2,6 @@
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 WriteMakefile(
-    'NAME'	=> 'NetServer::Generic',
-    'VERSION_FROM' => 'Generic.pm', # finds $VERSION
-    'LIBS'	=> [''],   # e.g., '-lm' 
-    'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
-    'INC'	=> '',     # e.g., '-I/usr/include/other' 
+    'NAME'	   => 'NetServer::Generic',
+    'VERSION_FROM' => 'Generic.pm', 
 );

Added: trunk/libnetserver-generic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/changelog?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/changelog (added)
+++ trunk/libnetserver-generic-perl/debian/changelog Mon May 16 19:32:55 2011
@@ -1,0 +1,100 @@
+libnetserver-generic-perl (1.03-8) unstable; urgency=low
+
+  * debian/rules: Don't FTBFS when perl is smart enough not to create
+    empty dirs. (Closes: #467990)
+  * Add Homepage URL to source control part.
+  * Updated to Standards-Version 3.7.3, changed Section to perl.
+  * Add watch file.
+  * Don't ignore make realclean errors.
+
+ -- Gerfried Fuchs <rhonda at debian.at>  Mon, 07 Apr 2008 11:29:47 +0200
+
+libnetserver-generic-perl (1.03-7) unstable; urgency=low
+
+  * Args, forgot to change Maintainer field in debian/control, now really
+    closes: #185525
+
+ -- Gerfried Fuchs <alfie at debian.org>  Mon, 24 Mar 2003 10:22:05 +0100
+
+libnetserver-generic-perl (1.03-6) unstable; urgency=low
+
+  * New Maintainer (closes: #185525)
+  * debian/control:
+    - Updated to policy version 3.5.9
+    - Removed fullstop from short description.
+    - Build-Depends-Indep on perl, no debhelper.
+  * debian/copyright:
+    - removed superfluous (s) from Author.
+  * debian/rules
+    - undebhelperized it
+
+ -- Gerfried Fuchs <alfie at debian.org>  Thu, 20 Mar 2003 17:27:28 +0100
+
+libnetserver-generic-perl (1.03-5) unstable; urgency=low
+
+  * Build in binary-indep (closes: #157495)
+  * Add pointers to the Perl licenses (closes: #157625)
+
+ -- Jon Middleton <jjm at debian.org>  Thu, 22 Aug 2002 20:00:30 +0100
+
+libnetserver-generic-perl (1.03-4) unstable; urgency=low
+
+  * New upload to fix broken diff from last version.
+  * Cleaned up the rules file.
+
+ -- Jon Middleton <jjm at debian.org>  Sat, 14 Jul 2001 15:25:29 +0100
+
+libnetserver-generic-perl (1.03-3) unstable; urgency=low
+
+  * Fixed Errors in Man page, example will now complie
+  * Modified Build process to stop extra test being installed along 
+    side NetServer::Generic
+    
+ -- Jon Middleton <jjm at debian.org>  Sat,  2 Jun 2001 15:46:23 +0100
+
+libnetserver-generic-perl (1.03-2) unstable; urgency=low
+
+  * Changed Maintainer address to debian.org
+
+ -- Jon Middleton <jjm at debian.org>  Mon, 28 May 2001 17:59:34 +0100
+
+libnetserver-generic-perl (1.03-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated to lastest Policy
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Tue, 27 Feb 2001 19:49:37 +0000
+
+libnetserver-generic-perl (1.02-4) unstable; urgency=low
+
+  * Updated to new Perl policy
+  * Not released
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Tue, 20 Feb 2001 22:20:49 +0000
+
+libnetserver-generic-perl (1.02-3) unstable; urgency=low
+
+  * Removed extra LICENSE file.
+  * Renamed upstream Changes file to conform to policy.
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Sun, 17 Dec 2000 15:48:39 +0000
+
+libnetserver-generic-perl (1.02-2) unstable; urgency=low
+
+  * Changed architecture to any from all.
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Sun, 17 Dec 2000 15:48:09 +0000
+
+libnetserver-generic-perl (1.02-1) unstable; urgency=low
+
+  * New Upstream release.
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Wed, 22 Nov 2000 16:21:09 +0000
+
+libnetserver-generic-perl (1.00-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jon Middleton <jjm at ixtab.org.uk>  Tue, 16 May 2000 14:44:08 +0100
+
+

Added: trunk/libnetserver-generic-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/control?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/control (added)
+++ trunk/libnetserver-generic-perl/debian/control Mon May 16 19:32:55 2011
@@ -1,0 +1,15 @@
+Source: libnetserver-generic-perl
+Section: perl
+Priority: optional
+Maintainer: Gerfried Fuchs <rhonda at debian.at>
+Standards-Version: 3.7.3
+Build-Depends-Indep: perl (>= 5.6.0-16)
+Homepage: http://search.cpan.org/dist/NetServer-Generic/
+
+Package: libnetserver-generic-perl
+Architecture: all
+Depends: libtime-hires-perl, perl (>= 5.6.0-16)
+Description: A perl module for developing internet servers in perl
+ NetServer::Generic is a perl module that implements an object-oriented
+ interface for developing internet servers.
+

Added: trunk/libnetserver-generic-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/copyright?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/copyright (added)
+++ trunk/libnetserver-generic-perl/debian/copyright Mon May 16 19:32:55 2011
@@ -1,0 +1,16 @@
+This package was debianized by Jon Middleton <jjm at debian.org> on
+Tue, 16 May 2000 14:44:08 +0100.
+
+It was downloaded from http://www.perl.com/CPAN/authors/id/C/CH/CHSTROSS/
+
+Upstream Author: Charlie Stross <charlie at antipope.org>
+
+Copyright:
+
+ Copyright (c) 1998,2000, by Charlie Stross (charlie at antipope.org).
+ This package is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself. (No more restrictions.)
+
+ 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'.

Added: trunk/libnetserver-generic-perl/debian/libnetserver-generic-perl.substvars
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/libnetserver-generic-perl.substvars?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/libnetserver-generic-perl.substvars (added)
+++ trunk/libnetserver-generic-perl/debian/libnetserver-generic-perl.substvars Mon May 16 19:32:55 2011
@@ -1,0 +1,1 @@
+perl:Depends=perl (>= 5.6.0-16)

Added: trunk/libnetserver-generic-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/rules?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/rules (added)
+++ trunk/libnetserver-generic-perl/debian/rules Mon May 16 19:32:55 2011
@@ -1,0 +1,101 @@
+#!/usr/bin/make -f
+# debian/rules for libnetserver-generic-perl
+# copyright 2003++ by Gerfried Fuchs <rhonda at debian.at>
+# Licences the same way as libnetserver-generic-perl itself
+
+PACKAGE = libnetserver-generic-perl
+TMP = $(CURDIR)/debian/$(PACKAGE)
+ifndef DESTDIR
+DESTDIR = ..
+endif
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+OPTIMIZE = -g -Wall
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -oroot -groot -m644
+INSTALL_PROGRAM = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_SCRIPT  = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_DIR     = $(INSTALL) -p -d -oroot -groot -m755
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	OPTIMIZE += -O0
+else
+	OPTIMIZE += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+	STRIP = true
+endif
+
+
+clean:
+	$(checkdir)
+	$(checkroot)
+	-rm -rf build-stamp debian/$(PACKAGE) debian/files debian/substvars
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+
+build: build-stamp
+build-stamp:
+	$(checkdir)
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(OPTIMIZE)"
+	touch build-stamp
+
+
+install: build
+	$(checkdir)
+	$(checkroot)
+	-rm -rf debian/$(PACKAGE) debian/substvars
+	$(INSTALL_DIR) $(TMP)/usr/share/doc/$(PACKAGE)/examples
+	$(MAKE) install PREFIX=$(TMP)/usr
+	rm $(TMP)/usr/share/perl5/NetServer/testguts-fork.pl \
+		$(TMP)/usr/share/perl5/NetServer/testguts-prefork.pl
+	[ ! -d $(TMP)/usr/lib ] || rmdir --parents --verbose --ignore-fail-on-non-empty $(TMP)/usr/lib
+	$(INSTALL_FILE) Changes $(TMP)/usr/share/doc/$(PACKAGE)/changelog
+	cd $(TMP)/usr/share && gzip -9 doc/$(PACKAGE)/changelog \
+		man/man3/NetServer::Generic.3pm
+	$(INSTALL_FILE) README $(TMP)/usr/share/doc/$(PACKAGE)
+	$(INSTALL_FILE) examples/elizad examples/preforked-shttpd \
+		examples/shttpd $(TMP)/usr/share/doc/$(PACKAGE)/examples
+	find $(TMP) -print0 2>/dev/null | xargs -0r \
+		chown --no-dereference 0.0
+	find $(TMP) ! -type l -print0 2>/dev/null | xargs -0r \
+		chmod go=rX,u+rw,a-s
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+#	dh_testversion
+	$(checkdir)
+	$(checkroot)
+	$(INSTALL_DIR) debian/$(PACKAGE)/DEBIAN
+	$(INSTALL_FILE) debian/copyright $(TMP)/usr/share/doc/$(PACKAGE)
+	$(INSTALL_FILE) debian/changelog \
+		$(TMP)/usr/share/doc/$(PACKAGE)/changelog.Debian
+	gzip -9 $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Debian
+	dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars \
+		-p$(PACKAGE) -Pdebian/$(PACKAGE)
+	cd debian/$(PACKAGE) && find * -type f ! -regex '^DEBIAN/.*' \
+		-print0 | xargs -r0 md5sum > DEBIAN/md5sums
+	dpkg --build debian/$(PACKAGE) $(DESTDIR)
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+
+binary: binary-indep binary-arch
+
+
+define checkdir
+	test -f debian/rules
+endef
+
+define checkroot
+	test root = "`whoami`"
+endef
+
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libnetserver-generic-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libnetserver-generic-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetserver-generic-perl/debian/watch?rev=74557&op=file
==============================================================================
--- trunk/libnetserver-generic-perl/debian/watch (added)
+++ trunk/libnetserver-generic-perl/debian/watch Mon May 16 19:32:55 2011
@@ -1,0 +1,5 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+# Site/Directory                                    Pattern                              Version  Script
+http://www.perl.com/CPAN/authors/id/C/CH/CHSTROSS/  NetServer-Generic-([\d.]+)\.tar\.gz  debian  uupdate




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