as discussed on icb, remove too old to be of much use and unmaintained

mbone category
This commit is contained in:
sturm 2006-10-18 13:52:33 +00:00
parent bc59701678
commit 83b91153c7
150 changed files with 1 additions and 5040 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.50 2005/09/02 00:43:50 pvalchev Exp $
# $OpenBSD: Makefile,v 1.51 2006/10/18 13:52:33 sturm Exp $
# $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
#
@ -48,7 +48,6 @@ SUBDIR += korean
SUBDIR += lang
SUBDIR += mail
SUBDIR += math
SUBDIR += mbone
SUBDIR += misc
SUBDIR += multimedia
SUBDIR += net

View File

@ -1,17 +0,0 @@
# $OpenBSD: Makefile,v 1.9 1999/09/04 01:55:38 angelos Exp $
#
SUBDIR += common
SUBDIR += imm
SUBDIR += nte
SUBDIR += rat
SUBDIR += relate
SUBDIR += rtptools
SUBDIR += sdr
SUBDIR += speak_freely
SUBDIR += vat
SUBDIR += vic
SUBDIR += wb
SUBDIR += wbd
.include <bsd.port.subdir.mk>

View File

@ -1,27 +0,0 @@
# $OpenBSD: Makefile,v 1.23 2005/02/13 14:15:37 alek Exp $
COMMENT= "common library functions used by the UCL multicast utils"
DISTNAME= common-1.0.6
PKGNAME= ${DISTNAME}p2
CATEGORIES= mbone
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
WRKDIST= ${WRKDIR}/common
NO_REGRESS= Yes
do-install:
${INSTALL_DATA} ${WRKSRC}/libcommon.a ${PREFIX}/lib/libuclcommon.a
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (common-1.0.6.tar.gz) = 73e4a0210f61128304e97f56670a14bd
RMD160 (common-1.0.6.tar.gz) = 00e43ac0ea67a386a6e04ca32d734f2a9ba4e75a
SHA1 (common-1.0.6.tar.gz) = fa5de004a47ea7dc7682e2318ed73ec3cf4d8642
SIZE (common-1.0.6.tar.gz) = 64414

View File

@ -1,37 +0,0 @@
--- configure.orig Mon Jun 21 12:53:35 1999
+++ configure Fri Mar 16 20:36:56 2001
@@ -44,7 +44,7 @@ case $OSTYPE in
;;
HP-UX ) OSTYPE=HPUX
;;
- Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
+ Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD)
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
@@ -118,6 +118,15 @@ case $OSTYPE in
OPTIMIZE="-O4"
PROFILE="-pg"
;;
+ OpenBSD )
+ WFLAGS="${CFLAGS}"
+ INCLUDE="-I${LOCALBASE}include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ;;
NetBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"
@@ -241,9 +250,6 @@ do
CHECK_FLAG=-fbounds-checking
CHECK_LIB=-lcheck
echo "Enabled bounds checking option"
- else
- DEFS="$DEFS $1"
- echo "Added $1 compile flag"
fi
shift
done

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Sun Jul 4 17:57:30 1999
+++ Makefile.in Tue Nov 30 19:36:13 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__
INC = __INCLUDE__
CC = __CC__
AR = __AR__

View File

@ -1,20 +0,0 @@
--- config_unix.h.orig Thu Jun 10 12:15:32 1999
+++ config_unix.h Tue Nov 30 19:36:13 1999
@@ -50,7 +50,7 @@
#include <signal.h>
#include <ctype.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
@@ -73,7 +73,7 @@
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
-#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
+#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */

View File

@ -1 +0,0 @@
Common library functions used by the UCL multicast utilities.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2004/11/28 13:00:40 sturm Exp $
lib/libuclcommon.a

View File

@ -1,44 +0,0 @@
# $OpenBSD: Makefile,v 1.23 2006/10/18 09:50:53 jasper Exp $
COMMENT= "Internet Image (or other data) Multicaster (and receiver)"
DISTNAME= imm.source
PKGNAME= imm-3.5a1
CATEGORIES= mbone
EXTRACT_SUFX= .tar.Z
PERMIT_PACKAGE_CDROM= "no commercial use"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no commercial use"
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m X11
LIB_DEPENDS= tcl80.>=1.5:tcl-8.0.*:lang/tcl/8.0 \
tk80.>=1.5:tk-8.0.*:x11/tk/8.0
USE_X11= Yes
WRKDIST= ${WRKDIR}/mnm
NO_REGRESS= Yes
post-extract:
${INSTALL_DATA_DIR} ${WRKSRC}/openbsd
@cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
@cp ${FILESDIR}/Makefile.openbsd ${WRKSRC}/src
# The included makefile doesn't have an "install" target.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/imm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/immserv ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/lscomp ${PREFIX}/bin
# and no man pages at all yet.
# But include the very limited documentation
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm
# The sdr plugin is pretty much required.
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (imm.source.tar.Z) = bf2713e5dca81daaecbc0bbcaf7af667
RMD160 (imm.source.tar.Z) = f83684354d77191089946ba0853f86ad2719deae
SHA1 (imm.source.tar.Z) = b606f2883ff508659407053decb0068ba6569f40
SIZE (imm.source.tar.Z) = 106067

View File

@ -1,77 +0,0 @@
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL = /bin/sh
INCLUDE_DIR = -I${PREFIX}/include -I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0 -I/usr/X11R6/include
# Libraries to use when linking:
LIBS = -lm
TKLIBS= -L/usr/X11R6/lib -L$(PREFIX)/lib -L${LOCALBASE}/lib -ltk80 -ltcl80 -lX11
TARGET = ../openbsd
CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
CC = gcc
CC_SWITCHES = ${CFLAGS}
ROBJS = protocol.o utils.o
SOBJS = protocol.o immserv.o sorttree.o utils.o
MOBJS = protocol.o mnmserver.o sorttree.o utils.o
all: $(TARGET)/imm $(TARGET)/immserv $(TARGET)/lscomp
$(TARGET)/mnm: $(ROBJS) main.o xlopen.o mcl.o
$(CC) $(CFLAGS) main.o xlopen.o mcl.o $(ROBJS) $(LIBS) -o $(TARGET)/mnm
$(TARGET)/imm: $(ROBJS) tkAppInit.o imm_init.o imm.o xlopen_imm.o
$(CC) $(CFLAGS) tkAppInit.o imm_init.o imm.o xlopen_imm.o $(ROBJS) $(TKLIBS) $(LIBS) -o $(TARGET)/imm
$(TARGET)/immserv: $(SOBJS)
$(CC) $(CFLAGS) $(SOBJS) $(LIBS) -o $(TARGET)/immserv
$(TARGET)/lscomp: lscomp.o protocol.o sorttree.o utils.o
$(CC) $(CFLAGS) lscomp.o protocol.o sorttree.o utils.o $(LIBS) -o $(TARGET)/lscomp
clean:
rm -f *.o tcl2c $(TARGET)/mnm $(TARGET)/lscomp $(TARGET)/imm $(TARGET)/immserv
tcl2c: tcl2c.c
$(CC) $(CFLAGS) tcl2c.c $(LIBS) -o tcl2c
imm_init.c: tcl2c imm_def.tcl mcl.tcl Radio.tcl Listbox.tcl viewbox.tcl filebox.tcl mkHostname.tcl
./tcl2c IMM_Init < imm_def.tcl > imm_init.c
./tcl2c MCL < mcl.tcl >> imm_init.c
./tcl2c RADIO < Radio.tcl >> imm_init.c
./tcl2c LISTBOX < Listbox.tcl >> imm_init.c
./tcl2c VIEWBOX < viewbox.tcl >> imm_init.c
./tcl2c FILEBOX < filebox.tcl >> imm_init.c
./tcl2c HOSTBOX < mkHostname.tcl >> imm_init.c
./tcl2c SERVERBOX < mnmserv.tcl >> imm_init.c
imm_init.o: imm_init.c
main.o: main.c
mcl.o: mcl.c
imm.o: mcl.c
gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
xlopen_imm.o: xlopen.c
gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
tkAppInit.o: tkAppInit.c
gcc $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
protocol.o: protocol.c
utils.o: utils.c
lscomp.o: lscomp.c
sorttree.o: sorttree.c immserv.h
immserv.o: immserv.c immserv.h

View File

@ -1,2 +0,0 @@
all install:
cd src; ${MAKE} -f Makefile.openbsd $@

View File

@ -1,11 +0,0 @@
--- src/mcl.c.orig Tue Nov 19 12:33:49 1996
+++ src/mcl.c Tue Nov 19 12:34:23 1996
@@ -25,7 +25,7 @@
#define MAIN
#include "protocol.h"
-#include <malloc.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -1,11 +0,0 @@
--- src/xlopen.c.orig 1996-11-10 19:56:10.000000000 +0100
+++ src/xlopen.c 2004-01-05 00:56:52.000000000 +0100
@@ -34,7 +34,7 @@ extern char *optarg;
extern int optind, opterr;
extern int useimageloader;
extern struct hosttype *hosts_tail;
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) /* XXX */
extern char *sys_errlist[];
#endif
extern unsigned int total;

View File

@ -1,11 +0,0 @@
--- src/immserv.c.orig 1996-11-08 22:57:56.000000000 +0100
+++ src/immserv.c 2004-01-05 00:56:52.000000000 +0100
@@ -1407,7 +1407,7 @@ char *ip;
/******************************************************************************/
void setackalarm(int nop) {}
/******************************************************************************/
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) /* XXX */
/* routine to put process to sleep */
int usleep( wait)
u_int wait;

View File

@ -1,31 +0,0 @@
$OpenBSD: patch-src_Makefile_openbsd,v 1.1 2001/03/17 17:16:52 wilfried Exp $
--- src/Makefile.openbsd.orig Fri Mar 16 20:40:55 2001
+++ src/Makefile.openbsd Fri Mar 16 20:41:37 2001
@@ -9,9 +9,8 @@ TKLIBS= -L/usr/X11R6/lib -L$(PREFIX)/lib
TARGET = ../openbsd
-CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
+CFLAGS += -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
-CC = gcc
CC_SWITCHES = ${CFLAGS}
ROBJS = protocol.o utils.o
@@ -57,13 +56,13 @@ main.o: main.c
mcl.o: mcl.c
imm.o: mcl.c
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
xlopen_imm.o: xlopen.c
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
tkAppInit.o: tkAppInit.c
- gcc $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
+ ${CC} $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
protocol.o: protocol.c

View File

