aboutsummaryrefslogtreecommitdiff
path: root/java/javavmwrapper
Commit message (Collapse)AuthorAgeFilesLines
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-0610-22/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Add support for 16 as a version specifierGreg Lewis2021-02-233-11/+16
| | | | Notes: svn path=/head/; revision=566368
* Add support for 15 as a versionGreg Lewis2020-09-074-11/+22
| | | | Notes: svn path=/head/; revision=547936
* Teach javavmwrapper about "14" as a version specifierGreg Lewis2020-03-212-8/+11
| | | | Notes: svn path=/head/; revision=528867
* * Teach javavmwrapper about "13" as a version specifierGreg Lewis2019-11-274-10/+17
| | | | | | | * Remove some white space while I'm here Notes: svn path=/head/; revision=518486
* Clean up after java/openjdk6 and java/openjdk6-jre removalJung-uk Kim2019-11-265-26/+11
| | | | | | | | | | | | | | | java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D22342 Notes: svn path=/head/; revision=518482
* Fixes to pkg-install and version handlingGreg Lewis2019-08-103-10/+17
| | | | | | | | | | | | | | * In pkg-install, fix the exclusion of the bootstrap directories. [1] * In pkg-install, fix the find expression so it actually finds jdks if there are multiple present. [1] * When determining the VM version, be better about ensuring we end up with only a number. PR: 239705 [1] Submitted by: John Hein <jcfyecrayz@liamekaens.com> [1] Notes: svn path=/head/; revision=508503
* Sort VMs by version numericallyGreg Lewis2019-07-262-5/+7
| | | | | | | | | | | * VMs were sorted by VM version by lexicographically sorting the version as a string. Switch to numeric sorting now that there are versions like 10, 11, and 12 so that the intended sort order (most recent first) is preserved. * Bump minor version. Notes: svn path=/head/; revision=507376
* Update manual pagesGreg Lewis2019-07-263-21/+51
| | | | | | | | | | | | | | * Update currently supported version specifiers. * Update currently supported vendors. * Bump minor version. This is mostly based on the patch in PR 223304. PR: 223304 Submitted by: Tommy P <tommyhp2@gmail.com> Notes: svn path=/head/; revision=507367
* Support for newer Java versionsGreg Lewis2019-07-262-12/+33
| | | | | | | | | | | | | | | | | | | | | | * Switch the internal fallback logic (which is only run when the ports system is absent) to use modern Java versioning (e.g. 9 rather than 1.9) * Add in support for specifying 10+, 11+ and 12+ as requested versions. * Bump version to 2.7 Notes: * The fallback logic doesn't support the idea of a default version the way bsd.java.mk does. This was already the case. * The sorting of VMs in the configuration file doesn't numerically sort versions 10 and higher correctly yet. This will be addressed shortly. * Manual pages need updating. * The fallback logic is only used if bsd.java.mk is absent. This should be a no-op if it is present. PR: 223304 Notes: svn path=/head/; revision=507366
* - Add LICENSEDmitry Marakasov2018-06-191-0/+7
| | | | | | | | | | - Add NO_ARCH PR: 228744 Approved by: maintainer timeout (glewis, 2 weeks) Notes: svn path=/head/; revision=472787
* . Prepare for JDK9 support.Greg Lewis2017-10-142-5/+7
| | | | Notes: svn path=/head/; revision=452075
* Remove the pkg-deinstall script forgotten during r419364Baptiste Daroussin2016-08-232-55/+1
| | | | | | | | Pointyhat: bapt PR: 210313 Notes: svn path=/head/; revision=420669
* Remove the deinstall script that appears to be deleting all the temporary filesBaptiste Daroussin2016-07-313-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | created by pkg(8) during upgrades It happens because the deinstall script tries to clean up the potential manual VM registration by cleaning out all symlinks to bin/javavm Given all VM are registring/unregistering themselves this part is not needed The other thing the script was doing handling the configuration which has been replaced by @sample. pkg-install has been modified to drop the handling of the configuration file but keep the auto registration if all VM found. While this part is not necessary as well, we keep it because otherwise anyone doing delete/install on javavmwapper version 2.5 being the installed version would end up with all VM unregistered. The pkg-install should be removed after EOL of FreeBSD 10.3 PR: 210313 MFH: 2016Q3 Notes: svn path=/head/; revision=419364
* Fix ports that confused the meaning of WRKDIR and WRKSRC.Mathieu Arnold2015-11-051-7/+7
| | | | | | | | | | | PR: 204056 Submitted by: mat Reviewed by: bapt Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D2735 Notes: svn path=/head/; revision=400848
* . Update internal fallback logic, including:Greg Lewis2014-04-122-43/+14
| | | | | | | | | | | | | . Remove support for diablo* and j* ports. . Add support for linux-oracle* ports. . Remove support for Java version 1.5. . Add support for Java version 1.8. . Add support for Oracle as a vendor. . Bump PORTVERSION. . Remove CONFLICTS for ports that no longer exist. Notes: svn path=/head/; revision=351127
* Support stageBaptiste Daroussin2014-02-062-26/+18
| | | | Notes: svn path=/head/; revision=342945
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-3/+2
| | | | | | | java) Notes: svn path=/head/; revision=327738
* . Cope with legacy versions "1.5" (expands to 1.6) and "1.5+" (expands toGreg Lewis2012-12-112-8/+5
| | | | | | | | 1.6 1.7). . Remove freebsd and bsdjava as valid vendors. Notes: svn path=/head/; revision=308662
* Fix deinstallation script for 7.x. -samefile option for find(1) does notJung-uk Kim2012-11-022-4/+12
| | | | | | | | | | exist there. Reviewed by: glewis (maintainer) Feature safe: yes Notes: svn path=/head/; revision=306872
* Shut up noise when there is no JDK/JRE to register.Jung-uk Kim2012-10-311-1/+1
| | | | | | | | Reviewed by: glewis (maintainer) Feature safe: yes Notes: svn path=/head/; revision=306767
* - Ignore bootstrap-openjdk when we automatically register existing JVMs.Jung-uk Kim2012-10-283-28/+19
| | | | | | | | | | | - Make sure to destroy all symlinks pointing to ${PREFIX}/bin/javavm and ${PREFIX}/etc/javavms when we deinstall the package. Reviewed by: glewis (maintainer) Feature safe: yes Notes: svn path=/head/; revision=306536
* . Make the version numbers consistent so they can be compared correctly.Greg Lewis2012-07-133-77/+64
| | | | | | | | | | | | | | | | | | | | | E.g. for jdk1.6.0 and openjdk6 will use '6' as the version. . Modify the preference order for Java VMs used by the internal fallback logic to reflect that openjdk is now the default Java VM rather than diablo. . Remove code for Java vendors that are no longer in the ports tree (e.g. blackdown, ibm). . Remove code for handling version numbers that are no longer present in the tree (e.g. only 1.5 and up is supported). . Note that openjdk is a native Java VM. . If the environment variable JAVAVM_FALLBACK_ONLY is set then only use the internal logic to select a Java VM, don't use the ports logic even if the ports collection is installed. [1] . Update the manual page for JAVAVM_FALLBACK_ONLY. . Bump version to 2.4. PR: 167799 [1] Notes: svn path=/head/; revision=300819
* . Minor man page tweaks:Greg Lewis2012-06-166-8/+11
| | | | | | | | . Remove references to ibm (we have no IBM JDKs in the tree) . Remove references to JDK 1.4.2 (only 1.5+ are in the tree) Notes: svn path=/head/; revision=299412
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,Mark Linimon2011-07-212-22/+4
| | | | | | | | | | | | | | | | | | | remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp Notes: svn path=/head/; revision=278068
* Fix "realpath: : No such file or directory" error from the latest realpath.Jung-uk Kim2010-05-132-11/+11
| | | | | | | | Reported by: Mike Jakubik (mike dot jakubik at intertainservices dot com) Reviewed by: glewis (maintainer) Notes: svn path=/head/; revision=254280
* . Add support for JAVA_VERSION of 1.7.Greg Lewis2010-01-174-12/+24
| | | | | | | | | | . Note such support in the manual pages. . Correctly determine the Java version of the OpenJDK ports when bsd.java.mk isn't present. . Bump version to 2.3.4. Notes: svn path=/head/; revision=248038
* . Add support for openjdk6.Greg Lewis2009-05-224-12/+30
| | | | | | | . Sort vendor references. Notes: svn path=/head/; revision=234380
* Try jman(1) from ports/japanese/man instead of man(1) for japanese manualJung-uk Kim2008-04-302-3/+8
| | | | | | | | | | | pages if LANG is set to ja_JP.eucJP and the port is installed. Diablo packages contain japanese manual pages and jman seems to format them mostly fine. Reviewed by: glewis (maintainer) Notes: svn path=/head/; revision=212382
* - Add support for 1.6 VMs.Jung-uk Kim2008-04-282-8/+11
| | | | | | | | | | - Fix reversed vendors (bsdjava <-> freebsd). - Update port version to 2.3.1. Reviewed by: glewis (maintainer) Notes: svn path=/head/; revision=212174
* . Cross reference manvm(1).Greg Lewis2006-09-201-0/+1
| | | | Notes: svn path=/head/; revision=173479
* . The new Diablo JDK release doesn't need -XX:+UseMembar.Greg Lewis2006-07-051-2/+0
| | | | Notes: svn path=/head/; revision=167008
* . Add manvm(1). This is similar to javavm(1), but allows one to view theGreg Lewis2006-06-124-175/+362
| | | | | | | | | | manual pages for the different VMs. [1] . Minor code clean ups (white space, redirection). PR: 93099 Notes: svn path=/head/; revision=165243
* . Introduce the JAVAVM_DRYRUN variable. If this is set, then javavm willGreg Lewis2006-06-083-6/+50
| | | | | | | | | | | | not invoke any Java programmes, but will instead print out what it would have invoked and some related settings. This work was inspired by the PR, but doesn't use its implementation. PR: 96050 Notes: svn path=/head/; revision=164848
* . Revert previous commit. It was my recollection that javac needed theGreg Lewis2006-06-072-2/+1
| | | | | | | | | | | flags when being used to bootstrap the jdk15 port, and this was confirmed by somebody else. However, javac doesn't seem to be happy with it so turn it back off. Submitted by: hq Notes: svn path=/head/; revision=164752
* . Diablo's javac also needs -XX:+UseMembar.Greg Lewis2006-06-072-1/+2
| | | | Notes: svn path=/head/; revision=164664
* . Restrict the -XX:+UseMembar option to the java(1) programme to prevent itGreg Lewis2006-06-062-1/+2
| | | | | | | | | | | | causing problems for programmes such as jar(1). I actually believe it is needed by some of the other programmes, but we'll add it as needed. . Bump PORTREVISION for this change. PR: 98586 Submitted by: Achilleas Mantzios <achill@matrix.gatewaynet.com> Notes: svn path=/head/; revision=164616
* . ! -z -> -n for clarity.Greg Lewis2006-06-041-25/+25
| | | | | | | Suggested by: hq Notes: svn path=/head/; revision=164323
* . Allow the setting up of command line options to be passed to theGreg Lewis2006-06-038-13/+236
| | | | | | | | | invoked Java VM. Reviewed by: hq Notes: svn path=/head/; revision=164308
* . Bump PORTREVISION for the previous fix.Greg Lewis2006-04-271-1/+1
| | | | | | | Suggested by: hq Notes: svn path=/head/; revision=160601
* . Avoid stomping on environment variables by prefixing variable names withGreg Lewis2006-04-261-123/+121
| | | | | | | | | | _JAVAVM_. The notable exception is JAVA_HOME, which is deliberately set by the wrapper. PR: 88048 Notes: svn path=/head/; revision=160533
* . Avoid an infinite loop by ignoring JAVA_HOME if its set to the locationGreg Lewis2005-11-022-8/+11
| | | | | | | | | | | of the wrapper script. I'm using a different patch than Herve submitted, but the idea is the same. . Bump PORTREVISION. Submitted by: hq Notes: svn path=/head/; revision=147050
* . Add a couple of comments.Greg Lewis2005-06-201-0/+14
| | | | | | | | . Kick unprivileged users out early in registervm/unregistervm to prevent double error messages. Notes: svn path=/head/; revision=137787
* . Check the user can read/write the configuration file and that it existsGreg Lewis2005-06-202-8/+11
| | | | | | | | | | | | | | | | | | | | before attempting to sort it when running checkvms. This prevents a double error message for an unprivileged user. . When asked to register a VM that is already registered, don't error. Print a warning that the VM is already registered and don't add it to the configuration file (but do check its links and sort the config file still). This prevents problems with 'make install -DFORCE_PKG_REGISTER' erroring out during the post-install stage for the JDK ports. Bump PORTREVISION for this change since it affects the various JDK ports. [2] Reported by: anholt, via hq [2] Notes: svn path=/head/; revision=137785
* . Update description.Greg Lewis2005-04-251-2/+4
| | | | | | | Suggested by: hq Notes: svn path=/head/; revision=134145
* . Try to clarify that the BUGS section is talking about the Java VMGreg Lewis2005-04-181-3/+4
| | | | | | | | | | selection procedure used when ${PORTSDIR}/Mk/bsd.java.mk isn't present. . Fix a typo (JAVA_PREFERRED_PORT -> JAVA_PREFERRED_PORTS). Pointed out by: hq Notes: svn path=/head/; revision=133600
* . A big mdoc fixup kindly provided by the mdoc police. Any problems shouldGreg Lewis2005-04-124-33/+72
| | | | | | | | | | be attributed to my merging of the mdoc fixes with some content changes I had made. Submitted by: simon Notes: svn path=/head/; revision=133176
* . Yet more clarification of how the selection of the Java VM can beGreg Lewis2005-04-121-1/+4
| | | | | | | different depending on whether bsd.java.mk exists on the system. Notes: svn path=/head/; revision=133159
* . Fix some sentence breaks.Greg Lewis2005-04-122-6/+29
| | | | | | | | | . Add some more details on how javavmwrapper selects the VM. [2] Suggested by: hq [2] Notes: svn path=/head/; revision=133155