pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-BSD-Resource Update from version 1.28 to 1.29...
details: https://anonhg.NetBSD.org/pkgsrc/rev/551ea62d2bed
branches: trunk
changeset: 544650:551ea62d2bed
user: he <he%pkgsrc.org@localhost>
date: Thu Jul 17 13:52:44 2008 +0000
description:
Update from version 1.28 to 1.29.01 (original has 1.2901, but
that's an accident waiting to happen on next version number "increase").
Also included is a bugfix for one of the self-tests, a comparison
which was the wrong way. Reported upstream.
Tests OK on i386/4.0 if you bump the stack limit to something more
than the default 2MB.
Changes:
2008-01-29 Jarkko Hietaniemi <jhi%iki.fi@localhost>
* netbsd-alpha does not have a functional RLIMIT_STACK,
reported by David Cantrell. Skip the test, and document
as a known issue.
* Release 1.2901.
2008-01-27 Jarkko Hietaniemi <jhi%iki.fi@localhost>
* Rewrite the setrlimit.t test. Simplify it a lot; now all
RLIM_INFINITY limits are simply skipped; for those that
are limited we try setting only the soft limit, and accept
a value lower than we tried to set, since various systems
might either enforce lower limits, or round up the limits.
Added documentation on setrlimit() about this.
* Allow calling getrlimit/setrlimit and getpriority/setpriority
with the string names ("RLIMIT_NPROC", for example).
* Include ppport.h (generated with perl 5.8.8), reshuffle
system header includes appropriately.
* Tested also with older Perls, 5.005_05 and 5.6.2, in OS X.
(5.005_04 didn't work, it creates but then cannot dynaload
the .bundle files, go figure.)
* Minor documentation tweaks and copyright year bumps.
* Release 1.29.
diffstat:
devel/p5-BSD-Resource/Makefile | 6 +++---
devel/p5-BSD-Resource/distinfo | 9 +++++----
devel/p5-BSD-Resource/patches/patch-aa | 13 +++++++++++++
3 files changed, 21 insertions(+), 7 deletions(-)
diffs (45 lines):
diff -r dc9d6865a15e -r 551ea62d2bed devel/p5-BSD-Resource/Makefile
--- a/devel/p5-BSD-Resource/Makefile Thu Jul 17 12:27:41 2008 +0000
+++ b/devel/p5-BSD-Resource/Makefile Thu Jul 17 13:52:44 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:13 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2008/07/17 13:52:44 he Exp $
-DISTNAME= BSD-Resource-1.28
-PKGNAME= p5-${DISTNAME}
+DISTNAME= BSD-Resource-1.2901
+PKGNAME= p5-${DISTNAME:S/2901/29.01/}
SVR4_PKGNAME= p5bsd
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=BSD/}
diff -r dc9d6865a15e -r 551ea62d2bed devel/p5-BSD-Resource/distinfo
--- a/devel/p5-BSD-Resource/distinfo Thu Jul 17 12:27:41 2008 +0000
+++ b/devel/p5-BSD-Resource/distinfo Thu Jul 17 13:52:44 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2007/02/18 02:39:23 wiz Exp $
+$NetBSD: distinfo,v 1.9 2008/07/17 13:52:44 he Exp $
-SHA1 (BSD-Resource-1.28.tar.gz) = 1f2e245334b43a2f50347dffdf70e72fdddc3512
-RMD160 (BSD-Resource-1.28.tar.gz) = 28ddd106593ce4b96eac26a3b76b840988068b33
-Size (BSD-Resource-1.28.tar.gz) = 19713 bytes
+SHA1 (BSD-Resource-1.2901.tar.gz) = 764863927829abff6fd10ba39cf602225047fb86
+RMD160 (BSD-Resource-1.2901.tar.gz) = 79f7adf9028a4c6b9056ddf6244be773c9b83375
+Size (BSD-Resource-1.2901.tar.gz) = 58901 bytes
+SHA1 (patch-aa) = 69b74a8a96efcce7c913cc3ecee4e8f97c7db6b6
diff -r dc9d6865a15e -r 551ea62d2bed devel/p5-BSD-Resource/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-BSD-Resource/patches/patch-aa Thu Jul 17 13:52:44 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/07/17 13:52:44 he Exp $
+
+--- t/setrlimit.t.orig 2008-01-29 23:42:28.000000000 +0100
++++ t/setrlimit.t
+@@ -32,7 +32,7 @@ for my $lim (@LIM) {
+ print "# setrlimit($lim, $try_soft) = OK\n";
+ my $new_soft = getrlimit($lim);
+ print "# getrlimit($lim) = $new_soft\n";
+- if (($new_soft > 0 || $old_soft == 0) && $new_soft <= $try_soft) {
++ if (($new_soft > 0 || $old_soft == 0) && $new_soft >= $try_soft) {
+ print "ok $test_no # $try_soft <= $new_soft\n";
+ } else {
+ print "NOT ok $test_no # $try_soft > $new_soft\n";
Home |
Main Index |
Thread Index |
Old Index