summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-02-21 19:58:37 +0000
committerMike Auty <ikelos@gentoo.org>2007-02-21 19:58:37 +0000
commitd0f26785fdb0bfe6498c1a56d26cbf63ac049e1d (patch)
tree40e4c3ebfbe2f882152135a3b0def80a23524ae0 /app-forensics/foremost
parentre-keyword ~amd64 per bug 167001 comment #6 (diff)
downloadgentoo-2-d0f26785fdb0bfe6498c1a56d26cbf63ac049e1d.tar.gz
gentoo-2-d0f26785fdb0bfe6498c1a56d26cbf63ac049e1d.tar.bz2
gentoo-2-d0f26785fdb0bfe6498c1a56d26cbf63ac049e1d.zip
Version bump, and taking over maintainership of the package. Fixes bug #144065.
(Portage version: 2.1.2-r10)
Diffstat (limited to 'app-forensics/foremost')
-rw-r--r--app-forensics/foremost/ChangeLog10
-rw-r--r--app-forensics/foremost/files/digest-foremost-1.43
-rw-r--r--app-forensics/foremost/files/foremost-1.4-config-location.patch12
-rw-r--r--app-forensics/foremost/foremost-1.4.ebuild35
-rw-r--r--app-forensics/foremost/metadata.xml2
5 files changed, 60 insertions, 2 deletions
diff --git a/app-forensics/foremost/ChangeLog b/app-forensics/foremost/ChangeLog
index 0f8b04a380e0..95a7f09d9b68 100644
--- a/app-forensics/foremost/ChangeLog
+++ b/app-forensics/foremost/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-forensics/foremost
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.7 2007/02/09 07:13:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.8 2007/02/21 19:58:37 ikelos Exp $
+
+*foremost-1.4 (21 Feb 2007)
+
+ 21 Feb 2007; Mike Auty <ikelos@gentoo.org>
+ +files/foremost-1.4-config-location.patch, metadata.xml,
+ +foremost-1.4.ebuild:
+ Version bump, and taking over maintainership of the package. Fixes bug
+ #144065.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/app-forensics/foremost/files/digest-foremost-1.4 b/app-forensics/foremost/files/digest-foremost-1.4
new file mode 100644
index 000000000000..e75ff43b48c8
--- /dev/null
+++ b/app-forensics/foremost/files/digest-foremost-1.4
@@ -0,0 +1,3 @@
+MD5 dbb754a967eb459c843be7f6babaeb7e foremost-1.4.tar.gz 49521
+RMD160 b2ea590ab78f96e74cb3842ad60dc4f1429244ef foremost-1.4.tar.gz 49521
+SHA256 a6e16385dbdfad64c5d93577b0ae2dc778e62d51d9e1751d34675c12ed694800 foremost-1.4.tar.gz 49521
diff --git a/app-forensics/foremost/files/foremost-1.4-config-location.patch b/app-forensics/foremost/files/foremost-1.4-config-location.patch
new file mode 100644
index 000000000000..95372e1af9c0
--- /dev/null
+++ b/app-forensics/foremost/files/foremost-1.4-config-location.patch
@@ -0,0 +1,12 @@
+diff -uNr foremost-1.4.orig/config.c foremost-1.4/config.c
+--- foremost-1.4.orig/config.c 2006-08-31 17:50:47.000000000 +0100
++++ foremost-1.4/config.c 2006-08-31 17:51:09.000000000 +0100
+@@ -288,7 +288,7 @@
+ #ifdef __WIN32
+ set_config_file(s, "/Program Files/foremost/foremost.conf");
+ #else
+- set_config_file(s, "/usr/local/etc/foremost.conf");
++ set_config_file(s, "/etc/foremost.conf");
+ #endif
+ if ((f = fopen(get_config_file(s), "r")) == NULL)
+ {
diff --git a/app-forensics/foremost/foremost-1.4.ebuild b/app-forensics/foremost/foremost-1.4.ebuild
new file mode 100644
index 000000000000..7dd744543a63
--- /dev/null
+++ b/app-forensics/foremost/foremost-1.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/foremost-1.4.ebuild,v 1.1 2007/02/21 19:58:37 ikelos Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A console program to recover files based on their headers and footers"
+HOMEPAGE="http://foremost.sourceforge.net/"
+SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz"
+
+KEYWORDS="~ppc ~x86"
+IUSE=""
+LICENSE="public-domain"
+SLOT="0"
+
+RDEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-config-location.patch
+}
+
+src_compile() {
+ emake RAW_FLAGS="${CFLAGS} -Wall" RAW_CC="$(tc-getCC) -DVERSION=\\\"${PV}\\\"" \
+ CONF=/etc || die "emake failed"
+}
+
+src_install() {
+ dobin foremost
+ doman foremost.1
+ insinto /etc
+ doins foremost.conf
+ dodoc README CHANGES
+}
diff --git a/app-forensics/foremost/metadata.xml b/app-forensics/foremost/metadata.xml
index 95c0cd08de9d..02136aff8c0a 100644
--- a/app-forensics/foremost/metadata.xml
+++ b/app-forensics/foremost/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<herd>forensics</herd>
<maintainer>
- <email>forensics@gentoo.org</email>
+ <email>ikelos@gentoo.org</email>
</maintainer>
</pkgmetadata>