summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-01-22 08:30:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-01-22 08:30:46 +0000
commitee5fff52cb7298b35d08d87365ac52e09fbb4cf7 (patch)
tree2cddc58bb52e1543e2e03ffc9334e904a346b73b /net-analyzer/ns
parentblock some of ns (diff)
downloadgentoo-2-ee5fff52cb7298b35d08d87365ac52e09fbb4cf7.tar.gz
gentoo-2-ee5fff52cb7298b35d08d87365ac52e09fbb4cf7.tar.bz2
gentoo-2-ee5fff52cb7298b35d08d87365ac52e09fbb4cf7.zip
add in latest release, which now works
Diffstat (limited to 'net-analyzer/ns')
-rw-r--r--net-analyzer/ns/ChangeLog7
-rw-r--r--net-analyzer/ns/Manifest2
-rw-r--r--net-analyzer/ns/files/digest-ns-2.271
-rw-r--r--net-analyzer/ns/ns-2.27.ebuild81
4 files changed, 90 insertions, 1 deletions
diff --git a/net-analyzer/ns/ChangeLog b/net-analyzer/ns/ChangeLog
index 8f8302d8d4ab..08fcc0410d42 100644
--- a/net-analyzer/ns/ChangeLog
+++ b/net-analyzer/ns/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ns
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ns/ChangeLog,v 1.3 2004/01/20 23:14:40 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ns/ChangeLog,v 1.4 2004/01/22 08:30:46 robbat2 Exp $
+
+*ns-2.27 (22 Jan 2004)
+
+ 22 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> ns-2.27.ebuild:
+ add in latest release, which now works
*ns-2.26-r1 (20 Jan 2004)
diff --git a/net-analyzer/ns/Manifest b/net-analyzer/ns/Manifest
index 56eaae58dde5..442d799e974c 100644
--- a/net-analyzer/ns/Manifest
+++ b/net-analyzer/ns/Manifest
@@ -1,5 +1,7 @@
+MD5 21986678a52e60989c8c03235f67f6fd ns-2.27.ebuild 2078
MD5 8274586336fd5e66c5a9b1a4b786c8b8 ns-2.26-r1.ebuild 2070
MD5 34efa95fa7271e9b0215b9b152a0fd24 ns-2.26.ebuild 1981
MD5 ca69a1db0e8e17b24bace8ba95e7385c ChangeLog 589
MD5 e50216b9efeff43a6e4ccadbc249ab44 files/digest-ns-2.26-r1 65
MD5 e50216b9efeff43a6e4ccadbc249ab44 files/digest-ns-2.26 65
+MD5 cbd46edc227114c8538b564b0bdf1ae6 files/digest-ns-2.27 65
diff --git a/net-analyzer/ns/files/digest-ns-2.27 b/net-analyzer/ns/files/digest-ns-2.27
new file mode 100644
index 000000000000..7891800a531f
--- /dev/null
+++ b/net-analyzer/ns/files/digest-ns-2.27
@@ -0,0 +1 @@
+MD5 db3a16e450f66a5e4dd881349ccc5dd7 ns-src-2.27.tar.gz 44642525
diff --git a/net-analyzer/ns/ns-2.27.ebuild b/net-analyzer/ns/ns-2.27.ebuild
new file mode 100644
index 000000000000..2b2c0c354c45
--- /dev/null
+++ b/net-analyzer/ns/ns-2.27.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/net-analyzer/ns/ns-2.27.ebuild,v 1.1 2004/01/22 08:30:46 robbat2 Exp $
+
+DESCRIPTION="Network Simulator"
+HOMEPAGE="http://www.isi.edu/nsnam/ns/"
+SRC_URI="http://www.isi.edu/nsnam/dist/${PN}-src-${PV}.tar.gz"
+LICENSE="BSD as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc debug"
+DEPEND_COMMON=">=dev-lang/tcl-8.3.2
+ >=dev-lang/tk-8.3.2
+ >=dev-tcltk/otcl-1.0.8a
+ >=dev-tcltk/tclcl-1.0.13b
+ net-libs/libpcap
+ debug? ( =dev-lang/perl-5* >=media-gfx/xgraph-12.1 >=dev-libs/dmalloc-4.8.2 >=dev-tcltk/tcl-debug-2.0 )"
+DEPEND="doc? ( app-text/tetex app-text/ghostscript dev-tex/latex2html ) ${DEPEND_COMMON}"
+RDEPEND="${DEPEND_COMMON}"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ local myconf
+ use debug && myconf="${myconf} --with-tcldebug=/usr/lib/tcldbg2.0" || myconf="${myconf} --with-tcldebug=no"
+ myconf="${myconf} `use_with debug dmalloc`"
+ local mytclver=""
+ for i in 8.4 8.3; do
+ einfo "Testing TCL ${i}"
+ has_version "=dev-lang/tcl-${i}*" && mytclver=${i}
+ [ "${#mytclver}" -gt 2 ] && break
+ done
+ einfo "Using TCL ${mytclver}"
+ myconf="${myconf} --with-tcl-ver=${mytclver} --with-tk-ver=${mytclver}"
+
+ econf \
+ ${myconf} \
+ --mandir=/usr/share/man \
+ --enable-stl \
+ --enable-release || die "./configure failed"
+ emake CCOPT="${CFLAGS}" || die
+
+ cd ${S}/indep-utils/dosdbell
+ emake DFLAGS="${CFLAGS}" || die
+ cd ${S}/indep-utils/dosreduce
+ gcc ${CFLAGS} dosreduce.c -o dosreduce
+ cd ${S}/indep-utils/propagation
+ g++ ${CXXFLAGS} threshold.cc -o threshold
+}
+
+src_install() {
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+ make DESTDIR=${D} MANDEST=/usr/share/man install || die
+ dobin nse
+
+ dodoc BASE-VERSION COPYRIGHTS FILES HOWTO-CONTRIBUTE README VERSION
+ dohtml CHANGES.html TODO.html
+
+ cp -ra ${S}/ns-tutorial ${D}/usr/share/doc/${PF}
+ cp -ra ${S}/tcl ${D}/usr/share/ns
+
+ cd ${S}/indep-utils/dosdbell
+ dobin dosdbell dosdbellasim
+ newdoc README README.dosdbell
+ cd ${S}/indep-utils/dosreduce
+ dobin dosreduce
+ newdoc README README.dosreduce
+ cd ${S}/indep-utils/cmu-scen-gen
+ dobin cbrgen.tcl
+ newdoc README README.cbrgen
+ cd ${S}/indep-utils/propagation
+ dobin threshold
+
+ if use doc; then
+ einfo "Generating extra docs"
+ cd ${S}/doc
+ docinto doc
+ emake all
+ dodoc everything.dvi everything.ps.gz everything.html everything.pdf
+ fi
+}