JODE is a java package containing a decompiler and an optimizer for
java. This package is freely available under the GNU GPL. The bytecode
package and the core decompiler is now under GNU Lesser General Public
License, so you can integrate it in your project.
Can be used from command line or through the Swing-based GUI.
The decompiler reads in class files and produces something similar to
the original java file. Jode has support for all constructs of JDK-1.3
including inner and anonymous classes.
The optimizer transforms class files in various ways with can be
controlled by a script file. It supports the following operations:
. Renaming class, method, field and local names to shorter,
obfuscated, or unique names or according to a given
translation table
. Removing debugging information
. Removing dead code (classes, fields, methods) and constant
fields
. Optimizing local variable allocation
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/D48201
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888
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)
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.
(Only the first 15 lines of the commit message are shown above )
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>
(Only the first 15 lines of the commit message are shown above )
Clean up after java/openjdk6 and java/openjdk6-jre removal
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
Fix a long-standing problem of the jode-script trying to use the wrong
getopt JAR. Bump PORTREVISION.
While here improve various bits a bit and add the regression-test target
using the bundled tests.
Most unkindly the java/java-getopt port changed the name
of the JAR it was installing from getopt.jar to java-getopt.jar
This broke jode and, possibly, some other ports depending on
getopt.jar.
Submitted by: pkg-fallout
Either linimon@ in 2011 or hq@ in 2006 broke the wrapper-script -- the
%%JAVA_VERSION%% inserted into it was never expanded...
Now that we aren't using JDK-1.{3,4} anyway, the setting of JAVA_VERSION
is, probably, redundant. Remove it and bump PORTREVISION.
While here, declare the port as unsafe for parallel building. Unfortunately.
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi)
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
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
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Update to bsd.java.mk 2.0
- Set JAVA_VERSION (for javavmwrapper) in the launcher script
- Use an absolute path to launch javavmwrapper
- JAVAJARDIR -> JAVALIBDIR (for JAR dependencies)
- Use %%JAVAJARDIR%% in pkg-plist
PR: 97856
Submitted by: hq
Approved by: maintainer
Update to 1.1.2-pre1 released in February 2004. Some serious
REINPLACE-ing was required to turn all variables named `enum' into
`enumeration', because `enum' is a keyword in Java-1.5
The program seems to work now and builds with Java-1.5 (and, presumably,
earlier).
The portversion is set to 1.1.1.1 in anticipation of the eventual
release of 1.1.2 by the vendor.