*/*: bump portrevision for openjdk dependency change Other USES=java ports use JAVA_DEFAULT or are pinned to a specific version. PR: 2937564bc030c701
Port details
java/apache-commons-collections3.2.2_4
Classes that extend/augment the Java Collections Framework
- Maintainer
- ports@FreeBSD.org
- Packages
- apache-commons-collections 3.2.2_4
- Upstream
- Higher version available: 4.6.0
- CPE
- none, CVEs only via VuXML
- WWW
- https://commons.apache.org/proper/commons-collections/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (14)
*/*: bump portrevision after java_default=25 update Included all ports that have USES=java. PR: 29355986813e9ccf
*/*: bump portrevision after java_default=21 update PR: 2728552baaf16375
Mk/Uses/java.mk: Runtime fix with USES=java:ant USES=java:ant does not imply USES=java:run so we need to add the run arg seperately when we are using USES=java:ant. Not all ports require the the argument so it is better to address the ports individually instead of handling it automatically by implying run for ant. Thanks to vvd for carefully going through this. Reported by: vvd Approved by: portmgr (blanket)ac7a7d6fe1
Mk/**java.mk: Convert bsd.java.mk to USES The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D482010835676e36
java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because build fails with 21+
Build error with OpenJDK 21:
[javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:188: error: addLast(Object) in CursorableLinkedList cannot implement addLast(E) in List
[javac] public boolean addLast(Object o) {
[javac] ^
[javac] return type boolean is not compatible with void
[javac] where E is a type-variable:
[javac] E extends Object declared in interface List
[javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:176: error: addFirst(Object) in CursorableLinkedList cannot implement addFirst(E) in List
[javac] public boolean addFirst(Object o) {
[javac] ^
[javac] return type boolean is not compatible with void
[javac] where E is a type-variable:
[javac] E extends Object declared in interface List
New JDK 21 methods in java.util.List addFirst and addLast has a void
return type. This clashes with the existing boolean return from the
same method in AbstractLinkedList.
Upstream fixed this in 4.5.0 only. But this old 3.x branch isn't fixed.
Upstream issue: https://issues.apache.org/jira/browse/COLLECTIONS-842
PR: 279425
Reported by: antoine (exp-run)411ad89a83math/scilab: drop maintainership Release math/scilab and its prerequisites379cec2296
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
java: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Alex Dupre <ale@FreeBSD.org> * Alex Semenyaka <alex@rinet.ru> * Alexander Yerenkow <yerenkow@gmail.com> * Anton Yudin (<contact@toha.org.ua>) * Anton Yudin <toha@toha.org.ua> * Benjamin Close <benjsc@FreeBSD.org> * Björn König <bkoenig@alpha-tierchen.de> * Conor McDermottroe <ports@mcdermottroe.com> * Danilo Egea Gondolfo <danilo@FreeBSD.org * Dave Glowacki <dglo@ssec.wisc.edu> * Ernst de Haan <znerd@FreeBSD.org> * Eugene Grosbein <ports@grosbein.net> * Filippo Natali <filippo@widestore.net> * Gerrit Beine <gerrit.beine@gmx.de> * Greg Lewis <glewis@FreeBSD.org> * Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> * Jason Helfman <jgh@FreeBSD.org> * Jeremy <karlj000@unbc.ca> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Jonathan Chen <jonc@chen.org.nz> * Jose Marques * Jose Marques <noway@nohow.demon.co.uk> * Lapo Luchini <lapo@lapo.it> * Lev Serebryakov <lev@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Matthew Dillon <dillon@backplane.com> * Maxim Sobolev <sobomax@FreeBSD.org> * Mikhail T. <mi@aldan.algebra.com> * Mikhail T. <michael@fun-box.ru> * Mikhail Teterin * Nicola Vitale <nivit@FreeBSD.org> * Nicola Vitale <nivit@email.it> * OISHI Masakuni <yamasa@bsdhouse.org> * OKAZAKI Tetsurou * Pedro Giffuni * Simeo Reig <reig.simeo@gmail.com> * Sutra Zhou <zhoushuqun@gmail.com> * Tom Judge <tj@FreeBSD.org> * Volker Stolz <vs@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> * gldisater@gldis.ca * ijliao * jake@checker.org * jpbeconne * lon_kamikaze@gmx.de * mi * nordwick@xcf.berkeley.edu * nork@FreeBSD.org * olgeni@FreeBSD.org * rasputin * rfarmer@predatorlabs.net * rtdean@cytherianage.net * tux@pinguru.net With hat: portmgr526869d8dc
java/apache-commons-collections: Add NO_ARCH Approved by: portmgr (blanket)3cae181773
Remove # $FreeBSD$ from Makefiles.305f148f48
java/apache-commons-collections: - Update to 3.2.2 - the latest release in 3.x series - Add LICENSE_FILE - Drop now needless dos2unix conversion - Rework port descriptionb0be299bab
rename most cases of jakarta- to apache- The Apache Softare Foundation used to maintain an umbrella project named Jakarta but it was retired on 2011. This name now conflicts with the new name for Java EE under the Eclipse Foundation. Rename most of the packages to be more consistent. Some other packages remain but they will require intervention by their corresponding maintainers. Approved by: thierry (mentor), makc Differential Revision: https://reviews.freebsd.org/D21902c937a4ccc9