summaryrefslogtreecommitdiff
path: root/devel/p5-BSD-Resource
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-01-04 17:24:46 +0000
committerhe <he@pkgsrc.org>2009-01-04 17:24:46 +0000
commit70552ff040e98fa3721f898053ba55410696c88b (patch)
tree686d79a2859d7fe86abaf64d661c0edc383e8cad /devel/p5-BSD-Resource
parent1022e29ea3a055a5c9c4173669fc5b5ca75f5bce (diff)
downloadpkgsrc-70552ff040e98fa3721f898053ba55410696c88b.tar.gz
Update from version 1.2901nb1 to 1.2902.
Pkgsrc changes: o Remove no longer needed patch Upstream changes: 2008-12-30 Jarkko Hietaniemi <jhi@iki.fi> * Lowered the "0.95 of the current limit" down to "0.75 of the current limit" in setrlimit.t so that more memory-constrained systems (like 2MB or less of default stack) have slightly more chance of completing the test. The 0.75 also has more chance of aligning with page sizes. * The scalar context return of getrlimit() was documented to return an object, even though it really returned the soft limit, reported by anicka@suse.cz. Fixed the documentation. * Judging by the cpantesters reports no netbsd has a functional RLIMIT_STACK, so skipping the test in all of them. * Release 1.2902.
Diffstat (limited to 'devel/p5-BSD-Resource')
-rw-r--r--devel/p5-BSD-Resource/Makefile7
-rw-r--r--devel/p5-BSD-Resource/distinfo9
-rw-r--r--devel/p5-BSD-Resource/patches/patch-aa13
3 files changed, 8 insertions, 21 deletions
diff --git a/devel/p5-BSD-Resource/Makefile b/devel/p5-BSD-Resource/Makefile
index bcdcbe2ff87..92104c4e0ec 100644
--- a/devel/p5-BSD-Resource/Makefile
+++ b/devel/p5-BSD-Resource/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2008/10/19 19:17:47 he Exp $
+# $NetBSD: Makefile,v 1.24 2009/01/04 17:24:46 he Exp $
-DISTNAME= BSD-Resource-1.2901
+DISTNAME= BSD-Resource-1.2902
PKGNAME= p5-${DISTNAME:S/2901/29.01/}
-PKGREVISION= 1
SVR4_PKGNAME= p5bsd
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=BSD/}
@@ -14,6 +13,8 @@ COMMENT= Perl interface to BSD process resources library
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+UNLIMIT_RESOURCES+= stacksize
+
PERL5_PACKLIST= auto/BSD/Resource/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/devel/p5-BSD-Resource/distinfo b/devel/p5-BSD-Resource/distinfo
index e38a70939b4..d9b2c9c6d6a 100644
--- a/devel/p5-BSD-Resource/distinfo
+++ b/devel/p5-BSD-Resource/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.9 2008/07/17 13:52:44 he Exp $
+$NetBSD: distinfo,v 1.10 2009/01/04 17:24:46 he Exp $
-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
+SHA1 (BSD-Resource-1.2902.tar.gz) = 9d317a36874b5dda32a41275b506b9ee58bc8837
+RMD160 (BSD-Resource-1.2902.tar.gz) = bb3f31e599792b25a7252b0094cacec8729d541e
+Size (BSD-Resource-1.2902.tar.gz) = 59156 bytes
diff --git a/devel/p5-BSD-Resource/patches/patch-aa b/devel/p5-BSD-Resource/patches/patch-aa
deleted file mode 100644
index 13332094d62..00000000000
--- a/devel/p5-BSD-Resource/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$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";