1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

sysutils/android-ota-payload-extractor: New port

Android OTA payload extractor written in Go

A fast & natively cross-platform Android OTA payload extractor written
in Go. Extracting images from Android OTA packages is very useful
for various purposes. For example, patching the boot image to
install Magisk without TWRP.

PR:		278483
WWW:		https://github.com/tobyxdd/android-ota-payload-extractor
Author:		Yusuf Yaman <nxjosephofficial@protonmail.com>
This commit is contained in:
Yusuf Yaman 2024-04-24 19:13:31 +02:00 committed by Kurt Jaeger
parent 9abe6dd39f
commit 33b24a1dc3
4 changed files with 35 additions and 0 deletions

View File

@ -39,6 +39,7 @@
SUBDIR += and
SUBDIR += android-file-transfer
SUBDIR += android-file-transfer-qt5
SUBDIR += android-ota-payload-extractor
SUBDIR += angrysearch
SUBDIR += ansible
SUBDIR += ansible-iocage

View File

@ -0,0 +1,24 @@
PORTNAME= android-ota-payload-extractor
DISTVERSIONPREFIX= v
DISTVERSION= 1.1
CATEGORIES= sysutils
MAINTAINER= nxjoseph@protonmail.com
COMMENT= Android OTA payload extractor written in Go
WWW= https://github.com/tobyxdd/android-ota-payload-extractor
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= tobyxdd
GH_TUPLE= golang:protobuf:v1.3.4:golang_protobuf/vendor/github.com/golang/protobuf \
xi2:xz:48954b6210f8:xi2_xz/vendor/github.com/xi2/xz
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/android-ota-payload-extractor
.include <bsd.port.mk>

View File

@ -0,0 +1,7 @@
TIMESTAMP = 1713623449
SHA256 (tobyxdd-android-ota-payload-extractor-v1.1_GH0.tar.gz) = ba02292de5ef8e1c7a881e7a04b38d137b87c056cffdb47e3d2e724ba4e13d62
SIZE (tobyxdd-android-ota-payload-extractor-v1.1_GH0.tar.gz) = 463843
SHA256 (golang-protobuf-v1.3.4_GH0.tar.gz) = 5e4279eb197ff7271cb06ae97a16f721d0fd6962ff2d2560831309c0900e72c4
SIZE (golang-protobuf-v1.3.4_GH0.tar.gz) = 315552
SHA256 (xi2-xz-48954b6210f8_GH0.tar.gz) = 1ef05b11f53098ab157f5848bdf2f585a38af0db15822ea0691e7f51587a4ce3
SIZE (xi2-xz-48954b6210f8_GH0.tar.gz) = 1135342

View File

@ -0,0 +1,3 @@
A fast & natively cross-platform Android OTA payload extractor written in Go.
Extracting images from Android OTA packages is very useful for various purposes.
For example, patching the boot image to install Magisk without TWRP.