summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhe <he>2008-07-17 13:52:44 +0000
committerhe <he>2008-07-17 13:52:44 +0000
commit7a80bf264c8d37c1f7b27c64f49c2380ac779cda (patch)
treefedf1a5c6211c411bba53e69e0b245f151f978c6
parentab222bcec1aad658b00184cbc9ade8f74018f440 (diff)
downloadpkgsrc-7a80bf264c8d37c1f7b27c64f49c2380ac779cda.tar.gz
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> * 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> * 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.
-rw-r--r--devel/p5-BSD-Resource/Makefile6
-rw-r--r--devel/p5-BSD-Resource/distinfo9
-rw-r--r--devel/p5-BSD-Resource/patches/patch-aa13
3 files changed, 21 insertions, 7 deletions
diff --git a/devel/p5-BSD-Resource/Makefile b/devel/p5-BSD-Resource/Makefile
index 88f2f6cbdc6..0fef1c0fcec 100644
--- a/devel/p5-BSD-Resource/Makefile
+++ b/devel/p5-BSD-Resource/Makefile
@@ -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 --git a/devel/p5-BSD-Resource/distinfo b/devel/p5-BSD-Resource/distinfo
index a77c25c6ab8..e38a70939b4 100644
--- a/devel/p5-BSD-Resource/distinfo
+++ b/devel/p5-BSD-Resource/distinfo
@@ -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 --git a/devel/p5-BSD-Resource/patches/patch-aa b/devel/p5-BSD-Resource/patches/patch-aa
new file mode 100644
index 00000000000..13332094d62
--- /dev/null
+++ b/devel/p5-BSD-Resource/patches/patch-aa
@@ -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";