Hello community,
here is the log from the commit of package perl-BSD-Resource for openSUSE:Factory checked in at 2015-11-17 14:23:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-BSD-Resource (Old)
and /work/SRC/openSUSE:Factory/.perl-BSD-Resource.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-BSD-Resource"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-BSD-Resource/perl-BSD-Resource.changes 2015-10-30 13:43:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-BSD-Resource.new/perl-BSD-Resource.changes 2015-11-17 14:23:31.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Nov 16 09:35:54 UTC 2015 - coolo@suse.com
+
+- updated to 1.2909
+ see /usr/share/doc/packages/perl-BSD-Resource/ChangeLog
+
+ 2015-11-15 Jarkko Hietaniemi
+
+ * The added RLIMIT_ values were not added quite right.
+ Our own tests didn't detect this, but mod_perl2 ones did
+ [cpan #108955]
+
+-------------------------------------------------------------------
Old:
----
BSD-Resource-1.2908.tar.gz
New:
----
BSD-Resource-1.2909.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-BSD-Resource.spec ++++++
--- /var/tmp/diff_new_pack.txD7TS/_old 2015-11-17 14:23:32.000000000 +0100
+++ /var/tmp/diff_new_pack.txD7TS/_new 2015-11-17 14:23:32.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-BSD-Resource
-Version: 1.2908
+Version: 1.2909
Release: 0
#Upstream: This module free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0 or GNU Lesser General Public License 2.0. For more details, see the full text of the licenses at http://www.perlfoundation.org/artistic_license_2_0, and http://www.gnu.org/licenses/gpl-2.0.html.
%define cpan_name BSD-Resource
++++++ BSD-Resource-1.2908.tar.gz -> BSD-Resource-1.2909.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/ChangeLog new/BSD-Resource-1.2909/ChangeLog
--- old/BSD-Resource-1.2908/ChangeLog 2015-10-22 02:15:57.000000000 +0200
+++ new/BSD-Resource-1.2909/ChangeLog 2015-11-15 22:46:50.000000000 +0100
@@ -1,3 +1,9 @@
+2015-11-15 Jarkko Hietaniemi
+
+ * The added RLIMIT_ values were not added quite right.
+ Our own tests didn't detect this, but mod_perl2 ones did
+ [cpan #108955]
+
2015-10-21 Jarkko Hietaniemi
* Add more RLIMIT_ values from various systems,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/MANIFEST new/BSD-Resource-1.2909/MANIFEST
--- old/BSD-Resource-1.2908/MANIFEST 2013-07-09 01:30:21.000000000 +0200
+++ new/BSD-Resource-1.2909/MANIFEST 2015-11-15 22:31:02.000000000 +0100
@@ -6,6 +6,7 @@
t/burn.pl
t/getrusage.t
t/getrlimit.t
+t/get_rlimits.t
t/setrlimit.t
t/getpriority.t
t/pod.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/META.json new/BSD-Resource-1.2909/META.json
--- old/BSD-Resource-1.2908/META.json 2015-10-22 02:16:39.000000000 +0200
+++ new/BSD-Resource-1.2909/META.json 2015-11-15 23:18:47.000000000 +0100
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.141170",
+ "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005",
"license" : [
"unknown"
],
@@ -35,5 +35,6 @@
}
},
"release_status" : "stable",
- "version" : "1.2908"
+ "version" : "1.2909",
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/META.yml new/BSD-Resource-1.2909/META.yml
--- old/BSD-Resource-1.2908/META.yml 2015-10-22 02:16:39.000000000 +0200
+++ new/BSD-Resource-1.2909/META.yml 2015-11-15 23:18:47.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.141170'
+generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005'
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -18,4 +18,5 @@
- t
- inc
requires: {}
-version: '1.2908'
+version: '1.2909'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.017'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/Resource.pm new/BSD-Resource-1.2909/Resource.pm
--- old/BSD-Resource-1.2908/Resource.pm 2015-10-22 02:05:45.000000000 +0200
+++ new/BSD-Resource-1.2909/Resource.pm 2015-11-15 22:44:32.000000000 +0100
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1995-2013 Jarkko Hietaniemi. All rights reserved.
+# Copyright (c) 1995-2015 Jarkko Hietaniemi. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
#
@@ -13,7 +13,7 @@
use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD $VERSION);
-$VERSION = '1.2908';
+$VERSION = '1.2909';
use Carp;
use AutoLoader;
@@ -271,6 +271,9 @@
RLIMIT_AIO_OPS maximum number 1
for POSIX AIO ops
+ RLIMIT_NPTS maximum number of 1
+ pseudo-terminals
+
RLIMIT_SBSIZE socket buffer size bytes
RLIMIT_SWAP maximum swap size bytes
@@ -517,7 +520,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 1995-2013 Jarkko Hietaniemi All Rights Reserved
+Copyright 1995-2015 Jarkko Hietaniemi All Rights Reserved
This module free software; you can redistribute it and/or modify it
under the terms of the Artistic License 2.0 or GNU Lesser General
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/Resource.xs new/BSD-Resource-1.2909/Resource.xs
--- old/BSD-Resource-1.2908/Resource.xs 2015-10-22 02:05:25.000000000 +0200
+++ new/BSD-Resource-1.2909/Resource.xs 2015-11-15 22:39:28.000000000 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013 Jarkko Hietaniemi. All rights reserved.
+ * Copyright (c) 1995-2015 Jarkko Hietaniemi. All rights reserved.
* This program is free software; you can redistribute it and/or
* modify it under the same terms as Perl itself.
*
@@ -323,6 +323,18 @@
#else
goto not_there;
#endif
+ if (strEQ(name, "RLIMIT_MSGQUEUE"))
+#if defined(RLIMIT_MSGQUEUE) || defined(HAS_RLIMIT_MSGQUEUE)
+ return RLIMIT_MSGQUEUE;
+#else
+ goto not_there;
+#endif
+ if (strEQ(name, "RLIMIT_NICE"))
+#if defined(RLIMIT_NICE) || defined(HAS_RLIMIT_NICE)
+ return RLIMIT_NICE;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "RLIMIT_NOFILE"))
#if defined(RLIMIT_NOFILE) || defined(HAS_RLIMIT_NOFILE)
return RLIMIT_NOFILE;
@@ -335,6 +347,12 @@
#else
goto not_there;
#endif
+ if (strEQ(name, "RLIMIT_NPTS"))
+#if defined(RLIMIT_NPTS) || defined(HAS_RLIMIT_NPTS)
+ return RLIMIT_NPTS;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "RLIMIT_OFILE"))
#if defined(RLIMIT_OFILE) || defined(HAS_RLIMIT_OFILE)
return RLIMIT_OFILE;
@@ -347,18 +365,54 @@
#else
goto not_there;
#endif
+ if (strEQ(name, "RLIMIT_PTHREAD"))
+#if defined(RLIMIT_PTHREAD) || defined(HAS_RLIMIT_PTHREAD)
+ return RLIMIT_PTHREAD;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "RLIMIT_RSS"))
#if defined(RLIMIT_RSS) || defined(HAS_RLIMIT_RSS)
return RLIMIT_RSS;
#else
goto not_there;
#endif
+ if (strEQ(name, "RLIMIT_RTPRIO"))
+#if defined(RLIMIT_RTPRIO) || defined(HAS_RLIMIT_RTPRIO)
+ return RLIMIT_RTPRIO;
+#else
+ goto not_there;
+#endif
+ if (strEQ(name, "RLIMIT_RTTIME"))
+#if defined(RLIMIT_RTTIME) || defined(HAS_RLIMIT_RTTIME)
+ return RLIMIT_RTTIME;
+#else
+ goto not_there;
+#endif
+ if (strEQ(name, "RLIMIT_SBSIZE"))
+#if defined(RLIMIT_SBSIZE) || defined(HAS_RLIMIT_SBSIZE)
+ return RLIMIT_SBSIZE;
+#else
+ goto not_there;
+#endif
+ if (strEQ(name, "RLIMIT_SIGPENDING"))
+#if defined(RLIMIT_SIGPENDING) || defined(HAS_RLIMIT_SIGPENDING)
+ return RLIMIT_SIGPENDING;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "RLIMIT_STACK"))
#if defined(RLIMIT_STACK) || defined(HAS_RLIMIT_STACK)
return RLIMIT_STACK;
#else
goto not_there;
#endif
+ if (strEQ(name, "RLIMIT_SWAP"))
+#if defined(RLIMIT_SWAP) || defined(HAS_RLIMIT_SWAP)
+ return RLIMIT_SWAP;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "RLIMIT_TCACHE"))
#if defined(RLIMIT_TCACHE) || defined(HAS_RLIMIT_TCACHE)
return RLIMIT_TCACHE;
@@ -700,6 +754,9 @@
#if defined(RLIMIT_NPROC) || defined(HAS_RLIMIT_NPROC)
HV_STORE_RES(RETVAL, RLIMIT_NPROC);
#endif
+#if defined(RLIMIT_NPTS) || defined(HAS_RLIMIT_NPTS)
+ HV_STORE_RES(RETVAL, RLIMIT_NPTS);
+#endif
#if defined(RLIMIT_OFILE) || defined(HAS_RLIMIT_OFILE)
HV_STORE_RES(RETVAL, RLIMIT_OFILE);
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSD-Resource-1.2908/t/get_rlimits.t new/BSD-Resource-1.2909/t/get_rlimits.t
--- old/BSD-Resource-1.2908/t/get_rlimits.t 1970-01-01 01:00:00.000000000 +0100
+++ new/BSD-Resource-1.2909/t/get_rlimits.t 2015-11-15 23:18:23.000000000 +0100
@@ -0,0 +1,21 @@
+#
+# get_rlimits.t
+#
+# https://rt.cpan.org/Ticket/Display.html?id=108955
+#
+
+use BSD::Resource;
+
+local $^W = 1;
+
+my $r = get_rlimits();
+my @r = sort keys %$r;
+
+printf("1..%d\n", scalar @r);
+
+for my $i (1..@r) {
+ my $k = $r[$i - 1];
+ my $res = $r->{$k};
+ my $val = eval "&BSD::Resource::${res}()";
+ print defined $val ? "not ok $i # $k\n" : "ok $i # $k $res\n";
+}