aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-23 01:28:54 +0800
committermiwi <miwi@FreeBSD.org>2009-12-23 01:28:54 +0800
commit25d4ea45d29a301dc3b69863906571abb2e14e4d (patch)
treed26b4f664c132e0f04118c04a7b117abeea031b5
parentae2c60e263ec7a4bba1347c360fcf93e8c9f0ee6 (diff)
downloadfreebsd-ports-gnome-25d4ea45d29a301dc3b69863906571abb2e14e4d.tar.gz
freebsd-ports-gnome-25d4ea45d29a301dc3b69863906571abb2e14e4d.tar.zst
freebsd-ports-gnome-25d4ea45d29a301dc3b69863906571abb2e14e4d.zip
InlineEgg is a Python module that provides the user with a toolbox of
convenient classes for writing small assembly programs. Only that instead of having to remember confusing assembly mnemonics and requiring the developer to remember how to use complex tools like assemblers and linkers, everything is done the easy way: in Python. InlineEgg is oriented - but not limited - to developing shellcode (sometimes called eggs) for use in exploits. WWW: http://oss.corest.com/projects/inlineegg.html PR: ports/141886 Submitted by: Sofian Brabez <sbrabez at gmail.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-InlineEgg/Makefile39
-rw-r--r--devel/py-InlineEgg/distinfo3
-rw-r--r--devel/py-InlineEgg/pkg-descr8
-rw-r--r--devel/py-InlineEgg/pkg-plist28
5 files changed, 79 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 073b42cc5c87..ae7b5386d7f1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2410,6 +2410,7 @@
SUBDIR += py-Breve
SUBDIR += py-BytecodeAssembler
SUBDIR += py-EnthoughtBase
+ SUBDIR += py-InlineEgg
SUBDIR += py-Jinja
SUBDIR += py-Jinja2
SUBDIR += py-PEAK-Rules
diff --git a/devel/py-InlineEgg/Makefile b/devel/py-InlineEgg/Makefile
new file mode 100644
index 000000000000..3c748e496687
--- /dev/null
+++ b/devel/py-InlineEgg/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: py-InlineEgg
+# Date created: 2009-12-22
+# Whom: Sofian Brabez <sbrabez@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= InlineEgg
+PORTVERSION= 1.08
+CATEGORIES= devel security
+MASTER_SITES= http://oss.corest.com/repo/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sbrabez@gmail.com
+COMMENT= Python module for writing inline assembler programs
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
+
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
+PORTDOCS= InlineEgg.html Changelog README
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-InlineEgg/distinfo b/devel/py-InlineEgg/distinfo
new file mode 100644
index 000000000000..c2b7ff868b1f
--- /dev/null
+++ b/devel/py-InlineEgg/distinfo
@@ -0,0 +1,3 @@
+MD5 (InlineEgg-1.08.tar.gz) = f6556344950e6de5a95337038d55fbcc
+SHA256 (InlineEgg-1.08.tar.gz) = b762f0cecff8cfa18f2bbfbfce39f18cc99cfb647c22619894624a09cc8a7cd7
+SIZE (InlineEgg-1.08.tar.gz) = 46961
diff --git a/devel/py-InlineEgg/pkg-descr b/devel/py-InlineEgg/pkg-descr
new file mode 100644
index 000000000000..e5f69e61dea8
--- /dev/null
+++ b/devel/py-InlineEgg/pkg-descr
@@ -0,0 +1,8 @@
+InlineEgg is a Python module that provides the user with a toolbox of
+convenient classes for writing small assembly programs. Only that instead of
+having to remember confusing assembly mnemonics and requiring the developer
+to remember how to use complex tools like assemblers and linkers, everything
+is done the easy way: in Python. InlineEgg is oriented - but not limited -
+to developing shellcode (sometimes called eggs) for use in exploits.
+
+WWW: http://oss.corest.com/projects/inlineegg.html
diff --git a/devel/py-InlineEgg/pkg-plist b/devel/py-InlineEgg/pkg-plist
new file mode 100644
index 000000000000..340c5c94d8ae
--- /dev/null
+++ b/devel/py-InlineEgg/pkg-plist
@@ -0,0 +1,28 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/inlineegg/WindowsSyscall.py
+%%PYTHON_SITELIBDIR%%/inlineegg/WindowsSyscall.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/WindowsSyscall.pyo
+%%PYTHON_SITELIBDIR%%/inlineegg/__init__.py
+%%PYTHON_SITELIBDIR%%/inlineegg/__init__.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/__init__.pyo
+%%PYTHON_SITELIBDIR%%/inlineegg/exelib.py
+%%PYTHON_SITELIBDIR%%/inlineegg/exelib.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/exelib.pyo
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg.py
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg.pyo
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_test.py
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_test.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_test.pyo
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_win_test.py
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_win_test.pyc
+%%PYTHON_SITELIBDIR%%/inlineegg/inlineegg_win_test.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/inlineegg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example5.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example6.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xored_shell_client.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%