From nobody Sat Aug 27 10:30:40 2022 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 4MFCdr4g2gz4b4Y4; Sat, 27 Aug 2022 10:30:40 +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 4MFCdr3TvVz3wg6; Sat, 27 Aug 2022 10:30:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596240; 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=uUX0P9MFndAdNOlGgM1hDgBglLpR26F01W4uR7zZAbw=; b=isG8jHGK2wexsKmPrD23mk6AWePCTHes9QXXwo4rBkZCqJZ4vE3cVAjdklYFCZFvPQPaCZ AMfDFxil0dtGZQibZzLO4dmxrXb39xAPi894uKEj8fX9N1F3MTB2fe3k2qgbVo/9o0aZXN CbxO1RTM24qVhohFDemYBXQ+LkHDDlX37A7fUONCv9VKLtnScMo3Q4ujTALo0rwec3EZ8B urlTKXnWED3AfmmoPruHEYOjTJqWn+cew5ZNn4HYc821SmoeSZsXz9Ie6j9739Vfaua2Uf /qji++TXIRXuh99jhIvXYCunO0kr4tOoYzq7Dp9EvpOryctwwM5r+EMkH8B5EA== 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 4MFCdr2TDJzjrM; Sat, 27 Aug 2022 10:30:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27RAUeYd047064; Sat, 27 Aug 2022 10:30:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUeBj047063; Sat, 27 Aug 2022 10:30:40 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:40 GMT Message-Id: <202208271030.27RAUeBj047063@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 879a6755ba24 - main - devel/py-pcodedmp: Add py-pcodedmp 1.2.6 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 879a6755ba244e80bf476918764f259da9a97ae9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596240; 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=uUX0P9MFndAdNOlGgM1hDgBglLpR26F01W4uR7zZAbw=; b=yCgJ11Ov6jcYX5eMEgpoaRFVGtw17ADdHhTSMPj9aeCUzaeuqjirWrxpXVVyhZwN56xcy+ OHo+fKFTnaFSqGLUNc/P6rLQuNYI/i7YDxTG9jy0JC0YHAnD6BR/CoczS4xAuRT7RNh315 3GO5/1j6lfO0Pd1C6Cl4Vtxw12qikn+3dkuNdOvbv6dGGIH+7Sm3XDaFJCW+24aVBRmUZ1 VcEdUYuVxv9q2lBfnLifhOWz09M8fybs/7Rw9uzPST2ebIyat/C4nsq9xhyfaAFhI3X9UD jUxeslfzyhMA13HpaxTCcLbYd04a1NyjQxv9Jb5CWOsX6IaT1kOAUdo6M2EmbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596240; a=rsa-sha256; cv=none; b=uafDRZ1Ocdeey+tIyySqu+MEJyLi6uXaDQ70U5DlMznRUZMQN31ucxbykSyJCFtcQd5B1E 3N0vK5+WdA1f8O5xU34bdeRXUUShsEDd1CeVzy77SzW9OIrcf9Z703opcED3zPZyr4GJDm Mkx0X0UrLOA1Du+v8k8EYcNGdXY7NB6O45CM/tTC2XyN0Mn6R/tX8W0Sv8qLEPTD9Y3XcX kdYoaE4IoqeOtgNML3cLznmlP0G7r4xd+t5yCOhjg0SiMFDBJDD3S9ksnrHfITfbTTcBa2 GOCQroTbuBjBWd8PTcQoKgPzLlQCXTm+mIbkuS6MPyFWXlpbmhmptZWWqVGgTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=879a6755ba244e80bf476918764f259da9a97ae9 commit 879a6755ba244e80bf476918764f259da9a97ae9 Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:24 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:24 +0000 devel/py-pcodedmp: Add py-pcodedmp 1.2.6 pcodedmp.py is a VBA p-code disassembler. It is not widely known, but macros written in VBA (Visual Basic for Applications; the macro programming language used in Microsoft Office) exist in three different executable forms, each of which can be what is actually executed at run time, depending on the circumstances. Since most of the time it is the p-code that determines what exactly a macro would do (even if neither source code, nor execodes are present), it would make sense to have a tool that can display it. This is what prompted us to create this VBA p-code disassembler. WWW: https://github.com/bontchev/pcodedmp --- devel/Makefile | 1 + devel/py-pcodedmp/Makefile | 20 ++++++++++++++++++++ devel/py-pcodedmp/distinfo | 3 +++ devel/py-pcodedmp/pkg-descr | 13 +++++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 982c0beec313..a4c18af6faca 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4906,6 +4906,7 @@ SUBDIR += py-pathtools SUBDIR += py-paver SUBDIR += py-pbr + SUBDIR += py-pcodedmp SUBDIR += py-pdm SUBDIR += py-pdm-pep517 SUBDIR += py-pebble diff --git a/devel/py-pcodedmp/Makefile b/devel/py-pcodedmp/Makefile new file mode 100644 index 000000000000..e87b7bcfa029 --- /dev/null +++ b/devel/py-pcodedmp/Makefile @@ -0,0 +1,20 @@ +PORTNAME= pcodedmp +PORTVERSION= 1.2.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= VBA p-code disassembler + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oletools>=0.54:devel/py-oletools@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-pcodedmp/distinfo b/devel/py-pcodedmp/distinfo new file mode 100644 index 000000000000..540a79b25bd0 --- /dev/null +++ b/devel/py-pcodedmp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576680 +SHA256 (pcodedmp-1.2.6.tar.gz) = 025f8c809a126f45a082ffa820893e6a8d990d9d7ddb68694b5a9f0a6dbcd955 +SIZE (pcodedmp-1.2.6.tar.gz) = 35549 diff --git a/devel/py-pcodedmp/pkg-descr b/devel/py-pcodedmp/pkg-descr new file mode 100644 index 000000000000..177aaeba9f7d --- /dev/null +++ b/devel/py-pcodedmp/pkg-descr @@ -0,0 +1,13 @@ +pcodedmp.py is a VBA p-code disassembler. + +It is not widely known, but macros written in VBA (Visual Basic for +Applications; the macro programming language used in Microsoft Office) exist in +three different executable forms, each of which can be what is actually executed +at run time, depending on the circumstances. + +Since most of the time it is the p-code that determines what exactly a macro +would do (even if neither source code, nor execodes are present), it would make +sense to have a tool that can display it. This is what prompted us to create +this VBA p-code disassembler. + +WWW: https://github.com/bontchev/pcodedmp