@ -1,93 +0,0 @@
$OpenBSD: patch-src_utils_c,v 1.1 2004/01/05 00:02:31 espie Exp $
--- src/utils.c.orig 2004-01-05 00:57:33.000000000 +0100
+++ src/utils.c 2004-01-05 00:59:45.000000000 +0100
@@ -20,12 +20,10 @@
* These notices must be retained in any copies of any part of this software.
******************************************************************************/
#include <stdio.h>
-#include <varargs.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
-#ifdef __NetBSD__
#include <unistd.h>
-#endif
extern int debug;
extern int seed;
@@ -40,14 +38,11 @@ int err_block_size=100; /* default for 1
/*----------------------------------------------------------------------------*/
-void warn( va_alist )
-va_dcl
+void warn(const char *fmt, ...)
{
va_list args;
- char *fmt;
- va_start( args );
- fmt = va_arg( args, char * );
+ va_start( args, fmt );
fprintf( stderr, "Warning: " );
vfprintf( stderr, fmt, args );
va_end( args );
@@ -55,31 +50,27 @@ va_dcl
/*----------------------------------------------------------------------------*/
-void die( va_alist )
-va_dcl
+void die(const char *fmt, ...)
{
va_list args;
- char *fmt;
- va_start( args );
- fmt = va_arg( args, char * );
+ va_start( args, fmt );
fprintf( stderr, "Error: " );
vfprintf( stderr, fmt, args );
+ va_end(args);
exit( 1 );
}
/*----------------------------------------------------------------------------*/
-void fatal( va_alist )
-va_dcl
+void fatal(const char *fmt, ...)
{
va_list args;
- char *fmt;
- va_start( args );
- fmt = va_arg( args, char * );
+ va_start( args, fmt );
fprintf( stderr, "Internal Error: " );
vfprintf( stderr, fmt, args );
+ va_end(args);
exit( 2 );
}
@@ -142,18 +133,15 @@ char * filename;
/*----------------------------------------------------------------------------*/
-void mailmessage( va_alist )
-va_dcl
+void mailmessage(const char *fmt, ...)
{
va_list args;
- char *fmt;
FILE *popen(), *fp;
char cmdline[80];
if (whome == NULL) whome = getlogin();
sprintf(cmdline,"%s %s",mailprog,whome);
fp = popen(cmdline,"w");
- va_start( args );
- fmt = va_arg( args, char * );
+ va_start( args, fmt );
fprintf( fp, "MNM Warning: " );
vfprintf( fp, fmt, args );
va_end( args );

View File

@ -1,10 +0,0 @@
IMM has been designed to efficiently replicate files/file directories
using a reliable dissemination protocol framework and provide archiving
and post processing features. The default mode of operation is for imm
to receive and display compressed imagery files (e.g., jpg,gif) using
xv or xloadimage as a post processor.
This release includes an sdr plug-in, named sdr2.plugin.S53.image.imm,
which must be installed to participate in MBone alpha testing of imm sessions.
Usually in a directory called ~home/.sdr/plugins to be found by sdr.
See the sdr help pages for information on installing plugins.

View File

@ -1,8 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:02:07 espie Exp $
bin/imm
bin/immserv
bin/lscomp
share/doc/imm/
share/doc/imm/README
share/doc/imm/imm_readme.txt
share/doc/imm/sdr2.plugin.S53.image.imm

View File

@ -1,36 +0,0 @@
# $OpenBSD: Makefile,v 1.24 2006/08/03 20:04:52 espie Exp $
COMMENT= "Network Text Editor multicast tool from UCL"
DISTNAME= nte-1.7.0
CATEGORIES= mbone
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/1.7.0/
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m c X11
BUILD_DEPENDS= ::mbone/common
LIB_DEPENDS= tcl80.>=1.5:tcl-8.0.*:lang/tcl/8.0 \
tk80.>=1.5:tk-8.0.*:x11/tk/8.0
USE_GMAKE= Yes
CONFIGURE_STYLE=simple
WRKDIST= ${WRKDIR}/nte
NO_REGRESS= Yes
post-extract:
@cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
@cp ${FILESDIR}/configure ${WRKSRC}
@${CHMOD} 755 ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/linux/nte ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (nte-1.7.0.tar.gz) = cd94f5c588ab31c630a1ef98f5007e28
RMD160 (nte-1.7.0.tar.gz) = 64e16a6c5d080db8a26dc4b114e769fd81edc605
SHA1 (nte-1.7.0.tar.gz) = b486fb36ab8af716c5c7dd78095e77c650a7097b
SIZE (nte-1.7.0.tar.gz) = 168160

View File

@ -1,10 +0,0 @@
#
# Makefile for ${WRKSRC}.
#
install:
clean:
cd linux; $(MAKE) $@
all:
cd linux; $(MAKE)

View File

@ -1,7 +0,0 @@
#!/bin/sh
#
# configure script for ${WRKSRC}. It just decends into the
# linux subdirectory and execs configure.
#
cd linux
exec ./configure $@

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-linux_Makefile_linux,v 1.2 2004/11/28 13:00:40 sturm Exp $
--- linux/Makefile.linux.orig Wed May 26 00:10:05 1999
+++ linux/Makefile.linux Fri Mar 16 20:45:42 2001
@@ -1,4 +1,4 @@
-INCLUDES += -I/usr/X11R6/include
+INCLUDES += -I/usr/X11R6/include -I/usr/local/include/tk8.0 \
+ -I/usr/local/include/tk8.0/generic -I/usr/local/include/tcl8.0
CFLAGS += -DPROTOTYPES -DHAVE_UNISTD_H -DDEFINED_ERRLIST -D_intel_
-LIBS += -lm -L/usr/X11R6/lib -lX11 -ldl
-
+LIBS += -lm -L/usr/X11R6/lib -lX11 -L/usr/local/lib -ltcl80 -ltk80 -luclcommon

View File

@ -1,36 +0,0 @@
$OpenBSD: patch-src_Makefile_template,v 1.1 2001/03/17 17:21:42 wilfried Exp $
--- src/Makefile.template.orig Fri May 28 18:11:08 1999
+++ src/Makefile.template Fri Mar 16 20:46:44 2001
@@ -1,8 +1,7 @@
-CC = gcc
-INCLUDES = -I/usr/X11R6/include -I../../tk-8.0/generic -I../../tcl-8.0/generic -I../../common
-CFLAGS = -Wall -Wno-implicit-int -Werror $(INCLUDES) -DPROTOTYPES -DHAVE_UNISTD_H -DDEFINED_ERRLIST -D_intel_
+INCLUDES = -I/usr/X11R6/include -I/usr/local/include/tcl8.0 -I/usr/local/include/tk8.0 -I/usr/local/include/tk8.0/generic -I/usr/local/include/common
+CFLAGS += -Wall -Wno-implicit-int -Werror $(INCLUDES) -DPROTOTYPES -DHAVE_UNISTD_H -DDEFINED_ERRLIST -D_intel_
LIB_DIR =
-LIBS = ../../tk-8.0/unix/libtk8.0.a ../../tcl-8.0/unix/libtcl8.0.a ../../common/libcommon.a -lm -L/usr/X11R6/lib -lX11 -ldl
+LIBS = -L/usr/local/lib -ltk80 -ltcl80 -lm -L/usr/X11R6/lib -lX11
OBJS = init.o text_pane.o typeface_fns.o ui_fns.o ui_init.o user_fns.o main.o\
tkAppInit.o tkUnixInit.o time.o network_setup.o jip.o byte_fns.o\
protocol.o network_write.o network_read.o ds_fns.o parse_packet.o ids.o \
@@ -115,15 +114,15 @@ www_ui.o: www_ui.c
$(CC) -c www_ui.c
help.ehtml: text2html ../src/help/help.html
- text2html < ../src/help/help.html > help.ehtml
+ ./text2html < ../src/help/help.html > help.ehtml
blocks.ehtml: text2html ../src/help/blocks.html
- text2html < ../src/help/blocks.html > blocks.ehtml
+ ./text2html < ../src/help/blocks.html > blocks.ehtml
bindings.ehtml: text2html ../src/help/bindings.html
- text2html < ../src/help/bindings.html > bindings.ehtml
+ ./text2html < ../src/help/bindings.html > bindings.ehtml
menus.ehtml: text2html ../src/help/menus.html
- text2html < ../src/help/menus.html > menus.ehtml
+ ./text2html < ../src/help/menus.html > menus.ehtml
xresources.ehtml: text2html ../src/help/xresources.html
- text2html < ../src/help/xresources.html > xresources.ehtml
+ ./text2html < ../src/help/xresources.html > xresources.ehtml
.c.o: ../src/$*.c
$(CC) $(CFLAGS) -c ../src/$*.c

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_iohandler_c,v 1.1 2002/10/10 12:04:16 naddy Exp $
--- src/iohandler.c.orig Thu Oct 10 13:53:35 2002
+++ src/iohandler.c Thu Oct 10 13:57:58 2002
@@ -133,7 +133,7 @@ void linksocket(int fd, int mask, Tcl_Fi
}
sockproc[fd] = callback;
#else
- Tcl_CreateFileHandler(fd, mask, callback, (ClientData) fd);
+ Tcl_CreateFileHandler(fd, mask, callback, (ClientData)(long)fd);
#endif
}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_nt_h,v 1.1 2001/03/17 17:21:42 wilfried Exp $
--- src/nt.h.orig Fri May 28 18:05:46 1999
+++ src/nt.h Fri Mar 16 20:45:42 2001
@@ -75,7 +75,7 @@ time_t time(time_t *);
#include <netdb.h>
#include <sys/utsname.h>
-#ifndef HAVE_NO_VALUES_H
+#if !defined(HAVE_NO_VALUES_H) && !defined(__OpenBSD__)
#include <values.h>
#endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_nt_help_c,v 1.1 2001/03/17 17:21:42 wilfried Exp $
--- src/nt_help.c.orig Thu Sep 17 16:39:14 1998
+++ src/nt_help.c Fri Mar 16 20:45:42 2001
@@ -48,10 +48,6 @@ char *helpdata[NO_OF_HELP] =
,
#include "help/xresources.ehtml"
#else
-#include "help.ehtml"
- ,
-#include "blocks.ehtml"
- ,
#include "bindings.ehtml"
,
#include "menus.ehtml"

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-src_www_fns_c,v 1.1 2001/03/17 17:21:42 wilfried Exp $
--- src/www_fns.c.orig Wed May 26 00:10:31 1999
+++ src/www_fns.c Fri Mar 16 20:45:42 2001
@@ -42,7 +42,9 @@
#include "ui_fns.h"
#include "tcl.h"
#include "tk.h"
+#if !defined(__OpenBSD__)
#include <malloc.h>
+#endif
#include <string.h>
#include <fcntl.h>
#include <errno.h>

View File

@ -1,31 +0,0 @@
NTE is a shared text editor designed for use on the Mbone. It is not a
word processor (it is not clear that word processing is a useful task
to share) and it is not a whiteboard - if you want a whiteboard, wb
from LBL is a much better whiteboard.
Using NTE can be very interactive - unless you lock a block of text,
anyone else in your session can edit that text or delete it. This is
intentional. Many people can (if they wish) edit the same document
simultaneously. Many people can even edit the same block of text
simultaneously, but if more than one person tries to edit the same
line at one time, a conflict will occur, which results in only one of
the changes being preserved.
In general, it is up to you how you use NTE. You must develop human
protocols to be able to collaborate, even in face-to-face meetings,
and NTE is no exception. It will work well if you cooperate, and not
if you don't. It only provides minimal protection against disruptive
participants.
NTE tries hard to ensure you don't get confused by unexpected events
caused by other users - it always tells you who did what if it can.
However, it can't do the impossible, and sometimes network conditions
may mean that a change arrives somewhat delayed. If this happens, NTE
will reach a consistent result, but this may not be what you expected.
Thus we recommend using NTE as part of a multimedia conference in
which it is a support tool, rather than as the only channel of
communication.
NTE was originally written by Mark Handley as part of the MICE and
MERCI projects. Further contributions have been made by Jim Knowler
and Kristian Hasler as part of the MECCANO and PIPVIC projects.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2002/04/07 01:54:51 naddy Exp $
bin/nte

View File

@ -1,38 +0,0 @@
# $OpenBSD: Makefile,v 1.20 2006/07/13 12:35:54 steven Exp $
COMMENT= "Robust Audio Tool from UCL"
DISTNAME= rat-3.0.33
CATEGORIES= mbone
PERMIT_PACKAGE_CDROM= "no commercial use"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no commercial use"
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m ossaudio tcl80 c X11 Xext
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/3.0.33/
LIB_DEPENDS= tk80:tk-8.0.*:x11/tk/8.0
WRKDIST= ${WRKDIR}/rat-3.0
USE_GMAKE= Yes
MAKE_FLAGS= CC=${CC} OSTYPE=${OPSYS} OSVERS=${OPSYS_VER} OSMVER=${OSMAJOR}
ALL_TARGET= bin/rat-${OPSYS}-${OSREV}
NO_REGRESS= Yes
post-extract:
@cp ${FILESDIR}/Makefile_OpenBSD ${WRKSRC}/Makefile_${OPSYS}_${OSMAJOR}
pre-build:
@mkdir -p ${WRKSRC}/bin ${WRKSRC}/objs/${OPSYS}_${OPSYS_VER}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/rat-${OPSYS}-${OPSYS_VER} \
${PREFIX}/bin/rat
${INSTALL_MAN} ${WRKSRC}/man/man1/rat.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rat
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/rat
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (rat-3.0.33.tar.gz) = 8b2118ad863ae253d117cb0831d8db0c
RMD160 (rat-3.0.33.tar.gz) = 315457c8288d7315cd181bbb93c7a54e209c0235
SHA1 (rat-3.0.33.tar.gz) = 5e046ab2b0cb21d53a1620070d26ccd4a3f72399
SIZE (rat-3.0.33.tar.gz) = 171063

View File

@ -1,7 +0,0 @@
# $OpenBSD: Makefile_OpenBSD,v 1.1 2001/10/01 02:00:06 naddy Exp $
INCS = -I${X11BASE}/include -I${LOCALBASE}/include/tcl8.0\
-I${LOCALBASE}/include/tcl8.0/generic -I${LOCALBASE}/include/tk8.0 \
-I${LOCALBASE}/include/tk8.0/generic
LDLIBS = -L${LOCALBASE}/lib -L${X11BASE}/lib -ltk80 -ltcl80 -lXext -lX11 -lm \
-lossaudio

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-Makefile,v 1.2 2001/10/01 02:00:06 naddy Exp $
--- Makefile.orig Mon Mar 1 18:23:47 1999
+++ Makefile Fri Mar 16 20:50:15 2001
@@ -9,9 +9,7 @@ DEFS = -DNDEBUG
# -DNDEBUG -DDEBUG -DTEST -DGSM -DDEBUG_MIX -DDEBUG_MEM
# -DDEBUG_RTP -DREPEAT
-DEFS += -D$(OSTYPE) -D$(OSTYPE)_$(OSMVER) -D$(USER)
-CC = gcc
-CFLAGS = -Wall -Werror $(INCS) $(DEFS) -g -O -fsigned-char
+CFLAGS += $(INCS) $(DEFS) -fsigned-char
LDFLAGS=
LDLIBS= $(LDLIBS) -lm
RANLIB = ranlib
@@ -21,9 +19,9 @@ GSMFLAGS = -DSASR -DFAST -DUSE_FLOAT_M
include Makefile_$(OSTYPE)_$(OSMVER)
-BINDIR = bin/$(USER)
+BINDIR = bin
SRCDIR = src
-OBJDIR = objs/$(USER)/$(OSTYPE)_$(OSVERS)
+OBJDIR = objs/$(OSTYPE)_$(OSVERS)
OBJS = $(OBJDIR)/codec_encoder.o \
$(OBJDIR)/codec_decoder.o \
$(OBJDIR)/codec_lpc.o \

View File

@ -1,43 +0,0 @@
$OpenBSD: patch-src_auddev_sparc_c,v 1.1 2001/03/17 17:23:27 wilfried Exp $
--- src/auddev_sparc.c.orig Mon Mar 1 18:23:49 1999
+++ src/auddev_sparc.c Fri Mar 16 20:49:24 2001
@@ -45,11 +45,19 @@
#include "assert.h"
#include "bat_include.h"
-#ifdef SunOS
+#if defined(SunOS) || defined(__OpenBSD__)
+#if defined(SunOS)
#include <multimedia/audio_hdr.h>
+#else
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/audioio.h>
+#endif
+#if !defined(__OpenBSD__)
typedef Audio_hdr* audio_header_pointer;
+#endif
static audio_info_t dev_info;
static int mulaw_device = FALSE; /* TRUE if the hardware can only do 8bit mulaw sampling */
@@ -69,7 +77,9 @@ audio_open(audio_format format)
if (audio_fd > 0) {
AUDIO_INITINFO(&dev_info);
dev_info.monitor_gain = 0;
+#if !defined(__OpenBSD__)
dev_info.output_muted = 0; /* 0==not muted */
+#endif
dev_info.play.sample_rate = format.sample_rate;
dev_info.record.sample_rate = format.sample_rate;
dev_info.play.channels = format.num_channels;
@@ -157,7 +167,7 @@ audio_close(int audio_fd)
void
audio_drain(int audio_fd)
{
- ioctl(audio_fd, I_FLUSH, (caddr_t)FLUSHR);
+ ioctl(audio_fd, AUDIO_FLUSH, NULL);
}
/* Gain and volume values are in the range 0 - MAX_AMP */

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-src_audio_mix_h,v 1.1 2004/01/05 00:05:04 espie Exp $
--- src/audio_mix.h.orig 2004-01-05 01:01:23.000000000 +0100
+++ src/audio_mix.h 2004-01-05 01:01:27.000000000 +0100
@@ -46,4 +46,4 @@ void mix_audio(int16 *v0, int16 *v1, si
#ifdef WIN32
/* GAS does not support mmx for Linux and FreeBSD yet :-( */
void mmx_mix_audio(int16 *v0, int16 *v1, size_t len);
-#endif WIN32
\ No newline at end of file
+#endif /* WIN32 */

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src_bat_include_h,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/bat_include.h.orig Mon Mar 1 18:23:49 1999
+++ src/bat_include.h Fri Mar 16 20:49:24 2001
@@ -44,7 +44,7 @@
#include "config.h"
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
@@ -71,7 +71,7 @@
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
-#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
+#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_gsm_create_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/gsm_create.c.orig Mon Mar 1 18:23:51 1999
+++ src/gsm_create.c Fri Mar 16 20:49:24 2001
@@ -11,7 +11,7 @@
#include "assert.h"
#include "gsm.h"
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__OpenBSD__)
#include <malloc.h>
#endif

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_gsm_destroy_c,v 1.2 2004/01/05 00:05:04 espie Exp $
--- src/gsm_destroy.c.orig 1999-03-01 18:23:51.000000000 +0100
+++ src/gsm_destroy.c 2004-01-05 01:01:09.000000000 +0100
@@ -6,7 +6,7 @@
/* $Header: /home/cvs/ports/mbone/rat/patches/Attic/patch-src_gsm_destroy_c,v 1.2 2004/01/05 00:05:04 espie Exp $ */
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__OpenBSD__)
#include <malloc.h>
#endif

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-src_main_c,v 1.1 2004/01/05 00:05:04 espie Exp $
--- src/main.c.orig 2004-01-05 01:02:01.000000000 +0100
+++ src/main.c 2004-01-05 01:02:22.000000000 +0100
@@ -98,11 +98,11 @@ main(int argc, char *argv[])
NEW_QUEUE(pckt_queue_struct, rtcp_pckt_queue)
NEW_QUEUE(rx_queue_struct, rx_unit_queue)
-#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q##[0]; \
+#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q[0]; \
Q##_ptr[0]->queue_empty_flag = 1; \
Q##_ptr[0]->head_ptr = NULL; \
Q##_ptr[0]->tail_ptr = NULL; \
- Q##_ptr[1] = &Q##[1]; \
+ Q##_ptr[1] = &Q[1]; \
Q##_ptr[1]->queue_empty_flag = 1; \
Q##_ptr[1]->head_ptr = NULL; \
Q##_ptr[1]->tail_ptr = NULL;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_qfDES_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/qfDES.c.orig Mon Mar 1 18:23:52 1999
+++ src/qfDES.c Fri Mar 16 20:49:24 2001
@@ -23,7 +23,7 @@ Added 2 August 1996, Saleem
#include <string.h>
#include <stdio.h>
#include <memory.h>
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <ctype.h>

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-src_rtcp_pckt_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/rtcp_pckt.c.orig Mon Mar 1 18:23:53 1999
+++ src/rtcp_pckt.c Fri Mar 16 20:49:24 2001
@@ -348,9 +348,15 @@ rtcp_packet_fmt_sdes(session_struct *sp,
break;
}
case 3 : if (sp->mode == TRANSCODER) {
+#if !defined(__OpenBSD__)
len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " " OSNAME " [Transcoder]");
} else {
len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " " OSNAME);
+#else
+ len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " OpenBSD" " [Transcoder]");
+ } else {
+ len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " OpenBSD");
+#endif
}
break;
default: printf("ERROR: sdes_ter_count has strange value! %ld\n", sp->db.sdes_ter_count);

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-src_ui_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/ui.c.orig Mon Mar 1 18:23:55 1999
+++ src/ui.c Fri Mar 16 20:49:24 2001
@@ -42,6 +42,10 @@
#include <ctype.h> /* for toupper() [csp] */
#include <math.h>
+#if defined(__OpenBSD__)
+#include <sys/types.h>
+#include <sys/audioio.h>
+#endif
#include "version.h"
#include "bat_include.h"
#include "crypt.h"
@@ -203,7 +207,7 @@ ui_info_deactivate(rtcp_dbentry *e)
eval_check(interp, comm);
}
-static us_active = 0;
+static int us_active = 0;
void
ui_info_activate_us(void)

