Bump for #304873
authorPatrick Lauer <patrick@gentoo.org>
Fri, 19 Feb 2010 15:07:46 +0000 (15:07 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Fri, 19 Feb 2010 15:07:46 +0000 (15:07 +0000)
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64

app-forensics/autopsy/ChangeLog
app-forensics/autopsy/autopsy-2.23.ebuild [new file with mode: 0644]

index 6d2416b0f7e3eb379a15d451acaf00583cbb3fb1..0d6ad053870ddf9483b1e2cd520dbd6ebd5aa372 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-forensics/autopsy
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/autopsy/ChangeLog,v 1.16 2009/04/30 17:48:03 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/autopsy/ChangeLog,v 1.17 2010/02/19 15:07:46 patrick Exp $
+
+*autopsy-2.23 (19 Feb 2010)
+
+  19 Feb 2010; Patrick Lauer <patrick@gentoo.org> +autopsy-2.23.ebuild:
+  Bump for #304873
 
   30 Apr 2009; Patrick Lauer <patrick@gentoo.org> -autopsy-2.20.ebuild:
   Remove old
diff --git a/app-forensics/autopsy/autopsy-2.23.ebuild b/app-forensics/autopsy/autopsy-2.23.ebuild
new file mode 100644 (file)
index 0000000..a30dc75
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/autopsy/autopsy-2.23.ebuild,v 1.1 2010/02/19 15:07:46 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="A graphical interface to the digital forensic analysis tools in The Sleuth Kit."
+HOMEPAGE="http://www.sleuthkit.org/autopsy/"
+SRC_URI="mirror://sourceforge/autopsy/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+IUSE=""
+
+# Runtime depend on grep and file deliberate
+RDEPEND=">=dev-lang/perl-5.8.0
+       >=app-forensics/sleuthkit-3.0.0
+       sys-apps/grep
+       sys-apps/file"
+DEPEND=""
+
+src_compile() {
+       ./configure 2>&1 >/dev/null << EOF
+n
+/tmp
+EOF
+
+       echo "#!/usr/bin/perl -wT" > autopsy
+       echo "use lib '/usr/lib/autopsy/';" >> autopsy
+       echo "use lib '/usr/lib/autopsy/lib/';" >> autopsy
+       cat base/autopsy.base >> autopsy
+
+       sed -i 's:conf.pl:/etc/autopsy.pl:' $(grep -lr conf\.pl ./)
+       sed -i "s:INSTALLDIR = .*:INSTALLDIR = \'/usr/lib/autopsy\';:" conf.pl
+}
+
+src_install() {
+       insinto /usr/lib/autopsy
+       doins autopsy
+       doins global.css
+       insinto /usr/lib/autopsy/help
+       doins help/*
+       insinto /usr/lib/autopsy/lib
+       doins lib/*
+       insinto /usr/lib/autopsy/pict
+       doins pict/*
+       insinto /etc
+       newins conf.pl autopsy.pl
+
+       dodir /usr/bin
+       dosym /usr/lib/autopsy/autopsy /usr/bin/autopsy
+       fperms +x /usr/lib/autopsy/autopsy
+
+       doman $(find man/ -type f)
+       dodoc CHANGES.txt README* TODO.txt docs/sleuthkit-informer*.txt
+}