diff options
author | is <is> | 2007-10-11 19:35:26 +0000 |
---|---|---|
committer | is <is> | 2007-10-11 19:35:26 +0000 |
commit | 3162d9ef842f234195782e325e5953a4d89b0360 (patch) | |
tree | d2a8f63870528c600bfeba92f9c39e93275afc63 /net/ssmping/patches | |
parent | b628edeb05cefea780dff14b017912c245692da7 (diff) | |
download | pkgsrc-3162d9ef842f234195782e325e5953a4d89b0360.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/patches')
-rw-r--r-- | net/ssmping/patches/patch-aa | 45 | ||||
-rw-r--r-- | net/ssmping/patches/patch-ab | 13 |
2 files changed, 58 insertions, 0 deletions
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; |