pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/apache-ant apache-ant: update to 1.10.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d0529f669e1
branches:  trunk
changeset: 382211:2d0529f669e1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 24 10:20:08 2018 +0000

description:
apache-ant: update to 1.10.4.

Changes from Ant 1.10.3 TO Ant 1.10.4
=====================================

Changes that could break older environments:
-------------------------------------------

 * <unzip>, <unjar> and <untar> will no longer extract entries whose
   names would make the created files be placed outside of the
   destination directory anymore by default. A new attribute
   allowFilesToEscapeDest can be used to override the behavior.
   Another special case is when stripAbsolutePathSpec is false (which
   no longer is the default) and the entry's name starts with a
   (back)slash and allowFilesToEscapeDest hasn't been specified
   explicitly, in this case the file may be created outside of the
   dest directory as well.
   In addition stripAbsolutePathSpec is now true by default.
   Based on a recommendation by the Snyk Security Research Team.

Fixed bugs:
-----------

 * Delay the class initialization of the test classes until they are
   passed to JUnit. This way we can avoid that failing static initializers
   from non-test classes are reported as error when the 'skipNonTests' option
   is 'true'.
   Bugzilla Report 60062

 * The junit task when used with includeantruntime="no" was incorrectly
   printing a warning about multiple versions of ant detected in path

 * <cab> died with a NullPointerException since Ant 1.10.2.
   Bugzilla Report 62335

 * The <depend> task would fail with
   "java.lang.ClassFormatError: Invalid Constant Pool entry Type 19" while
   parsing a module-info.class. The task is compatible with
   Java bytecode version 53 now.
   Bug reported by Simon IJskes https://issues.apache.org/jira/browse/NETBEANS-781

 * Default and SecureInputHandler will now raise an error when then
   end of the input stream (usually System.in or System.console) are
   reached before a valid input has been read.

 * junitreport does not list testsuites that fail to start any tests
   because of an exception inside the all-tests and alltests-errors frames.
   Bugzilla Report 62443

Other changes:
--------------

 * AntAssert is deprecated, assertThat from JUnit 4.4+, Hamcrest matchers and/or
   ExpectedException rule provide equivalent functionality

 * PumpStreamHandler now explicitly verifies the streams for output
   and error are not null and will throw an exception if they
   are. This way creating a PumpStreamHandler will fail early as
   opposed to some obscure errors later when closing streams or
   finishing threads might fail.
   Bugzilla Report 62148

 * <property> has a new attribute runtime which can be used to set
   properties with values taken as snapshots from the
   availableProcessors, freeMemory, maxMemory and totalMemory methods
   of the Java Runtime class.

 * linecontains filter now has a new "matchAny" attribute which when
   set to "true" allows any (instead of all) of the user-specified
   strings to be present in the line.
   Bugzilla Report 62313

 * <resourcelist> has a new basedir attribute that can be used to
   resolve relative names and provides a root for the FileResources
   generated.
   Bugzilla Report 62379

 * The <includesfile> and <excludesfile> nested elements of
   <patternset> and <fileset> now support an encoding attribute that
   can be used to specify the file's encoding.
   Bugzilla Report 62379

 * New file selectors, posixGroup and posixPermissions, are available.
   The new selectors and related ownedBy selector have "followSymlinks"
   attribute that defaults to "true" for consistency.
   Bugzilla Report 22370

 * The junitlauncher task now has a "printSummary" attribute which when
   set to "true" will print the test execution summary to System.out.

diffstat:

 devel/apache-ant/Makefile |   4 ++--
 devel/apache-ant/PLIST    |   8 +++++++-
 devel/apache-ant/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 85e6f79b6cc6 -r 2d0529f669e1 devel/apache-ant/Makefile
--- a/devel/apache-ant/Makefile Sun Jun 24 10:17:42 2018 +0000
+++ b/devel/apache-ant/Makefile Sun Jun 24 10:20:08 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2018/04/29 10:10:41 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2018/06/24 10:20:08 wiz Exp $
 
