SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

41
devel/jadx/Makefile Normal file
View file

@ -0,0 +1,41 @@
COMMENT = dex to java decompiler
VERSION = 1.1.0
DISTNAME = jadx-${VERSION}
REVISION = 0
CATEGORIES = devel security
HOMEPAGE = https://github.com/skylot/jadx
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# Apachev2
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/skylot/jadx/releases/download/v${VERSION}/
EXTRACT_SUFX = .zip
MODULES = java
MODJAVA_VER = 1.8+
RUN_DEPENDS = java/javaPathHelper \
shells/bash
NO_BUILD = Yes
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/lib
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/bin
cp -r ${WRKSRC}/lib ${PREFIX}/share/jadx/
.for i in jadx jadx-gui
${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${PREFIX}/share/jadx/bin/
ln -s ${TRUEPREFIX}/share/jadx/bin/${i} ${PREFIX}/bin/${i}
.endfor
.include <bsd.port.mk>

2
devel/jadx/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (jadx-1.1.0.zip) = kZSAZ6YP7uNlEuBDsoj3JmeN3XYKoRoBSWtT35VGWxY=
SIZE (jadx-1.1.0.zip) = 15014403

View file

@ -0,0 +1,12 @@
Index: bin/jadx
--- bin/jadx.orig
+++ bin/jadx
@@ -66,6 +66,8 @@ esac
CLASSPATH=$APP_HOME/lib/jadx-cli-1.0.0.jar:$APP_HOME/lib/jadx-core-1.0.0.jar:$APP_HOME/lib/dx-1.16.jar:$APP_HOME/lib/android-5.1.jar:$APP_HOME/lib/logback-classic-1.2.3.jar:$APP_HOME/lib/slf4j-api-1.7.26.jar:$APP_HOME/lib/baksmali-2.2.7.jar:$APP_HOME/lib/smali-2.2.7.jar:$APP_HOME/lib/util-2.2.7.jar:$APP_HOME/lib/jcommander-1.74.jar:$APP_HOME/lib/asm-7.1.jar:$APP_HOME/lib/annotations-17.0.0.jar:$APP_HOME/lib/cloning-1.9.12.jar:$APP_HOME/lib/gson-2.8.5.jar:$APP_HOME/lib/dexlib2-2.2.7.jar:$APP_HOME/lib/guava-27.1-jre.jar:$APP_HOME/lib/logback-core-1.2.3.jar:$APP_HOME/lib/objenesis-3.0.1.jar:$APP_HOME/lib/antlr-runtime-3.5.2.jar:$APP_HOME/lib/stringtemplate-3.2.1.jar:$APP_HOME/lib/failureaccess-1.0.1.jar:$APP_HOME/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:$APP_HOME/lib/jsr305-3.0.2.jar:$APP_HOME/lib/checker-qual-2.5.2.jar:$APP_HOME/lib/error_prone_annotations-2.2.0.jar:$APP_HOME/lib/j2objc-annotations-1.1.jar:$APP_HOME/lib/animal-sniffer-annotations-1.17.jar:$APP_HOME/lib/antlr-2.7.7.jar
+JAVA_HOME=$(javaPathHelper -h jadx)
+
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then

View file

@ -0,0 +1,12 @@
Index: bin/jadx-gui
--- bin/jadx-gui.orig
+++ bin/jadx-gui
@@ -66,6 +66,8 @@ esac
CLASSPATH=$APP_HOME/lib/jadx-gui-1.0.0.jar:$APP_HOME/lib/jfontchooser-1.0.5.jar:$APP_HOME/lib/jadx-cli-1.0.0.jar:$APP_HOME/lib/jadx-core-1.0.0.jar:$APP_HOME/lib/dx-1.16.jar:$APP_HOME/lib/android-5.1.jar:$APP_HOME/lib/logback-classic-1.2.3.jar:$APP_HOME/lib/slf4j-api-1.7.26.jar:$APP_HOME/lib/rsyntaxtextarea-3.0.2.jar:$APP_HOME/lib/image-viewer-1.2.3.jar:$APP_HOME/lib/commons-text-1.6.jar:$APP_HOME/lib/commons-lang3-3.8.1.jar:$APP_HOME/lib/rxjava2-swing-0.3.4.jar:$APP_HOME/lib/rxjava-2.2.7.jar:$APP_HOME/lib/apksig-3.3.2.jar:$APP_HOME/lib/asm-7.1.jar:$APP_HOME/lib/annotations-17.0.0.jar:$APP_HOME/lib/cloning-1.9.12.jar:$APP_HOME/lib/gson-2.8.5.jar:$APP_HOME/lib/baksmali-2.2.7.jar:$APP_HOME/lib/smali-2.2.7.jar:$APP_HOME/lib/util-2.2.7.jar:$APP_HOME/lib/dexlib2-2.2.7.jar:$APP_HOME/lib/guava-27.1-jre.jar:$APP_HOME/lib/jcommander-1.74.jar:$APP_HOME/lib/reactive-streams-1.0.2.jar:$APP_HOME/lib/objenesis-3.0.1.jar:$APP_HOME/lib/antlr-runtime-3.5.2.jar:$APP_HOME/lib/stringtemplate-3.2.1.jar:$APP_HOME/lib/failureaccess-1.0.1.jar:$APP_HOME/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:$APP_HOME/lib/jsr305-3.0.2.jar:$APP_HOME/lib/checker-qual-2.5.2.jar:$APP_HOME/lib/error_prone_annotations-2.2.0.jar:$APP_HOME/lib/j2objc-annotations-1.1.jar:$APP_HOME/lib/animal-sniffer-annotations-1.17.jar:$APP_HOME/lib/logback-core-1.2.3.jar:$APP_HOME/lib/antlr-2.7.7.jar
+JAVA_HOME=$(javaPathHelper -h jadx)
+
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then

2
devel/jadx/pkg/DESCR Normal file
View file

@ -0,0 +1,2 @@
Command line and GUI tools for produce Java source code from Android Dex and Apk
files.

44
devel/jadx/pkg/PLIST Normal file
View file

@ -0,0 +1,44 @@
bin/jadx
bin/jadx-gui
share/jadx/
share/jadx/bin/
share/jadx/bin/jadx
share/jadx/bin/jadx-gui
share/jadx/lib/
share/jadx/lib/android-29-clst.jar
share/jadx/lib/android-29-res.jar
share/jadx/lib/animal-sniffer-annotations-1.18.jar
share/jadx/lib/annotations-18.0.0.jar
share/jadx/lib/antlr-2.7.7.jar
share/jadx/lib/antlr-runtime-3.5.2.jar
share/jadx/lib/apksig-3.5.2.jar
share/jadx/lib/asm-7.2.jar
share/jadx/lib/baksmali-2.3.4.jar
share/jadx/lib/checker-qual-2.8.1.jar
share/jadx/lib/commons-lang3-3.9.jar
share/jadx/lib/commons-text-1.8.jar
share/jadx/lib/dexlib2-2.3.4.jar
share/jadx/lib/dx-1.16.jar
share/jadx/lib/error_prone_annotations-2.3.2.jar
share/jadx/lib/failureaccess-1.0.1.jar
share/jadx/lib/gson-2.8.6.jar
share/jadx/lib/guava-28.1-jre.jar
share/jadx/lib/image-viewer-1.2.3.jar
share/jadx/lib/j2objc-annotations-1.3.jar
share/jadx/lib/jadx-cli-1.1.0.jar
share/jadx/lib/jadx-core-1.1.0.jar
share/jadx/lib/jadx-gui-1.1.0.jar
share/jadx/lib/jcommander-1.78.jar
share/jadx/lib/jfontchooser-1.0.5.jar
share/jadx/lib/jsr305-3.0.2.jar
share/jadx/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
share/jadx/lib/logback-classic-1.2.3.jar
share/jadx/lib/logback-core-1.2.3.jar
share/jadx/lib/reactive-streams-1.0.3.jar
share/jadx/lib/rsyntaxtextarea-3.0.4.jar
share/jadx/lib/rxjava-2.2.15.jar
share/jadx/lib/rxjava2-swing-0.3.7.jar
share/jadx/lib/slf4j-api-1.7.29.jar
share/jadx/lib/smali-2.3.4.jar
share/jadx/lib/stringtemplate-3.2.1.jar
share/jadx/lib/util-2.3.4.jar