summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1997-11-18 17:05:15 +0000
committeris <is@pkgsrc.org>1997-11-18 17:05:15 +0000
commite36fdeaad99eee8d1564366e679450f9e64b0bf0 (patch)
treeb12c0274b3b4a438691755cbf3d35d5363a2803d /mbone
parentfccd1cd22785561ee6085ad8abcbdf62b659737c (diff)
downloadpkgsrc-e36fdeaad99eee8d1564366e679450f9e64b0bf0.tar.gz
Initial MBONE tools directory, bootstrapped from FreeBSD ports collection,
sdr only.
Diffstat (limited to 'mbone')
-rw-r--r--mbone/Makefile14
-rw-r--r--mbone/pkg/COMMENT1
-rw-r--r--mbone/sdr/Makefile28
-rw-r--r--mbone/sdr/files/Makefile.freebsd15
-rw-r--r--mbone/sdr/files/Makefile.work2
-rw-r--r--mbone/sdr/files/md51
-rw-r--r--mbone/sdr/patches/patch-aa12
-rw-r--r--mbone/sdr/patches/patch-ab11
-rw-r--r--mbone/sdr/patches/patch-ac40
-rw-r--r--mbone/sdr/patches/patch-ad19
-rw-r--r--mbone/sdr/patches/patch-ae19
-rw-r--r--mbone/sdr/pkg/COMMENT1
-rw-r--r--mbone/sdr/pkg/DESCR4
-rw-r--r--mbone/sdr/pkg/PLIST1
-rw-r--r--mbone/sdr/scripts/configure2
15 files changed, 170 insertions, 0 deletions
diff --git a/mbone/Makefile b/mbone/Makefile
new file mode 100644
index 00000000000..579be64e8f5
--- /dev/null
+++ b/mbone/Makefile
@@ -0,0 +1,14 @@
+# Id: Makefile,v 1.5 1996/12/03 10:41:49 asami Exp
+#
+
+ SUBDIR += imm
+ SUBDIR += mbone_vcr
+ SUBDIR += nte
+ SUBDIR += rtpmon
+ SUBDIR += sdr
+ SUBDIR += speak_freely
+ SUBDIR += vat
+ SUBDIR += vic
+ SUBDIR += wb
+
+.include <bsd.port.subdir.mk>
diff --git a/mbone/pkg/COMMENT b/mbone/pkg/COMMENT
new file mode 100644
index 00000000000..8691f8f631e
--- /dev/null
+++ b/mbone/pkg/COMMENT
@@ -0,0 +1 @@
+MBone applications.
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile
new file mode 100644
index 00000000000..7c4fb48fcdc
--- /dev/null
+++ b/mbone/sdr/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: sdr
+# Version required: 2.3a1
+# Date created: 5 September 1996
+# Whom: Bill Fenner <fenner@FreeBSD.ORG>
+#
+# Id: Makefile,v 1.6 1997/10/15 20:35:20 fenner Exp
+#
+
+DISTNAME= sdr.V2.3a1
+PKGNAME= sdr-2.3a1
+CATEGORIES= mbone tk80
+MASTER_SITES= ftp://cs.ucl.ac.uk/mice/sdr/
+
+MAINTAINER= fenner@FreeBSD.org
+
+LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
+
+RESTRICTED= "Contains DES encryption"
+NO_WRKSUBDIR= yes
+USE_GMAKE= yes
+USE_X11= yes
+
+# src/libs.tcl is autogenerated from the tcl/tk installed on the
+# build system, so we shouldn't use the one in the distribution.
+post-extract:
+ -@rm ${WRKSRC}/src/libs.tcl
+
+.include <bsd.port.mk>
diff --git a/mbone/sdr/files/Makefile.freebsd b/mbone/sdr/files/Makefile.freebsd
new file mode 100644
index 00000000000..1d0735aef06
--- /dev/null
+++ b/mbone/sdr/files/Makefile.freebsd
@@ -0,0 +1,15 @@
+CC=cc
+INCLUDES=-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
+LIB_DIR=${LOCALBASE}/lib
+LIBS=-L${LIB_DIR} -ltk80 -ltcl80 -lm -L${X11BASE}/lib -lX11
+CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST
+LIBRARY_TCL = ${LIB_DIR}/tcl8.0
+LIBRARY_TK = ${LIB_DIR}/tk8.0
+
+all: sdr
+
+install: sdr
+ install -c -s -m 555 -o bin -g bin sdr ${PREFIX}/bin
+
+clean:
+ rm *.o *.tcl *.ehtml tcl2c
diff --git a/mbone/sdr/files/Makefile.work b/mbone/sdr/files/Makefile.work
new file mode 100644
index 00000000000..6b6d1019205
--- /dev/null
+++ b/mbone/sdr/files/Makefile.work
@@ -0,0 +1,2 @@
+all install clean:
+ cd freebsd; $(MAKE) $@
diff --git a/mbone/sdr/files/md5 b/mbone/sdr/files/md5
new file mode 100644
index 00000000000..16ca8bea6b9
--- /dev/null
+++ b/mbone/sdr/files/md5
@@ -0,0 +1 @@
+MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba
diff --git a/mbone/sdr/patches/patch-aa b/mbone/sdr/patches/patch-aa
new file mode 100644
index 00000000000..b972507313e
--- /dev/null
+++ b/mbone/sdr/patches/patch-aa
@@ -0,0 +1,12 @@
+*** src/sdr.h.orig Thu Sep 5 14:28:29 1996
+--- src/sdr.h Thu Sep 5 14:28:35 1996
+***************
+*** 21,27 ****
+ #endif
+ #include <tcl.h>
+ #include <tk.h>
+- #include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <errno.h>
+--- 21,26 ----
diff --git a/mbone/sdr/patches/patch-ab b/mbone/sdr/patches/patch-ab
new file mode 100644
index 00000000000..270999c42e0
--- /dev/null
+++ b/mbone/sdr/patches/patch-ab
@@ -0,0 +1,11 @@
+--- src/qfdes/qfDES-memory.c.orig Thu Oct 31 14:39:50 1996
++++ src/qfdes/qfDES-memory.c Thu Oct 31 14:41:52 1996
+@@ -12,7 +12,7 @@
+
+ #include <stdio.h>
+ #include <memory.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include "qfDES.h"
+
diff --git a/mbone/sdr/patches/patch-ac b/mbone/sdr/patches/patch-ac
new file mode 100644
index 00000000000..3d7ce87d727
--- /dev/null
+++ b/mbone/sdr/patches/patch-ac
@@ -0,0 +1,40 @@
+--- src/sdr.h.orig Wed May 21 22:06:02 1997
++++ src/sdr.h Wed May 21 22:10:05 1997
+@@ -8,9 +8,6 @@
+ #include <winsock.h>
+ #else
+ #include <sys/socket.h>
+-#include <netinet/in.h>
+-#include <arpa/inet.h>
+-#include <net/if.h>
+ #include <sys/ioctl.h>
+ #include <netdb.h>
+ #include <pwd.h>
+@@ -18,6 +15,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <ctype.h>
++#include <netinet/in.h>
++#include <net/if.h>
++#include <arpa/inet.h>
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ #ifdef AIX41
+@@ -146,10 +146,17 @@
+ };
+
+ struct sap_header {
++#if BYTE_ORDER == BIG_ENDIAN
+ u_int version:3;
+ u_int type:3;
+ u_int enc:1;
+ u_int compress:1;
++#else
++ u_int compress:1;
++ u_int enc:1;
++ u_int type:3;
++ u_int version:3;
++#endif
+ u_int authlen:8;
+ u_int msgid:16;
+ u_int src;
diff --git a/mbone/sdr/patches/patch-ad b/mbone/sdr/patches/patch-ad
new file mode 100644
index 00000000000..968741876fe
--- /dev/null
+++ b/mbone/sdr/patches/patch-ad
@@ -0,0 +1,19 @@
+*** src/Makefile.template.orig Sat Nov 23 16:41:26 1996
+--- src/Makefile.template Sat Nov 23 16:41:35 1996
+***************
+*** 97,103 ****
+ $(SDR_UI_FILES): tcl2c
+
+ parsed_plugins.tcl: ../src/plugin2tcl.tcl
+! tclsh7.5 ../src/plugin2tcl.tcl
+
+ libs.tcl: $(TK_LIBRARY_FILES)
+ cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl
+--- 97,103 ----
+ $(SDR_UI_FILES): tcl2c
+
+ parsed_plugins.tcl: ../src/plugin2tcl.tcl
+! tclsh8.0 ../src/plugin2tcl.tcl
+
+ libs.tcl: $(TK_LIBRARY_FILES)
+ cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl
diff --git a/mbone/sdr/patches/patch-ae b/mbone/sdr/patches/patch-ae
new file mode 100644
index 00000000000..06004bd9c47
--- /dev/null
+++ b/mbone/sdr/patches/patch-ae
@@ -0,0 +1,19 @@
+--- src/iohandler.c.orig Tue Oct 29 06:52:25 1996
++++ src/iohandler.c Tue Sep 9 15:36:34 1997
+@@ -131,7 +131,7 @@
+ }
+ sockproc[fd] = callback;
+ #else
+- Tcl_CreateFileHandler(Tcl_GetFile((ClientData)fd, TCL_UNIX_FD),
++ Tcl_CreateFileHandler(fd,
+ mask, callback, (ClientData)fd);
+ #endif
+ }
+@@ -144,6 +144,6 @@
+ (void) WSAAsyncSelect(fd, sockwin, 0, 0);
+ }
+ #else
+- Tcl_DeleteFileHandler(Tcl_GetFile((ClientData)fd, TCL_UNIX_FD));
++ Tcl_DeleteFileHandler(fd);
+ #endif
+ }
diff --git a/mbone/sdr/pkg/COMMENT b/mbone/sdr/pkg/COMMENT
new file mode 100644
index 00000000000..59cbdf9b262
--- /dev/null
+++ b/mbone/sdr/pkg/COMMENT
@@ -0,0 +1 @@
+MBone Session Directory
diff --git a/mbone/sdr/pkg/DESCR b/mbone/sdr/pkg/DESCR
new file mode 100644
index 00000000000..fd77f78b054
--- /dev/null
+++ b/mbone/sdr/pkg/DESCR
@@ -0,0 +1,4 @@
+Sdr is a session directory tool designed to allow the advertisement
+and joining of multicast conferences on the Mbone. It was originally
+based on sd written by Van Jacobson at LBNL, but implements a later
+version of the session description protocol than sd does.
diff --git a/mbone/sdr/pkg/PLIST b/mbone/sdr/pkg/PLIST
new file mode 100644
index 00000000000..3b663de62fc
--- /dev/null
+++ b/mbone/sdr/pkg/PLIST
@@ -0,0 +1 @@
+bin/sdr
diff --git a/mbone/sdr/scripts/configure b/mbone/sdr/scripts/configure
new file mode 100644
index 00000000000..4db6ed26d5b
--- /dev/null
+++ b/mbone/sdr/scripts/configure
@@ -0,0 +1,2 @@
+cat ${FILESDIR}/Makefile.freebsd ${WRKSRC}/src/Makefile.template > ${WRKSRC}/freebsd/Makefile
+cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile