summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-02-05 01:30:37 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-02-05 01:30:37 +0000
commit045690db25549d1f112bc4d88478262dc358a262 (patch)
treef28a903ec867ed481ce54e80bc360134c2d0dd37 /dev-util/fenris
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-045690db25549d1f112bc4d88478262dc358a262.tar.gz
gentoo-2-045690db25549d1f112bc4d88478262dc358a262.tar.bz2
gentoo-2-045690db25549d1f112bc4d88478262dc358a262.zip
move fnprints so that it doesn't bog down etc-update and stop etc-update from caring about it.
Diffstat (limited to 'dev-util/fenris')
-rw-r--r--dev-util/fenris/ChangeLog11
-rw-r--r--dev-util/fenris/Manifest3
-rw-r--r--dev-util/fenris/fenris-0.07m-r2.ebuild81
-rw-r--r--dev-util/fenris/files/digest-fenris-0.07m-r21
-rw-r--r--dev-util/fenris/files/fenris-0.07m-fnprints.patch11
5 files changed, 105 insertions, 2 deletions
diff --git a/dev-util/fenris/ChangeLog b/dev-util/fenris/ChangeLog
index 50ab0d70f01c..5e0c43b82cd9 100644
--- a/dev-util/fenris/ChangeLog
+++ b/dev-util/fenris/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/fenris
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/ChangeLog,v 1.7 2004/01/09 01:07:25 liquidx Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/ChangeLog,v 1.8 2004/02/05 01:30:37 liquidx Exp $
+
+*fenris-0.07m-r2 (05 Feb 2004)
+
+ 05 Feb 2004; Alastair Tse <liquidx@gentoo.org> fenris-0.07m-r2.ebuild,
+ files/fenris-0.07m-fnprints.patch:
+ move fnprints so that it doesn't bog down etc-update and stop etc-update from
+ caring about it.
*fenris-0.07m-r1 (09 Jan 2004)
diff --git a/dev-util/fenris/Manifest b/dev-util/fenris/Manifest
index 6ce050e3475a..18354e452efd 100644
--- a/dev-util/fenris/Manifest
+++ b/dev-util/fenris/Manifest
@@ -1,12 +1,15 @@
MD5 2d534d2fa3e659385f8416bfeb18925d ChangeLog 2069
MD5 ec0fa753b188ec40bf2c93e6d67b60f7 fenris-0.07m-r1.ebuild 1991
+MD5 d8c7e97fa6a8bd6372f57cbdddf12591 fenris-0.07m-r2.ebuild 2234
MD5 d5fe345bfc1ad9e8634b3a4b5aa68176 fenris-0.07m.ebuild 1682
MD5 a68b50d823b5d7af1ca8d201e13e9e96 metadata.xml 391
MD5 27c81d7bec94238ba277b4794d7d8314 files/build.diff 480
MD5 e7aec05d088e447c23766b41773761d9 files/digest-fenris-0.07m 56
MD5 07c202fb85035e970b3ef1445b67eff0 files/digest-fenris-0.07m-r1 65
+MD5 07c202fb85035e970b3ef1445b67eff0 files/digest-fenris-0.07m-r2 65
MD5 c9aaf6abd2e9315787187e7bd3ebbaec files/fenris-0.07m-debian.patch 5239
MD5 fe38a3e8879043faeb58b390b9cb28ee files/fenris-0.07m-dress.c.patch 644
+MD5 0d20b590e32e457303946a42ef320780 files/fenris-0.07m-fnprints.patch 277
MD5 87fb79e339f64e43a0ee10454f651982 files/fenris-0.07m-noansiart.patch 288
MD5 d2326864923773f19d29c3f47f05b3d2 files/fenris-0.07m-speedup.patch 281
MD5 32c7002f8ab09c712706819194542f5a files/makefile.diff 698
diff --git a/dev-util/fenris/fenris-0.07m-r2.ebuild b/dev-util/fenris/fenris-0.07m-r2.ebuild
new file mode 100644
index 000000000000..8a5c6b7981ff
--- /dev/null
+++ b/dev-util/fenris/fenris-0.07m-r2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/fenris-0.07m-r2.ebuild,v 1.1 2004/02/05 01:30:37 liquidx Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Fenris is a tracer, GUI debugger, analyzer, partial decompiler and much more"
+HOMEPAGE="http://razor.bindview.com/tools/fenris/"
+# dev-snapshot: http://lcamtuf.coredump.cx/fenris/fenris.tgz (2004/01/08)
+SRC_URI="mirror://gentoo/${P}-r1.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ sys-libs/libtermcap-compat
+ app-misc/screen
+ sys-libs/ncurses
+ dev-libs/openssl
+ sys-kernel/linux-headers
+ sys-devel/gdb"
+
+RDEPEND="sys-apps/gawk"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/makefile.diff
+ epatch ${FILESDIR}/build.diff
+ epatch ${FILESDIR}/${P}-debian.patch
+ epatch ${FILESDIR}/${P}-noansiart.patch # disable ascii art
+ epatch ${FILESDIR}/${P}-dress.c.patch # update for latest binutils
+ epatch ${FILESDIR}/${P}-speedup.patch # to speed up makefile
+ epatch ${FILESDIR}/${P}-fnprints.patch # move fnprints to /etc/fenris
+
+ cd ${S}/doc/man
+ sed -i 's:/etc/fnprints.dat:/etc/fenris/fnprints.dat:' -i *
+}
+
+src_compile() {
+ # We need to obtain libc version, this should be a reliable way :)
+ # because internal script doesn't detect libc version during the emerge
+ LIBC=`ls /lib/libc-* | awk -F- '{print $2}' | awk -F.so '{print $1}'`
+
+ make all CFLAGS="$CFLAGS" LIBCVER=${LIBC} || die
+}
+
+src_install() {
+
+ # We are doing make install by hand
+ cd ${S}
+ dodir /usr/share/fenris
+
+ # Man pages
+ doman doc/man/*
+
+ # Documents
+ dodir /usr/share/fenris/doc
+ insinto /usr/share/fenris/doc
+ doins doc/*
+
+ # Fingeprints
+ insinto /etc/fenris
+ doins fnprints.dat
+ dodir /etc/env.d
+ echo 'CONFIG_PROTECT_MASK="/etc/fenris"' > ${D}/etc/env.d/99fenris
+
+ # Executables
+ into /usr
+ dobin fenris fprints getfprints ragnarok fenris-bug \
+ ragsplit dress aegir nc-aegir spliter.pl
+
+}
+
+pkg_postinst() {
+ einfo "These new tools are installed in /usr/bin:"
+ einfo "fenris fprints getfprints ragnarok fenris-bug ragsplit "
+ einfo "dress aegir nc-aegir spliter.pl"
+ einfo "Please refer to the manpage for fenris for further information"
+}
diff --git a/dev-util/fenris/files/digest-fenris-0.07m-r2 b/dev-util/fenris/files/digest-fenris-0.07m-r2
new file mode 100644
index 000000000000..0f0767d2b77b
--- /dev/null
+++ b/dev-util/fenris/files/digest-fenris-0.07m-r2
@@ -0,0 +1 @@
+MD5 c5d8079bd95aaf61fb13a5a4e4ac8d82 fenris-0.07m-r1.tgz 1084157
diff --git a/dev-util/fenris/files/fenris-0.07m-fnprints.patch b/dev-util/fenris/files/fenris-0.07m-fnprints.patch
new file mode 100644
index 000000000000..60716b6f6499
--- /dev/null
+++ b/dev-util/fenris/files/fenris-0.07m-fnprints.patch
@@ -0,0 +1,11 @@
+--- libfnprints.c.old 2004-01-11 15:54:20.716536056 +0000
++++ libfnprints.c 2004-01-11 15:54:36.936070312 +0000
+@@ -50,7 +50,7 @@
+ }
+
+ if (!f && !strchr(x,'/')) {
+- snprintf(buf,200,"/etc/%s",x);
++ snprintf(buf,200,"/etc/fenris/%s",x);
+ f=fopen(buf,"r");
+ }
+