-DISTNAME=      apache-ant-1.10.3-bin
+DISTNAME=      apache-ant-1.10.4-bin
 PKGNAME=       ${DISTNAME:S/-bin//}
 CATEGORIES=    devel java
 MASTER_SITES=  ${MASTER_SITE_APACHE:=ant/binaries/}
diff -r 85e6f79b6cc6 -r 2d0529f669e1 devel/apache-ant/PLIST
--- a/devel/apache-ant/PLIST    Sun Jun 24 10:17:42 2018 +0000
+++ b/devel/apache-ant/PLIST    Sun Jun 24 10:20:08 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2018/04/29 10:10:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.24 2018/06/24 10:20:08 wiz Exp $
 bin/ant
 bin/antRun
 lib/java/ant/ant-antlr.jar
@@ -788,7 +788,9 @@
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodHandleCPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodRefCPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodTypeCPInfo.html
+share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ModuleCPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/NameAndTypeCPInfo.html
+share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/PackageCPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/StringCPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/Utf8CPInfo.html
 share/doc/java/ant/api/org/apache/tools/ant/taskdefs/optional/depend/constantpool/package-frame.html
@@ -1145,6 +1147,7 @@
 share/doc/java/ant/api/org/apache/tools/ant/types/Path.PathElement.html
 share/doc/java/ant/api/org/apache/tools/ant/types/Path.html
 share/doc/java/ant/api/org/apache/tools/ant/types/PatternSet.NameEntry.html
+share/doc/java/ant/api/org/apache/tools/ant/types/PatternSet.PatternFileNameEntry.html
 share/doc/java/ant/api/org/apache/tools/ant/types/PatternSet.html
 share/doc/java/ant/api/org/apache/tools/ant/types/Permissions.Permission.html
 share/doc/java/ant/api/org/apache/tools/ant/types/Permissions.html
@@ -1317,6 +1320,8 @@
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/NotSelector.html
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/OrSelector.html
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/OwnedBySelector.html
+share/doc/java/ant/api/org/apache/tools/ant/types/selectors/PosixGroupSelector.html
+share/doc/java/ant/api/org/apache/tools/ant/types/selectors/PosixPermissionsSelector.html
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/PresentSelector.FilePresence.html
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/PresentSelector.html
 share/doc/java/ant/api/org/apache/tools/ant/types/selectors/ReadableSelector.html
@@ -1417,6 +1422,7 @@
 share/doc/java/ant/api/org/apache/tools/ant/util/ScriptRunnerHelper.html
 share/doc/java/ant/api/org/apache/tools/ant/util/SourceFileScanner.html
 share/doc/java/ant/api/org/apache/tools/ant/util/SplitClassLoader.html
+share/doc/java/ant/api/org/apache/tools/ant/util/StreamUtils.html
 share/doc/java/ant/api/org/apache/tools/ant/util/StringTokenizer.html
 share/doc/java/ant/api/org/apache/tools/ant/util/StringUtils.html
 share/doc/java/ant/api/org/apache/tools/ant/util/SymbolicLinkUtils.html
diff -r 85e6f79b6cc6 -r 2d0529f669e1 devel/apache-ant/distinfo
--- a/devel/apache-ant/distinfo Sun Jun 24 10:17:42 2018 +0000
+++ b/devel/apache-ant/distinfo Sun Jun 24 10:20:08 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.28 2018/04/29 10:10:41 wiz Exp $
+$NetBSD: distinfo,v 1.29 2018/06/24 10:20:08 wiz Exp $
 
-SHA1 (apache-ant-1.10.3-bin.tar.xz) = 54a470d0b8a8744c4b63cc74c09968c73083f486
-RMD160 (apache-ant-1.10.3-bin.tar.xz) = 3c0d36f92851b6cbca73e4456b306d3f3428bab4
-SHA512 (apache-ant-1.10.3-bin.tar.xz) = dac98ee0fa81d302130fac00888b0dbcb157f57a1fe27113ace1991940c507f97dac7af8b4e28341b59d111159e62bf58b7d2b04c6cacbba2abf20c64955ffb4
-Size (apache-ant-1.10.3-bin.tar.xz) = 4446396 bytes
+SHA1 (apache-ant-1.10.4-bin.tar.xz) = 30b7947ae0c9441a8e79f6d359126e6726b06e5e
+RMD160 (apache-ant-1.10.4-bin.tar.xz) = 463cc12204ff8c6c2c1ba4ac0c2151176a30ffc3
+SHA512 (apache-ant-1.10.4-bin.tar.xz) = 5f61734a7bfec775a272dd827ee84364d5328742dbcc72f9acbfeb2bb44a13b34c7673d75be41748510ca31c053ccbf9160874055213fff893f5df2043ba8b03
+Size (apache-ant-1.10.4-bin.tar.xz) = 4467380 bytes
 SHA1 (patch-aa) = 5f614ed545c7cca33096af1f4975f7947439286f



Home | Main Index | Thread Index | Old Index