summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2015-01-19 01:10:15 +0000
committerwen <wen@pkgsrc.org>2015-01-19 01:10:15 +0000
commit7218117720f723ffa902acafe76645c33e176b5f (patch)
treebc78d4275afd61b7150104ee272d63cd9a9a9f1f
parent0decfdaec8ab4732c744b91be6f0edfe9e325c32 (diff)
downloadpkgsrc-7218117720f723ffa902acafe76645c33e176b5f.tar.gz
Update to 0.9911
Upstream changes: 2015-01-17 John Peacock <john.peacock@havurah-software.org> * .hgtags: Removed tag v0.9910 [eb66489945fd] [tip] <develop> * .hgtags: Added tag 0.9910 for changeset 4d00adc23f19 [6d03680705f6] <develop> * flow: Merged <hotfix> '0.9911' to <develop> ('develop'). [55a3bfc0b3fc] <develop> * .hgtags: Added tag 0.9911 for changeset fb394f4ac5fc [3127ec2a07b6] * flow: Merged <hotfix> '0.9911' to <master> ('default'). [fb394f4ac5fc] [0.9911] * flow: Closed <hotfix> '0.9911'. [d4bec652869d] <hotfix/0.9911> * .shipit: Need to disable this because it doesn't understand hotfix branches [2b1b81b21756] <hotfix/0.9911> * Makefile.PL, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, t/coretests.pm, vperl/vpp.pm, vutil/lib/version/vxs.pm, vutil/vutil.c: Pull out the changed behavior of normal(), since it breaks M::B [a6c92bf7e426] <hotfix/0.9911> * .shipit: Restore the Finish step and remember to use it this time. [9a8e87ab3743] <hotfix/0.9911> * flow: Created branch 'hotfix/0.9911'. [83a460962b55] <hotfix/0.9911> * .shipit: Checking in changes prior to tagging of version 0.9910. Changelog diff is: [1f732d03f5eb] * .hgtags: Added tag v0.9910 for changeset 4d00adc23f19 [58b1b7d17dd4] * flow: Merged <release> '0.9910' to <master> ('default'). [4d00adc23f19] [0.9910] * flow: Merged <release> '0.9910' to <develop> ('develop'). [8ac3661f1f71] <develop> * flow: Closed <release> '0.9910'. [6890ac6a6a3e] <release/0.9910> 2014-06-22 John Peacock <john.peacock@havurah-software.org> * README, vutil/vutil.c, vutil/vxs.inc: [PATCH] version distribution dVAR updates. commit 9bdbb2bdbd72d8d02cb8bcb0d27e7eeeacd415af Author: Jarkko Hietaniemi <jhi@iki.fi> [267cb6097a5f] <release/0.9910> 2014-12-23 David Mitchell <davem@iabyn.com> * README, vutil/vutil.c: [PATCH] 'version': vutil.c: silence overflow warnings From a3f461a88988cef9a89c13ab42c50556750ede51 Mon Sep 17 00:00:00 2001 Running 'clang -fsanitize=undefined' on the perl test suite triggers a number of warnings: vutil.c:354:9: runtime error: signed integer overflow: 750283776 + 1705032704 cannot be represented in type 'int' vutil.c:354:25: runtime error: signed integer overflow: 6 * 1000000000 cannot be represented in type 'int' vutil.c:355:10: runtime error: signed integer overflow: 1000000000 * 10 cannot be represented in type 'int' This is because the version string parsing code takes a "maybe overflow, then check to see if we've overflown" approach. Which is perfectly fine, but clashes with clang. This commit makes it take the opposite approach of checking each time *before* doing the += mult*i and mult*=10 steps. A bit clunky, but ASan only allows you to disable these warnings on a per-function basis, and it's a reasonably large function. I suspect that the block of code above this may need similar treatment, but as it wasn't triggering clang warnings, I didn't look at it. --- vutil.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) [d90a6cd2ecba] <release/0.9910> 2014-08-30 John Peacock <john.peacock@havurah-software.org> * .shipit: Ready to release now [bfd261163ee7] <release/0.9910> * .shipit: Try new Finish step [67dc070b3131] <release/0.9910> 2014-08-23 John Peacock <john.peacock@havurah-software.org> * .hgignore, Makefile.PL: Force the VERSION so we can control the tarball name [616ea2110028] <release/0.9910> * vutil/vutil.c, vutil/vutil.h: Apply suggested changes from Karl Williamson [61cfdfe0c2e5] <release/0.9910> * flow: Created branch 'release/0.9910'. [a91839728adf] <release/0.9910> 2014-08-16 John Peacock <john.peacock@havurah-software.org> * Abandon branch [40dd9d98c543] <tied-version> * Abandon branch [1fba9539ca49] <version-math> * Abandon branch [9f7dab2e3b63] <version-new> * Abandon branch [802e90e66daa] <version-combined> * Abandon branch [98825da284e9] <version-xs> * flow initialization: Created <develop> trunk: develop. [a06c96873576] <develop> * .hgflow: flow initialization: Added configuration file. [90bd285c19ff] <version-xs> * .hgflow: flow initialization: Added configuration file. [24d1df41799d] <tied-version> * .hgflow: flow initialization: Added configuration file. [3d621fc33f37] <version-math> * .hgflow: flow initialization: Added configuration file. [d78406b7976d] <version-new> * .hgflow: flow initialization: Added configuration file. [6ce1e6af1058] <version-combined> * .hgflow: flow initialization: Added configuration file. [dd443f6b0b8a] * Close this branch [6b82507b2ea1] <0.9909> * t/coretests.pm: Remove debugging [68e1b230196e] * README: Revise README [5e4557ca4717] * README: Clean up README [3beec2fae46a] * vutil/vutil.c: Do not need to use unsigned [37972ebd5be1] * README, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm, vutil/lib/version/vxs.pm: Bump $VERSION for release [3696ffe9e7a8] * README, lib/version.pm, vperl/vpp.pm, vutil/vutil.c: Merge in 0.9909 as released to CPAN [5d7666eff3af] * .hgtags: Tagging version '0.9909' using shipit. [28f76b8d2918] <0.9909> 2014-08-15 John Peacock <john.peacock@havurah-software.org> * README: Update README [d31021b57b62] [0.9909] <0.9909> * lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm, vutil/lib/version/vxs.pm: Bump $VERSION in preparation for CPAN release [ff9b7da70a4b] <0.9909> * vutil/vutil.c: commit f57000bc399f9b433bfb06a4302f4e773f7f50bb Author: Karl Williamson <khw@cpan.org> Date: Mon Aug 4 16:29:12 2014 -0600 PATCH: [perl #121930] Bleadperl breaks MDOOTSON/Wx The root cause of this issue is that XS code or the libraries it calls is changing the locale behind Perl's back so that the decimal point character is not a dot. Version number parsing relies on it being a dot. This patch fixes the problem by retrieving the current locale just before version number parsing, and updating Perl's records if the locale has changed away from what is expected. Given accurate records, the pre-existing call to the STORE_NUMERIC_LOCAL_SET_STANDARD macro will do what it's supposed to do, and change the locale so that the dot is the radix character for the version number parsing. After the parsing is done, the pre-existing call to the RESTORE_NUMERIC_LOCAL macro will restore properly, but see below This patch should be suitable for both 5.20.1 and 5.21 (though the SHA-1 value in the porting/customize.dat will have to be adjusted because the files aren't otherwise identical). But there is a fundamental difference between the releases. In 5.20.X, Perl does not attempt to keep the radix character a dot at almost all times (though it initializes things so it is a dot, overriding any environmental settings to the contrary). This leads to known non- regression bugs in 5.20 because very little XS code can cope with a non-dot. To fix this, Perl has changed the macros in 5.21 so that the result after the RESTORE_NUMERIC_LOCAL is that the current locale will have a dot. This will fix those long-standing bugs where XS code expecting a dot fails should it be mashed up with modules that change it to something else. But this will break the relatively few modules that want it the other way. So it has been done early in 5.21 to give things a chance to settle down. The extra {} braces around the code that calls the macros is because STORE_NUMERIC_LOCAL_SET_STANDARD declares a variable, and so must be within the declarations area of a block for C89 compilers. (I myself would not write a macro that does this without indicating so in its name.) [2a4fc121c6c4] <0.9909> * vutil/vutil.c, vutil/vxs.inc: Apply patch from Perl 5.20.0 as released commit 24120986965f248417d199c5818d145ea2a34607 Author: Brian Fraser <fraserbn@gmail.com> Date: Tue Feb 4 06:38:55 2014 -0300 vutil.c, vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label [08e9b0d7cca2] <0.9909> * Preparatory branch for releasing custom 0.9909 for Perl 5.20.1 [79f970339680] <0.9909> * t/coretests.pm: Add a couple of overflow tests [b150b244c13e] 2014-06-21 John Peacock <john.peacock@havurah-software.org> * lib/version.pod: POD correction. Thanks "Matthew Horsfall (alh)" <wolfsage@gmail.com> Resolves https://rt.cpan.org/Ticket/Display.html?id=96620 [36eeed6fea2c] * vutil/vutil.c: Ignore unused context. Thanks to fraserbn@gmail.com Resolves https://rt.cpan.org/Ticket/Display.html?id=96100 [3ac9f9bcc78e] * vutil/vxs.inc: Unreachable code. Thanks to Jarkko Hietaniemi <jhi@iki.fi> Resolves https://rt.cpan.org/Ticket/Display.html?id=95896 [5aab343122fb] 2014-05-26 John Peacock <john.peacock@havurah-software.org> * t/07locale.t: Unintentionally skipping these tests since vpp.pm was included by default. [ad3699914825] 2014-05-10 John Peacock <john.peacock@havurah-software.org> * vutil/vutil.c: Use unsigned integer where appropriate [2ff16e565b1d] * t/07locale.t: Remove debugging [621c728ff110] 2014-04-17 John Peacock <john.peacock@havurah-software.org> * README, t/07locale.t, t/coretests.pm, vperl/vpp.pm: Revised heuristic in vpp to better handle v-strings [14c5405a8ccd] * README, t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Forbid trailing bare decimal in dotted decimal versions. Resolves https://rt.cpan.org/Ticket/Display.html?id=93603 [690dfba7c43b] * README, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm: Start working on 0.9909 release [7a5441bfe2b0] * lib/version.pm, vperl/vpp.pm: Protect usage of warn categories to supported Perl releases [d5e4aa541780] 2014-04-16 John Peacock <john.peacock@havurah-software.org> * vutil/vutil.c: Add warnings to vutil code too [8f94ebcb7bdc] 2014-03-01 John Peacock <john.peacock@havurah-software.org> * lib/version.pm, t/coretests.pm, vperl/vpp.pm: Add lossy warning for both numify() and normal() alpha versions [591b0e507293] * t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Make alpha->normal() a lossy operation [ababbdd1380f] 2014-02-25 John Peacock <john.peacock@havurah-software.org> * lib/version.pm, t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Forbid calling ->normal() on non-qv alpha versions [ed0f3215c1ee] 2014-02-04 John Peacock <john.peacock@havurah-software.org> * Makefile.PL: Add META stanzas for bugtracker and repository [47bb0ceaa783] * README: Revise README to document source repositories [ca260e8255f1] 2014-02-04 Brian Fraser <fraserbn@gmail.com> * vutil/vutil.c, vutil/vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label -Wmissing-prototypes was complaining about declaring XS() functions without previously declaring a prototype. -Wundef didn't like using #if foo instead of #ifdef foo -Wunused-label warned because VER_{IV,NM,PV} were defined on all versions of perl, but only used on < 5.17.2 [a4171dd98d50]
-rw-r--r--devel/p5-version/Makefile5
-rw-r--r--devel/p5-version/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/p5-version/Makefile b/devel/p5-version/Makefile
index d53bdd35b52..a1d64ee1465 100644
--- a/devel/p5-version/Makefile
+++ b/devel/p5-version/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2014/10/09 14:06:30 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2015/01/19 01:10:15 wen Exp $
-DISTNAME= version-0.9908
+DISTNAME= version-0.9911
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=version/}
diff --git a/devel/p5-version/distinfo b/devel/p5-version/distinfo
index 5109e497af4..ba3f375efb4 100644
--- a/devel/p5-version/distinfo
+++ b/devel/p5-version/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2014/02/16 14:42:04 wen Exp $
+$NetBSD: distinfo,v 1.21 2015/01/19 01:10:15 wen Exp $
-SHA1 (version-0.9908.tar.gz) = e4514048db90dcb56a8b5a9a58ae552e8880edb7
-RMD160 (version-0.9908.tar.gz) = 6a86ff267d01f60dd82a30587b8b667dd4d6f742
-Size (version-0.9908.tar.gz) = 117483 bytes
+SHA1 (version-0.9911.tar.gz) = efc3e92b7dcf25776a10a38d3c358bfa2ca9e51a
+RMD160 (version-0.9911.tar.gz) = 3a178be1eace27881448bfd4619ea6c669839d57
+Size (version-0.9911.tar.gz) = 122923 bytes