summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-04 23:45:43 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-04 23:45:43 +0000
commit09ba712dd9ca10765919b03a8b2229afdf4e1ebe (patch)
treee989fca33c90675953e9cbd9cea0a903e07706cc /app-forensics/memdump
parentBump to 3.0.0, fixes #203773 (diff)
downloadgentoo-2-09ba712dd9ca10765919b03a8b2229afdf4e1ebe.tar.gz
gentoo-2-09ba712dd9ca10765919b03a8b2229afdf4e1ebe.tar.bz2
gentoo-2-09ba712dd9ca10765919b03a8b2229afdf4e1ebe.zip
Bumping to 1.0.1, fixes #204211
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-forensics/memdump')
-rw-r--r--app-forensics/memdump/ChangeLog9
-rw-r--r--app-forensics/memdump/memdump-1.0.1.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/app-forensics/memdump/ChangeLog b/app-forensics/memdump/ChangeLog
index 8119af08b1e5..bf8d11a3f8e0 100644
--- a/app-forensics/memdump/ChangeLog
+++ b/app-forensics/memdump/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-forensics/memdump
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/ChangeLog,v 1.6 2006/08/17 00:50:52 tcort Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/ChangeLog,v 1.7 2009/01/04 23:45:43 patrick Exp $
+
+*memdump-1.0.1 (04 Jan 2009)
+
+ 04 Jan 2009; Patrick Lauer <patrick@gentoo.org> +memdump-1.0.1.ebuild:
+ Bumping to 1.0.1, fixes #204211
17 Aug 2006; Thomas Cort <tcort@gentoo.org> memdump-1.0.ebuild:
Stable on amd64 wrt Bug #144138.
diff --git a/app-forensics/memdump/memdump-1.0.1.ebuild b/app-forensics/memdump/memdump-1.0.1.ebuild
new file mode 100644
index 000000000000..27db34d197c5
--- /dev/null
+++ b/app-forensics/memdump/memdump-1.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.1 2009/01/04 23:45:43 patrick Exp $
+
+DESCRIPTION="Simple memory dumper for UNIX-Like systems"
+HOMEPAGE="http://www.porcupine.org/forensics"
+SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz"
+LICENSE="IBM"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND="sys-apps/sed
+ sys-apps/grep"
+RDEPEND="virtual/libc"
+IUSE=""
+
+
+S=${WORKDIR}/${PN}-1.01
+
+src_compile() {
+ cd ${S}/memdump-1.01
+ emake XFLAGS="${CFLAGS}" OPT= DEBUG= || die
+}
+
+src_test() {
+ if has userpriv ${FEATURES};
+ then
+ einfo "Cannot test with FEATURES=userpriv"
+ elif [ -x /bin/wc ];
+ then
+ einfo "testing"
+ if [ "`./memdump -s 344 | wc -c`" = "344" ];
+ then
+ einfo "passed test"
+ else
+ die "failed test"
+ fi
+ fi
+}
+
+src_install() {
+ dosbin memdump
+ dodoc README LICENSE
+ doman memdump.1
+}