import flasm, a tool to disassemble swf files.

ok benoit@.
This commit is contained in:
rpointel 2015-11-19 20:52:28 +00:00
parent 412cc39bb3
commit 7b9ffe95eb
4 changed files with 51 additions and 0 deletions

38
security/flasm/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/11/19 20:52:28 rpointel Exp $
COMMENT = disassembles SWF
DISTNAME = flasm16src
PKGNAME = flasm-1.62
CATEGORIES = security devel
HOMEPAGE = http://www.nowrap.de/flasm
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# https://github.com/coolwanglu/flasm/blob/master/LICENSE.TXT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c z
MASTER_SITES = http://www.nowrap.de/download/
EXTRACT_SUFX = .zip
BUILD_DEPENDS = devel/gperf \
devel/bison
USE_GMAKE = Yes
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/flasm ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flasm/
${INSTALL_DATA} ${WRKDIST}/LICENSE.TXT ${PREFIX}/share/doc/flasm/
${INSTALL_DATA} ${WRKDIST}/flasm.html ${PREFIX}/share/doc/flasm/
.include <bsd.port.mk>

2
security/flasm/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (flasm16src.zip) = 3xJzpQbiR5z5V3UZf1t/qU4p/h4KrlqhkO1bvrxL5cY=
SIZE (flasm16src.zip) = 111912

6
security/flasm/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Flasm disassembles your entire SWF including all the timelines and
events. Looking at disassembly, you learn how the Flash compiler works,
which improves your ActionScript skills. You can also do some
optimizations on the disassembled code by hand or adjust the code as you
wish. Flasm then applies your changes to the original SWF, replacing
original actions.

5
security/flasm/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/19 20:52:28 rpointel Exp $
@bin bin/flasm
share/doc/flasm/
share/doc/flasm/LICENSE.TXT
share/doc/flasm/flasm.html