From nobody Wed Apr 24 17:16:05 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VPlxy3Psmz5J17f; Wed, 24 Apr 2024 17:16:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VPlxy12YKz4rC4; Wed, 24 Apr 2024 17:16:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713978966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IopM27NdMJx5fTDjvgRbr3GEJTLF4ZhZyaQ7BUlD8WM=; b=frksvC7RyqI3wtwv5lvcIvLRNVk9RXMSmLZXonklUuZ8tPB22MQyKgvwqar2PSbm7Mullp HBQ5gh/Mwz4XJY2IfVTkmVGnhcxcem14e9YGblkNsXnyF5Cgv2ch5wyJmXZB/eMhjRN4YR e7KaCuiy2cTcyHdwn+/gduCREgYZ1bQ1A/bwROllyyMfrY0KxOpj3ScQohSPTHcFbdAAUs L1EnEXCGWtUcIceZCowgCmm2oaifInB6HF1MGhmAf2SkTjVaRxo6CR7YvAXM3NR/8oh2Bp Hd/R+myHtahGzNgGLmtZ9OrLcVT3MVwuK9V5yiWCv3M235y6wb3t1h4XUQ06ag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713978966; a=rsa-sha256; cv=none; b=YXrHp7GR4akbxOIb2b6Xl66NRUNDACELP7zVwtVB+vGtC3BrBfDVBLUVMHM3vRArtqUpNI 1V6lStmw8YGw3N02EBHKfUoIE72hDV25Plo8HEDDqhWWpoRJ5keFONV9LhXIEsMg7iH3do GUSQmRroy9Qt5M6/fHJxY55aruICVq3if1zRnUMtxpiIbesiqPEUOnyX20cZV7LSN09KfJ ZW1Tj6MQTqoVmmLf5rgOXkNpQdLsg6yWAfeG25FN7+6Yb0BlRqaBPLXzn7WlpF7WvxFuMP BpFwFoZp0QBELRSNjZtQYkURv0kiE/P8dokPQHYYTnITITizNDs6GXOZtJmzjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713978966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IopM27NdMJx5fTDjvgRbr3GEJTLF4ZhZyaQ7BUlD8WM=; b=d5p+bBqTtaUe90+BkJr8xTkgZvY6im6NKyzxgPiwwR934EvaEimcK4beNPTu2kBJQ9oM+L sIzC5P/RNJrfbnFaINHssGgxxxtrV9J0gavrOiQaGxHAXGHiIEz2TVV229LsaoTs5nOepv 1nh4i7uDzSsOGo7y1yma3VLJkjDO/c5s4eF1kCYw6tlKGesx8HW9vRO4ENEdFVVUNzd1st hvF4Ue9XEMelRu5DaTk/GHcaUPJG+JpTTc4aAmuIeNV9PNHtRME8HKEvgf5X29S50ism2O AoTgjW6FhX+cRzXsjuKfo5BkjaH+J58L3RWRyFX29NfLuV9xLfyzg5blw+VxLg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VPlxy0dNnzPNv; Wed, 24 Apr 2024 17:16:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43OHG5n9060561; Wed, 24 Apr 2024 17:16:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43OHG5h5060558; Wed, 24 Apr 2024 17:16:05 GMT (envelope-from git) Date: Wed, 24 Apr 2024 17:16:05 GMT Message-Id: <202404241716.43OHG5h5060558@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: 33b24a1dc361 - main - sysutils/android-ota-payload-extractor: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 33b24a1dc361162e652db8772badb3897ec00789 Auto-Submitted: auto-generated The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=33b24a1dc361162e652db8772badb3897ec00789 commit 33b24a1dc361162e652db8772badb3897ec00789 Author: Yusuf Yaman AuthorDate: 2024-04-24 17:13:31 +0000 Commit: Kurt Jaeger CommitDate: 2024-04-24 17:15:53 +0000 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 --- sysutils/Makefile | 1 + sysutils/android-ota-payload-extractor/Makefile | 24 ++++++++++++++++++++++++ sysutils/android-ota-payload-extractor/distinfo | 7 +++++++ sysutils/android-ota-payload-extractor/pkg-descr | 3 +++ 4 files changed, 35 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 091f0d401915..13bcb4ca65ca 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/android-ota-payload-extractor/Makefile b/sysutils/android-ota-payload-extractor/Makefile new file mode 100644 index 000000000000..b3c07d664720 --- /dev/null +++ b/sysutils/android-ota-payload-extractor/Makefile @@ -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 diff --git a/sysutils/android-ota-payload-extractor/distinfo b/sysutils/android-ota-payload-extractor/distinfo new file mode 100644 index 000000000000..35ab8952047e --- /dev/null +++ b/sysutils/android-ota-payload-extractor/distinfo @@ -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 diff --git a/sysutils/android-ota-payload-extractor/pkg-descr b/sysutils/android-ota-payload-extractor/pkg-descr new file mode 100644 index 000000000000..9b573fa1c62c --- /dev/null +++ b/sysutils/android-ota-payload-extractor/pkg-descr @@ -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.