mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Stage support
- Use OPTIONS - Use PYDISTUTILS_AUTOPLIST, shebangfix, dos2unix - Update WWW and MASTER_SITES
This commit is contained in:
parent
7e87b3c86f
commit
a8f01e7e0f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347044
@ -3,34 +3,31 @@
|
||||
|
||||
PORTNAME= InlineEgg
|
||||
PORTVERSION= 1.08
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel security python
|
||||
MASTER_SITES= http://oss.corest.com/repo/
|
||||
MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=InlineEgg&file=
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sbz@FreeBSD.org
|
||||
COMMENT= Python module for writing inline assembler programs
|
||||
|
||||
FETCH_BEFORE_ARGS=-o ${DISTFILES}
|
||||
USES= dos2unix shebangfix
|
||||
SHEBANG_FILES= examples/*.py
|
||||
python_CMD= ${PYTHON_CMD}
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
|
||||
PORTDOCS= InlineEgg.html Changelog README
|
||||
.endif
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
NO_STAGE= yes
|
||||
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
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -5,4 +5,4 @@ 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
|
||||
WWW: http://corelabs.coresecurity.com/index.php?module=Wiki&action=view&type=tool&name=InlineEgg
|
||||
|
@ -1,27 +0,0 @@
|
||||
%%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%%
|
Loading…
Reference in New Issue
Block a user