r51941 - in /trunk/libprpc-perl/debian: changelog control patches/crypt.patch patches/disable_tests.patch patches/series
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jan 31 15:11:43 UTC 2010
Author: gregoa
Date: Sun Jan 31 15:09:15 2010
New Revision: 51941
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51941
Log:
* disable_tests.patch: Update to
disable using syslog instead of completely disabling the tests.
* Add build dependency on netbase.
* debian/control: add libcrypt-des-perl to Build-Depends-Indep and Suggests.
* New patch crypt.patch: fix an arror in two tests.
Added:
trunk/libprpc-perl/debian/patches/crypt.patch
Modified:
trunk/libprpc-perl/debian/changelog
trunk/libprpc-perl/debian/control
trunk/libprpc-perl/debian/patches/disable_tests.patch
trunk/libprpc-perl/debian/patches/series
Modified: trunk/libprpc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libprpc-perl/debian/changelog?rev=51941&op=diff
==============================================================================
--- trunk/libprpc-perl/debian/changelog (original)
+++ trunk/libprpc-perl/debian/changelog Sun Jan 31 15:09:15 2010
@@ -8,10 +8,14 @@
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
- * Split out changes to test suite into disable_tests.patch.
+ * Split out changes to test suite into disable_tests.patch. Update to
+ disable using syslog instead of completely disabling the tests.
+ * Add build dependency on netbase.
* Move perl from Build-Depends to Build-Depends-Indep.
* debian/watch: use dist-based URL and remove call to uupdate.
* debian/control: Added: ${misc:Depends} to Depends: field.
+ * debian/control: add libcrypt-des-perl to Build-Depends-Indep and Suggests.
+ * New patch crypt.patch: fix an arror in two tests.
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
Modified: trunk/libprpc-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libprpc-perl/debian/control?rev=51941&op=diff
==============================================================================
--- trunk/libprpc-perl/debian/control (original)
+++ trunk/libprpc-perl/debian/control Sun Jan 31 15:09:15 2010
@@ -9,11 +9,12 @@
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libprpc-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libprpc-perl/
Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl
+Build-Depends-Indep: perl, libcrypt-des-perl, netbase
Package: libprpc-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
+Suggests: libcrypt-des-perl
Description: Perl extensions for writing pRPC servers and clients
Perl RPC simplifies the writing of Perl based client/server
applications. RPC::pServer is the package used on the server side,
Added: trunk/libprpc-perl/debian/patches/crypt.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libprpc-perl/debian/patches/crypt.patch?rev=51941&op=file
==============================================================================
--- trunk/libprpc-perl/debian/patches/crypt.patch (added)
+++ trunk/libprpc-perl/debian/patches/crypt.patch Sun Jan 31 15:09:15 2010
@@ -1,0 +1,39 @@
+Author: gregor herrmann <gregoa at debian.org>
+Description: creating a new object works differently ...
+Forwarded: no
+Origin: vendor
+
+--- a/t/encrypt.t
++++ b/t/encrypt.t
+@@ -41,12 +41,12 @@
+ $@ = '';
+ my $cipher = undef;
+ eval 'use Crypt::IDEA;'
+- . ' $cipher = IDEA->new(pack("H*",'
++ . ' $cipher = Crypt::IDEA->new(pack("H*",'
+ . ' "0123456789abcdef0123456789abcdef"));';
+ if (!$cipher) {
+ $@ = '';
+ eval 'use Crypt::DES;'
+- . ' $cipher = DES->new(pack("H*", "0123456789abcdef"));';
++ . ' $cipher = Crypt::DES->new(pack("H*", "0123456789abcdef"));';
+ if (!$cipher) {
+ print "1..0\n";
+ exit 0;
+--- a/t/noStorableOoEnc.t
++++ b/t/noStorableOoEnc.t
+@@ -42,12 +42,12 @@
+ $@ = '';
+ my $cipher = undef;
+ eval 'use Crypt::IDEA;'
+- . ' $cipher = IDEA->new(pack("H*",'
++ . ' $cipher = Crypt::IDEA->new(pack("H*",'
+ . ' "0123456789abcdef0123456789abcdef"));';
+ if (!$cipher) {
+ $@ = '';
+ eval 'use Crypt::DES;'
+- . ' $cipher = DES->new(pack("H*", "0123456789abcdef"));';
++ . ' $cipher = Crypt::DES->new(pack("H*", "0123456789abcdef"));';
+ if (!$cipher) {
+ print "1..0\n";
+ exit 0;
Modified: trunk/libprpc-perl/debian/patches/disable_tests.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libprpc-perl/debian/patches/disable_tests.patch?rev=51941&op=diff
==============================================================================
--- trunk/libprpc-perl/debian/patches/disable_tests.patch (original)
+++ trunk/libprpc-perl/debian/patches/disable_tests.patch Sun Jan 31 15:09:15 2010
@@ -1,40 +1,78 @@
Author: Christian Hammers <ch at debian.org>
Description: Skipping tests as there is no running syslog in the autobuilder
environment.
-Bug: #262421
+Bug-Debian: http://bugs.debian.org/262421
+
+Author: gregor herrmann <gregoa at debian.org>
+Description: remove the syslogging instead of disabling the tests
--- a/t/client.t
+++ b/t/client.t
-@@ -35,6 +35,10 @@ require ((-f "lib.pl") ? "lib.pl" : "t/l
- ############################################################################
+@@ -41,12 +41,6 @@
- {
-+ print("1..1\nok 1 # skipped Disabled for Debian build environments!\n");
-+ exit(0);
-+
-+
- # Force output being written immediately
- $| = 1;
- print "1..14\n";
-@@ -45,8 +49,7 @@ require ((-f "lib.pl") ? "lib.pl" : "t/l
- defined(&Sys::Syslog::_PATH_LOG)) {
- Sys::Syslog::setlogsock('unix');
- }
+ $SIG{'PIPE'} = sub { print STDERR "Got signal PIPE.\n"; };
+
+- if (defined(&Sys::Syslog::setlogsock) &&
+- defined(&Sys::Syslog::_PATH_LOG)) {
+- Sys::Syslog::setlogsock('unix');
+- }
- Sys::Syslog::openlog('client.t', 'pid', 'daemon');
-
-+ my($ch1) = Sys::Syslog::openlog('client.t', 'pid', 'daemon');
#
# We'd prefer to do the following as part of the Server()
# function. This would be fine, if we'd bind on a well
--- a/t/noStorableOo.t
+++ b/t/noStorableOo.t
-@@ -36,6 +36,9 @@ $RPC::pClient::haveOoStorable = $RPC::pC
+@@ -42,12 +42,6 @@
+
+ $SIG{'PIPE'} = sub { print STDERR "Got signal PIPE.\n"; };
+
+- if (defined(&Sys::Syslog::setlogsock) &&
+- defined(&Sys::Syslog::_PATH_LOG)) {
+- Sys::Syslog::setlogsock('unix');
+- }
+- Sys::Syslog::openlog('client.t', 'pid', 'daemon');
+-
+ #
+ # We'd prefer to do the following as part of the Server()
+ # function. This would be fine, if we'd bind on a well
+--- a/t/encrypt.t
++++ b/t/encrypt.t
+@@ -57,12 +57,6 @@
+
+ $SIG{'PIPE'} = sub { print STDERR "Got signal PIPE.\n"; };
+
+- if (defined(&Sys::Syslog::setlogsock) &&
+- defined(&Sys::Syslog::_PATH_LOG)) {
+- Sys::Syslog::setlogsock('unix');
+- }
+- Sys::Syslog::openlog('client.t', 'pid', 'daemon');
+-
+ #
+ # We'd prefer to do the following as part of the Server()
+ # function. This would be fine, if we'd bind on a well
+--- a/t/lib.pl
++++ b/t/lib.pl
+@@ -36,7 +36,6 @@
+ use RPC::pServer;
+ use RPC::pClient;
+ use IO::Socket();
+-use Sys::Syslog();
+
+
############################################################################
+--- a/t/noStorableOoEnc.t
++++ b/t/noStorableOoEnc.t
+@@ -58,12 +58,6 @@
- {
-+ print("1..1\nok 1 # skipped Disabled for Debian build environments!\n");
-+ exit(0);
-+
- # Force output being written immediately
- $| = 1;
- print "1..14\n";
+ $SIG{'PIPE'} = sub { print STDERR "Got signal PIPE.\n"; };
+
+- if (defined(&Sys::Syslog::setlogsock) &&
+- defined(&Sys::Syslog::_PATH_LOG)) {
+- Sys::Syslog::setlogsock('unix');
+- }
+- Sys::Syslog::openlog('client.t', 'pid', 'daemon');
+-
+ #
+ # We'd prefer to do the following as part of the Server()
+ # function. This would be fine, if we'd bind on a well
Modified: trunk/libprpc-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libprpc-perl/debian/patches/series?rev=51941&op=diff
==============================================================================
--- trunk/libprpc-perl/debian/patches/series (original)
+++ trunk/libprpc-perl/debian/patches/series Sun Jan 31 15:09:15 2010
@@ -1,2 +1,3 @@
disable_tests.patch
spelling.patch
+crypt.patch
More information about the Pkg-perl-cvs-commits
mailing list