Date: Mon, 7 Jul 2003 13:39:24 +0200 (CEST) From: Mathieu Arnold <m@absolight.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: m@absolight.net Subject: ports/54178: new port devel/p5-B-Deobfuscate Message-ID: <20030707113924.E72CC7DBC@aragorn.reaumur.absolight.net> Resent-Message-ID: <200307071140.h67Be8Tv049589@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54178 >Category: ports >Synopsis: new port devel/p5-B-Deobfuscate >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 07 04:40:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 4.8-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386 >Description: New port devel/p5-B-Deobfuscate B::Deobfuscate is a backend module for the Perl compiler that generates perl source code, based on the internal compiled structure that perl itself creates after parsing a program. It adds symbol renaming functions to the B::Deparse module. An obfuscated program is already parsed and interpreted correctly by the B::Deparse program. Unfortunately, if the obfuscation involved variable renaming then the resulting program also has obfuscated symbols. >How-To-Repeat: >Fix: --- p5-B-Deobfuscate.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-B-Deobfuscate # p5-B-Deobfuscate/Makefile # p5-B-Deobfuscate/distinfo # p5-B-Deobfuscate/pkg-descr # p5-B-Deobfuscate/pkg-plist # echo c - p5-B-Deobfuscate mkdir -p p5-B-Deobfuscate > /dev/null 2>&1 echo x - p5-B-Deobfuscate/Makefile sed 's/^X//' >p5-B-Deobfuscate/Makefile << 'END-of-p5-B-Deobfuscate/Makefile' X# New ports collection makefile for: p5-B-Deobfuscate X# Date created: 7 july 2003 X# Whom: Mathieu Arnold <m@absolight.net> X# X# $FreeBSD$ X# X XPORTNAME= B-Deobfuscate XPORTVERSION= 0.06 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= B XPKGNAMEPREFIX= p5- X XMAINTAINER= m@absolight.net XCOMMENT= Extension to B::Deparse for use in de-obfuscating source code X XRUN_DEPENDS= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \ X ${SITE_PERL}/B/Keywords.pm:${PORTSDIR}/devel/p5-B-Keywords XBUILD_DEPENDS= ${RUN_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= B::Deobfuscate.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500600 Xpost-patch: X @${PERL} -pi -e '$$_ = "" if m!^lib/B$$!' ${WRKSRC}/MANIFEST X @${PERL} -pi.orig -e 's/^our (\$$VERSION)/use vars qw($$1); $$1/;' \ X -e '$$_ = "" if /use warnings/;' \ X -e 's/\[\[:digit:\]\]/[0-9]/g; s/\[\[:lower:\]\[:digit:\]_\]/[a-z0-9_]/g;' \ X -e 's/, \$$dict_file/. \$$dict_file/; s/v5.8.0/"v5.8.0"/' \ X ${WRKSRC}/lib/B/Deobfuscate.pm X.endif X X.include <bsd.port.post.mk> END-of-p5-B-Deobfuscate/Makefile echo x - p5-B-Deobfuscate/distinfo sed 's/^X//' >p5-B-Deobfuscate/distinfo << 'END-of-p5-B-Deobfuscate/distinfo' XMD5 (B-Deobfuscate-0.06.tar.gz) = c66cca26e67959cbeff35a9188d11715 END-of-p5-B-Deobfuscate/distinfo echo x - p5-B-Deobfuscate/pkg-descr sed 's/^X//' >p5-B-Deobfuscate/pkg-descr << 'END-of-p5-B-Deobfuscate/pkg-descr' XB::Deobfuscate is a backend module for the Perl compiler that generates perl Xsource code, based on the internal compiled structure that perl itself creates Xafter parsing a program. It adds symbol renaming functions to the B::Deparse Xmodule. An obfuscated program is already parsed and interpreted correctly by Xthe B::Deparse program. Unfortunately, if the obfuscation involved variable Xrenaming then the resulting program also has obfuscated symbols. X XWWW: http://search.cpan.org/dist/B-Deobfuscate/ END-of-p5-B-Deobfuscate/pkg-descr echo x - p5-B-Deobfuscate/pkg-plist sed 's/^X//' >p5-B-Deobfuscate/pkg-plist << 'END-of-p5-B-Deobfuscate/pkg-plist' X%%SITE_PERL%%/B/Deobfuscate.pm X%%SITE_PERL%%/B/Deobfuscate.pod X%%SITE_PERL%%/%%PERL_ARCH%%/auto/B/Deobfuscate/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/B/Deobfuscate X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/B 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/B 2>/dev/null || true END-of-p5-B-Deobfuscate/pkg-plist exit --- p5-B-Deobfuscate.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707113924.E72CC7DBC>