summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2014-05-17 16:57:55 +0000
committerkhorben <khorben@pkgsrc.org>2014-05-17 16:57:55 +0000
commit887de5aa7a4fbd568879970602684654491cfda0 (patch)
treed14db1e140fda5ee8e981473bd717c908134acb7 /sysutils
parent8821c04a20cf3c256aa8cf445a219de4db69f357 (diff)
downloadpkgsrc-887de5aa7a4fbd568879970602684654491cfda0.tar.gz
Import py27-pefile-1.2.10-139 as sysutils/py-pefile (from wip)
pefile is a multi-platform Python module to read and work with Portable Executable (aka PE) files. Most of the information in the PE Header is accessible, as well as all the sections, section's information and data. pefile requires some basic understanding of the layout of a PE file. Armed with it it's possible to explore nearly every single feature of the file. Some of the tasks that pefile makes possible are: * Modifying and writing back to the PE image * Header Inspection * Sections analysis * Retrieving data * Warnings for suspicious and malformed values * Packer detection with PEiD's signatures * PEiD signature generation
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-pefile/DESCR16
-rw-r--r--sysutils/py-pefile/Makefile17
-rw-r--r--sysutils/py-pefile/PLIST20
-rw-r--r--sysutils/py-pefile/distinfo5
4 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/py-pefile/DESCR b/sysutils/py-pefile/DESCR
new file mode 100644
index 00000000000..eb542095bac
--- /dev/null
+++ b/sysutils/py-pefile/DESCR
@@ -0,0 +1,16 @@
+pefile is a multi-platform Python module to read and work with Portable
+Executable (aka PE) files. Most of the information in the PE Header is
+accessible, as well as all the sections, section's information and data.
+
+pefile requires some basic understanding of the layout of a PE file. Armed with
+it it's possible to explore nearly every single feature of the file.
+
+Some of the tasks that pefile makes possible are:
+
+ * Modifying and writing back to the PE image
+ * Header Inspection
+ * Sections analysis
+ * Retrieving data
+ * Warnings for suspicious and malformed values
+ * Packer detection with PEiD's signatures
+ * PEiD signature generation
diff --git a/sysutils/py-pefile/Makefile b/sysutils/py-pefile/Makefile
new file mode 100644
index 00000000000..7bcc43f7b24
--- /dev/null
+++ b/sysutils/py-pefile/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2014/05/17 16:57:55 khorben Exp $
+
+PEFILE_VERSION= 1.2.10-139
+DISTNAME= pefile-${PEFILE_VERSION}
+PKGNAME= ${PYPKGPREFIX}-pefile-${PEFILE_VERSION:S/-/./}
+CATEGORIES= sysutils
+MASTER_SITES= https://pefile.googlecode.com/files/
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= https://code.google.com/p/pefile/
+COMMENT= Python module to read and work with PE files
+LICENSE= modified-bsd
+
+EGG_NAME= pefile-${PEFILE_VERSION:S/-/_/}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-pefile/PLIST b/sysutils/py-pefile/PLIST
new file mode 100644
index 00000000000..35f99bfae43
--- /dev/null
+++ b/sysutils/py-pefile/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/17 16:57:55 khorben Exp $
+${PYSITELIB}/ordlookup/__init__.py
+${PYSITELIB}/ordlookup/__init__.pyc
+${PYSITELIB}/ordlookup/__init__.pyo
+${PYSITELIB}/ordlookup/oleaut32.py
+${PYSITELIB}/ordlookup/oleaut32.pyc
+${PYSITELIB}/ordlookup/oleaut32.pyo
+${PYSITELIB}/ordlookup/ws2_32.py
+${PYSITELIB}/ordlookup/ws2_32.pyc
+${PYSITELIB}/ordlookup/ws2_32.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pefile.py
+${PYSITELIB}/pefile.pyc
+${PYSITELIB}/pefile.pyo
+${PYSITELIB}/peutils.py
+${PYSITELIB}/peutils.pyc
+${PYSITELIB}/peutils.pyo
diff --git a/sysutils/py-pefile/distinfo b/sysutils/py-pefile/distinfo
new file mode 100644
index 00000000000..a89f771c92a
--- /dev/null
+++ b/sysutils/py-pefile/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/17 16:57:55 khorben Exp $
+
+SHA1 (pefile-1.2.10-139.tar.gz) = a1bc91758ed1ff8c2df661511023360fcf9bbf77
+RMD160 (pefile-1.2.10-139.tar.gz) = 3d1d676134bc138f7b90abb6d0d8661066a10e1c
+Size (pefile-1.2.10-139.tar.gz) = 57322 bytes