summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-12-22 23:48:00 +0000
committerNick Hadaway <raker@gentoo.org>2002-12-22 23:48:00 +0000
commite7c53f0214ae84b7e4b1fa932c0c0c7253240ca6 (patch)
tree840d03547bdc71788c0a8e98bcb018cecc0dab3b /dev-util/fenris
parentNew version (diff)
downloadgentoo-2-e7c53f0214ae84b7e4b1fa932c0c0c7253240ca6.tar.gz
gentoo-2-e7c53f0214ae84b7e4b1fa932c0c0c7253240ca6.tar.bz2
gentoo-2-e7c53f0214ae84b7e4b1fa932c0c0c7253240ca6.zip
New ebuild submitted by quequero@bitchx.it. Please comment on bug
#11727
Diffstat (limited to 'dev-util/fenris')
-rw-r--r--dev-util/fenris/ChangeLog20
-rw-r--r--dev-util/fenris/fenris-0.07m.ebuild58
-rw-r--r--dev-util/fenris/files/build.diff19
-rw-r--r--dev-util/fenris/files/digest-fenris-0.07m1
-rw-r--r--dev-util/fenris/files/makefile.diff22
5 files changed, 120 insertions, 0 deletions
diff --git a/dev-util/fenris/ChangeLog b/dev-util/fenris/ChangeLog
new file mode 100644
index 000000000000..6b17355b49c4
--- /dev/null
+++ b/dev-util/fenris/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for app-misc/fenris
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/ChangeLog,v 1.1 2002/12/22 23:48:00 raker Exp $
+
+*fenris-0.07m (07 Dic 2002)
+
+ 07 Dic 2002; Quequero <quequero@bitchx.it> fenris-0.07m.ebuild:
+ First import. Ebuild submitted by Quequero <quequero@bitchx.it>.
+ Fenris is a multipurpose tracer, GUI debugger, stateful analyzer
+ and partial decompiler intended to simplify bug tracking, security
+ audits, code, algorithm, protocol analysis and computer forensics
+ providing a structural program trace, interactive debugging, general
+ information about internal constructions, execution path, I/O and
+ much more. Because it does not require sources or any particular
+ compilation method, this multi-component project can be very
+ helpful for black-box tests and evaluations but it will also be a
+ reat tool for open-source project audits, as an unmatched real-time
+ reconnaissance tool.
+ Installed files and utilities are: fenris, fprints, getfprints,
+ ragnarok, fenris-bug, ragsplit, spliter.pl, dress, aegir, nc-aegir.
diff --git a/dev-util/fenris/fenris-0.07m.ebuild b/dev-util/fenris/fenris-0.07m.ebuild
new file mode 100644
index 000000000000..7226dc6635ae
--- /dev/null
+++ b/dev-util/fenris/fenris-0.07m.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2002 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.ebuild,v 1.1 2002/12/22 23:48:00 raker Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Fenris is a tracer, GUI debugger, analyzer, partial decompiler and much more"
+HOMEPAGE="http://razor.bindview.com/tools/fenris/"
+SRC_URI="http://razor.bindview.com/tools/fenris/fenris.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/glibc
+ app-misc/screen
+ sys-libs/ncurses"
+RDEPEND="sys-apps/gawk"
+
+src_unpack() {
+ unpack ${PN}.tgz ; cd ${S}
+}
+
+src_compile() {
+ patch -p0 < ${FILESDIR}/makefile.diff || die "can't patch Makefile"
+ patch -p0 < ${FILESDIR}/build.diff || die "can't patch Build"
+
+ # 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
+ doins fnprints.dat
+
+ # Executables
+ exeinto /usr/bin
+ doexe fenris fprints getfprints ragnarok fenris-bug ragsplit dress aegir nc-aegir spliter.pl
+
+ einfo "These new tools are installed in /usr/bin:"
+ einfo "fenris fprints getfprints ragnarok fenris-bug ragsplit dress aegir nc-aegir spliter.pl"
+ einfo "Please refer to the manual (i.e: man fenris) for further informations"
+}
diff --git a/dev-util/fenris/files/build.diff b/dev-util/fenris/files/build.diff
new file mode 100644
index 000000000000..574d663f4148
--- /dev/null
+++ b/dev-util/fenris/files/build.diff
@@ -0,0 +1,19 @@
+--- build.orig 2002-12-07 17:10:41.000000000 +0000
++++ build 2002-12-07 17:11:31.000000000 +0000
+@@ -171,16 +171,6 @@
+ echo "$PROC (supported)"
+
+ echo -n "[+] GNU C library version: "
+-
+-LIBCVER=`/lib/libc.so.6|awk -F'version ' '{print $2}'|awk -F, '{print $1}'|head -1`
+-
+-if [ "$LIBCVER" = "" ]; then
+- echo "cannot determine libc version!"
+- echo "[-] I am affraid I cannot continue. Please consult documentation."
+- echo
+- exit 1
+-fi
+-
+ echo -n "$LIBCVER"
+
+ unset VEROK
diff --git a/dev-util/fenris/files/digest-fenris-0.07m b/dev-util/fenris/files/digest-fenris-0.07m
new file mode 100644
index 000000000000..2a43d528685d
--- /dev/null
+++ b/dev-util/fenris/files/digest-fenris-0.07m
@@ -0,0 +1 @@
+MD5 14c1fe47e00fd5fc1f7e72f12c056334 fenris.tgz 1122934
diff --git a/dev-util/fenris/files/makefile.diff b/dev-util/fenris/files/makefile.diff
new file mode 100644
index 000000000000..f8855513bdc2
--- /dev/null
+++ b/dev-util/fenris/files/makefile.diff
@@ -0,0 +1,22 @@
+--- Makefile.orig 2002-05-29 21:34:55.000000000 +0000
++++ Makefile 2002-12-05 23:32:04.000000000 +0000
+@@ -42,8 +42,8 @@
+ ./fenris test/trivial1
+
+ install: all
+- -mkdir -p /usr/doc/fenris/
+- -cp -f doc/* /usr/doc/fenris/
++ -mkdir -p /usr/share/fenris/
++ -cp -f doc/* /usr/share/fenris/
+ cp -f doc/man/* /usr/man/man1
+ cp -f fnprints.dat /etc/
+ cp -f fenris /usr/bin/
+@@ -58,7 +58,7 @@
+ cp -f spliter.pl /usr/bin/
+
+ uninstall:
+- rm -rf /usr/doc/fenris
++ rm -rf /usr/share/fenris
+ rm -f /etc/fnprints.dat /usr/bin/fenris /usr/bin/fprints /usr/bin/getfprints /usr/bin/ragnarok /usr/bin/fenris-bug /usr/bin/ragsplit /usr/bin/spliter.pl /usr/bin/dress /usr/bin/aegir /usr/bin/nc-aegir
+
+ clean: