summaryrefslogtreecommitdiff
path: root/mbone/sdr
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1999-10-04 21:09:00 +0000
committeris <is@pkgsrc.org>1999-10-04 21:09:00 +0000
commitb20a68d25e09772d40e404274a532187122d977b (patch)
tree2376bdc9931d384454d52784d589b4ad80909eff /mbone/sdr
parent8aa2518468e6d244db4f8d18b39ba6eecd21a721 (diff)
downloadpkgsrc-b20a68d25e09772d40e404274a532187122d977b.tar.gz
last part of upgrading sdr to 2.7 on request of Hubert Feyrer.
Reason for upgrade: IPv6 support and a security fix.
Diffstat (limited to 'mbone/sdr')
-rw-r--r--mbone/sdr/patches/patch-ak29
-rw-r--r--mbone/sdr/patches/patch-al11
-rw-r--r--mbone/sdr/patches/patch-am12
-rw-r--r--mbone/sdr/patches/patch-an5
4 files changed, 57 insertions, 0 deletions
diff --git a/mbone/sdr/patches/patch-ak b/mbone/sdr/patches/patch-ak
new file mode 100644
index 00000000000..d491ea73a06
--- /dev/null
+++ b/mbone/sdr/patches/patch-ak
@@ -0,0 +1,29 @@
+--- common/configure.orig Mon Jun 21 12:53:35 1999
++++ common/configure Sat Oct 2 21:51:43 1999
+@@ -53,7 +53,7 @@
+
+ echo "Configuring common code library v$VERSION for $OSTYPE"
+
+-GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes -Werror"
++GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes"
+ DEFS=""
+
+ AR="ar"
+@@ -120,7 +120,7 @@
+ ;;
+ NetBSD ) CC="gcc"
+ WFLAGS=$GCCWFLAGS
+- INCLUDE="-I/usr/local/include"
++ INCLUDE="-I${LOCALBASE}/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+@@ -130,7 +130,7 @@
+ esac
+
+ ${ECHO} "Searching for in_addr_t in <netinet/in.h>... \c"
+-T1=`grep -c in_addr_t /usr/include/netinet/in.h`
++T1=`grep -c in_addr_t /usr/include/netinet/in.h /usr/include/machine/endian.h | grep -v :0 | sed 's/.*://'`
+ if [ $T1 = 0 ]; then
+ DEFS="$DEFS -DNEED_IN_ADDR_T"
+ ${ECHO} "no"
diff --git a/mbone/sdr/patches/patch-al b/mbone/sdr/patches/patch-al
new file mode 100644
index 00000000000..ad8f2591eef
--- /dev/null
+++ b/mbone/sdr/patches/patch-al
@@ -0,0 +1,11 @@
+--- common/Makefile.in.orig Sun Jul 4 23:57:30 1999
++++ common/Makefile.in Sat Oct 2 21:46:28 1999
+@@ -3,7 +3,7 @@
+ # This probably requires GNU make.
+ #
+
+-CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__
++CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__
+ INC = __INCLUDE__
+ CC = __CC__
+ AR = __AR__
diff --git a/mbone/sdr/patches/patch-am b/mbone/sdr/patches/patch-am
new file mode 100644
index 00000000000..ef851058d35
--- /dev/null
+++ b/mbone/sdr/patches/patch-am
@@ -0,0 +1,12 @@
+--- /dev/null Sat Oct 2 21:52:15 1999
++++ sdr/netbsd/Makefile.netbsd Sat Oct 2 22:00:51 1999
+@@ -0,0 +1,9 @@
++CC = gcc -O
++INCLUDES = -I${X11BASE}/include -I${LOCALBASE}/include/tk8.0/generic -I${LOCALBASE}/include/tcl8.0/generic -I../../common
++LIBS = -L${LOCALBASE}/lib -ltk80 -ltcl80 ../../common/libcommon.a -lm -L${X11BASE}/lib -lX11 -lz
++CFLAGS = $(INCLUDES) -DDIFF_BYTE_ORDER -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB
++
++all:: sdr
++install:
++ cp ./sdr /cs/research/mice/speedy/common/freebsd/bin/sdr
++ chmod 755 /cs/research/mice/speedy/common/freebsd/bin/sdr
diff --git a/mbone/sdr/patches/patch-an b/mbone/sdr/patches/patch-an
new file mode 100644
index 00000000000..53cdb554bf6
--- /dev/null
+++ b/mbone/sdr/patches/patch-an
@@ -0,0 +1,5 @@
+--- /dev/null Sat Oct 2 21:52:15 1999
++++ sdr/netbsd/configure Sat Oct 2 21:56:12 1999
+@@ -0,0 +1,2 @@
++#!/bin/sh
++cat Makefile.netbsd ../src/Makefile.template > Makefile