r71476 - in /trunk/libnet-server-perl/debian: ./ README.source changelog compat control copyright examples patches/ patches/00list patches/02_spec.dpatch patches/03_rt-cpan-65891-reap-children.dpatch rules watch
kitterman at users.alioth.debian.org
kitterman at users.alioth.debian.org
Wed Mar 16 02:33:37 UTC 2011
Author: kitterman
Date: Wed Mar 16 02:33:30 2011
New Revision: 71476
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71476
Log:
[svn-inject] Applying Debian modifications (0.99-1) to trunk
Added:
trunk/libnet-server-perl/debian/
trunk/libnet-server-perl/debian/README.source
trunk/libnet-server-perl/debian/changelog
trunk/libnet-server-perl/debian/compat
trunk/libnet-server-perl/debian/control
trunk/libnet-server-perl/debian/copyright
trunk/libnet-server-perl/debian/examples
trunk/libnet-server-perl/debian/patches/
trunk/libnet-server-perl/debian/patches/00list
trunk/libnet-server-perl/debian/patches/02_spec.dpatch (with props)
trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch (with props)
trunk/libnet-server-perl/debian/rules (with props)
trunk/libnet-server-perl/debian/watch
Added: trunk/libnet-server-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/README.source?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/README.source (added)
+++ trunk/libnet-server-perl/debian/README.source Wed Mar 16 02:33:30 2011
@@ -1,0 +1,5 @@
+This package uses dpatch for patches. dpkg-source -x does produce source
+ready for building with dpkg-buildpackage. It does not procude source ready
+for editing. See /usr/share/doc/dpatch/README.source.gz for information on using
+dpatch.
+
Added: trunk/libnet-server-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/changelog?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/changelog (added)
+++ trunk/libnet-server-perl/debian/changelog Wed Mar 16 02:33:30 2011
@@ -1,0 +1,150 @@
+libnet-server-perl (0.99-1) unstable; urgency=low
+
+ [ Carsten Wolff ]
+ * New upstream release
+ * changed maintainer to pkg-perl
+ * updated standards version to 3.9.1
+ one change: homepage field
+ * added 03_rt-cpan-65891-reap-children.dpatch
+
+ [ Scott Kitterman ]
+ * Update debian/copyright
+ * Add ${misc:Depends} to libnet-server-perl Depends
+ * Added debian/README.source
+ * Replace deprecated dh_clean -k with dh_prep and bump required debhelper
+ version to >= 7
+ * Add pkg-perl Vcs-* to debian/control
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Tue, 15 Mar 2011 20:03:36 -0400
+
+libnet-server-perl (0.97-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#457028)
+ * Fixed FTBFS if build twice in a row
+ (closes: Bug#424529)
+ * updated standards version to 3.7.3.0 (no changes)
+ * made lintian happy
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Tue, 04 Mar 2008 12:35:17 +0100
+
+libnet-server-perl (0.94-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#358031) because amavisd-new is now 2.4.x in testing
+ * new watch file
+ (closes: Bug#354364)
+ * fixed missing dependency on libnet-cidr-perl
+ (closes: Bug#391579)
+ * removed 01_syslog.dpatch, because it's now part of upstream
+ * updated standards version to 3.7.2.2 (no changes)
+ * changed Build-Depends-Indep into Build-Depends
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Tue, 17 Oct 2006 19:22:42 +0200
+
+libnet-server-perl (0.90-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#344083)
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Sun, 15 Jan 2006 22:57:02 +0100
+
+libnet-server-perl (0.89-1) unstable; urgency=high
+
+ * New upstream release
+ (closes: Bug#296137)
+ (closes: Bug#329640)
+ * Don't ship README, it's exactly the same as the manpage and therefor
+ redundant.
+ (closes: Bug#308324)
+ * New standards version 3.6.2: No changes
+ * Fixes syslog format string vulnerability (CVE-2005-1127)
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Wed, 30 Nov 2005 21:51:43 +0100
+
+libnet-server-perl (0.87-3) unstable; urgency=low
+
+ * fixed user-/groupvalidation, it's now possible to run it as a user with
+ hyphens in it's name. The patch was also submitted to CPAN.
+ (closes: Bug#296043)
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Sun, 20 Feb 2005 05:21:11 +0100
+
+libnet-server-perl (0.87-2) unstable; urgency=low
+
+ * fixed system() calls in PreFork children. Thanks to David Parrish
+ for providing the patch.
+ (closes: Bug#283886)
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Sat, 18 Dec 2004 03:23:34 +0200
+
+libnet-server-perl (0.87-1) unstable; urgency=low
+
+ * New Maintainer (package was orphaned)
+ * New upstream version (and new upstream maintainer, too)
+ Thanks, Adrian von Bidder for providing updated packages
+ (closes: Bug#257242)
+ (closes: Bug#223383)
+ * Policy 3.6.1: No changes
+ * debian/rules
+ - build in binary-indep, not binary-arch
+ - avoid shipping .svn directories
+ * use dpatch to handle changes in the source-tree
+ * fixed the the syslog-problem as proposed in 202439
+ (closes: Bug#202439)
+
+ -- Carsten Wolff <carsten at wolffcarsten.de> Fri, 28 Sep 2004 18:36:07 +0200
+
+libnet-server-perl (0.85-3) unstable; urgency=low
+
+ * debian/control: depends on libio-multiplex-perl (closes: #192921)
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Sat, 17 May 2003 16:00:32 -0700
+
+libnet-server-perl (0.85-2) unstable; urgency=low
+
+ * Net::Server does not background properly when logging to syslog; applied
+ user-supplied patch (closes: #185457)
+ * debian/control: change section to perl
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Sun, 6 Apr 2003 21:06:43 -0700
+
+libnet-server-perl (0.85-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Sat, 5 Apr 2003 20:13:18 -0800
+
+libnet-server-perl (0.84-3) unstable; urgency=low
+
+ * lib/Net/Server.pm: added patch from Christian Mock to check for
+ existance of child before attempting to close() a socket to it
+ (patch sent upstream) (closes: Bug#168784)
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Tue, 19 Nov 2002 10:07:52 -0800
+
+libnet-server-perl (0.84-2) unstable; urgency=low
+
+ * debian/copyright: references appropriate licenses in
+ /usr/share/common-licenses (closes: Bug#157624)
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Sat, 21 Sep 2002 13:38:12 -0700
+
+libnet-server-perl (0.84-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Fri, 12 Jul 2002 22:27:27 -0700
+
+libnet-server-perl (0.83-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Sun, 2 Jun 2002 20:59:51 -0700
+
+libnet-server-perl (0.82-1) unstable; urgency=low
+
+ * Initial release. (closes: #143048)
+
+ -- Luca Filipozzi <lfilipoz at debian.org> Mon, 15 Apr 2002 11:36:11 -0700
+
Added: trunk/libnet-server-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/compat?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/compat (added)
+++ trunk/libnet-server-perl/debian/compat Wed Mar 16 02:33:30 2011
@@ -1,0 +1,1 @@
+5
Added: trunk/libnet-server-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/control?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/control (added)
+++ trunk/libnet-server-perl/debian/control Wed Mar 16 02:33:30 2011
@@ -1,0 +1,43 @@
+Source: libnet-server-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7), perl (>= 5.8), dpatch
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Carsten Wolff <carsten at wolffcarsten.de>, Alexander Wirt <formorer at debian.org>
+Standards-Version: 3.9.1
+Homepage: http://search.cpan.org/search?mode=dist&query=Net%3A%3AServer
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-server-perl/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnet-server-perl/
+
+Package: libnet-server-perl
+Architecture: all
+Depends: ${misc:Depends}, libio-multiplex-perl, libnet-cidr-perl, ${perl:Depends}
+Suggests: libio-socket-ssl-perl
+Description: An extensible, general perl server engine
+ Net::Server is an extensible, general perl server engine that combines the
+ good properties from Net::Daemon, NetServer::Generic, and Net::FTPServer;
+ and borrows various concepts from the Apache webserver.
+ .
+ Features include:
+ .
+ * Single Server Mode
+ * Inetd Server Mode
+ * Preforking Simple Mode (PreForkSimple)
+ * Preforking Managed Mode (PreFork)
+ * Forking Mode
+ * Multiplexing Mode using a single process
+ * Multi port accepts on Single, Preforking, and Forking modes
+ * Simultaneous accept/recv on tcp, udp, and unix sockets
+ * Safe signal handling in Fork/PreFork avoids perl signal trouble
+ * User customizable hooks
+ * Chroot ability after bind
+ * Change of user and group after bind
+ * Basic allow/deny access control
+ * Customized logging (choose Syslog, log_file, or STDERR)
+ * HUP able server (clean restarts via sig HUP)
+ * Dequeue ability in all Fork and PreFork modes.
+ * Taint clean
+ * Written in Perl
+ * Protection against buffer overflow
+ * Clean process flow
+ * Extensibility
Added: trunk/libnet-server-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/copyright?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/copyright (added)
+++ trunk/libnet-server-perl/debian/copyright Wed Mar 16 02:33:30 2011
@@ -1,0 +1,20 @@
+Download:
+ Visit http://seamons.com/ for the latest version.
+
+Copyright:
+ Copyright (C) 2001-2010
+ Paul T Seamons (paul at seamons.com)
+ http://seamons.com/
+ Rob Brown (bbb at cpan.org)
+
+ This package may be distributed under the terms of either the
+ GNU General Public License
+ or the
+ Perl Artistic License
+
+References:
+ On Debian systems, the full text of the GNU General Public License can be
+ found in /usr/share/common-licenses/GPL.
+
+ On Debian systems, the full text of the Perl Artistic License can be
+ found in /usr/share/common-licenses/Artistic.
Added: trunk/libnet-server-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/examples?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/examples (added)
+++ trunk/libnet-server-perl/debian/examples Wed Mar 16 02:33:30 2011
@@ -1,0 +1,1 @@
+examples/*
Added: trunk/libnet-server-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/patches/00list?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/patches/00list (added)
+++ trunk/libnet-server-perl/debian/patches/00list Wed Mar 16 02:33:30 2011
@@ -1,0 +1,2 @@
+02_spec
+03_rt-cpan-65891-reap-children
Added: trunk/libnet-server-perl/debian/patches/02_spec.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/patches/02_spec.dpatch?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/patches/02_spec.dpatch (added)
+++ trunk/libnet-server-perl/debian/patches/02_spec.dpatch Wed Mar 16 02:33:30 2011
@@ -1,0 +1,145 @@
+#! /bin/sh -e
+## 02_spec.dpatch by Carsten Wolff <carsten at wolffcarsten.de>
+## (original made by some of the former maintainers)
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Comments USER and ACCESS entries in rscsi file.
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+case "$1" in
+ -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+ -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+--- libnet-server-perl-0.89.orig/Net-Server.spec.PL
++++ libnet-server-perl-0.89/Net-Server.spec.PL
+@@ -0,0 +1,120 @@
++# Copyright (C) 2002 Rob Brown (bbb at cpan.org)
++# Generic rpm SPEC file generator.
++
++use strict;
++
++my $p = $1 if $0 =~ m%([^/]*)$%;
++my $output = shift or die "create what?";
++
++### Extract $VERSION from VERSION_FROM
++my $name;
++my $version;
++$INC{"ExtUtils/MakeMaker.pm"} = 1;
++sub WriteMakefile {
++ my %props = @_;
++ $name = $props{NAME} || die "Makefile.PL: Missing NAME";
++ if ($version = $props{VERSION}) {
++ # done
++ } elsif (my $version_from = $props{VERSION_FROM}) {
++ $@ = "";
++ $version = eval qq{
++ do "$version_from";
++ \$$name\::VERSION || die "$version_from: Missing VERSION";
++ };
++ die $@ if $@;
++ if (!defined $version) {
++ die "$version_from: Missing VERSION";
++ }
++ } else {
++ die "Makefile.PL: Could not determine version!";
++ }
++}
++do "Makefile.PL";
++if ($name) {
++ $name =~ s/::/-/g;
++} else {
++ die "Makefile.PL: Missing WriteMakefile";
++}
++
++$version || die "No version!";
++local $/ = undef;
++$_ = <DATA>;
++s/\@NAME\@/$name/g;
++s/\@VERSION\@/$version/g;
++
++open SPEC, ">$output" or die "$output: $!";
++print SPEC "# Automatically generated by $p\n";
++print SPEC;
++close SPEC;
++
++__DATA__
++%define perlmod @NAME@
++%define version @VERSION@
++%define release 1
++%define defperlver 5.6.1
++
++# Derived values
++%define name perl-%{perlmod}
++%define perlver %(rpm -q perl --queryformat '%%{version}' 2> /dev/null || echo %{defperlver})
++
++# Provide perl-specific find-{provides,requires}.
++%define __find_provides %( echo -n /usr/lib/rpm/find-provides && [ -x /usr/lib/rpm/find-provides.perl ] && echo .perl )
++%define __find_requires %( echo -n /usr/lib/rpm/find-requires && [ -x /usr/lib/rpm/find-requires.perl ] && echo .perl )
++
++Summary: Perl module %{class}::%{subclass}
++Name: %{name}
++Version: %{version}
++Release: %{release}
++Group: Development/Perl
++License: Artistic
++Source0: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/%{perlmod}-%{version}.tar.gz
++URL: http://search.cpan.org/~rhandom/Net-Server-%{version}/
++Vendor: Paul Seamons <paul at seamons.com>
++Packager: Paul Seamons <paul at seamons.com>
++BuildRequires: perl
++BuildArch: noarch
++BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot-%(id -u -n)
++Requires: perl = %{perlver}
++Provides: %{perlmod} = %{version}
++
++%description
++Net::Server is an extensible, class oriented module written in perl
++and intended to be the back end layer of internet protocol servers.
++
++%prep
++%setup -q -n %{perlmod}-%{version}
++
++%build
++%{__perl} Makefile.PL
++%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
++%{__make} test
++
++%install
++rm -rf $RPM_BUILD_ROOT
++%{makeinstall} PREFIX=$RPM_BUILD_ROOT%{_prefix}
++[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
++# Clean up some files we don't want/need
++rm -rf `find $RPM_BUILD_ROOT -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs"`
++find $RPM_BUILD_ROOT%{_prefix} -type d | tac | xargs rmdir --ign
++
++%clean
++rm -rf $RPM_BUILD_ROOT
++HERE=`pwd`
++cd ..
++rm -rf $HERE
++
++%files
++%defattr(-,root,root)
++%doc README Changes examples
++%{_prefix}
++
++%changelog
++* Wed May 22 2002 Rob Brown <bbb at cpan.org>
++- RedHat style spec.
++- It is noarch because it is implemented in pure perl
++ (even including safe signal handling code).
++- Include upper directories too for cleaner and
++ safer rpm uninstall.
++- Perl module provides and requires dependencies.
++* Sat Apr 17 2002 Rob Brown <bbb at cpan.org>
++- initial creation
Propchange: trunk/libnet-server-perl/debian/patches/02_spec.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch (added)
+++ trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch Wed Mar 16 02:33:30 2011
@@ -1,0 +1,54 @@
+#! /bin/sh -e
+## 03_rt-cpan-65891-reap-children.dpatch by Carsten Wolff <carsten at wolffcarsten.de>
+## (taken from cpan RT Bug#65891)
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Comments USER and ACCESS entries in rscsi file.
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+case "$1" in
+ -patch) patch -f --no-backup-if-mismatch -p0 < $0;;
+ -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+--- lib/Net/Server/PreFork.pm 2010-07-08 21:13:47.000000000 +0200
++++ lib/Net/Server/PreFork.pm.new 2011-01-04 18:48:54.103050023 +0100
+@@ -331,4 +331,13 @@
+ );
+
++ ### reclaim process exit status from any terminated child process
++ ### inherited from a previous incarnation whose SIGCHLD signal was
++ ### ignored during a blind period between a restart and the moment
++ ### when the SIGCHLD handler was established just now
++ while ( defined(my $chld = waitpid(-1, WNOHANG)) ){
++ last unless $chld > 0;
++ $self->{reaped_children}->{$chld} = 1;
++ }
++
+ ### loop on reading info from the children
+ while( 1 ){
+--- lib/Net/Server/PreForkSimple.pm 2010-05-05 05:01:58.000000000 +0200
++++ lib/Net/Server/PreForkSimple.pm.new 2011-01-04 18:40:23.631629852 +0100
+@@ -332,4 +332,13 @@
+ );
+
++ ### reclaim process exit status from any terminated child process
++ ### inherited from a previous incarnation whose SIGCHLD signal was
++ ### ignored during a blind period between a restart and the moment
++ ### when the SIGCHLD handler was established just now
++ while ( defined(my $chld = waitpid(-1, WNOHANG)) ){
++ last unless $chld > 0;
++ $self->delete_child($chld);
++ }
++
+ ### loop forever
+ while( 1 ){
Propchange: trunk/libnet-server-perl/debian/patches/03_rt-cpan-65891-reap-children.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libnet-server-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/rules?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/rules (added)
+++ trunk/libnet-server-perl/debian/rules Wed Mar 16 02:33:30 2011
@@ -1,0 +1,56 @@
+#!/usr/bin/make -f
+
+PACKAGE=$(shell dh_listpackages)
+PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr
+
+ifndef PERL
+PERL=/usr/bin/perl
+endif
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
+ rm -f Makefile Makefile.old
+ rm -f Net-Server.spec
+ dh_clean
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install PREFIX="$(PREFIX)"
+ find "$(PREFIX)" -type d -name .svn | xargs rm -rf
+
+binary-arch: build install
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installchangelogs Changes
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean install binary-indep binary-arch binary
Propchange: trunk/libnet-server-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libnet-server-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-server-perl/debian/watch?rev=71476&op=file
==============================================================================
--- trunk/libnet-server-perl/debian/watch (added)
+++ trunk/libnet-server-perl/debian/watch Wed Mar 16 02:33:30 2011
@@ -1,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/Net-Server/lib/Net/Server.pm .*Net-Server-([\d\.]+)\.tar\.gz
More information about the Pkg-perl-cvs-commits
mailing list