summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-03-31 21:52:56 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-03-31 21:52:56 +0000
commitb302dbd6ac09e591f6450b5c38696fc2868ee1a2 (patch)
treed85044eb230f73bed37383dba304f6ca7f335dfb /net-analyzer/cheops-ng
parentKeyworded ~sparc (diff)
downloadgentoo-2-b302dbd6ac09e591f6450b5c38696fc2868ee1a2.tar.gz
gentoo-2-b302dbd6ac09e591f6450b5c38696fc2868ee1a2.tar.bz2
gentoo-2-b302dbd6ac09e591f6450b5c38696fc2868ee1a2.zip
bug 9666
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/cheops-ng')
-rw-r--r--net-analyzer/cheops-ng/ChangeLog19
-rw-r--r--net-analyzer/cheops-ng/Manifest3
-rw-r--r--net-analyzer/cheops-ng/cheops-ng-0.1.13.ebuild54
-rw-r--r--net-analyzer/cheops-ng/files/adns-gcc34.patch11
-rw-r--r--net-analyzer/cheops-ng/files/digest-cheops-ng-0.1.131
5 files changed, 88 insertions, 0 deletions
diff --git a/net-analyzer/cheops-ng/ChangeLog b/net-analyzer/cheops-ng/ChangeLog
new file mode 100644
index 000000000000..0b45acfe1950
--- /dev/null
+++ b/net-analyzer/cheops-ng/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for net-analyzer/cheops-ng
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cheops-ng/ChangeLog,v 1.1 2005/03/31 21:52:56 vanquirius Exp $
+
+*cheops-ng-0.1.13 (31 Mar 2005)
+
+ 31 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> +files/adns-gcc34.patch:
+ Oh, there is also a patch borrowed from adns :-).
+
+*cheops-ng-0.1.13 (31 Mar 2005)
+
+ 31 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> +cheops-ng-0.1.13.ebuild:
+ Initial commit. This fixes bug 9666. Thanks to Daniel Seyffer
+ <gentoo-bugs@seyffer.de>, Dean Bailey <alron@bloodmagic.com>, Hans-Henry
+ Jakobsen <hanshj@fagmed.uit.no>, Andres Mujica <linux@seaq.com.co> and
+ everyone who participated in the bug. Special thanks to Michael Zanetta
+ <grimmlin@pentoo.ch> whose aid was essential to make it compile with recent
+ versions of gcc.
+
diff --git a/net-analyzer/cheops-ng/Manifest b/net-analyzer/cheops-ng/Manifest
new file mode 100644
index 000000000000..047996ca083b
--- /dev/null
+++ b/net-analyzer/cheops-ng/Manifest
@@ -0,0 +1,3 @@
+MD5 330edc80d1aa739eaea27ebcf35a1b4d cheops-ng-0.1.13.ebuild 1292
+MD5 76b3ed702ddc4890c7035d83a27aa42b files/adns-gcc34.patch 433
+MD5 777b8b1d7bdb5928dd24e00509312c01 files/digest-cheops-ng-0.1.13 65
diff --git a/net-analyzer/cheops-ng/cheops-ng-0.1.13.ebuild b/net-analyzer/cheops-ng/cheops-ng-0.1.13.ebuild
new file mode 100644
index 000000000000..ee754ecbf3d9
--- /dev/null
+++ b/net-analyzer/cheops-ng/cheops-ng-0.1.13.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cheops-ng/cheops-ng-0.1.13.ebuild,v 1.1 2005/03/31 21:52:56 vanquirius Exp $
+
+inherit eutils
+
+DESCRIPTION="Cheops-ng is a Network management tool for mapping and monitoring your network"
+HOMEPAGE="http://cheops-ng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cheops-ng/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=net-analyzer/nmap-3.27-r1
+ =x11-libs/gtk+-1.2*
+ >=dev-libs/libxml-1.8.17-r2
+ >=gnome-base/gnome-libs-1.4.2
+ >=media-libs/imlib-1.9.14-r1
+ >=dev-libs/glib-1.2.10-r5
+ media-libs/libpng"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/adns-1.0
+ epatch ${FILESDIR}/adns-gcc34.patch
+}
+
+src_compile() {
+ # First we need to configure adns
+ cd adns-1.0
+ econf || die
+ cd ..
+ # Now we configure cheops-ng
+ econf || die
+
+ # Fix for the gpl.c file that adds \ at the end of COPYING puts the result
+ # in toto and change the reference to the file in Makefile.
+ sed \
+ -e 's/$/ \\/g' \
+ -e 's/"/""/g' \
+ COPYING > toto || die "sed failed"
+ sed -i \
+ -e '146s/\\""/\\"\\\\"/g' \
+ -e 's/COPYING/toto/g' \
+ Makefile || die "sed failed"
+ # gcc-3.4 fixes
+ sed -i -e 's/printf(__FUNCTION__/printf(__FUNCTION__\,/g' ./*.c
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS COPYING README NEWS ReleaseNotes doc/*.txt
+}
diff --git a/net-analyzer/cheops-ng/files/adns-gcc34.patch b/net-analyzer/cheops-ng/files/adns-gcc34.patch
new file mode 100644
index 000000000000..ffa4e9e647b7
--- /dev/null
+++ b/net-analyzer/cheops-ng/files/adns-gcc34.patch
@@ -0,0 +1,11 @@
+--- src/parse.c.orig 2000-09-17 02:24:24.000000000 +0200
++++ src/parse.c 2004-10-02 20:22:33.081002552 +0200
+@@ -111,7 +111,7 @@ adns_status adns__findlabel_next(findlab
+ }
+
+ adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
+- vbuf *vb, adns_queryflags flags,
++ vbuf *vb, parsedomain_flags flags,
+ const byte *dgram, int dglen, int *cbyte_io, int max) {
+ findlabel_state fls;
+
diff --git a/net-analyzer/cheops-ng/files/digest-cheops-ng-0.1.13 b/net-analyzer/cheops-ng/files/digest-cheops-ng-0.1.13
new file mode 100644
index 000000000000..e89972fd22a0
--- /dev/null
+++ b/net-analyzer/cheops-ng/files/digest-cheops-ng-0.1.13
@@ -0,0 +1 @@
+MD5 31686c9c3abeddd90f113df4b7c9a400 cheops-ng-0.1.13.tgz 694326