Port details |
- cfr Class File Reader (CFR) Java decompiler
- 0.152 devel
=2 0.152Version of this port present on the latest quarterly branch. - Maintainer: 0mp@FreeBSD.org
 - Port Added: 2019-04-17 10:47:27
- Last Update: 2024-12-31 08:57:55
- Commit Hash: 0835676
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: java
- License: MIT
- WWW:
- https://www.benf.org/other/cfr/
- Description:
- CFR will decompile modern Java features - up to and including much of Java 9,
10, 12 and beyond, but is written entirely in Java 6, so will work anywhere!
It'll even make a decent go of turning class files from other JVM
langauges (like Kotlin) back into Java!
To use, simply run the specific version jar, with the class name(s) you want to
decompile (either as a path to a class file, or as a fully qualified classname
on your classpath). (Use --help to list arguments).
Alternately, to decompile an entire jar, simply provide the jar path, and if
you want to emit files (which you probably do!) add --outputdir /tmp/putithere.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/cfr/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/cfr
- pkg install cfr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cfr
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1642591432
SHA256 (cfr-0.152.jar) = f686e8f3ded377d7bc87d216a90e9e9512df4156e75b06c655a16648ae8765b2
SIZE (cfr-0.152.jar) = 2162315
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- java : java/openjdk8
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_cfr
- USES:
- java
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.152 31 Dec 2024 08:57:55
    |
Muhammad Moinur Rahman (bofh)  |
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 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.152 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.152 19 Jan 2022 12:13:57
    |
Mateusz Piotrowski (0mp)  |
devel/cfr: Update to 0.152 |
0.151 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.151 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.151 07 Feb 2021 11:59:53
  |
0mp  |
Update to 0.151 |
0.150 07 Jun 2020 20:10:23
  |
0mp  |
Update to 0.150
Release notes:
https://github.com/leibnitz27/cfr/releases/tag/0.150 |
0.149 21 Feb 2020 22:40:30
  |
0mp  |
Update to 0.149
Changelog:
https://github.com/leibnitz27/cfr/releases/tag/0.149 |
0.148 31 Oct 2019 16:40:27
  |
0mp  |
Update to 0.148
Changelog:
- Adapt to changes in ecj's output of switch-on-enum
- Many small fixes for handling obfuscation mapping files
(--obfuscationpath file.txt)
- Work on (unfinished) token output stream
- Fix for regression on pretty printing of inner classes
Also pet portclippy.
Reported by: Repology |
0.147 19 Oct 2019 20:18:06
  |
0mp  |
Update to 0.147
Changelog:
- Support for deobfuscation mapping files
- Fix extraneous array creation
- Handle duplicate target shared between disconnected switches
- Reduce over-aggressive eclipse pass
- Allow try resources to be collapsed
- Fail gracefully if a lambda body is recursive
- Handle module definition classes
- Fix for effectively empty try requiring topsort
- Allow filter on imports, to force FQN
- Fix overuse of boxed constant names
Reported by: Repology |
0.146 02 Aug 2019 11:34:59
  |
0mp  |
devel/cfr: Update to 0.146
Reported by: Repology |
0.145 31 May 2019 11:42:31
  |
0mp  |
Update to 0.145 |
0.144 11 May 2019 10:34:39
  |
0mp  |
devel/cfr: Update to 0.144
Changelog:
- Fix leakage of internal class names in accesses of enclosing anonymous
classes.
- Pseudocode support for JVM11+'s dynamic constants.
Reported by: portscout |
0.143 17 Apr 2019 10:47:14
  |
0mp  |
New port: devel/cfr: Class File Reader (CFR) Java decompiler
CFR will decompile modern Java features - up to and including much of Java
9, 10, 12 and beyond, but is written entirely in Java 6, so will work
anywhere!
It'll even make a decent go of turning class files from other JVM langauges
(like Kotlin) back into Java!
To use, simply run the specific version jar, with the class name(s) you
want to decompile (either as a path to a class file, or as a fully
qualified classname on your classpath).
Alternately, to decompile an entire jar, simply provide the jar path,
and if you want to emit files (which you probably do!)
add --outputdir /tmp/putithere.
WWW: https://www.benf.org/other/cfr/ |