pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ssmping Diagnostic tools for Internet multicast: s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7ced216aa52
branches:  trunk
changeset: 534111:e7ced216aa52
user:      is <is%pkgsrc.org@localhost>
date:      Thu Oct 11 19:35:26 2007 +0000

description:
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:

 net/ssmping/DESCR            |   6 +++++
 net/ssmping/Makefile         |  12 +++++++++++
 net/ssmping/PLIST            |   8 +++++++
 net/ssmping/distinfo         |   7 ++++++
 net/ssmping/patches/patch-aa |  45 ++++++++++++++++++++++++++++++++++++++++++++
 net/ssmping/patches/patch-ab |  13 ++++++++++++
 6 files changed, 91 insertions(+), 0 deletions(-)

diffs (115 lines):

diff -r b859960f0ed0 -r e7ced216aa52 net/ssmping/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/DESCR Thu Oct 11 19:35:26 2007 +0000
@@ -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 -r b859960f0ed0 -r e7ced216aa52 net/ssmping/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/Makefile      Thu Oct 11 19:35:26 2007 +0000
@@ -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@localhost
+HOMEPAGE=      http://www.venaas.no/multicast/ssmping/
+COMMENT=       Ping for Any- and Single-Source Multicast
+
+.include "../../mk/bsd.pkg.mk"
diff -r b859960f0ed0 -r e7ced216aa52 net/ssmping/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/PLIST Thu Oct 11 19:35:26 2007 +0000
@@ -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 -r b859960f0ed0 -r e7ced216aa52 net/ssmping/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/distinfo      Thu Oct 11 19:35:26 2007 +0000
@@ -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 -r b859960f0ed0 -r e7ced216aa52 net/ssmping/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/patches/patch-aa      Thu Oct 11 19:35:26 2007 +0000
@@ -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 -r b859960f0ed0 -r e7ced216aa52 net/ssmping/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ssmping/patches/patch-ab      Thu Oct 11 19:35:26 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index