# ChangeLog for net-analyzer/cnet
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/ChangeLog,v 1.7 2004/11/21 11:41:12 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/ChangeLog,v 1.8 2004/11/21 11:50:22 eldad Exp $
+
+*cnet-2.0.9 (21 Nov 2004)
+
+ 21 Nov 2004; Eldad Zack <eldad@gentoo.org> +files/cnet-2.0.9-gentoo.patch,
+ +cnet-2.0.9.ebuild:
+ Version bump. Thanks to Surakshan Mendis <bugtracker@surasoft.com>. Closes
+ #66275.
21 Nov 2004; Eldad Zack <eldad@gentoo.org> cnet-2.0.5.ebuild:
This package has a hard dependency on libelf and will break against elfutils.
Hash: SHA1
MD5 d5e52cc47230e288ad40e44b0ffddbf0 cnet-2.0.5.ebuild 1159
-MD5 cd65c131a6f0ffe5cd21a7dead925755 ChangeLog 1182
+MD5 7720524b1c6bb49586242bfbb7cc7e8a cnet-2.0.9.ebuild 1154
+MD5 d1bb16b201d433be744f712a0db0b6e9 ChangeLog 1396
MD5 b4e1d959ab12c9bb69e0db9f1d66205f metadata.xml 218
MD5 5fa730e3f767e911187654f6f809257f files/digest-cnet-2.0.5 60
+MD5 1f8197488ef6fbb97976d664d345d1d0 files/digest-cnet-2.0.9 60
+MD5 86dbc35b31d6c43d3ecdfbef24ba7da7 files/cnet-2.0.9-gentoo.patch 1531
MD5 652fb332fa98e02524b07ee1561c6182 files/cnet-2.0.5-gentoo.patch 1363
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBoH2ZT+MN7JbqCpMRAus+AJsF+4Z8j69Ev6JHhWULW23bpvXurQCePGc2
-nR74jaZ5QsgJsg/o0fMJtRY=
-=m29z
+iD8DBQFBoH+9T+MN7JbqCpMRAkMCAKCLycYooYpI0v5urKlfMghtx/NpYwCeL5r8
+iRJAMNtsw72tlUUYkVGzdoM=
+=n9tG
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/cnet-2.0.9.ebuild,v 1.1 2004/11/21 11:50:22 eldad Exp $
+
+inherit eutils
+
+DESCRIPTION="Network simulation tool"
+SRC_URI="http://www.csse.uwa.edu.au/cnet/${P}.tgz"
+HOMEPAGE="http://www.csse.uwa.edu.au/cnet"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+# cnet will NOT work against elfutils (but it will compile!) Bug #67375. (21 Nov 2004 eldad)
+DEPEND=">=dev-lang/tk-8.3.4
+ dev-libs/libelf"
+
+#RDEPEND=""
+
+# unpacking the source
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gentoo.patch
+ sed -i.orig -e "s/^CFLAGS.*/CFLAGS=${CFLAGS}/" ${S}/src/Makefile.linux
+}
+
+src_install() {
+ # these directories aren't created during the make install
+ # process, so we'll need to make them beforehand, or else
+ # we'll have nowhere to put the files
+ mkdir -p ${D}/usr/{bin,lib,share}
+ mkdir -p ${D}/usr/share/man/man1
+ # install with make now
+ emake PREFIX=${D}/usr install || die
+
+ #install examples
+ DOCDESTTREE=EXAMPLES
+ dodir /usr/share/doc/${PF}/${DOCDESTTREE}
+ dodoc EXAMPLES/*
+}
--- /dev/null
+--- Makefile 2003-03-31 11:13:05.000000000 +0800
++++ Makefile 2004-10-04 10:41:10.292769416 +0800
+@@ -1,5 +1,5 @@
+ NAME = cnet
+-VERSION = 2.0.4
++VERSION = 2.0.9
+ SHELL = /bin/sh
+ #
+ # Change the following 5 constants to suit your local site.
+@@ -7,14 +7,14 @@
+ # It is presumed that BINDIR and MANDIR exist, so you may need
+ # to create them, and set their permissions, if necessary.
+ #
+-PREFIX = /usr/local
++PREFIX = /usr/
+ #
+ BINDIR = $(PREFIX)/bin
+-CNETDIR = $(PREFIX)/cnetlib
+-MANDIR = $(PREFIX)/man/man1
++CNETDIR = $(PREFIX)/lib/cnetlib
++MANDIR = $(PREFIX)/share/man/man1
+ MANEXT = 1
+ MANFILE = $(MANDIR)/$(NAME).$(MANEXT)
+-WEBDIR = /home/httpd/html/cnet
++WEBDIR = $(CNETDIR)/html
+
+ # ---------------------------------------------------------------------
+
+--- src/Makefile.linux 2004-05-11 03:27:19.000000000 +0800
++++ src/Makefile.linux 2004-10-04 10:24:10.000000000 +0800
+@@ -29,7 +29,7 @@
+ ANSICC = gcc -ansi
+ INCLUDES = $(LIBELFINC)
+
+-CFLAGS = -O -Wall -fPIC $(INCLUDES) $(XINCLUDES)
++CFLAGS = -march=pentium3 -O3 -pipe -fPIC $(INCLUDES) $(XINCLUDES)
+
+ LD = gcc -rdynamic
+ LIBDIRS = -L/usr/X11R6/lib $(XLIBDIRS) $(LIBELFDIR)
+--- src/config.h 2004-05-13 02:13:43.000000000 +0800
++++ src/config.h 2004-10-04 10:39:39.000000000 +0800
+@@ -169,7 +169,7 @@
+ #if defined(USE_FREEBSD)
+ #define CNETPATH "/usr/local/share/cnet:/usr/local/include:/usr/local/cnetlib"
+ #else
+-#define CNETPATH "/usr/local/cnetlib:/usr/lib/cnet:/cslinux/cnetlib"
++#define CNETPATH "/usr/lib/cnetlib:/usr/lib/cnet:"
+ #endif
+
+
--- /dev/null
+MD5 593b63c809773a284bc3d655dc609298 cnet-2.0.9.tgz 1165028