Portage is a package management system used by Gentoo Linux
# ChangeLog for app-forensics/tct
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/tct/ChangeLog,v 1.10 2007/03/04 19:52:37 peper Exp $
04 Mar 2007; Piotr JaroszyĆski
Fix incomplete sys-apps/lsof -> sys-process/lsof move.
24 Jan 2007; Marius Mauch
Replacing einfo with elog
24 Apr 2005; Michael Hanselmann
Stable on ppc.
31 Jan 2005; Aaron Walker
-tct-1.15.ebuild:
Marked 1.15-r1 stable on x86; removed 1.15.
10 Nov 2004; Aaron Walker
files/tct-1.15-r1-gentoo.diff:
Add missing semi-colon in patch.
*tct-1.15-r1 (07 Nov 2004)
07 Nov 2004; Aaron Walker
+files/tct-1.15-r1-gentoo.diff, +tct-1.15-r1.ebuild:
Revision bump; fixes bug #70307, use tc-getCC, and don't install md5 man
page as it gets installed by openssl.
18 Oct 2004; David Holm
Added to ~ppc.
17 Sep 2004; Aaron Walker
tct-1.15.ebuild:
Converted to use sys-apps/file; Installs configs into /etc now rather than
installing a symlink.
*tct-1.15 (16 Sep 2004)
16 Sep 2004; Aaron Walker
+tct-1.15.ebuild:
Initial commit (bug #39934)
AUX tct-1.15-gentoo.diff 5214 RMD160 b062b6d5af4a727038a497b4c30f807f4426a36a SHA1 3acdf4d62cc61ebe3f2222139c6431d9ae84ce6f SHA256 6f1459cf5d288dc8bf19b1b7d6281756a977558be770afc7b5b5dde29a9f3e13
AUX tct-1.15-r1-gentoo.diff 5909 RMD160 0e6af6644b2ed2b3300cae04b14a3cec9ad52a05 SHA1 aee73aadd2d9dc612295b5078b0f3124b9338b06 SHA256 bfd2c712cd5f02bc7e96c8f1440959fe8e2bc4abf625e04dd6947b9ad2614a5f
DIST tct-1.15.tar.gz 317164 RMD160 fbd23d00aa2339f56a31ead73eddd1f57164dab6 SHA1 e5b2512925e36028cdd9986a2de037a18a7a3717 SHA256 4c8e343453332bd1fdf0627f9b888e2a4f597e70b367f124cc7f2562558213a1
EBUILD tct-1.15-r1.ebuild 2501 RMD160 ec807ff30e63180ba250966b507cfe26c54fa4e4 SHA1 92520077762967580abc394d0926149b5026d28d SHA256 b3dc24720c6a1c0c1a049f7d9d6e401e89f89ab6353bff1c1d08ee10a95808ef
MISC ChangeLog 1447 RMD160 bcae1407f7e1f377034b5f2c076dfe13f7747aa9 SHA1 ab506a31f289f2c559d13f27ad8919977ed1eb9c SHA256 b67f7632361b238b263c03ed555c563a505e559644d9876adc950cbe440c41bc
MISC metadata.xml 236 RMD160 85a9876a0694840c4bf1a085c7dc2e8f1973d794 SHA1 8e82d9b1226050251466d9663aafa61f9eb01680 SHA256 2091189071f416a58d89c4b7b8d6a54412dd6c2a8b675efe280cfd8b916e3cf0
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/tct/tct-1.15-r1.ebuild,v 1.6 2007/03/04 19:52:37 peper Exp $
inherit eutils toolchain-funcs
DESCRIPTION="The Coroner's Toolkit - a collection of tools to aide in gathering and analyzing forensic data on a UNIX system"
HOMEPAGE="http://www.porcupine.org/forensics/tct.html"
SRC_URI="http://www.porcupine.org/forensics/${P}.tar.gz"
LICENSE="IBM as-is"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND=">=dev-lang/perl-5.0004
>=sys-apps/sed-4"
RDEPEND="${DEPEND}
dev-perl/DateManip"
src_unpack() {
unpack ${A}
cd ${S}
sed -i "s:^\(CC.*= \).*:\1$(tc-getCC):" Makefile || die "sed CC failed"
sed -i "s:\$(OPT) \$(DEBUG):${CFLAGS}:" */*/Makefile \
|| die "sed CFLAGS failed"
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_install() {
# bins/libs
into /usr/lib/tct
dobin bin/* || die "bin installation failed"
exeinto /usr/lib/tct
doexe reconfig || die "reconfig installation failed"
insinto /usr/lib/tct/lib
doins lib/*.pl || die "lib installation failed"
exeinto /usr/lib/tct/extras
doexe extras/bdf extras/ils2mac extras/realpath extras/entropy/entropy \
extras/findkey/findkey || die "extras installation failed"
# config
insinto /etc/tct
doins conf/* || die "conf installation failed"
# docs
newdoc extras/README README.extras || die "newdoc failed"
dodoc docs/* Beware CHANGES INSTALL OS-NOTES README.FIRST \
TODO* additional-resources bibliography help-recovering-file \
help-when-broken-into quick-start || die "doc installation failed"
# these manual pages are provided by other packages
rm man/man1/file.1
rm man/man1/md5.1
rm man/man5/magic.5
doman man/*/* || die "man installation failed"
# setup dirs/symlinks
keepdir /var/log/tct
dosym /etc/tct /usr/lib/tct/conf || die "dosym failed"
keepdir /var/lib/tct
dosym /var/lib/tct /usr/lib/tct/data || die "dosym failed"
dodir /usr/sbin
cd ${S}/bin
# all binaries except the following are meant for internal use
for bin in grave-robber lazarus mactime unrm; do
dosym /usr/lib/tct/bin/${bin} /usr/sbin/${bin} \
|| die "dosym ${bin} failed"
done
}
pkg_postinst() {
echo
elog "The authors of The Coroner's Toolkit highly recommend"
elog "installing sys-process/lsof for use by the toolkit."
elog
elog "Please read the README and quickstart files installed"
elog "in /usr/share/doc/${PF} before using The Coroner's Toolkit."
echo
}