app-forensics/regripper added

This commit is contained in:
Stefan Reimer 2011-12-26 14:14:31 -08:00
parent 75202ec835
commit 4da86b92e2
5 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,4 @@
AUX plugins_folder.patch 461 RMD160 af1ce92c1fb345d8e9abb250f6116e16189cc288 SHA1 6dac52ae722dafa86dd78c4ebf78800584d03bd5 SHA256 eacc167b36312bd86c741ec1a40d99fcd78814af2987486d0ff18fec6fdda413
DIST regripperplugins_20111118.zip 241658 RMD160 0cceacbc7bd3e5be086cfc833217f0c2c7eb2a5a SHA1 7b92f75327cdc1a486a3bac1860fd3c8294b9a6f SHA256 f3fd8014f09ecfe26245ac8411532d3ef13ffb805ce6ec030722c7e31f3904ae
DIST rr_tools.zip 2334802 RMD160 a429aed209ea31417a57fe142c41e71f5c9d066f SHA1 582a0c873781cdf355d25c71bb1583006f28cb33 SHA256 1f849e2b424e94e150792cec9a07eea48f2d7ca6963f13200fc0e3544a7eb72b
EBUILD regripper-20111118.ebuild 979 RMD160 5f6ff9f7980df746c809b9176ef10dd51d4a17dd SHA1 01fab548578aea94d80be9fbbec076e2db953084 SHA256 48710e2f7c4f2dd465aac70d9c0165d40641d26ac849b04a8a38344e50f2f9cf

View File

@ -0,0 +1,17 @@
--- rip.pl.orig 2011-12-26 13:54:37.866629587 -0800
+++ rip.pl 2011-12-26 13:55:10.854628885 -0800
@@ -40,6 +40,7 @@
: (@path = split(/\//,$0));
$str =~ s/($path[scalar(@path) - 1])//;
my $plugindir = $str."plugins/";
+$plugindir = "/usr/share/regripper/";
#print "Plugins Dir = ".$plugindir."\n";
# End code update
my $VERSION = "20090102";
@@ -289,4 +290,4 @@
};
$t = 0 if ($t < 0);
return $t;
-}
\ No newline at end of file
+}

View File

@ -0,0 +1,42 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-analyzer/dnsenum/dnsenum-1.0.ebuild,v 1.1.1.1 2006/03/30 21:15:43 grimmlin Exp $
inherit eutils
EAPI=3
DESCRIPTION="Perl scripts to parse Windows registry files"
HOMEPAGE="http://regripper.wordpress.com/program-files/"
SRC_URI="http://winforensicaanalysis.googlecode.com/files/rr_tools.zip
http://regripperplugins.googlecode.com/files/regripperplugins_${PV}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-text/dos2unix"
RDEPEND="perl-gcpan/Parse-Win32Registry"
S="${WORKDIR}/${P/_/}"
src_prepare() {
rm -rf plugins *.exe rr.pl *.dll
}
src_compile() {
dos2unix *.pl
epatch "${FILESDIR}"/plugins_folder.patch
sed -i 's|c:\\perl\\bin\\perl.exe|/usr/bin/perl -w|g' rip.pl || die
}
src_install () {
newbin rip.pl ${PN}
rm rip.pl
insinto /usr/share/"${PN}"
doins *.pl
}

View File

@ -0,0 +1,2 @@
DIST Parse-Win32Registry-0.60.tar.gz 103062 RMD160 b73e2822800744d6120b8f34a97e9d2d6b8f2ac0 SHA1 e8ca45bed081a0b33cc7de7bf9dc76ee5140d2d4 SHA256 6a34bbbbf39c7b925524af5a4d5d023ae193a5152c968db264ad41762e62169e
EBUILD Parse-Win32Registry-0.60.ebuild 729 RMD160 34082f1a491b1f2519bbf242014efa58e61c5570 SHA1 5b00fe46dffbead813f50f4cb63a638c598e4868 SHA256 4cfe719bb35dce11b02ead245e2ad6d681d681ae6bd57e46ef17bbf72a09ef60

View File

@ -0,0 +1,18 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This ebuild generated by g-cpan 0.16.0
EAPI="2"
MODULE_AUTHOR="JMACFARLA"
inherit perl-module
DESCRIPTION="Parse Windows Registry Files"
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="alpha amd64 amd64-fbsd arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc sparc-fbsd x86 x86-fbsd ppc-aix x86-freebsd x64-freebsd sparc64-freebsd hppa-hpux ia64-hpux x86-interix amd64-linux arm-linux ia64-linux x86-linux ppc-macos x86-macos x64-macos m68k-mint x86-netbsd ppc-openbsd x86-openbsd x64-openbsd sparc-solaris sparc64-solaris x64-solaris x86-solaris x86-winnt x86-cygwin"
IUSE=""
DEPEND="dev-lang/perl"