View File

@ -1,26 +0,0 @@
RAT is a network audio tool that allows users to participate in audio
conferences over the internet. These can be between two participants
directly, or between a group of participants on a common multicast
group. No special features are required to use RAT in point-to-point
mode, but to use the multiparty conferencing facilities of RAT, all
participants must reside on a portion of the Internet which supports
IP multicast. RAT is based on IETF standards, using RTP above UDP/IP
as its transport protocol, and conforming to the RTP profile for audio
and video conference with minimal control.
RAT features sender based loss mitigation mechanisms and receiver
based audio repair techniques to compensate for packet loss, and load
adaption in response to host performance. It runs on a range of
platforms: FreeBSD, HP-UX, IRIX, Linux, NetBSD, Solaris, SunOS, and
Windows 95/NT. The source code is publicly available for porting to
other platforms and for modification by others.
Note that RAT does not perform call services like user location,
neither does it listen to session announcements to discover advertised
multicast sessions. For these purposes, it is recommended you use RAT
in conjunction with the Session Directory (SDR), or a similar
application.
Use of this software for commercial purposes is explicitly forbidden
unless prior written permission is obtained from the authors. For
details, see the full license ${PREFIX}/share/doc/rat/COPYRIGHT.

View File

@ -1,5 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/15 18:02:07 espie Exp $
bin/rat
@man man/man1/rat.1
share/doc/rat/
share/doc/rat/COPYRIGHT

