git: 89d5c3e7c19c - main - security/py-ropgadget: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Apr 2022 15:46:46 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=89d5c3e7c19ceee11f7f1b9db62b45c28e888dba
commit 89d5c3e7c19ceee11f7f1b9db62b45c28e888dba
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-04-23 15:46:04 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-04-23 15:46:04 +0000
security/py-ropgadget: Add new port
Search gadgets in binaries to facilitate ROP exploitation for several
file formats and architectures.
WWW: https://pypi.org/project/ropgadget/
---
security/Makefile | 1 +
security/py-ropgadget/Makefile | 20 ++++++++++++++++++++
security/py-ropgadget/distinfo | 3 +++
security/py-ropgadget/pkg-descr | 4 ++++
4 files changed, 28 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index ed6afc8a0ba8..69dfccbfa250 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -959,6 +959,7 @@
SUBDIR += py-pywinrm
SUBDIR += py-requests-credssp
SUBDIR += py-requests-kerberos
+ SUBDIR += py-ropgadget
SUBDIR += py-ropper
SUBDIR += py-rsa
SUBDIR += py-safe
diff --git a/security/py-ropgadget/Makefile b/security/py-ropgadget/Makefile
new file mode 100644
index 000000000000..321420d76f0b
--- /dev/null
+++ b/security/py-ropgadget/Makefile
@@ -0,0 +1,20 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+
+PORTNAME= ropgadget
+PORTVERSION= 6.7
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ROPGadget-${PORTVERSION}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Tool to search gadgets to facilitate ROP exploitation
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>=4.0.1:devel/py-capstone@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/security/py-ropgadget/distinfo b/security/py-ropgadget/distinfo
new file mode 100644
index 000000000000..89191282e641
--- /dev/null
+++ b/security/py-ropgadget/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1649841568
+SHA256 (ROPGadget-6.7.tar.gz) = a048f2e51c397b902e4586997bd4fe62af97984e207567cb63e67d86e8e09c8e
+SIZE (ROPGadget-6.7.tar.gz) = 23175
diff --git a/security/py-ropgadget/pkg-descr b/security/py-ropgadget/pkg-descr
new file mode 100644
index 000000000000..7864f39cf704
--- /dev/null
+++ b/security/py-ropgadget/pkg-descr
@@ -0,0 +1,4 @@
+Search gadgets in binaries to facilitate ROP exploitation for several
+file formats and architectures
+
+WWW: https://pypi.org/project/ropgadget/