r14155 - in /trunk/libdanga-socket-perl: CHANGES MANIFEST META.yml Makefile.PL Socket.pm debian/changelog debian/control debian/copyright debian/rules debian/watch lib/ t/10-events.t t/12-closerace.t
tincho-guest at users.alioth.debian.org
tincho-guest at users.alioth.debian.org
Tue Feb 5 01:41:03 UTC 2008
Author: tincho-guest
Date: Tue Feb 5 01:41:03 2008
New Revision: 14155
URL: http://svn.debian.org/wsvn/?sc=1&rev=14155
Log:
* New upstream release.
* debian/control: bumped Standards-Version (no changes), added me as
uploader, removed misc:Depends substvar, corrected capitalisation in short
desc and missing "is" in long desc.
* debian/watch: modified to use dist/.
* debian/copyright: new format, and packaging license.
* debian/rules: removed unneeded debhelper calls, arch-dependent stuff and
some cosmetic changes.
Added:
trunk/libdanga-socket-perl/lib/
- copied from r14154, branches/upstream/libdanga-socket-perl/current/lib/
Removed:
trunk/libdanga-socket-perl/Socket.pm
Modified:
trunk/libdanga-socket-perl/CHANGES
trunk/libdanga-socket-perl/MANIFEST
trunk/libdanga-socket-perl/META.yml
trunk/libdanga-socket-perl/Makefile.PL
trunk/libdanga-socket-perl/debian/changelog
trunk/libdanga-socket-perl/debian/control
trunk/libdanga-socket-perl/debian/copyright
trunk/libdanga-socket-perl/debian/rules
trunk/libdanga-socket-perl/debian/watch
trunk/libdanga-socket-perl/t/10-events.t
trunk/libdanga-socket-perl/t/12-closerace.t
Modified: trunk/libdanga-socket-perl/CHANGES
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/CHANGES?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/CHANGES (original)
+++ trunk/libdanga-socket-perl/CHANGES Tue Feb 5 01:41:03 2008
@@ -1,3 +1,9 @@
+ -- restructure tree to be more "normal", with lib/ directory
+
+1.58
+ -- Remove unnecessary bless() calls in tests (5.10 compatibility)
+ (msergeant)
+
1.57
-- Make tcp_cork be a no-op (rather than exploding) when operating on
a fd that isn't a network socket (like a local pipe, which doesn't do
Modified: trunk/libdanga-socket-perl/MANIFEST
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/MANIFEST?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/MANIFEST (original)
+++ trunk/libdanga-socket-perl/MANIFEST Tue Feb 5 01:41:03 2008
@@ -3,7 +3,7 @@
Makefile.PL
MANIFEST
META.yml Module meta-data (added by MakeMaker)
-Socket.pm
+lib/Danga/Socket.pm
t/00-use.t
t/05-postloop.t
t/10-events.t
Modified: trunk/libdanga-socket-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/META.yml?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/META.yml (original)
+++ trunk/libdanga-socket-perl/META.yml Tue Feb 5 01:41:03 2008
@@ -1,8 +1,8 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Danga-Socket
-version: 1.57
-version_from: Socket.pm
+version: 1.58
+version_from: lib/Danga/Socket.pm
installdirs: site
requires:
fields: 0
Modified: trunk/libdanga-socket-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/Makefile.PL?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/Makefile.PL (original)
+++ trunk/libdanga-socket-perl/Makefile.PL Tue Feb 5 01:41:03 2008
@@ -1,7 +1,7 @@
#!/usr/bin/perl
#
# Perl Makefile for Danga-Socket
-# $Id: Makefile.PL 62 2005-08-01 19:09:44Z bradfitz $
+# $Id: Makefile.PL 119 2007-05-09 17:59:34Z bradfitz $
#
# Invoke with 'perl Makefile.PL'
#
@@ -13,7 +13,7 @@
WriteMakefile(
NAME => 'Danga::Socket',
- VERSION_FROM => 'Socket.pm', # finds $VERSION
+ VERSION_FROM => 'lib/Danga/Socket.pm',
AUTHOR => 'Brad Fitzpatrick <brad at danga.com>',
ABSTRACT => 'Async socket class',
PREREQ_PM => {
@@ -25,13 +25,6 @@
'Time::HiRes' => 0,
'Sys::Syscall' => 0,
},
- dist => {
- CI => "cvs commit",
- RCS_LABEL => 'cvs tag RELEASE_$(VERSION_SYM)',
- SUFFIX => ".gz",
- DIST_DEFAULT => 'all tardist',
- COMPRESS => "gzip",
- },
);
Modified: trunk/libdanga-socket-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/debian/changelog?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/debian/changelog (original)
+++ trunk/libdanga-socket-perl/debian/changelog Tue Feb 5 01:41:03 2008
@@ -1,11 +1,22 @@
-libdanga-socket-perl (1.57-2) UNRELEASED; urgency=low
+libdanga-socket-perl (1.58-1) 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/rules: delete /usr/lib/perl5 only if it exists.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:25 +0200
+ [ MartÃn Ferrari ]
+ * New upstream release.
+ * debian/control: bumped Standards-Version (no changes), added me as
+ uploader, removed misc:Depends substvar, corrected capitalisation in short
+ desc and missing "is" in long desc.
+ * debian/watch: modified to use dist/.
+ * debian/copyright: new format, and packaging license.
+ * debian/rules: removed unneeded debhelper calls, arch-dependent stuff and
+ some cosmetic changes.
+
+ -- MartÃn Ferrari <martin.ferrari at gmail.com> Mon, 04 Feb 2008 23:40:21 -0200
libdanga-socket-perl (1.57-1) unstable; urgency=low
Modified: trunk/libdanga-socket-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/debian/control?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/debian/control (original)
+++ trunk/libdanga-socket-perl/debian/control Tue Feb 5 01:41:03 2008
@@ -4,22 +4,23 @@
Build-Depends: debhelper (>= 5.0.0)
Build-Depends-Indep: perl (>= 5.8), libsys-syscall-perl, netbase
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
-Standards-Version: 3.7.2.1
+Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
+ gregor herrmann <gregor+debian at comodo.priv.at>,
+ MartÃn Ferrari <martin.ferrari at gmail.com>
+Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Danga-Socket/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdanga-socket-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdanga-socket-perl/
Package: libdanga-socket-perl
Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libsys-syscall-perl
-Description: Event loop and event-driven async socket base class
- Danga::Socket an abstract base class for objects backed by a socket which
- provides the basic framework for event-driven asynchronous IO,
- designed to be fast. Danga::Socket is both a base class for objects,
- and an event loop.
+Depends: ${perl:Depends}, libsys-syscall-perl
+Description: event loop and event-driven async socket base class
+ Danga::Socket is an abstract base class for objects backed by a socket which
+ provides the basic framework for event-driven asynchronous IO, designed to be
+ fast. Danga::Socket is both a base class for objects, and an event loop.
.
- Callers subclass Danga::Socket. Danga::Socket's constructor registers
+ Callers subclass Danga::Socket. Danga::Socket's constructor registers
itself with the Danga::Socket event loop, and invokes callbacks on the
object for readability, writability, errors, and other conditions.
.
Modified: trunk/libdanga-socket-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/debian/copyright?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/debian/copyright (original)
+++ trunk/libdanga-socket-perl/debian/copyright Tue Feb 5 01:41:03 2008
@@ -1,26 +1,33 @@
-This is the debian package for the Danga-Socket module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
-
+This is the debian package for the Danga-Socket module. It was created by
+Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
It was downloaded from: http://www.cpan.org/modules/by-module/Danga/
The upstream authors are:
+ - Brad Fitzpatrick <brad at danga.com> - author
+ - Michael Granger <ged at danga.com> - docs, testing
+ - Mark Smith <junior at danga.com> - contributor, heavy user, testing
+ - Matt Sergeant <matt at sergeant.org> - kqueue support, docs, timers,
+ other bits.
-- Brad Fitzpatrick <brad at danga.com> - author
-- Michael Granger <ged at danga.com> - docs, testing
-- Mark Smith <junior at danga.com> - contributor, heavy user, testing
-- Matt Sergeant <matt at sergeant.org> - kqueue support, docs, timers, other bits.
+Files: *
+Copyright: © 2004-2008 Brad Fitzpatrick <brad at danga.com>
+ © 2004-2008 Michael Granger <ged at danga.com>
+ © 2004-2008 Mark Smith <junior at danga.com>
+ © 2004-2008 Matt Sergeant <matt at sergeant.org>
+License: GPL-1+ | Artistic
+ This program is free software, you can redistribute it and/or modify it under
+ the same terms as Perl itself.
+ .
+ As the package doesn't have a proper copyright statement, this was synthesised
+ from POD documentation and the CHANGES file.
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
+Files: debian/*
+Copyright: © 2006-2008 Debian Perl Group <debian-perl at lists.debian.org>
+License: GPL-1+ | Artistic
+ The Debian packaging is licensed under the same terms as upstream code.
-Perl is distributed under licenses:
+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'.
- a) the GNU General Public License as published by the Free Software
- Foundation; either version 1, or (at your option) any later
- version, or
-
- b) the "Artistic License" which comes with Perl.
-
- 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'.
Modified: trunk/libdanga-socket-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/debian/rules?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/debian/rules (original)
+++ trunk/libdanga-socket-perl/debian/rules Tue Feb 5 01:41:03 2008
@@ -1,8 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -11,31 +7,22 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PACKAGE = $(shell dh_listpackages)
+PERL ?= /usr/bin/perl
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
-
- touch build-stamp
+ $(MAKE)
+ $(MAKE) test
+ touch $@
clean:
dh_testdir
dh_testroot
-
- # Add commands to clean up after the build process here
[ ! -f Makefile ] || $(MAKE) realclean
-
dh_clean build-stamp install-stamp
install: build install-stamp
@@ -43,32 +30,24 @@
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
# As this is a architecture independent package, we are not
# supposed to install stuff to /usr/lib. MakeMaker creates
# the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
- touch install-stamp
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
-# We have nothing to do by default.
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installcron
-# dh_installmenu
-# dh_installexamples
- dh_installdocs
+ dh_installexamples examples/subprocess/
+ dh_installdocs
dh_installchangelogs CHANGES
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
Modified: trunk/libdanga-socket-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/debian/watch?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/debian/watch (original)
+++ trunk/libdanga-socket-perl/debian/watch Tue Feb 5 01:41:03 2008
@@ -1,3 +1,3 @@
# format version number, currently 2; this line is compulsory!
-version=2
-http://www.cpan.org/modules/by-module/Danga/Danga-Socket-([\d\.]+)\.tar\.gz
+version=3
+http://search.cpan.org/dist/Danga-Socket/ .*/Danga-Socket-v?(\d.*)\.tar\.gz
Modified: trunk/libdanga-socket-perl/t/10-events.t
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/t/10-events.t?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/t/10-events.t (original)
+++ trunk/libdanga-socket-perl/t/10-events.t Tue Feb 5 01:41:03 2008
@@ -92,7 +92,6 @@
my $self = fields::new($class);
$self->SUPER::new($sock); # init base fields
- bless $self, ref $class || $class;
$self->watch_read(1);
my $peer_str = $self->peer_addr_string();
my $local_str = $self->local_addr_string();
@@ -163,7 +162,6 @@
my $self = fields::new($class);
$self->SUPER::new($sock);
- bless $self, ref $class || $class;
$self->{'connected'} = 0;
Modified: trunk/libdanga-socket-perl/t/12-closerace.t
URL: http://svn.debian.org/wsvn/trunk/libdanga-socket-perl/t/12-closerace.t?rev=14155&op=diff
==============================================================================
--- trunk/libdanga-socket-perl/t/12-closerace.t (original)
+++ trunk/libdanga-socket-perl/t/12-closerace.t Tue Feb 5 01:41:03 2008
@@ -63,7 +63,6 @@
my $self = fields::new($class);
$self->SUPER::new($sock); # init base fields
- bless $self, ref $class || $class;
$self->watch_read(1);
$self->{state} = "init";
$self->{got} = "";
More information about the Pkg-perl-cvs-commits
mailing list