View File

@ -1,36 +0,0 @@
# $OpenBSD: Makefile,v 1.22 2005/03/08 07:57:51 alek Exp $
COMMENT= "ReLaTe integrated conferencing tool from UCL"
DISTNAME= relate-2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= mbone
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/relate-ui/2.0/
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= tcl80 c X11 m
LIB_DEPENDS= tk80:tk->=8.0,<8.1:x11/tk/8.0 \
RUN_DEPENDS= ::mbone/nte \
::mbone/vic \
::mbone/wbd \
::mbone/rat
USE_GMAKE= Yes
MAKE_FILE= makefile
ALL_TARGET=
WRKDIST= ${WRKDIR}/relate
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/relate ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/relate.tcl ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (relate-2.0.tar.gz) = 9b62e1c39f485aca7546a28e56463659
RMD160 (relate-2.0.tar.gz) = 410a6af8a006147281b6b2e2b83e82ebad222c64
SHA1 (relate-2.0.tar.gz) = 1869223ea1b07c0194d41b8ecd80bcf886bbb319
SIZE (relate-2.0.tar.gz) = 55343

View File

@ -1,197 +0,0 @@
*** config.h.orig Thu Oct 15 12:08:03 1998
--- config.h Fri Sep 3 12:16:06 1999
***************
*** 42,50 ****
--- 42,54 ----
#include <sys/types.h>
+ #if !defined(__OpenBSD__)
#define NEED_INET_ATON
#define NEED_INET_PTON
#define NEED_IN6_IS_ADDR_MULTICAST
+ #else
+ #define EXT_SCRIPT
+ #endif
#ifdef WIN32
typedef int ttl_t;
***************
*** 67,74 ****
#endif
typedef int fd_t;
typedef unsigned long in_addr_t;
!
#ifndef TRUE
#define FALSE 0
#define TRUE 1
--- 71,79 ----
#endif
typedef int fd_t;
+ #if !defined(__OpenBSD__)
typedef unsigned long in_addr_t;
! #endif
#ifndef TRUE
#define FALSE 0
#define TRUE 1
*** main.c.orig Mon Dec 14 11:07:55 1998
--- main.c Fri Sep 3 12:29:50 1999
***************
*** 20,26 ****
--- 20,30 ----
#include <tcl.h>
#include <tk.h>
+
+ #if !defined(__OpenBSD__)
#include <malloc.h>
+ #endif
+
#include <locale.h>
#include <assert.h>
#include <time.h>
***************
*** 281,287 ****
if (nteVersion>1.4) Tcl_SetVar(interp, "nte15", "1", TCL_GLOBAL_ONLY); else Tcl_SetVar(interp, "nte15", "0", TCL_GLOBAL_ONLY);
#ifdef EXT_SCRIPT
! if (Tcl_VarEval(interp, "source ", "relate.tcl", (char *) NULL) != TCL_OK) {
goto error;
exit (-1);
}
--- 285,291 ----
if (nteVersion>1.4) Tcl_SetVar(interp, "nte15", "1", TCL_GLOBAL_ONLY); else Tcl_SetVar(interp, "nte15", "0", TCL_GLOBAL_ONLY);
#ifdef EXT_SCRIPT
! if (Tcl_VarEval(interp, "source ", "/usr/local/bin/relate.tcl", (char *) NULL) != TCL_OK) {
goto error;
exit (-1);
}
*** makefile.orig Mon Dec 14 10:40:17 1998
--- makefile Fri Sep 3 12:16:06 1999
***************
*** 1,11 ****
YFLAGS = -dv
CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DNDEBUG -DRELATE_INT
! LIBDIR = /cs/research/mice/starship/common/solaris/lib
! INCDIR = /cs/research/mice/starship/common/solaris/include
# The files needed from the tcl/tk library directories...
! LIBRARY_TK = $(LIBDIR)/tk8.0
! LIBRARY_TCL = $(LIBDIR)/tcl8.0
# Uncomment these lines for SGI (IRIX 5.3).
--- 1,15 ----
YFLAGS = -dv
CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DNDEBUG -DRELATE_INT
! LIBDIR = /usr/local/lib
! X11LIBDIR = /usr/X11R6/lib
! INCDIR = /usr/local/include
! TCLINCDIR = /usr/local/include/tcl8.0
! TKINCDIR = /usr/local/include/tk8.0
! X11INCDIR = /usr/X11R6/include
# The files needed from the tcl/tk library directories...
! LIBRARY_TK = $(LIBDIR)/tk80
! LIBRARY_TCL = $(LIBDIR)/tcl80
# Uncomment these lines for SGI (IRIX 5.3).
***************
*** 27,42 ****
#LIBS = -ll -ltk8.0 -ltcl8.0 -lm -lX11
# Uncomment these lines for Sun (SunOS 5.5.1).
! CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi
! LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib
! IFLAGS = -I$(INCDIR) -I/usr/openwin/include
! LIBS = -ll -ltk8.0 -ltcl8.0 -lm -lX11 -lsocket -lnsl -ldl
# Uncomment these lines for NetBSD 1.2.
! #CC = cc -ansi
! #LIBFLAGS = -L$(LIBDIR)
! #IFLAGS = -I$(INCDIR)
! #LIBS = -ll -ltk8.0 -ltcl8.0 -lm -lX11
# Tcl initialisation files to be compiled into a C string.
TCL_LIBS = \
--- 31,46 ----
#LIBS = -ll -ltk8.0 -ltcl8.0 -lm -lX11
# Uncomment these lines for Sun (SunOS 5.5.1).
! #CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi
! #LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib
! #IFLAGS = -I$(INCDIR) -I/usr/openwin/include
! #LIBS = -ll -ltk8.0 -ltcl8.0 -lm -lX11 -lsocket -lnsl -ldl
# Uncomment these lines for NetBSD 1.2.
! CC = cc -ansi
! LIBFLAGS = -L$(LIBDIR) -L$(X11LIBDIR)
! IFLAGS = -I$(INCDIR) -I$(X11INCDIR) -I$(TCLINCDIR) -I$(TKINCDIR)
! LIBS = -ll -ltk80 -ltcl80 -lm -lX11
# Tcl initialisation files to be compiled into a C string.
TCL_LIBS = \
***************
*** 69,84 ****
OBJ = tcllibs.o main.o mbus.o mbus_ui.o util.o lbl_confbus.o tcltk.o net_udp.o
relate : $(OBJ) $(INC)
! $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o relate
clean :
rm -f *.o tcl2c relate core
tcl2c : tcl2c.o
! $(CC) $(CFLAGS) tcl2c.o $(LIBS) -o tcl2c
# Tcl library files are turned into a single object file.
tcllibs.o: $(TCL_FILES) tcl2c
rm -f $@ tcllibs.c; \
./tcl2c 1 $(TCL_FILES) > tcllibs.c ; \
! $(CC) -c $(CFLAGS) tcllibs.c ; rm -f tcllibs.c
--- 73,88 ----
OBJ = tcllibs.o main.o mbus.o mbus_ui.o util.o lbl_confbus.o tcltk.o net_udp.o
relate : $(OBJ) $(INC)
! $(CC) $(CFLAGS) $(OBJ) $(LIBFLAGS) $(LIBS) -o relate
clean :
rm -f *.o tcl2c relate core
tcl2c : tcl2c.o
! $(CC) $(CFLAGS) tcl2c.o $(LIBFLAGS) $(LIBS) -o tcl2c
# Tcl library files are turned into a single object file.
tcllibs.o: $(TCL_FILES) tcl2c
rm -f $@ tcllibs.c; \
./tcl2c 1 $(TCL_FILES) > tcllibs.c ; \
! $(CC) -c $(CFLAGS) tcllibs.c ; rm -f tcllibs.c
*** util.h.orig Wed Oct 14 10:32:22 1998
--- util.h Fri Sep 3 12:16:06 1999
***************
*** 44,50 ****
--- 44,52 ----
#define _UTIL_H_
#define UNUSED(x) (x=x)
+ #if !defined(__OpenBSD__)
#define IN_CLASSD(i) (((long)(i) & 0xf0000000) == 0xe0000000)
+ #endif
#define IN_MULTICAST(i) IN_CLASSD(i)
#define xmalloc(x) _xmalloc(x,__FILE__,__LINE__)
***************
*** 74,77 ****
};
#endif
! typedef struct _socket_udp socket_udp;
--- 76,79 ----
};
#endif
! typedef struct _socket_udp socket_udp;

View File

@ -1,25 +0,0 @@
The integrated interface, which brings together the audio, video and
shared workspace tools, has been designed to be as simple and easy to
use as possible. Particular emphasis has been given to reducing screen
clutter and to minimising the number of things that need to be done to
use the different parts of the software. There is minimal need to
manipulate, move or uncover windows, and all necessary tools and
controls are readily to hand. Although basic keyboard and mouse skills
are required, little else is needed for students and teachers to use
the software.
Currently, up to eight people can take part in a conference. As the
screen-shot shows,each participant uses a workstation with camera and
headset (headphones and microphones). Video images are displayed of
all participants (including oneself), and any image may be enlarged to
the upper window. Being able to see all members of the conference
simultaneously gives a more relaxed atmosphere than other systems,
which show only the current speaker.
The system incorporates both a shared whiteboard (wbd, by Julian
Highfield) and a shared text editor (nte, by UCL). The user can switch
between them at any point during the session. With these tools, text
and graphics can be entered, either via the keyboard and mouse or by
importing a file. Everyone can draw or write simultaneously and see
all other contributions; colour allows easy identification of the
contributions.

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:02:07 espie Exp $
bin/relate
bin/relate.tcl

