summaryrefslogtreecommitdiff
path: root/net/ssmping
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2007-10-11 19:35:26 +0000
committeris <is@pkgsrc.org>2007-10-11 19:35:26 +0000
commit22de243d20cdddba5402d50a194afbb7d8a7cb25 (patch)
treed2a8f63870528c600bfeba92f9c39e93275afc63 /net/ssmping
parentb9cbb30d25a19ec453af0d6247eb1d632be4c52a (diff)
downloadpkgsrc-22de243d20cdddba5402d50a194afbb7d8a7cb25.tar.gz
Diagnostic tools for Internet multicast: source specific multicast
and any-source multicast pinger, mcfirst (wait for first packet from a multicast group), and the ssmping answerer ssmpingd.
Diffstat (limited to 'net/ssmping')
-rw-r--r--net/ssmping/DESCR6
-rw-r--r--net/ssmping/Makefile12
-rw-r--r--net/ssmping/PLIST8
-rw-r--r--net/ssmping/distinfo7
-rw-r--r--net/ssmping/patches/patch-aa45
-rw-r--r--net/ssmping/patches/patch-ab13
6 files changed, 91 insertions, 0 deletions
diff --git a/net/ssmping/DESCR b/net/ssmping/DESCR
new file mode 100644
index 00000000000..ab101a933f5
--- /dev/null
+++ b/net/ssmping/DESCR
@@ -0,0 +1,6 @@
+ssmping is a tool for checking whether a host can receive SSM from
+another. If a host runst ssmpingd, users on other hosts can check
+that they receive from this host by running the ssmping tool.
+asmping is similar to ssmping, but checks for ASM rather than SSM.
+
+WWW: http://www.venaas.no/multicast/ssmping/
diff --git a/net/ssmping/Makefile b/net/ssmping/Makefile
new file mode 100644
index 00000000000..88edd8bb25f
--- /dev/null
+++ b/net/ssmping/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/11 19:35:26 is Exp $
+# FreeBSD Id: ports/net/ssmping/Makefile,v 1.1 2006/08/25 19:02:31 miwi Exp
+
+DISTNAME= ssmping-0.9
+CATEGORIES= net
+MASTER_SITES= http://www.venaas.no/multicast/ssmping/
+
+MAINTAINER= is@NetBSD.org
+HOMEPAGE= http://www.venaas.no/multicast/ssmping/
+COMMENT= Ping for Any- and Single-Source Multicast
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ssmping/PLIST b/net/ssmping/PLIST
new file mode 100644
index 00000000000..2693402aa9e
--- /dev/null
+++ b/net/ssmping/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/11 19:35:26 is Exp $
+bin/asmping
+bin/mcfirst
+bin/ssmping
+man/man1/asmping.1
+man/man1/mcfirst.1
+man/man1/ssmping.1
+sbin/ssmpingd
diff --git a/net/ssmping/distinfo b/net/ssmping/distinfo
new file mode 100644
index 00000000000..18fd6886a56
--- /dev/null
+++ b/net/ssmping/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/10/11 19:35:26 is Exp $
+
+SHA1 (ssmping-0.9.tar.gz) = f3eee602d5c39e07e4d0382497b6b1cba88d59f3
+RMD160 (ssmping-0.9.tar.gz) = 008c34fa9d3401c9763f9f4566e297975216ad1a
+Size (ssmping-0.9.tar.gz) = 16464 bytes
+SHA1 (patch-aa) = b4b074cc646e16315c0f24b903808b0cacd7d433
+SHA1 (patch-ab) = e5edaef7a41c3b9a409ab653c148a344e836158e
diff --git a/net/ssmping/patches/patch-aa b/net/ssmping/patches/patch-aa
new file mode 100644
index 00000000000..ba49977ec0e
--- /dev/null
+++ b/net/ssmping/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/10/11 19:35:26 is Exp $
+
+--- Makefile.orig 2006-06-04 10:16:04.000000000 +0200
++++ Makefile
+@@ -2,21 +2,28 @@ PREFIX ?= /usr/local
+
+ all: ssmping asmping ssmpingd mcfirst
+
+-OBJ = ssmpngcl.o ssmpingc.o
++OBJ = ssmpngcl.o ssmpingc.o joinch.o joingrp.o
++
++ssmping: $(OBJ)
++ $(CC) $(CFLAGS) $(OBJ) -o ssmping ssmping.c
++
++asmping: $(OBJ)
++ $(CC) $(CFLAGS) $(OBJ) -o asmping asmping.c
+
+-ssmping: $(OBJ) joinch.o
+-asmping: $(OBJ) joingrp.o
+-mcfirst: $(OBJ) joinch.o joingrp.o
+ ssmpingd: $(OBJ)
++ $(CC) $(CFLAGS) $(OBJ) -o ssmpingd ssmpingd.c
++
++mcfirst: $(OBJ)
++ $(CC) $(CFLAGS) $(OBJ) -o mcfirst mcfirst.c
+
+ install: ssmping asmping ssmpingd mcfirst
+- install -D ssmping $(DESTDIR)$(PREFIX)/bin/ssmping
+- install -D asmping $(DESTDIR)$(PREFIX)/bin/asmping
+- install -D ssmpingd $(DESTDIR)$(PREFIX)/bin/ssmpingd
+- install -D mcfirst $(DESTDIR)$(PREFIX)/bin/mcfirst
+- install -D ssmping.1 $(DESTDIR)$(PREFIX)/man/man1/ssmping.1
+- install -D asmping.1 $(DESTDIR)$(PREFIX)/man/man1/asmping.1
+- install -D mcfirst.1 $(DESTDIR)$(PREFIX)/man/man1/mcfirst.1
++ install -m 755 ssmping $(PREFIX)/bin/ssmping
++ install -m 755 asmping $(PREFIX)/bin/asmping
++ install -m 755 ssmpingd $(PREFIX)/sbin/ssmpingd
++ install -m 755 mcfirst $(PREFIX)/bin/mcfirst
++ install -m 644 ssmping.1 $(PREFIX)/man/man1/ssmping.1
++ install -m 644 asmping.1 $(PREFIX)/man/man1/asmping.1
++ install -m 644 mcfirst.1 $(PREFIX)/man/man1/mcfirst.1
+
+ clean:
+- rm -f $(OBJ) joinch.o joingrp.o ssmping asmping ssmpingd mcfirst
++ rm -f $(OBJ) ssmping asmping ssmpingd mcfirst
diff --git a/net/ssmping/patches/patch-ab b/net/ssmping/patches/patch-ab
new file mode 100644
index 00000000000..4d4581566ac
--- /dev/null
+++ b/net/ssmping/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/10/11 19:35:26 is Exp $
+
+--- ssmping.c.orig 2006-06-13 22:26:44.000000000 +0200
++++ ssmping.c
+@@ -22,7 +22,7 @@ int main(int argc, char **argv) {
+ uint16_t size;
+ uint32_t intface;
+ struct sockaddr_storage name, ucaddr, mcaddr, grpaddr;
+- size_t namelen;
++ socklen_t namelen;
+ #ifdef WIN32
+ WORD wVersionRequested;
+ WSADATA wsaData;