diff options
author | Simon Stelling <blubb@gentoo.org> | 2004-10-06 11:43:49 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2004-10-06 11:43:49 +0000 |
commit | 294c8fff63ecc30d4365f9001376a756f5487304 (patch) | |
tree | 35662551f3d05c9110595cb3d81a9862965744d2 /net-misc/sonar | |
parent | Version bumped. (diff) | |
download | gentoo-2-294c8fff63ecc30d4365f9001376a756f5487304.tar.gz gentoo-2-294c8fff63ecc30d4365f9001376a756f5487304.tar.bz2 gentoo-2-294c8fff63ecc30d4365f9001376a756f5487304.zip |
initial import
Diffstat (limited to 'net-misc/sonar')
-rw-r--r-- | net-misc/sonar/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/sonar/Manifest | 4 | ||||
-rw-r--r-- | net-misc/sonar/files/digest-sonar-0.2 | 1 | ||||
-rw-r--r-- | net-misc/sonar/files/sonar-0.2.patch | 26 | ||||
-rw-r--r-- | net-misc/sonar/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/sonar/sonar-0.2.ebuild | 32 |
6 files changed, 82 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..a3b75576ff79 --- /dev/null +++ b/net-misc/sonar/Manifest @@ -0,0 +1,4 @@ +MD5 9af686777bf2f3cdcbb2bdb516f96876 sonar-0.2.ebuild 581 +MD5 767bacde927c83f56f1678c11717eb5e files/Makefile-0.2.diff 323 +MD5 d380b9facf23d2b258bc537a3f3f029c files/main-0.2.c.diff 351 +MD5 c663e337ea63747c1e379fd0036b5b6d files/digest-sonar-0.2 60 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 +} |