View File

@ -1,36 +0,0 @@
# $OpenBSD: Makefile,v 1.17 2005/03/08 07:57:51 alek Exp $
COMMENT= "record, playback and monitor RTPv2 data streams"
DISTNAME= rtptools-1.9
CATEGORIES= mbone
MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/
# License: NONE
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
WANTLIB= c
MAKE_ENV= ARCH=openbsd CC=cc
NO_REGRESS= Yes
BINFILES= rtpdump rtpplay rtpsend rtptrans
DOCFILES= README CHANGES.html rtptools.html
post-extract:
@ln -s ${WRKSRC}/freebsd ${WRKSRC}/openbsd
@ln -s ${WRKSRC}/Makefile.freebsd ${WRKSRC}/Makefile.openbsd
do-install:
.for i in ${BINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/${i} ${PREFIX}/bin
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtptools
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/rtptools
.endfor
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (rtptools-1.9.tar.gz) = c459423c37451ffe1e52423b3eebcb09
RMD160 (rtptools-1.9.tar.gz) = 2f4f8f2c87d53505c7fc894cec0c877760978014
SHA1 (rtptools-1.9.tar.gz) = 77d9938fe40eae3d7c07bd1732430da18ef5eeb1
SIZE (rtptools-1.9.tar.gz) = 41021

View File

@ -1,44 +0,0 @@
--- Makefile.orig Sat Aug 9 23:46:30 1997
+++ Makefile Fri Mar 16 20:53:11 2001
@@ -8,8 +8,8 @@
# Important note: Use sun4 for SunOS 4.1.x, sun5 for SunOS 5.x
# (Solaris)
-# Where to put executables.
-BIN_DIR = $(HOME)/$(ARCH)/bin
+# Where to put executables as we build them.
+BIN_DIR = ${OBJ_DIR}
#BIN_DIR = $(HOME)/Misc/Nevot/bin/$(OSTYPE)
# Where to temporary object files; by default below this directory
@@ -18,17 +18,17 @@ OBJ_DIR = $(ARCH)
# Where dynamically loadable versions of libtcl*, etc. are to be found.
# LIB_DIR = -L$(HOME)/$(ARCH)/lib -R$(HOME)/$(ARCH)/lib
-LIB_DIR = -L/usr/local/lib -R/usr/local/lib
+LIB_DIR = -L${PREFIX}/lib
# Where statically linked libraries are to be found.
# LIB_DIR_STATIC = -L/net/step/home/$(ARCH)/lib/static
-LIB_DIR_STATIC = -L/usr/local/lib
+LIB_DIR_STATIC = -L${PREFIX}/lib
# Compiler optimization (typically, -g or -O)
-OPT = -g
+OPT = -O
# Warning flags (-Wall for gcc)
-WFLAGS = -Wall
+WFLAGS =
# System-specific definitions:
include Makefile.$(ARCH)
@@ -40,7 +40,7 @@ TCL2C = ./tcl2c
V = 1.9
CO = /bin/true
LDLIBS = $(SYSLIBS)
-CFLAGS = $(OPT) $(WFLAGS) $(SYSFLAGS) -D$(ARCH) -I. -I$(ARCH)
+CFLAGS += $(WFLAGS) $(SYSFLAGS) -D$(ARCH) -I. -I$(ARCH)
FTP = /import/ftp/pub/schulzrinne/rtptools/
WWW = $(HOME)/html/rtptools

View File

@ -1,37 +0,0 @@
Index: rtp.h
--- 1.1.1.2 1997/12/17 03:37:05
+++ rtp.h 1997/12/17 04:26:01
@@ -93,13 +93,18 @@
#define RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe)
#define RTCP_VALID_VALUE ((RTP_VERSION << 14) | RTCP_SR)
+#define RTCP_FRACTION(x) (((x) >> 24) & 0xFF)
+#define RTCP_LOST(x) ((((x) & 0xFFFFFF) < 0x800000) ? \
+ ((x) & 0xFFFFFF) \
+ : (((x) & 0xFFFFFF) - 0x1000000))
+
/*
* Reception report block
*/
typedef struct {
u_int32 ssrc; /* data source being reported */
- unsigned int fraction:8; /* fraction lost since last SR/RR */
- int lost:24; /* cumul. no. pkts lost (signed!) */
+ u_int32 fraclost; /* fraction lost since last SR/RR and */
+ /* cumul. no. pkts lost (signed!) */
u_int32 last_seq; /* extended last seq. no. received */
u_int32 jitter; /* interarrival jitter */
u_int32 lsr; /* last SR packet from this source */
===================================================================
Index: rtpsend.c
--- 1.1.1.2 1997/12/17 03:37:11
+++ rtpsend.c 1997/12/17 04:25:11
@@ -599,6 +599,8 @@
if (optind < argc) {
if (hpt(argv[optind], (struct sockaddr *)&sin, &ttl) < 0) usage(argv[0]);
+ } else {
+ usage(argv[0]);
}
/* create/connect sockets */

View File

@ -1,19 +0,0 @@
/usr/bin/diff --ignore-matching-lines=.*$Id:.* -u multimer.c.orig multimer.c
--- multimer.c.orig Tue Feb 17 19:37:29 1998
+++ multimer.c Tue Feb 17 19:38:00 1998
@@ -65,6 +65,7 @@ static TQE *timerQ = (TQE *)0;
/* queue of free Timer Queue Elements */
static TQE *freeTQEQ = (TQE *)0;
+#ifndef timeradd
void timeradd(struct timeval *a, struct timeval *b,
struct timeval *sum)
{
@@ -77,6 +78,7 @@ void timeradd(struct timeval *a, struct
sum->tv_sec = a->tv_sec + b->tv_sec;
}
} /* timeradd */
+#endif
/*

View File

@ -1,60 +0,0 @@
*** rtpdump.c.orig Thu Aug 7 13:13:53 1997
--- rtpdump.c Wed Sep 9 19:06:02 1998
***************
*** 36,44 ****
#include <stdio.h>
#include <signal.h>
#include <errno.h>
- #if !defined(nextstep)
- #include <values.h>
- #endif
#include <unistd.h> /* select(), perror() */
#include <stdlib.h> /* getopt(), atoi() */
#include <math.h> /* fmod() */
--- 36,41 ----
***************
*** 395,404 ****
ntohl(r->r.sr.psent),
ntohl(r->r.sr.osent));
for (i = 0; i < r->common.count; i++) {
! printf(" (ssrc=%0lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu)\n",
ntohl(r->r.sr.rr[i].ssrc),
! r->r.sr.rr[i].fraction / 256.,
! ntohl(r->r.sr.rr[i].lost), /* XXX I'm pretty sure this is wrong */
ntohl(r->r.sr.rr[i].last_seq),
ntohl(r->r.sr.rr[i].jitter),
ntohl(r->r.sr.rr[i].lsr),
--- 392,401 ----
ntohl(r->r.sr.psent),
ntohl(r->r.sr.osent));
for (i = 0; i < r->common.count; i++) {
! printf(" (ssrc=0x%lx fraction=%g lost=%ld last_seq=%lu jit=%lu lsr=%lu dlsr=%lu)\n",
ntohl(r->r.sr.rr[i].ssrc),
! RTCP_FRACTION(ntohl(r->r.sr.rr[i].fraclost)) / 256.,
! RTCP_LOST(ntohl(r->r.sr.rr[i].fraclost)),
ntohl(r->r.sr.rr[i].last_seq),
ntohl(r->r.sr.rr[i].jitter),
ntohl(r->r.sr.rr[i].lsr),
***************
*** 412,421 ****
ntohl(r->r.rr.ssrc), r->common.p, r->common.count,
ntohs(r->common.length));
for (i = 0; i < r->common.count; i++) {
! printf("(ssrc=%0lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu)\n",
ntohl(r->r.rr.rr[i].ssrc),
! r->r.rr.rr[i].fraction / 256.,
! ntohl(r->r.rr.rr[i].lost),
ntohl(r->r.rr.rr[i].last_seq),
ntohl(r->r.rr.rr[i].jitter),
ntohl(r->r.rr.rr[i].lsr),
--- 409,418 ----
ntohl(r->r.rr.ssrc), r->common.p, r->common.count,
ntohs(r->common.length));
for (i = 0; i < r->common.count; i++) {
! printf(" (ssrc=0x%lx fraction=%g lost=%ld last_seq=%lu jit=%lu lsr=%lu dlsr=%lu)\n",
ntohl(r->r.rr.rr[i].ssrc),
! RTCP_FRACTION(ntohl(r->r.rr.rr[i].fraclost)) / 256.,
! RTCP_LOST(ntohl(r->r.rr.rr[i].fraclost)),
ntohl(r->r.rr.rr[i].last_seq),
ntohl(r->r.rr.rr[i].jitter),
ntohl(r->r.rr.rr[i].lsr),

View File

@ -1,29 +0,0 @@
*** rtptrans.c.orig Wed Sep 9 19:06:34 1998
--- rtptrans.c Wed Sep 9 19:07:44 1998
***************
*** 54,60 ****
#include <stdio.h>
#include <signal.h>
#include <errno.h>
- #include <values.h>
#include <unistd.h> /* select(), perror() */
#include <stdlib.h> /* getopt(), atoi() */
#include <memory.h> /* memset() */
--- 54,59 ----
***************
*** 327,333 ****
if (side[i][proto].sock != sock) {
msg.msg_name = (caddr_t ) &side[i][proto].sin;
msg.msg_namelen = sizeof(side[i][proto].sin);
! #if defined(__FreeBSD__) /* Or presumably other BSD 4.4 systems */
msg.msg_control = 0;
msg.msg_controllen = 0;
#else
--- 326,332 ----
if (side[i][proto].sock != sock) {
msg.msg_name = (caddr_t ) &side[i][proto].sin;
msg.msg_namelen = sizeof(side[i][proto].sin);
! #if defined(__FreeBSD__) || defined(__OpenBSD__) /* Or presumably other BSD 4.4 systems */
msg.msg_control = 0;
msg.msg_controllen = 0;
#else

View File

@ -1,13 +0,0 @@
The rtptools distribution consists of a number of small applications that
can be used for processing RTP data.
rtpplay
play back RTP sessions recorded by rtpdump
rtpsend
generate RTP packets from textual description, generated by hand or
rtpdump
rtpdump
parse and print RTP packets, generating output files suitable for
rtpplay and rtpsend
rtptrans
RTP translator between unicast and multicast networks

View File

@ -1,9 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:02:07 espie Exp $
bin/rtpdump
bin/rtpplay
bin/rtpsend
bin/rtptrans
share/doc/rtptools/
share/doc/rtptools/CHANGES.html
share/doc/rtptools/README
share/doc/rtptools/rtptools.html

View File

@ -1,39 +0,0 @@
# $OpenBSD: Makefile,v 1.23 2006/08/03 20:04:52 espie Exp $
COMMENT= "MBone Session Directory"
DISTNAME= sdr-2.7e
CATEGORIES= mbone
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/2.7e/
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c z X11 m
LIB_DEPENDS= tcl80.>=1.5:tcl-8.0.*:lang/tcl/8.0 \
tk80.>=1.5:tk-8.0.*:x11/tk/8.0
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE=simple
NO_REGRESS= 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.
# Makefile.work and configure help to work with the sdr multi-platform
# build structure.
post-extract:
@rm -f ${WRKSRC}/src/libs.tcl
@cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
@cp ${FILESDIR}/configure ${WRKSRC}
@cp ${FILESDIR}/image_directory.xbm ${WRKSRC}/sdr/src/
@${CHMOD} 755 ${WRKSRC}/configure
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdr/freebsd/sdr ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (sdr-2.7e.tar.gz) = 8c3e615238de961d3ca8c2a6079e0963
RMD160 (sdr-2.7e.tar.gz) = 0be8ae403ad307d7fdf577d7ff43daafb260624b
SHA1 (sdr-2.7e.tar.gz) = 0a35cbfb65d3e1f7d23ffede4447acac93410d6c
SIZE (sdr-2.7e.tar.gz) = 4120110

View File

@ -1,12 +0,0 @@
#
# Makefile for ${WRKSRC}.
#
all:
cd common; $(MAKE) all
cd sdr/freebsd; $(MAKE)
clean:
cd common; $(MAKE) $@
cd sdr/freebsd; $(MAKE) $@
install:

View File

@ -1,9 +0,0 @@
#!/bin/sh
#
# configure script for ${WRKSRC}. It just decends into the
# freebsd subdirectory and execs configure.
#
cd common
./configure $@
cd ../sdr/freebsd
exec ./configure $@

View File

@ -1,20 +0,0 @@
#define directory_width 16
#define directory_height 16
static unsigned char directory_bits[] = {
0x00, 0x00,
0x7c, 0x00,
0x82, 0x00,
0x01, 0xff,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0x01, 0xc0,
0xff, 0xff,
0xff, 0xff,
};

View File

@ -1,3 +0,0 @@
media:directory
icon:directory
text:Directory

View File

@ -1,4 +0,0 @@
media:directory
proto:SAP
tool:
fmt:SDP

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-common_Makefile_in,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- common/Makefile.in.orig Sun Jul 4 23:57:30 1999
+++ common/Makefile.in Fri Mar 16 20:55:41 2001
@@ -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__
INC = __INCLUDE__
CC = __CC__
AR = __AR__

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-common_config_unix_h,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- common/config_unix.h.orig Thu Jun 10 18:15:32 1999
+++ common/config_unix.h Fri Mar 16 20:55:41 2001
@@ -50,7 +50,7 @@
#include <signal.h>
#include <ctype.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
@@ -73,7 +73,7 @@
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
-#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
+#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-common_configure,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- common/configure.orig Mon Jun 21 12:53:35 1999
+++ common/configure Fri Mar 16 20:56:34 2001
@@ -44,7 +44,7 @@ case $OSTYPE in
;;
HP-UX ) OSTYPE=HPUX
;;
- Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
+ Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD )
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
@@ -99,6 +99,16 @@ case $OSTYPE in
PROFILE="-pg"
ECHO="echo -e"
;;
+ OpenBSD )
+ WFLAGS="${CFLAGS}"
+ INCLUDE="-I/usr/local/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ECHO=/bin/echo
+ ;;
FreeBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-sdr_freebsd_Makefile_freebsd,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/freebsd/Makefile.freebsd.orig Tue May 25 23:27:24 1999
+++ sdr/freebsd/Makefile.freebsd Sat Mar 17 18:32:56 2001
@@ -1,7 +1,6 @@
-CC = gcc -g -O
-INCLUDES = -I/usr/X11R6/include -I../../tk-8.0/generic -I../../tcl-8.0/generic -I../../common
-LIBS = ../../tk-8.0/unix/libtk80.a ../../tcl-8.0/unix/libtcl80.a ../../common/libcommon.a -lm -L/usr/X11R6/lib -lX11 -lz
-CFLAGS = $(INCLUDES) -DDIFF_BYTE_ORDER -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB -DFreeBSD
+INCLUDES = -I${X11BASE}/include -I../../common -I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0
+LIBS = -L${LOCALBASE}/lib -ltk80 -ltcl80 ../../common/libcommon.a -lm -L${X11BASE}/lib -lX11 -lz
+CFLAGS += $(INCLUDES) -DDIFF_BYTE_ORDER -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB -DFreeBSD
all:: sdr
install:

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-sdr_src_bitmaps_c,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/bitmaps.c.orig Tue May 25 23:27:45 1999
+++ sdr/src/bitmaps.c Fri Mar 16 20:55:41 2001
@@ -63,6 +63,7 @@ extern Tcl_Interp *interp;
#include "image_smeeting.xbm"
#include "image_stest.xbm"
#include "image_sdr.xbm"
+#include "image_directory.xbm"
void init_bitmaps()
{
@@ -95,4 +96,5 @@ void init_bitmaps()
Tk_DefineBitmap(interp, Tk_GetUid("stest"), stest_bits, stest_width, stest_height);
Tk_DefineBitmap(interp, Tk_GetUid("secure"), secure_bits, secure_width, secure_height);
Tk_DefineBitmap(interp, Tk_GetUid("sdr"), sdr_bits, sdr_width, sdr_height);
+ Tk_DefineBitmap(interp, Tk_GetUid("directory"), directory_bits, directory_width, directory_height);
}

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-sdr_src_cache_crypt_tcl,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/cache_crypt.tcl.orig Thu Feb 25 19:51:09 1999
+++ sdr/src/cache_crypt.tcl Fri Mar 16 20:55:41 2001
@@ -104,8 +104,7 @@ proc write_cache {} {
catch {set ixnames [array names fullix]}
foreach i $ixnames {
if {$ldata($fullix($i),trust) != "sip"} {
- if {$ldata($fullix($i),list) == "norm"} {
-
+ if {[string match *norm $ldata($fullix($i),list)]} {
set filename "$dirname/cache/$fullix($i)"
write_cache_entry $fullix($i) $filename clear
} else {

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-sdr_src_cache_nocrypt_tcl,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/cache_nocrypt.tcl.orig Thu Mar 26 19:44:22 1998
+++ sdr/src/cache_nocrypt.tcl Fri Mar 16 20:55:41 2001
@@ -45,7 +45,7 @@ proc write_cache {} {
set ixnames {}
catch {set ixnames [array names fullix]}
foreach i $ixnames {
- if {$ldata($fullix($i),list)=="norm"} {
+ if {[string match *norm $ldata($fullix($i),list)]} {
set filename "$dirname/cache/$fullix($i)"
write_cache_entry $fullix($i) $filename clear
} else {

View File

@ -1,79 +0,0 @@
$OpenBSD: patch-sdr_src_new_tcl,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/new.tcl.orig Thu Feb 25 22:25:49 1999
+++ sdr/src/new.tcl Fri Mar 16 20:55:41 2001
@@ -10,16 +10,31 @@ set new_wiz_norm_panels \
set new_wiz_tech_panels \
"info type timing_tech scope_tech media_tech contact accept"
-proc new {aid} {
+proc new {aid {w .w0}} {
global ifstyle ldata
if {[string compare $aid "new"]!=0} {
#we need a working variable while we think about editing sessions,
#in case we don't commit the changes.
set ldata($aid,tmpmulticast) $ldata($aid,multicast)
}
+
+ # Hack to handle multiple directory windows:
+ # Temporarily change the available 'zones' to those that are
+ # appropriate for creating a new session in this directory:
+ global zone savedZoneData zoneDataForWindow
+ set savedZoneData [array get zone]
+ array set zone $zoneDataForWindow($w)
+
new_wiz_init $aid $ifstyle(create)
}
+proc cleanup_after_new {} {
+ destroy .new
+
+ # Restore the original zone data:
+ global zone savedZoneData
+ catch {array set zone $savedZoneData}
+}
proc new_wiz_init {aid iftype} {
global new_wiz_norm_panels new_wiz_tech_panels
@@ -50,7 +65,7 @@ proc new_wiz_init {aid iftype} {
-relief raised \
-borderwidth 1 -highlightthickness 0
pack .new.f.b.accept -side left -fill x -expand true
- button .new.f.b.cancel -text "Cancel" -command {destroy .new} \
+ button .new.f.b.cancel -text "Cancel" -command {cleanup_after_new} \
-relief raised \
-borderwidth 1 -highlightthickness 0
pack .new.f.b.cancel -side left -fill x -expand true
@@ -430,7 +445,7 @@ proc new_wiz_panel_accept {panelnum pane
.new.f.b.next configure -state disabled
.new.f.b.accept configure -state normal -command \
"if {\[create\]==1} \
- {destroy .new}"
+ {cleanup_after_new}"
.new.f.b.back configure -state normal -command "new_wiz_panel_[lindex $panels $back_panel] $back_panel \"$panels\" $aid"
new_mk_session_accept .new.f.f.accept .new.f.f $aid
}
@@ -1452,13 +1467,13 @@ proc new_mk_session_buttons {win aid} {
button $win.create -text [tt "Modify"] -command \
"if {\[create\]==1} \
{ do_ad_creation $aid;\
- destroy .new}"
+ cleanup_after_new}"
tixAddBalloon $win.create Button [tt "Click here to advertise the modified session.
Changing the session name may result in some sites seeing duplicate announcements for a while."]
} else {
button $win.create -text [tt "Create"] -command \
- "if {\[create\]==1} {destroy .new}" \
+ "if {\[create\]==1} {cleanup_after_new}" \
-highlightthickness 0
tixAddBalloon $win.create Button [tt "When you've filled out all the above information, click here to create and advertise this session"]
}
@@ -1469,7 +1484,7 @@ Changing the session name may result in
-highlightthickness 0
tixAddBalloon $win.help Button [tt "Click here for more help or to turn balloon help off"]
- button $win.dismiss -text "Dismiss" -command "destroy .new" \
+ button $win.dismiss -text "Dismiss" -command "cleanup_after_new" \
-highlightthickness 0
tixAddBalloon $win.dismiss Button [tt "Click here to close this window"]
pack $win.create -side left -fill x -expand true

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-sdr_src_plugins_tcl,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/plugins.tcl.orig Thu Jul 15 15:55:13 1999
+++ sdr/src/plugins.tcl Fri Mar 16 20:55:41 2001
@@ -637,12 +637,19 @@ proc start_media_tool {aid mnum proto fm
set tmp enabled
# catch {puts "$media.$proto.$fmt.[lindex $subrule 0]"}
catch {set tmp $tool_state($media.$proto.$fmt.[lindex $subrule 0])}
- if {$tmp=="enabled"} {
+ if {$tmp=="enabled" && $subrule != {}} {
lappend rulelist $subrule
}
}
}
if {[llength $rulelist]==0} {
+ # Special case for handling SDP/SAP directory sessions:
+ if {$media=="directory" && $proto=="SAP" && $fmt=="SDP"} {
+ return [launch_directory $ldata($aid,$mnum,addr) \
+ $ldata($aid,$mnum,port) \
+ $ldata($aid,ttl) \
+ $ldata($aid,session)]
+ }
set toollist {}
foreach subrule $rule {
lappend toollist [lindex $subrule 0]

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-sdr_src_sap_crypt_tcl,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/sap_crypt.tcl.orig Thu Jun 24 15:20:52 1999
+++ sdr/src/sap_crypt.tcl Fri Mar 16 20:55:41 2001
@@ -874,6 +874,11 @@ proc create {} {
return 0
}
set sess "$sess\nc=IN IP4 [get_new_session_addr $media]/$ttl"
+ # Use a lower on-the-wire TTL if it would exceed our zone's:
+ if {[info exists zone(ttl,$zone(cur_zone))]
+ && $zone(ttl,$zone(cur_zone)) < $ttl} {
+ set ttl $zone(ttl,$zone(cur_zone))
+ }
if {$media_layers($media)>1} {
set sess "$sess/$media_layers($media)"
}

View File

@ -1,33 +0,0 @@
$OpenBSD: patch-sdr_src_sd_listen_c,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/src/sd_listen.c.orig Fri Jul 16 15:07:27 1999
+++ sdr/src/sd_listen.c Fri Mar 16 20:55:41 2001
@@ -135,6 +135,7 @@ int doexit=FALSE;
int ui_visible=TRUE;
int debug1=FALSE;
jmp_buf env;
+unsigned initializationHasFinished = 0;
void dump(buf, buflen)
char *buf;
@@ -244,6 +245,12 @@ int sd_listen(char *address, int port, i
rx_sock_addr[*no_of_socks]=malloc(strlen(address)+1);
strcpy(rx_sock_addr[*no_of_socks], address);
rx_sock_port[*no_of_socks]=port;
+
+ if (initializationHasFinished) {
+ /* This socket was created after initialization, so start listening now */
+ linksocket(rxsock[*no_of_socks], TK_READABLE, (Tcl_FileProc*)recv_packets);
+ }
+
(*no_of_socks)++;
return(*no_of_socks);
}
@@ -1386,6 +1393,8 @@ char *argv[];
Tcl_CreateFileHandler(inChannel, TCL_READABLE, (Tcl_FileProc*)do_cli, (ClientData) inChannel);
}
#endif
+
+ initializationHasFinished = 1;
while ((doexit==FALSE)||(Tk_GetNumMainWindows() > 0))
{

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-sdr_src_sdr_h,v 1.1 2001/03/17 17:33:20 wilfried Exp $
--- sdr/src/sdr.h.orig Tue May 25 17:59:36 1999
+++ sdr/src/sdr.h Fri Mar 16 20:55:41 2001
@@ -8,9 +8,9 @@
#include "sys/stat.h"
#else
#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+#if !defined(__OpenBSD__)
#include <net/if.h>
+#endif
#include <sys/ioctl.h>
#include <netdb.h>
#include <pwd.h>
@@ -18,6 +18,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <resolv.h>
#ifdef AIX41

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-sdr_src_sip_common_c,v 1.1 2003/06/20 15:14:42 avsm Exp $
--- sdr/src/sip_common.c.orig Fri Jun 20 16:02:30 2003
+++ sdr/src/sip_common.c Fri Jun 20 16:03:57 2003
@@ -244,7 +244,7 @@ struct in_addr look_up_address(char *hos
{
char buf[200];
- char ans[1000];
+ char ans[2000];
int ctr;
char *tstr, *resstr;
struct dnshdr *dnsa;

View File

@ -1,4 +0,0 @@
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.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2002/04/07 01:54:51 naddy Exp $
bin/sdr

View File

@ -1,30 +0,0 @@
# $OpenBSD: Makefile,v 1.23 2006/10/18 09:50:53 jasper Exp $
COMMENT= "voice communication over data networks"
DISTNAME= speak_freely-7.1
CATEGORIES= mbone audio security
PERMIT_PACKAGE_CDROM= "generally restrictive license"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "generally restrictive license"
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m curses ossaudio c termcap des
LIB_DEPENDS= gsm.>=1.0::audio/gsm
MAKE_ENV= DUPLEX=-DHALF_DUPLEX
.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "vax")
MAKE_ENV+= CCFLAGS=-DM_LITTLE_ENDIAN
.endif
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/speak_freely
@${INSTALL_DATA} ${WRKSRC}/busy.au ${WRKSRC}/ring.au \
${PREFIX}/lib/speak_freely
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (speak_freely-7.1.tar.gz) = f06e4115c7139f7e30ea57064b324558
RMD160 (speak_freely-7.1.tar.gz) = 5792d405009102a751a36c77c6a614e1ccd9144d
SHA1 (speak_freely-7.1.tar.gz) = 20a728defc70763c90737ccfd2619012acee361e
SIZE (speak_freely-7.1.tar.gz) = 543558

View File

@ -1,134 +0,0 @@
--- Makefile.orig Sat Sep 18 11:29:44 1999
+++ Makefile Tue Sep 21 10:56:06 1999
@@ -3,20 +3,19 @@
# Debugging options
-DEBUG = -g -DHEXDUMP
+#DEBUG = -g -DHEXDUMP
#DEBUG = -g -DHEXDUMP -DNOCRYPTO
#DEBUG = -O
+DEBUG =
# Installation
# Install program
INSTALL = /usr/bin/install
-# Installation root directory
-INSTDIR = /usr/local
# Binaries
-INSTDIR_BIN = $(INSTDIR)/bin
+INSTDIR_BIN = $(PREFIX)/bin
# Manual pages
-INSTDIR_MAN = $(INSTDIR)/man
+INSTDIR_MAN = $(PREFIX)/man
# Uncomment the appropriate CC, CCFLAGS, and LFLAGS statements below
# according to your machine type.
@@ -38,9 +37,9 @@
# functionality is working. Please see the detailed description
# of the available flags which follows these declarations.
#
-CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN
-CC = gcc -O3 # for GNU's gcc compiler
-LFLAGS = -lncurses -lm
+#CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN
+#CC = gcc -O3 # for GNU's gcc compiler
+#LFLAGS = -lncurses -lm
#
# If the above LFLAGS doesn't work, try the one below.
#LFLAGS = -lcurses -lm
@@ -223,6 +222,12 @@
#CCFLAGS = -DM_LITTLE_ENDIAN
#LFLAGS = -lcurses -ltermcap -lcompat -lm
+# OpenBSD 2.5
+
+#
+LFLAGS = -L${LOCALBASE}/lib -lcurses -ltermcap -lcompat -lm -lossaudio
+
+#
# Hewlett-Packard
# (courtesy of Marc Kilian)
#
@@ -238,7 +243,7 @@
# If your audio hardware is half duplex, uncomment the next line.
# You can also, if you wish, define this on the CCFLAGS definition
# for your hardware platform.
-#DUPLEX = -DHALF_DUPLEX
+DUPLEX?= -DHALF_DUPLEX
# If your getdomainname() does not return the DNS domainname, define:
#DOMAIN=-DMYDOMAIN=\"somedomain.net\"
@@ -269,7 +274,7 @@
# Compiler flags
-CFLAGS = $(DEBUG) -Iadpcm -Ilpc -Igsm/inc -Imd5 -Iidea -Ilibdes -Iblowfish $(CARGS) $(DUPLEX) $(CCFLAGS) $(DOMAIN)
+CFLAGS += $(DEBUG) -Iadpcm -Ilpc -Imd5 -Iidea -Iblowfish -I/usr/include -I${LOCALBASE}/include $(CARGS) $(DUPLEX) $(CCFLAGS) $(DOMAIN)
PROGRAMS = sfspeaker sfmike sflaunch sflwld sflwl sfecho sfreflect sfvod
@@ -278,12 +283,12 @@
SPKROBJS = speaker.o codecs.o deskey.o g711.o rate.o rtpacket.o soundbyte.o ulaw.o usleep.o vatpkt.o vox.o audio_hp.o audio_sgi.o common.o
sfspeaker: $(SPKROBJS) adpcmlib.o libblowfish.o lpclib.o lpc10lib.o gsmlib.o deslib.o md5lib.o idealib.o libdes.o xdsub.o
- $(CC) $(SPKROBJS) adpcm/adpcm-u.o blowfish/libblowfish.a des/des.a md5/md5.o idea/idea.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) -o sfspeaker
+ $(CC) $(SPKROBJS) adpcm/adpcm-u.o blowfish/libblowfish.a des/des.a md5/md5.o idea/idea.a lpc10/liblpc10.a -lgsm lpc/lpc.o xdsub.o -ldes $(LFLAGS) -o sfspeaker
MIKEOBJS = mike.o codecs.o deskey.o g711.o rate.o rtpacket.o soundbyte.o ulaw.o usleep.o vatpkt.o xdsub.o audio_hp.o audio_sgi.o
sfmike: $(MIKEOBJS) adpcmlib.o libblowfish.o lpclib.o lpc10lib.o gsmlib.o deslib.o md5lib.o idealib.o libdes.o
- $(CC) $(MIKEOBJS) adpcm/adpcm-u.o des/des.a md5/md5.o idea/idea.a -lm blowfish/libblowfish.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o libdes/libdes.a $(LFLAGS) -o sfmike
+ $(CC) $(MIKEOBJS) adpcm/adpcm-u.o des/des.a md5/md5.o idea/idea.a -lm blowfish/libblowfish.a lpc10/liblpc10.a -lgsm lpc/lpc.o -ldes $(LFLAGS) -o sfmike
LAUNCHOBJS = launch.o soundbyte.o usleep.o g711.o
@@ -337,11 +342,11 @@
# in make not necessarily available on all platforms.
adpcmlib.o:
- ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC)" )
+ ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC) $(CCFLAGS) $(DEBUG)" )
echo "ADPCM" >adpcmlib.o
deslib.o:
- ( echo "Building DES library."; cd des ; make CC="$(CC) $(CCFLAGS)" )
+ ( echo "Building DES library."; cd des ; make CC="$(CC) $(CCFLAGS) $(DEBUG)" )
echo "DES" >deslib.o
libblowfish.o:
@@ -349,7 +354,6 @@
echo "BLOWFISH" >libblowfish.o
libdes.o:
- ( echo "Building LIBDES library."; cd libdes ; make -f Makefile.sf CC="$(CC) $(CCFLAGS) $(DEBUG)" )
echo "LIBDES" >libdes.o
lpclib.o:
@@ -361,15 +365,14 @@
echo "LPC" >lpc10lib.o
gsmlib.o:
- ( echo "Building GSM library."; cd gsm ; make CC="$(CC)" )
echo "GSM" >gsmlib.o
md5lib.o:
- ( echo "Building MD5 library."; cd md5 ; make CC="$(CC)" )
+ ( echo "Building MD5 library."; cd md5 ; make CC="$(CC) $(CCFLAGS) $(DEBUG)" )
echo "MD5" >md5lib.o
idealib.o:
- ( echo "Building IDEA library."; cd idea ; make CC="$(CC)" )
+ ( echo "Building IDEA library."; cd idea ; make CC="$(CC) $(CCFLAGS) $(DEBUG)" )
echo "IDEA" >idealib.o
# Object file dependencies
@@ -462,5 +465,5 @@
# be root to install in system directories.
install: $(PROGRAMS)
- $(INSTALL) -o root -g root -m 755 -s $(PROGRAMS) $(INSTDIR_BIN)
- $(INSTALL) -o root -g root -m 644 *.1 $(INSTDIR_MAN)/man1
+ $(INSTALL) -o root -g wheel -m 755 -s $(PROGRAMS) $(INSTDIR_BIN)
+ $(INSTALL) -o root -g wheel -m 444 *.1 $(INSTDIR_MAN)/man1

View File

@ -1,11 +0,0 @@
--- adpcm/Makefile.orig Sat Jun 19 21:57:38 1999
+++ adpcm/Makefile Sat Jun 19 21:58:13 1999
@@ -1,7 +1,7 @@
#
# Makefile for adpcm and test programs
# -------------------
-CFLAGS=-O -I..
+CFLAGS +=-I..
# May need this on a sun:
#CFLAGS=-O -I/usr/demo/SOUND

View File

@ -1,13 +0,0 @@
--- idea/Makefile.orig Wed Sep 1 08:06:06 1999
+++ idea/Makefile Tue Sep 21 09:42:31 1999
@@ -6,8 +6,8 @@
# Compiler flags
-CC = cc
-CFLAGS = -O
+#CC = cc
+#CFLAGS = -O
all: idea.a

View File

@ -1,8 +0,0 @@
--- md5/Makefile.orig Sat Jun 19 22:01:01 1999
+++ md5/Makefile Sat Jun 19 22:01:05 1999
@@ -1,4 +1,4 @@
-CFLAGS=-O
+#CFLAGS=-O
all: md5.o

View File

@ -1,19 +0,0 @@
--- blowfish/Makefile.orig Sat Jun 19 22:02:15 1999
+++ blowfish/Makefile Sat Jun 19 22:04:25 1999
@@ -17,14 +17,14 @@
#OPTS= # use for pentium pro, Alpha and HP
MAKE=make -f Makefile
-CC=cc
+#CC=cc
CFLAG= -O
#CC=gcc
#CFLAG= -O4 -funroll-loops -fomit-frame-pointer
#CFLAG= -O3 -fomit-frame-pointer
-CFLAGS=$(OPTS) $(CFLAG)
+#CFLAGS=$(OPTS) $(CFLAG)
CPP=$(CC) -E
AS=as

View File

@ -1,14 +0,0 @@
--- lpc/Makefile.orig Sat Jun 19 22:10:11 1999
+++ lpc/Makefile Sat Jun 19 22:10:36 1999
@@ -1,9 +1,8 @@
-
lpc.o: lpc.c lpc.h
- $(CC) -c lpc.c
+ $(CC) $(CFLAGS) -c lpc.c
lpctest: lpctest.c lpc.o
- $(CC) lpctest.c lpc.o ../ulaw.o -o lpctest -lm
+ $(CC) $(CFLAGS) lpctest.c lpc.o ../ulaw.o -o lpctest -lm
clean:
rm -f *.bak *.o lpctest core

View File

@ -1,8 +0,0 @@
--- des/Makefile.orig Wed Sep 1 08:02:06 1999
+++ des/Makefile Tue Sep 21 09:43:48 1999
@@ -1,4 +1,4 @@
-CFLAGS=-O
+#CFLAGS=-O
all: des.a

View File

@ -1,11 +0,0 @@
--- speakfree.h.orig Sat Jun 19 22:24:36 1999
+++ speakfree.h Sat Jun 19 22:25:13 1999
@@ -12,7 +12,7 @@
#define BSD_like
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#define BSD_like
#endif

View File

@ -1,18 +0,0 @@
--- mike.c.orig Tue Sep 14 09:27:51 1999
+++ mike.c Tue Sep 21 09:48:37 1999
@@ -1,4 +1,4 @@
-/*#define USE_CURSES*/
+#define USE_CURSES
#define BYTE_SWAP_DEBUG
/*
@@ -871,6 +871,9 @@
(sb->buffer.buffer_len > 16)) {
pktlen += sizeof(sb->sendinghost);
}
+ /* must stay in network order for debugging output */
+ sb->compression = htonl(sb->compression);
+ sb->buffer.buffer_len = htonl(sb->buffer.buffer_len);
}
}
}

View File

@ -1,97 +0,0 @@
--- soundbyte.c.orig Tue Sep 14 08:55:17 1999
+++ soundbyte.c Tue Sep 21 10:02:41 1999
@@ -30,6 +30,8 @@
#else /* FreeBSD / Linux */
#ifdef LINUX
#include <linux/soundcard.h>
+#elif __OpenBSD__
+#include <soundcard.h>
#else
#include <machine/soundcard.h>
#endif
@@ -63,6 +65,14 @@
#define MAX_GAIN 100
+void soundplayvol();
+
+#ifndef sun
+#ifdef HALF_DUPLEX
+static int oldvol = -1;
+#endif
+#endif
+
struct sound_buf {
struct sound_buf *snext; /* Next sound buffer */
int sblen; /* Length of this sound buffer */
@@ -290,6 +300,21 @@
#endif
ioctl(Audio_fd, AUDIO_SETINFO, &Audio_info);
#endif
+#ifndef sun
+#ifdef HALF_DUPLEX
+ if (iomode == O_RDONLY) {
+ if (oldvol == -1)
+ oldvol = soundgetvol();
+ soundplayvol(0);
+ } else if ( iomode == O_WRONLY
+ && oldvol != -1
+ ) {
+ if (soundgetvol() == 0)
+ soundplayvol(oldvol);
+ oldvol = -1;
+ }
+#endif
+#endif
return TRUE;
}
if (errno != EINTR) {
@@ -305,6 +330,15 @@
void soundterm()
{
if ((!neverRelease) && (audiof >= 0)) {
+#ifndef sun
+#ifdef HALF_DUPLEX
+ if (oldvol != -1) {
+ if (soundgetvol() == 0)
+ soundplayvol(oldvol);
+ oldvol = -1;
+ }
+#endif
+#endif
if (close(audiof) < 0) {
perror("closing audio device");
}
@@ -382,10 +416,30 @@
arg = (value << 8) | value;
- if (ioctl(Audio_fd, MIXER_WRITE(SOUND_MIXER_PCM), &arg) < 0)
- perror("SOUND_MIXER_PCM");
+ if (ioctl(Audio_fd, MIXER_WRITE(SOUND_MIXER_WRITE_PCM), &arg) < 0)
+ perror("SOUND_MIXER_WRITE_PCM");
#endif
}
+
+#ifndef sun
+#ifdef HALF_DUPLEX
+
+/* SOUNDGETVOL -- Get current playback volume. */
+
+int soundgetvol()
+{
+ int arg, v1, v2;
+
+ if (ioctl(Audio_fd, SOUND_MIXER_READ_PCM, &arg) < 0) {
+ perror("SOUND_MIXER_READ_PCM");
+ return -1;
+ }
+ v1 = arg & 0xFF;
+ v2 = (arg >> 8) & 0xFF;
+ return (v1 > v2) ? v1 : v2;
+}
+#endif
+#endif
/* SOUNDRECGAIN -- Set recording gain from 0 (minimum) to 100 (maximum). */

View File

@ -1,8 +0,0 @@
Speak Freely allows users of a variety of Unix and Unix-
like workstations equipped with audio hardware connected
by a network to converse, using the audio input and output
facilities of the workstation to digitise and later recon-
struct the sound and the network to relay sound packets.
Optional compression is provided, allowing conversations
over relatively low-bandwidth Internet links as well as
local area networks.

View File

@ -1,20 +0,0 @@
@comment $OpenBSD: PLIST,v 1.6 2004/09/15 18:02:07 espie Exp $
bin/sfecho
bin/sflaunch
bin/sflwl
bin/sflwld
bin/sfmike
bin/sfreflect
bin/sfspeaker
bin/sfvod
lib/speak_freely/
lib/speak_freely/busy.au
lib/speak_freely/ring.au
@man man/man1/sfecho.1
@man man/man1/sflaunch.1
@man man/man1/sflwl.1
@man man/man1/sflwld.1
@man man/man1/sfmike.1
@man man/man1/sfreflect.1
@man man/man1/sfspeaker.1
@man man/man1/sfvod.1

View File

@ -1,44 +0,0 @@
# $FreeBSD: Makefile,v 1.9 1998/12/02 05:56:01 asami Exp $
# $OpenBSD: Makefile,v 1.26 2006/08/03 20:04:52 espie Exp $
COMMENT= "Visual Audio Tool, multicast audioconferencing"
DISTNAME= vatsrc-4.0b2
P= vat-4.0b2
PKGNAME= ${P}p0
CATEGORIES= mbone
MASTER_SITES= ftp://ftp.ee.lbl.gov/conferencing/vat/alpha-test/
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m stdc++ tcl80 c X11
GSM_DIR= audio/gsm
BUILD_DEPENDS= ::${GSM_DIR}:patch
LIB_DEPENDS= tk80.>=1.5:tk-8.0.*:x11/tk/8.0 \
gsm.>=1::${GSM_DIR}
USE_X11= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gsm=${WRKDIR}/gsm
CONFIGURE_ENV= V_LIB_GSM='-L${PREFIX}/lib -lgsm'
CONFIGURE_ARGS+=--without-af
WRKDIST= ${WRKDIR}/${P}
NO_REGRESS= Yes
post-extract:
ln -sf ${WRKDIR}/${GSM_DIR}/gsm-* ${WRKDIR}/gsm
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/vat ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/vat.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (vatsrc-4.0b2.tar.gz) = ad6bfa8e986be1706e60251dd9c2f204
RMD160 (vatsrc-4.0b2.tar.gz) = 3540a371f2d4bbd388561157009dc744bec24a0a
SHA1 (vatsrc-4.0b2.tar.gz) = 92390be72438647bef422c7a493ee520e82e33b3
SIZE (vatsrc-4.0b2.tar.gz) = 263799

Some files were not shown because too many files have changed in this diff Show More