diff options
author | Thilo Bangert <bangert@gentoo.org> | 2002-06-28 11:54:12 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2002-06-28 11:54:12 +0000 |
commit | 51193a79fa88f5eab19efb25824fd86408698657 (patch) | |
tree | ff468f7f0381c9ae5eae540f69813dc4d8ba6429 | |
parent | small fix0rs (diff) | |
download | gentoo-2-51193a79fa88f5eab19efb25824fd86408698657.tar.gz gentoo-2-51193a79fa88f5eab19efb25824fd86408698657.tar.bz2 gentoo-2-51193a79fa88f5eab19efb25824fd86408698657.zip |
moving 13 packages from net-misc to net-analyzer - import
42 files changed, 949 insertions, 0 deletions
diff --git a/net-analyzer/arping/ChangeLog b/net-analyzer/arping/ChangeLog new file mode 100644 index 000000000000..e14e3a0d052e --- /dev/null +++ b/net-analyzer/arping/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for net-analyzer/arping +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +*arping-1.04 (28 Jun 2002) + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT=0 - updated HOMEPAGE and SRC_URI + version bump + + 18 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : added net-libs/libnet + dependency; no rev bump. Closes bug #1211 + +*arping-1.03 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/arping/arping-1.04.ebuild b/net-analyzer/arping/arping-1.04.ebuild new file mode 100644 index 000000000000..792e8fcafec7 --- /dev/null +++ b/net-analyzer/arping/arping-1.04.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Bruce A. Locke <blocke@shivan.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-1.04.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A utility to see if a specific IP address is taken and what MAC address owns it" +SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz" +HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=ARPing" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="net-libs/libpcap net-libs/libnet" + +src_compile() { + mv Makefile Makefile.orig + sed "s/CFLAGS=-g/CFLAGS=${CFLAGS} -g/" Makefile.orig > Makefile || die + make linux || die +} + +src_install () { + dosbin arping + doman arping.8 + dodoc LICENSE README +} diff --git a/net-analyzer/arping/files/digest-arping-1.04 b/net-analyzer/arping/files/digest-arping-1.04 new file mode 100644 index 000000000000..b3c6d8df1aaf --- /dev/null +++ b/net-analyzer/arping/files/digest-arping-1.04 @@ -0,0 +1 @@ +MD5 9f331d7280e42c179703ea7d3e921751 arping-1.04.tar.gz 18964 diff --git a/net-analyzer/fping/ChangeLog b/net-analyzer/fping/ChangeLog new file mode 100644 index 000000000000..1dc85f75fae2 --- /dev/null +++ b/net-analyzer/fping/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for net-anaylzer/fping +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer + +*fping-2.4_beta2 (2 Jun 2002) + + 2 Jun 2002; Martin Schlemmer <azarah@gentoo.org> : + + Version bump; move to /usr/sbin. + +*fping-2.2_beta1 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/fping/files/digest-fping-2.4_beta2 b/net-analyzer/fping/files/digest-fping-2.4_beta2 new file mode 100644 index 000000000000..3f2bc6d02f4f --- /dev/null +++ b/net-analyzer/fping/files/digest-fping-2.4_beta2 @@ -0,0 +1 @@ +MD5 3ad516765514249a40d3c5b6caab812a fping-2.4b2_to-ipv6.tar.gz 63333 diff --git a/net-analyzer/fping/fping-2.4_beta2.ebuild b/net-analyzer/fping/fping-2.4_beta2.ebuild new file mode 100644 index 000000000000..dc6f19544f54 --- /dev/null +++ b/net-analyzer/fping/fping-2.4_beta2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/fping-2.4_beta2.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/fping-2.4b2_to-ipv6 +DESCRIPTION="A utility to ping multiple hosts at once" +SRC_URI="http://www.fping.com/download/fping-2.4b2_to-ipv6.tar.gz" +HOMEPAGE="http://www.fping.com/" +SLOT="0" + +src_compile() { + + ./configure --prefix=/usr \ + --host=${CHOST} || die + + make || die +} + +src_install () { + + dosbin fping + doman fping.8 + dodoc COPYING ChangeLog README +} + diff --git a/net-analyzer/hogwash/ChangeLog b/net-analyzer/hogwash/ChangeLog new file mode 100644 index 000000000000..664db751f2b4 --- /dev/null +++ b/net-analyzer/hogwash/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for net-analyzer/hogwash +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hogwash/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT + +*hogwash-0.1d-r2 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/hogwash/files/Documentation.txt b/net-analyzer/hogwash/files/Documentation.txt new file mode 100644 index 000000000000..0893382c2cc2 --- /dev/null +++ b/net-analyzer/hogwash/files/Documentation.txt @@ -0,0 +1,115 @@ +# Maintainers NOTE: +# This package doesn't come with any accompanying docs or manpages. I +# didn't think this was right so I cheated. Hope the authors don't mind :-) +# +# Everything in this file was copy and pasted directly from the hogwash +# homepage http://hogwash.sourceforge.net/HogWash_files/using.html +# I also recommend that you head over to http://www.snort.org as the rules +# file and syntax is exactly the same as snort. + + + +On a typical network, you'll see 95% of the same old, same old kiddie toys and 5% of interesting stuff. Most of your time, you spend dealing with the 95% and hope you don't miss some of the more interesting stuff. + +Hogwash is meant to help filter out some of that 95% so you can spend more time with the fun stuff. + +Theory of Operation +There are basically three type of signatures you'll encounter when using hogwash: + + * This packet is always good so pass it into my network. + * This packet is always bad so drop it and tell me about it. + * This packet is sometimes bad so tell me about it, but don't drop it. + +Some signatures are universally bad. An example would be a well-known egg. The chances of seeing that particular string of bytes and having it not be part of a buffer overflow is astronomically small. + +The rest of the signatures vary from network to network. On your network, you may never see a false positive for a particular signature, but someone else's network will false positive continuously on the same signature. False positives don't matter much in a traditional IDS setup, but when the packets are dropped, it can stop someone from doing thier job or it can stop a sale. + +You won't know which signatures will false alarm until you try them out on the network. Start by setting all the rules to alert mode. Let them run for a few days and go through the log files. If you're happy with the rules, change them over to drop. I do the same whenever I update my rules set. I start the candidate rule out as an alert and then change it over to a drop. + +Hardware Setup +You will need a box with two network cards to run hogwash. One network card will be plugged into the external network and one into the internal network. Hogwash has been made to run on the same box as an ipchains-style firewall, but I haven't tested it completely myself yet. + +Any pentium-class box should work. With a moderate rules set, We've tested hogwash on a celeron-733 and we can hit near the theoretical limit of a 100mbs network. Most small networks will work with a smaller machine. If Hogwash runs out of CPU time it becomes the bottleneck in the network so run some tests. + +Command line arguments +-e (external interface) +This is the interface plugged into the outside world. + +-i (internal interface) +This is the interface name for the network card plugged into the internal network. If you are scrubbing a single system, this is the interface that is plugged into that system. + +-c (rules file) +This is the name of the rules file that will be used to determine what packets are allowed through. + +-n +This runs Hogwash without a rules file. It is usefult to test for basic connectivity, etc. + +-l (log directory) +This sets the directory Hogwash logs to. If no -l option is given, Hogwash defaults to /var/log/snort. The directory must exist before Hogwash starts. + +A typical command line will look like: hogwash -i eth0 -e eth1 -c /etc/hogwash/stock.rules + +Rules File +The rules file is based on snort's rule file. You can do almost anything with a Hogwash rule file that yout can do witha snort rule file. + +The Basics +There are four basic types of rules you can use: + + * pass + * drop + * alert + * log + +pass +Pass means the packet is always good so ignore anything that matches. Pass rules are used heavily in a default deny setup, but aren't used very much in a default allow setup. A common use of a pass rule is to allow any traffice from developers and anaylsts. + +example: +pass tcp $MYNET any <> any any () + +drop +Drop means drop this packet and never let it into my network. It is important you use drop rules with very low false positive rate, or you could negatively impact your network. If a image on your web site just happens to match the signature of a hostile attack, no one will be able to view the image. Watch your log files carefully after you install new rules so you can catch those kinds of things. + +example: +drop tcp $EXTERNAL_NET any -> $HOME_NET 23 (msg:"BACKDOOR Telnet Freebsd 3x4x"; flags: A+; content: "LoUSUCKS"; reference: arachnids,519;) + +This is the signature of a backdoor used on Freebsd sometimes. The likelyhood of someone typing "LoUSUCKS" at a telnet prompt is very low. This is a good rule to prevent this particular backdoor from being accessed on your network. If you see this one, you probably should go remove the backdoor. :) + +alert +Alert means tell me about this packet, but don't drop it. This is useful for rules that have higher than acceptable false positive rates. Alert rules are useful for testing new rules before they hit production. I generally run all my drop rules as alerts for a week or so to see what I would have dropped. After I'm comforable with the rule, I switch it over to a drop. + +example: +alert tcp $EXTERNAL_NET any -> $HOME_NET 23 (msg:"BACKDOOR Telnet Freebsd 3x4x"; flags: A+; content: "LoUSUCKS"; reference: arachnids,519;) + +log +Log means save this packet, but don't tell me about it. It's useful from informational types of tasks. + +example: +log tcp $EXTERNAL_NET any -> $HOME_NET 21 (content: "site exec"; nocase;) + +This logs all site exec commands going to ftp servers on your network. Site exec was used in the infamous wu-ftp format string overflow and is used by a number of worms. + +Anatomy of a rule +Consider the folowing rule: +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +The first keyword is the action. In this case it tells Hogwash to drop the packet. + +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +The second keywork is the protocol used. Valid choices include tcp, udp, icmp, and others. + +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +The third and fifth keywords are the networks and ports of interest from. In this case only on port 1234 and only from the 10.1.x.x network. Any many and network or port, so to match on any network or port just use "any any". + +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +The fourth argument is the direction of the packet. "<>" means any direction "->" means only in one direction. + +drop tcp 10.1.0.0/16 1234 <> 10.2.0.0/16 1025 (content:"psyBNC";) + +This sixth tells Hogwash what to look for in the packet. + +A more complete set of docs can be found at www.snort.org diff --git a/net-analyzer/hogwash/files/digest-hogwash-0.1d-r2 b/net-analyzer/hogwash/files/digest-hogwash-0.1d-r2 new file mode 100644 index 000000000000..94dfbe99e912 --- /dev/null +++ b/net-analyzer/hogwash/files/digest-hogwash-0.1d-r2 @@ -0,0 +1,2 @@ +MD5 b81c69f54c2b7fa496601870ec2c61bf hogwash-0.1.d.tgz 385344 +MD5 49db713f3f55e0d31bd8bfb63b9ffe47 rules.2 17236 diff --git a/net-analyzer/hogwash/files/hogwash.rc6 b/net-analyzer/hogwash/files/hogwash.rc6 new file mode 100644 index 000000000000..bd57f912e622 --- /dev/null +++ b/net-analyzer/hogwash/files/hogwash.rc6 @@ -0,0 +1,30 @@ +x#!/sbin/runscript + +#you can put this in your rc.conf file if you wish +#HOGWASH_OPTS="-e eth0 -c /etc/hogwash/stock.rules" # for one network card +#HOGWASH_OPTS="-e eth0 -i eth1 -c /etc/hogwash/rules.2" # if you have two nics + +depend() { + need net +} + +checkconfig() { + if [ -z "$HOGWASH_OPTS" ] ; then + eerror "You need to setup your HOGWASH_OPTS first" + eerror "It is needed before you can start hogwash" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting hogwash" + start-stop-daemon --start --quiet --exec /usr/sbin/hogwash -- $HOGWASH_OPTS + eend $? +} + +stop() { + ebegin "Stopping hogwash" + start-stop-daemon --stop --quiet --exec /usr/sbin/hogwash + eend $? +} diff --git a/net-analyzer/hogwash/hogwash-0.1d-r2.ebuild b/net-analyzer/hogwash/hogwash-0.1d-r2.ebuild new file mode 100644 index 000000000000..0c1063e5eaf7 --- /dev/null +++ b/net-analyzer/hogwash/hogwash-0.1d-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ben Lutgens <lamer@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hogwash/hogwash-0.1d-r2.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +DESCRIPTION="An invisible, layer2 network packet scrubber based on snort" +HOMEPAGE="http://hogwash.sourceforge.net" +SLOT="0" + +S=${WORKDIR}/devel +SRC_URI="mirror://sourceforge/hogwash/hogwash-0.1.d.tgz + http://hogwash.sourceforge.net/rules.2" + +DEPEND="virtual/glibc + >=net-libs/libpcap-0.6.1 + >=net-libs/libnet-1.0.2a" + +src_unpack() { + + unpack hogwash-0.1.d.tgz +} + +src_compile() { + + ./setup || die +} + +src_install () { + + dosbin hogwash + dodoc COPYRIGHT README ${FILESDIR}/Documentation.txt + dodir /var/log/snort + dodir /var/log/hogwash + + insinto /etc/hogwash ; doins stock.rules ${DISTDIR}/rules.2 + exeinto /etc/init.d ; newexe ${FILESDIR}/hogwash.rc6 hogwash +} diff --git a/net-analyzer/hping/ChangeLog b/net-analyzer/hping/ChangeLog new file mode 100644 index 000000000000..235ed536c0c7 --- /dev/null +++ b/net-analyzer/hping/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for net-analyzer/hping +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT + +*hping-2.0.0_rc1 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/hping/files/digest-hping-2.0.0_rc1 b/net-analyzer/hping/files/digest-hping-2.0.0_rc1 new file mode 100644 index 000000000000..4041316f832c --- /dev/null +++ b/net-analyzer/hping/files/digest-hping-2.0.0_rc1 @@ -0,0 +1 @@ +MD5 f915af241bfac510d1a51b7113503a17 hping2.0.0-rc1.tar.gz 90496 diff --git a/net-analyzer/hping/hping-2.0.0_rc1.ebuild b/net-analyzer/hping/hping-2.0.0_rc1.ebuild new file mode 100644 index 000000000000..c56e695381e2 --- /dev/null +++ b/net-analyzer/hping/hping-2.0.0_rc1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Bruce A. Locke <blocke@shivan.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc1.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +# NOTE: author couldn't make up mind over tarball names, directory names, +# etc... hense the need to hardcode S and SRC_URI :( +S=${WORKDIR}/hping2 +DESCRIPTION="hping is a command-line oriented TCP/IP packet assembler/analyzer whose interface is inspired by the unix ping command" +SRC_URI="http://www.hping.org/hping2.0.0-rc1.tar.gz" +HOMEPAGE="http://www.hping.org" +SLOT="0" + +DEPEND="net-libs/libpcap" + +src_compile() { + cd ${S} + + ./configure || die + make CCOPT="$CFLAGS" || die + make strip +} + +src_install () { + cd ${S} + + dodir /usr/sbin + dosbin hping2 + dosym /usr/sbin/hping2 /usr/sbin/hping + + doman docs/hping2.8 + dodoc INSTALL KNOWN-BUGS MIRRORS NEWS README TODO AUTHORS BUGS CHANGES COPYING + +} diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog new file mode 100644 index 000000000000..9ab02e330511 --- /dev/null +++ b/net-analyzer/mtr/ChangeLog @@ -0,0 +1,19 @@ +# ChangeLog for net-analyzer/mtr +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer + +*mtr-0.49-r1 (3 May 2002) + + 3 May 2002; Donny Davies <woodchip@gentoo.org> : + + Added LICENSE, SLOT. + +*mtr-0.49 (15 Mar 2002) + + 15 Mar 2002; Bruce A. Locke <blocke@shivan.org> mtr-0.49.ebuild : + + New version of mtr. Removed older versions with security issues. + diff --git a/net-analyzer/mtr/files/digest-mtr-0.49-r1 b/net-analyzer/mtr/files/digest-mtr-0.49-r1 new file mode 100644 index 000000000000..64e1d1f8b579 --- /dev/null +++ b/net-analyzer/mtr/files/digest-mtr-0.49-r1 @@ -0,0 +1 @@ +MD5 22963e1b9ca0da3b3e1ddb1810353d36 mtr-0.49.tar.gz 87205 diff --git a/net-analyzer/mtr/mtr-0.49-r1.ebuild b/net-analyzer/mtr/mtr-0.49-r1.ebuild new file mode 100644 index 000000000000..c901359b3644 --- /dev/null +++ b/net-analyzer/mtr/mtr-0.49-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.49-r1.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Matt's TraceRoute. Excellent network diagnostic tool." +SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz" +HOMEPAGE="http://www.bitwizard.nl/mtr/" + +DEPEND="virtual/glibc >=sys-libs/ncurses-5.2 gtk? ( =x11-libs/gtk+-1.2* )" +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + local myconf + use gtk || myconf="${myconf} --without-gtk" + + ./configure --host=${HOST} --prefix=/usr \ + --mandir=/usr/share/man \ + $myconf || die + + make || die +} + +src_install() { + # this binary is universal. ie: it does both console and gtk. + + make prefix=${D}/usr mandir=${D}/usr/share/man install || die + + dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO +} diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog new file mode 100644 index 000000000000..4c1a558fcf46 --- /dev/null +++ b/net-analyzer/netcat/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for net-analyzer/netcat +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT + +*netcat-110 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/netcat/files/digest-netcat-110 b/net-analyzer/netcat/files/digest-netcat-110 new file mode 100644 index 000000000000..fe2640793b1d --- /dev/null +++ b/net-analyzer/netcat/files/digest-netcat-110 @@ -0,0 +1 @@ +MD5 402632f2fe01c169ff19a0ad6e9d608c nc110.tgz 75267 diff --git a/net-analyzer/netcat/netcat-110.ebuild b/net-analyzer/netcat/netcat-110.ebuild new file mode 100644 index 000000000000..f30869b07ba8 --- /dev/null +++ b/net-analyzer/netcat/netcat-110.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ryan Tolboom ryan@gentoo.org +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +A="nc110.tgz" +S=${WORKDIR}/nc-${PV} +DESCRIPTION="A network piping program" +SRC_URI="http://www.l0pht.com/~weld/netcat/${A}" +HOMEPAGE="http://www.l0pht.com/~weld/netcat" +SLOT="0" + +DEPEND="virtual/glibc" + +src_unpack() { + + mkdir ${S} + cd ${S} + tar zxf ${DISTDIR}/${A} +} + +src_compile() { + + cp Makefile Makefile.orig + cat Makefile.orig | sed -e "s:^CFLAGS =.*$:CFLAGS = ${CFLAGS}:" \ + | sed -e "s:^CC =.*$:CC = gcc \$(CFLAGS):" > Makefile + cp netcat.c netcat.orig + cat netcat.orig | sed -e "s:#define HAVE_BIND:#undef HAVE_BIND:" > netcat.c + try make linux + +} + +src_install () { + + dobin nc + dodoc README + docinto scripts + dodoc scripts/* + +} diff --git a/net-analyzer/nload/ChangeLog b/net-analyzer/nload/ChangeLog new file mode 100644 index 000000000000..2bbed3cdc67b --- /dev/null +++ b/net-analyzer/nload/ChangeLog @@ -0,0 +1,23 @@ +# ChangeLog for net-analyzer/nload +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nload/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT + +*nload-0.4.0 (14 Jun 2002) + + 14 Jun 2002; Kyle Manna <nitro@gentoo.org> nload-0.4.0.ebuild : + + Verion bump, ebuild update. + + +*nload-0.3.0 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/nload/files/digest-nload-0.4.0 b/net-analyzer/nload/files/digest-nload-0.4.0 new file mode 100644 index 000000000000..a81df8c94b5b --- /dev/null +++ b/net-analyzer/nload/files/digest-nload-0.4.0 @@ -0,0 +1 @@ +MD5 a2d3607263f9d63883b90c03a3b7b2b1 nload-0.4.0.tar.gz 69570 diff --git a/net-analyzer/nload/nload-0.4.0.ebuild b/net-analyzer/nload/nload-0.4.0.ebuild new file mode 100644 index 000000000000..8bfef9f5a7dd --- /dev/null +++ b/net-analyzer/nload/nload-0.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nload/nload-0.4.0.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="console application which monitors network traffic and bandwidth usage in real time" +SRC_URI="mirror://sourceforge/nload/${P}.tar.gz" +HOMEPAGE="http://roland-riegel.de/nload/index_en.html" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND="" +#RDEPEND="" + +src_compile() { + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --host=${CHOST} || die "./configure failed" + + emake || die "compile failed" +} + +src_install () { + make DESTDIR=${D} install + dodoc README INSTALL ChangeLog AUTHORS +} + diff --git a/net-analyzer/portsentry/ChangeLog b/net-analyzer/portsentry/ChangeLog new file mode 100644 index 000000000000..8d87e373997b --- /dev/null +++ b/net-analyzer/portsentry/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for net-analyzer/portsentry +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT - added LICENSE + +*portsentry-1.1-r6 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/portsentry/files/digest-portsentry-1.1-r6 b/net-analyzer/portsentry/files/digest-portsentry-1.1-r6 new file mode 100644 index 000000000000..ef450b8e157a --- /dev/null +++ b/net-analyzer/portsentry/files/digest-portsentry-1.1-r6 @@ -0,0 +1 @@ +MD5 782839446b7eca554bb1880ef0882670 portsentry-1.1.tar.gz 45871 diff --git a/net-analyzer/portsentry/files/portsentry.confd b/net-analyzer/portsentry/files/portsentry.confd new file mode 100644 index 000000000000..38f8969166d0 --- /dev/null +++ b/net-analyzer/portsentry/files/portsentry.confd @@ -0,0 +1,3 @@ +# Config file for /etc/init.d/portsentry + +#PORTSENTRY_MODES="udp tcp stcp atcp sudp audp diff --git a/net-analyzer/portsentry/files/portsentry.rc6 b/net-analyzer/portsentry/files/portsentry.rc6 new file mode 100644 index 000000000000..ccf2fccdbd67 --- /dev/null +++ b/net-analyzer/portsentry/files/portsentry.rc6 @@ -0,0 +1,40 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/files/portsentry.rc6,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +# NB: Config is in /etc/conf.d/portsentry + + +depend() { + need net +} + +checkconfig() { + if [ ! -e /etc/portsentry/portsentry.conf ] ; then + eerror "You need an /etc/portsentry/portsentry.conf file" + eerror "There is a sample in /usr/share/doc/portsentry" + return 1 + fi + if [ -z "$PORTSENTRY_MODES" ] ; then + eerror "You need to setup your PORTSENTRY_MODES first" + eerror "Check /etc/conf.d/portsentry that you've enabled some or all of them" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting portsentry" + for mode in $PORTSENTRY_MODES ; do + /usr/bin/portsentry -$mode + result=$(( $result + $? )) + done + eend $result +} + +stop() { + ebegin "Stopping portsentry" + killall portsentry + eend $? +} diff --git a/net-analyzer/portsentry/portsentry-1.1-r6.ebuild b/net-analyzer/portsentry/portsentry-1.1-r6.ebuild new file mode 100644 index 000000000000..f745bd08d6f2 --- /dev/null +++ b/net-analyzer/portsentry/portsentry-1.1-r6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ben Lutgens <lamer@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/portsentry-1.1-r6.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +DESCRIPTION="Automated port scan detector and response tool" +HOMEPAGE="http://www.psionic.com/abacus/portsentry/" + +SRC_URI="http://www.psionic.com/tools/${P}.tar.gz" +S=${WORKDIR}/${P} +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc" + +src_unpack() { + + unpack ${A} ; cd ${S} + + # Setting the portsentry.conf file location + sed -e 's:/usr/local/psionic/portsentry/portsentry.conf:/etc/portsentry/portsentry.conf:' \ + portsentry_config.h | cat > portsentry_config.h + + # presetting the other file locations in portsentry.conf + sed -e 's:^IGNORE_FILE.*:IGNORE_FILE="/etc/portsentry/portsentry.ignore":g' \ + -e 's:^HISTORY_FILE.*:HISTORY_FILE="/etc/portsentry/portsentry.history":g' \ + -e 's:^BLOCKED_FILE.*:BLOCKED_FILE="/etc/portsentry/portsentry.blocked":g' \ + portsentry.conf | cat > portsentry.conf + + sed -e "s:^set SENTRYDIR.*:set SENTRYDIR=/etc/portsentry:g" \ + ignore.csh | cat > ignore.csh +} + +src_compile() { + + make CFLAGS="${CFLAGS}" linux || die +} + +src_install () { + + dobin portsentry ignore.csh + dodoc README* CHANGES LICENSE CREDITS + newdoc portsentry.ignore portsentry.ignore.sample + newdoc portsentry.conf portsentry.conf.sample + + insinto /etc/portsentry + newins portsentry.ignore portsentry.ignore.sample + newins portsentry.conf portsentry.conf.sample + + exeinto /etc/init.d ; newexe ${FILESDIR}/portsentry.rc6 portsentry + insinto /etc/conf.d ; newins ${FILESDIR}/portsentry.confd portsentry +} diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog new file mode 100644 index 000000000000..24ae75d699e8 --- /dev/null +++ b/net-analyzer/snort/ChangeLog @@ -0,0 +1,34 @@ +# ChangeLog for net-analyzer/snort +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT - added LICENSE + +*snort-1.8.5 (6 Apr 2002) + + 6 Apr 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, + snort-1.8.5.ebuild, files/digest-snort-1.8.5: + + Added dependency for PostgreSQL. Moved netlib dep from RDEPEND to + DEPEND (it is statically linked). Version bump to latest. + +*snort-1.8.3-r1 (8 Feb 2002) + + 8 Feb 2002; Donny Davies <woodchip@gentoo.org> Changelog, + snort-1.8.3-r1.ebuild, files/digest-snort-1.8.3-r1, + files/snort.confd, files/snort.rc6 files/snort.conf : + + Fix for nonexistant /etc/conf.d/snort. Make user/group addition + a little smarter. + +*snort-1.8.3 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. + diff --git a/net-analyzer/snort/files/digest-snort-1.8.6 b/net-analyzer/snort/files/digest-snort-1.8.6 new file mode 100644 index 000000000000..af191dca1aff --- /dev/null +++ b/net-analyzer/snort/files/digest-snort-1.8.6 @@ -0,0 +1 @@ +MD5 6bba7e1cbc837a5c7404d7c0b496780b snort-1.8.6.tar.gz 1770604 diff --git a/net-analyzer/snort/files/snort.confd b/net-analyzer/snort/files/snort.confd new file mode 100644 index 000000000000..0d213b3eb842 --- /dev/null +++ b/net-analyzer/snort/files/snort.confd @@ -0,0 +1,27 @@ +# Config file for /etc/init.d/snort + +# Make sure this matches your IFACE +PIDFILE=/var/run/snort_eth0.pid + +# fast - fast alert mode, write the alert in a simple format with a +# timestamp, alert message, source and destination IPs/ports +# +# full - this is also the default alert mode, so if you specify nothing +# this will automatically be used +# +# unsock - send alerts to a UNIX socket that another program can listen on +# +# none - turn off alerting +MODE="full" + +# Set this to the appropriate network you box lives on +NETWORK="192.168.1.0/24" + +# You probably don't want to change this, but in case you do +LOGDIR="/var/log/snort" + +# Probably not this either +CONF=/etc/snort/snort.conf + +# This pulls in the options above +SNORT_OPTS="-D -s -u nobody -dev -l $LOGDIR -h $NETWORK -c $CONF" diff --git a/net-analyzer/snort/files/snort.rc6 b/net-analyzer/snort/files/snort.rc6 new file mode 100644 index 000000000000..4cd0f7c580eb --- /dev/null +++ b/net-analyzer/snort/files/snort.rc6 @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/files/snort.rc6,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting snort" + start-stop-daemon --start --quiet --exec /usr/bin/snort \ + -- ${SNORT_OPTS} >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping snort" + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + #kill -9 `cat $PIDFILE` 2>&1 + eend $? +} diff --git a/net-analyzer/snort/snort-1.8.6.ebuild b/net-analyzer/snort/snort-1.8.6.ebuild new file mode 100644 index 000000000000..0a9431a5f151 --- /dev/null +++ b/net-analyzer/snort/snort-1.8.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-1.8.6.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" +SRC_URI="http://www.snort.org/releases/${P}.tar.gz" +HOMEPAGE="http://www.snort.org" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc + >=net-libs/libpcap-0.6.2-r1 + >=net-libs/libnet-1.0.2a + postgres? ( >=dev-db/postgresql-7.2 ) + mysql? ( >=dev-db/mysql-3.23.26 ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +RDEPEND="virtual/glibc + sys-devel/perl + >=net-libs/libpcap-0.6.2-r1 + postgres? ( >=dev-db/postgresql-7.2 ) + mysql? ( >=dev-db/mysql-3.23.26 ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +src_compile() { + + local myconf + + use postgres && myconf="${myconf} --with-postgresql" \ + || myconf="${myconf} --without-postgresql" + use mysql && myconf="${myconf} --with-mysql" \ + || myconf="${myconf} --without-mysql" + use ssl && myconf="${myconf} --with-openssl" \ + || myconf="${myconf} --without-openssl" + + ./configure \ + --prefix=/usr \ + --without-odbc \ + --without-oracle \ + --enable-pthreads \ + --enable-flexresp \ + --enable-smbalerts \ + --mandir=/usr/share/man \ + --host=${CHOST} ${myconf} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install () { + + make DESTDIR=${D} install || die + + dodir /var/log/snort + + insinto /usr/lib/snort/bin + doins contrib/{create_mysql,snortlog,*.pl} + + dodoc AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL LICENSE + dodoc NEWS README* RULES.SAMPLE SnortUsersManual.pdf USAGE + docinto contrib ; dodoc contrib/* + + insinto /etc/snort + doins classification.config *.rules + newins snort.conf snort.conf.distrib + + exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort + insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort +} + +pkg_postinst() { + + if ! grep -q ^snort: /etc/group ; then + groupadd snort || die "problem adding group snort" + fi + if ! grep -q ^snort: /etc/passwd ; then + useradd -g snort -s /dev/null -d /var/log/snort -c "snort" snort + assert "problem adding user snort" + fi + usermod -c "snort" snort || die "usermod problem" + usermod -d "/var/log/snort" snort || die "usermod problem" + usermod -g "snort" snort || die "usermod problem" + usermod -s "/dev/null" snort || die "usermod problem" + echo "ignore any message about CREATE_HOME above..." + + chown root.snort /var/log/snort + chmod 0770 /var/log/snort +} diff --git a/net-analyzer/tcptraceroute/ChangeLog b/net-analyzer/tcptraceroute/ChangeLog new file mode 100644 index 000000000000..7f01ba93dfb9 --- /dev/null +++ b/net-analyzer/tcptraceroute/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for net-analyzer/tcptraceroute +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT - added LICENSE + +*tcptraceroute-1.2 (27 Mar 2002) + + 27 Mar 2002; Seemant Kulleen <seemant@gentoo.org> tcptraceroute-1.2.ebuild : + + Ungzipped HTML documentation. + +*tcptraceroute-1.2 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.2 b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.2 new file mode 100644 index 000000000000..4539309cf573 --- /dev/null +++ b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.2 @@ -0,0 +1 @@ +MD5 e31e3f5bfd817d32ed6d954382ca768d tcptraceroute-1.2.tar.gz 25096 diff --git a/net-analyzer/tcptraceroute/tcptraceroute-1.2.ebuild b/net-analyzer/tcptraceroute/tcptraceroute-1.2.ebuild new file mode 100644 index 000000000000..989f8494d5b7 --- /dev/null +++ b/net-analyzer/tcptraceroute/tcptraceroute-1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Bruce A. Locke <blocke@shivan.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/tcptraceroute-1.2.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="tcptraceroute is a traceroute implementation using TCP packets" +SRC_URI="http://michael.toren.net/code/tcptraceroute/${P}.tar.gz" +HOMEPAGE="http://michael.toren.net/code/tcptraceroute/" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="sys-libs/glibc net-libs/libpcap net-libs/libnet" + +src_compile() { + cd ${S} + make CFLAGS="$CFLAGS" || die +} + +src_install () { + cd ${S} + + dodir /usr/sbin + dosbin tcptraceroute + + doman tcptraceroute.8 + dodoc examples.txt COPYING README changelog + dohtml -r ./ +} diff --git a/net-analyzer/traceroute/ChangeLog b/net-analyzer/traceroute/ChangeLog new file mode 100644 index 000000000000..90b5a4aa87de --- /dev/null +++ b/net-analyzer/traceroute/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for net-analyzer/traceroute +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT - added LICENSE + +*traceroute-1.4_p12 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-analyzer/traceroute/files/digest-traceroute-1.4_p12 b/net-analyzer/traceroute/files/digest-traceroute-1.4_p12 new file mode 100644 index 000000000000..d4bcb6358e93 --- /dev/null +++ b/net-analyzer/traceroute/files/digest-traceroute-1.4_p12 @@ -0,0 +1 @@ +MD5 964d599ef696efccdeebe7721cd4828d traceroute-1.4a12.tar.gz 74917 diff --git a/net-analyzer/traceroute/traceroute-1.4_p12.ebuild b/net-analyzer/traceroute/traceroute-1.4_p12.ebuild new file mode 100644 index 000000000000..1d6707974766 --- /dev/null +++ b/net-analyzer/traceroute/traceroute-1.4_p12.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Jerry Alexandratos <jerry@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-1.4_p12.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +MY_P=${PN}-1.4a12 +S=${WORKDIR}/${MY_P} +DESCRIPTION="Utility to trace the route of ip packets" +SRC_URI="ftp://ee.lbl.gov/${MY_P}.tar.gz" +HOMEPAGE="http://ee.lbl.gov/" +SLOT="0" +LICENSE="BSD" + +DEPEND=">=sys-libs/glibc-2.1.3" + +src_install () { + cd ${S} + dodir /usr/sbin + make prefix=${D}/usr install || die + + doman traceroute.8 + dodoc CHANGES INSTALL +} diff --git a/net-analyzer/xtraceroute/ChangeLog b/net-analyzer/xtraceroute/ChangeLog new file mode 100644 index 000000000000..90ea51ee55a7 --- /dev/null +++ b/net-analyzer/xtraceroute/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-analyzer/xtraceroute +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/xtraceroute/ChangeLog,v 1.1 2002/06/28 11:54:12 bangert Exp $ + + 28 Jun 2002; Thilo Bangert <bangert@gentoo.org> : + moved to net-analyzer - added SLOT + +*xtraceroute-0.9.0, (10 May 2002) + + 11 May 2002; G Shapovalov <george@gentoo.org> ChangeLog : + + initial release diff --git a/net-analyzer/xtraceroute/files/digest-xtraceroute-0.9.0 b/net-analyzer/xtraceroute/files/digest-xtraceroute-0.9.0 new file mode 100644 index 000000000000..f18cc7d21995 --- /dev/null +++ b/net-analyzer/xtraceroute/files/digest-xtraceroute-0.9.0 @@ -0,0 +1,2 @@ +MD5 f201a563948e3debe214dc17f762dab7 xtraceroute-0.9.0.tar.gz 773265 +MD5 0e2d6ab6a780b49acbd8f706840380d9 ndg_files.tar.gz 90437 diff --git a/net-analyzer/xtraceroute/xtraceroute-0.9.0.ebuild b/net-analyzer/xtraceroute/xtraceroute-0.9.0.ebuild new file mode 100644 index 000000000000..c6eb62237817 --- /dev/null +++ b/net-analyzer/xtraceroute/xtraceroute-0.9.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: George Shapovalov <george@gentoo.org> +# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp + +S="${WORKDIR}/${P}" +DESCRIPTION="neat graphical traceroute displaying route on the globe" +SRC_URI="http://www.dtek.chalmers.se/~d3august/xt/dl/${P}.tar.gz + http://www.dtek.chalmers.se/~d3august/xt/dl/ndg_files.tar.gz" +HOMEPAGE="http://www.dtek.chalmers.se/~d3august/xt/" +SLOT="0" + +DEPEND="x11-base/xfree + =x11-libs/gtk+-1.2* + net-misc/traceroute + <x11-libs/gtkglarea-1.99.0 + media-libs/gdk-pixbuf + net-misc/host" + +RDEPEND="${DEPEND}" + + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --with-host=/usr/bin/hostx \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die + #make || die +} + +src_install () { + #make DESTDIR=${D} install || die + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + # Install documentation. + dodoc AUTHORS COPYING INSTALL NEWS README TODO + + #Install NDG loc database + cd ${D}/usr/share/xtraceroute/ + unpack "ndg_files.tar.gz" +} |