summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2004-10-06 11:43:49 +0000
committerSimon Stelling <blubb@gentoo.org>2004-10-06 11:43:49 +0000
commit9fbd10f6f53cad3ffa9687c954b96cdda537fe13 (patch)
tree1fbf753d9c330853cfce80934d5d1543d300ab4d /net-misc/sonar
parentStable on hppa. (diff)
downloadhistorical-9fbd10f6f53cad3ffa9687c954b96cdda537fe13.tar.gz
historical-9fbd10f6f53cad3ffa9687c954b96cdda537fe13.tar.bz2
historical-9fbd10f6f53cad3ffa9687c954b96cdda537fe13.zip
initial import
Diffstat (limited to 'net-misc/sonar')
-rw-r--r--net-misc/sonar/ChangeLog10
-rw-r--r--net-misc/sonar/Manifest5
-rw-r--r--net-misc/sonar/files/digest-sonar-0.21
-rw-r--r--net-misc/sonar/files/sonar-0.2.patch26
-rw-r--r--net-misc/sonar/metadata.xml9
-rw-r--r--net-misc/sonar/sonar-0.2.ebuild32
6 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/sonar/ChangeLog b/net-misc/sonar/ChangeLog
new file mode 100644
index 000000000000..2c8a1acfcfa0
--- /dev/null
+++ b/net-misc/sonar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/sonar
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sonar/ChangeLog,v 1.1 2004/10/06 11:43:48 blubb Exp $
+
+*sonar-0.2 (06 Oct 2004)
+
+ 06 Oct 2004; Simon Stelling <blubb@gentoo.org> +metadata.xml,
+ +files/sonar-0.2.patch, +sonar-0.2.ebuild:
+ Initial import. Thanks to Rene Nussbaumer for submitting the ebuild.
+
diff --git a/net-misc/sonar/Manifest b/net-misc/sonar/Manifest
new file mode 100644
index 000000000000..97742a5e99f8
--- /dev/null
+++ b/net-misc/sonar/Manifest
@@ -0,0 +1,5 @@
+MD5 4cd6239f8eac52b729723e693a65b8d8 sonar-0.2.ebuild 657
+MD5 9cd6ecf3e8c6f78e19a5005eec5e7bfd metadata.xml 251
+MD5 4c703f9d02c01463a005ba17aea27dd2 ChangeLog 407
+MD5 c663e337ea63747c1e379fd0036b5b6d files/digest-sonar-0.2 60
+MD5 46c23add0e6ffbb96f6b09c5df9c0a00 files/sonar-0.2.patch 674
diff --git a/net-misc/sonar/files/digest-sonar-0.2 b/net-misc/sonar/files/digest-sonar-0.2
new file mode 100644
index 000000000000..c6807dea0d26
--- /dev/null
+++ b/net-misc/sonar/files/digest-sonar-0.2
@@ -0,0 +1 @@
+MD5 5a29e175c69815b8f8b395054feba6a8 sonar-0.2.tar.gz 37848
diff --git a/net-misc/sonar/files/sonar-0.2.patch b/net-misc/sonar/files/sonar-0.2.patch
new file mode 100644
index 000000000000..1f3ea01aba99
--- /dev/null
+++ b/net-misc/sonar/files/sonar-0.2.patch
@@ -0,0 +1,26 @@
+--- Makefile.orig 2004-10-06 10:24:30.496765408 +0200
++++ Makefile 2004-10-06 10:24:54.579104336 +0200
+@@ -12,10 +12,10 @@
+ CFLAGS += -DCLEARBYEXIT
+
+ # we use arc4random() library call
+-CFLAGS += -DARC4RAND
++#CFLAGS += -DARC4RAND
+
+ # compile under linux
+-#CFLAGS += -DLINUX
++CFLAGS += -DLINUX
+
+
+ LOCALBASE = /usr/local
+--- main.c.orig 2004-10-06 10:23:43.638888888 +0200
++++ main.c 2004-10-06 10:23:53.634369344 +0200
+@@ -109,7 +109,7 @@
+ /* Configuration */
+
+ char config_nick[MAXVALUE] = "";
+-char config_interface[MAXVALUE] = "lo0";
++char config_interface[MAXVALUE] = "lo";
+ char config_infoprompt[MAXVALUE] = "-=- ";
+ char config_cmdprompt[MAXVALUE] = "> ";
+
diff --git a/net-misc/sonar/metadata.xml b/net-misc/sonar/metadata.xml
new file mode 100644
index 000000000000..fe41b45fb245
--- /dev/null
+++ b/net-misc/sonar/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>blubb@gentoo.org</email>
+ <name>Simon Stelling</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/sonar/sonar-0.2.ebuild b/net-misc/sonar/sonar-0.2.ebuild
new file mode 100644
index 000000000000..d92a0e0cc835
--- /dev/null
+++ b/net-misc/sonar/sonar-0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sonar/sonar-0.2.ebuild,v 1.1 2004/10/06 11:43:48 blubb Exp $
+
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="An ICMP Chat"
+SRC_URI="http://platon.intra-tec.de/sonar/${P}.tar.gz"
+HOMEPAGE="http://platon.intra-tec.de/sonar/index.html"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.4
+ >=net-libs/libpcap-0.8.3"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/sonar-0.2.patch
+}
+
+src_compile() {
+ emake || die 'Compilation failed!'
+}
+
+src_install() {
+ dobin sonar
+}