diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2011-03-06 22:36:23 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2011-03-06 22:36:23 +0000 |
commit | de05c59dc7246a3a49595d7bb9db844d9a0dd9c2 (patch) | |
tree | e0c639a12886e6a16b6b23e3aecc811616aa2654 /mbone/rat30 | |
parent | 5edd0ddb0bbe600fec0d67dde57590957228358a (diff) | |
download | ports-de05c59dc7246a3a49595d7bb9db844d9a0dd9c2.tar.gz ports-de05c59dc7246a3a49595d7bb9db844d9a0dd9c2.zip |
Notes
Diffstat (limited to 'mbone/rat30')
-rw-r--r-- | mbone/rat30/Makefile | 36 | ||||
-rw-r--r-- | mbone/rat30/distinfo | 3 | ||||
-rw-r--r-- | mbone/rat30/files/patch-Makefile | 30 | ||||
-rw-r--r-- | mbone/rat30/files/patch-Makefile_FreeBSD_4 | 9 | ||||
-rw-r--r-- | mbone/rat30/files/patch-aa | 62 | ||||
-rw-r--r-- | mbone/rat30/files/patch-ab | 11 | ||||
-rw-r--r-- | mbone/rat30/files/patch-src:main.c | 16 | ||||
-rw-r--r-- | mbone/rat30/files/patch-src__codec_encoder.c | 12 | ||||
-rw-r--r-- | mbone/rat30/pkg-descr | 22 |
9 files changed, 0 insertions, 201 deletions
diff --git a/mbone/rat30/Makefile b/mbone/rat30/Makefile deleted file mode 100644 index 56ab15d5ba14..000000000000 --- a/mbone/rat30/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# New ports collection makefile for: rat -# Date created: 6 June 2001 -# Whom: anton -# -# $FreeBSD$ -# - -PORTNAME= rat -PORTVERSION= 3.0.35 -PORTREVISION= 2 -CATEGORIES= mbone audio -MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PORTVERSION}/ \ - CENKES - -MAINTAINER= ports@FreeBSD.org -COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool - -USE_TK= 82 -USE_XORG= x11 xext - -WRKSRC= ${WRKDIR}/rat-3.0 - -USE_GMAKE= yes -MAN1= rat.1 -PLIST_FILES= bin/rat30 - -LATEST_LINK= rat30 - -do-build: - cd ${WRKSRC};${SETENV} ${MAKE_ENV} MAKE=${GMAKE} ${SH} ./Build rat - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/rat ${PREFIX}/bin/rat30 - ${INSTALL_MAN} ${WRKSRC}/man/man1/rat.1 ${MAN1PREFIX}/man/man1/ - -.include <bsd.port.mk> diff --git a/mbone/rat30/distinfo b/mbone/rat30/distinfo deleted file mode 100644 index 000488fdfbcf..000000000000 --- a/mbone/rat30/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rat-3.0.35.tar.gz) = fff6e4a4c9617c5b7ea80f63fda96a9a -SHA256 (rat-3.0.35.tar.gz) = e5373d9014a907167d8a882c3e7a21d70a59139ddee6945854eb029a159fe329 -SIZE (rat-3.0.35.tar.gz) = 185374 diff --git a/mbone/rat30/files/patch-Makefile b/mbone/rat30/files/patch-Makefile deleted file mode 100644 index 58c49275a23d..000000000000 --- a/mbone/rat30/files/patch-Makefile +++ /dev/null @@ -1,30 +0,0 @@ ---- ./Makefile.orig 1999-09-14 14:39:00.000000000 +0400 -+++ ./Makefile 2007-07-14 20:49:46.000000000 +0400 -@@ -10,8 +10,8 @@ - # -DDEBUG_RTP -DREPEAT - - DEFS += -D$(OSTYPE) -D$(OSTYPE)_$(OSMVER) --CC = gcc --CFLAGS = -Wall -Werror -Wno-implicit-int $(INCS) $(DEFS) -g -O -fsigned-char -+CC ?= cc -+CFLAGS += -Wall -Wno-implicit-int $(INCS) $(DEFS) -g -fsigned-char - LDFLAGS= - LDLIBS= $(LDLIBS) -lm - RANLIB = ranlib -@@ -19,7 +19,7 @@ - - GSMFLAGS = -DSASR -DFAST -DUSE_FLOAT_MUL - --include Makefile_$(OSTYPE)_$(OSMVER) -+include Makefile_$(OSTYPE)_4 - - BINDIR = bin/$(USER) - SRCDIR = src -@@ -82,6 +82,7 @@ - $(BINDIR)/rat-$(OSTYPE)-$(OSVERS): $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(RATOBJS) - rm -f $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) - $(CC) $(RATOBJS) $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(LDLIBS) $(LDFLAGS) -o $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) -+ cp $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) bin/rat - - $(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) $(GSMFLAGS) $(CRYPTFLAGS) -c $(SRCDIR)/$*.c -o $(OBJDIR)/$*.o diff --git a/mbone/rat30/files/patch-Makefile_FreeBSD_4 b/mbone/rat30/files/patch-Makefile_FreeBSD_4 deleted file mode 100644 index d4a838d12316..000000000000 --- a/mbone/rat30/files/patch-Makefile_FreeBSD_4 +++ /dev/null @@ -1,9 +0,0 @@ ---- ./Makefile_FreeBSD_4.orig 2007-07-14 20:49:46.000000000 +0400 -+++ ./Makefile_FreeBSD_4 2007-07-14 20:49:46.000000000 +0400 -@@ -0,0 +1,6 @@ -+TCL_INC = ${LOCALBASE}/include/tcl8.2 -+TK_INC = ${LOCALBASE}/include/tk8.2 -+INCS = -I${LOCALBASE}/include \ -+ -I$(TCL_INC)/generic -I$(TK_INC)/generic -+LDLIBS = -L${LOCALBASE}/lib \ -+ -L${LOCALBASE}/lib -ltk82 -ltcl82 -lXext -lX11 -lm diff --git a/mbone/rat30/files/patch-aa b/mbone/rat30/files/patch-aa deleted file mode 100644 index 5eb716af785e..000000000000 --- a/mbone/rat30/files/patch-aa +++ /dev/null @@ -1,62 +0,0 @@ ---- ./src/auddev_freebsd.c.orig Sun Oct 20 14:05:07 2002 -+++ ./src/auddev_freebsd.c Sun Oct 20 14:05:16 2002 -@@ -45,7 +45,7 @@ - #include "bat_include.h" - #ifdef FreeBSD - --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - - int can_read = FALSE; - int can_write = FALSE; -@@ -204,18 +204,10 @@ - if (audio_fd <= 0) { - return; - } -- switch (iport) { -- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_MIC), &volume) == -1) { -- perror("Setting gain"); -- } -- return; -- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_LINE), &volume) == -1) { -- perror("Setting gain"); -- } -- return; -+ if (ioctl(audio_fd, SOUND_MIXER_WRITE_RECLEV, &volume) == -1) { -+ perror("Setting gain"); - } -- printf("ERROR: Unknown iport in audio_set_gain!\n"); -- abort(); -+ return; - } - - int -@@ -226,17 +218,8 @@ - if (audio_fd <= 0) { - return (0); - } -- switch (iport) { -- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_MIC), &volume) == -1) { -- perror("Getting gain"); -- } -- break; -- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_LINE), &volume) == -1) { -- perror("Getting gain"); -- } -- break; -- default : printf("ERROR: Unknown iport in audio_set_gain!\n"); -- abort(); -+ if (ioctl(audio_fd, SOUND_MIXER_READ_RECLEV, &volume) == -1) { -+ perror("Setting gain"); - } - return device_to_bat(volume & 0xff); - } -@@ -263,7 +246,7 @@ - if (audio_fd <= 0) { - return (0); - } -- if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_VOLUME), &volume) == -1) { -+ if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_PCM), &volume) == -1) { - perror("Getting volume"); - } - return device_to_bat(volume & 0x000000ff); /* Extract left channel volume */ diff --git a/mbone/rat30/files/patch-ab b/mbone/rat30/files/patch-ab deleted file mode 100644 index 6be58d321a47..000000000000 --- a/mbone/rat30/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- src/config.h.orig Sun Oct 20 14:05:43 2002 -+++ src/config.h Sun Oct 20 14:05:49 2002 -@@ -47,7 +47,7 @@ - #define OSNAME "FreeBSD" - #include <unistd.h> - #include <stdlib.h> --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - #define DIFF_BYTE_ORDER 1 - #define AUDIO_SPEAKER 0 - #define AUDIO_HEADPHONE 1 diff --git a/mbone/rat30/files/patch-src:main.c b/mbone/rat30/files/patch-src:main.c deleted file mode 100644 index 37e70d61a38a..000000000000 --- a/mbone/rat30/files/patch-src:main.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/main.c.orig Fri Feb 3 00:23:21 2006 -+++ src/main.c Fri Feb 3 00:23:37 2006 -@@ -118,11 +118,11 @@ - 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; diff --git a/mbone/rat30/files/patch-src__codec_encoder.c b/mbone/rat30/files/patch-src__codec_encoder.c deleted file mode 100644 index 7f940d8cafcb..000000000000 --- a/mbone/rat30/files/patch-src__codec_encoder.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./src/codec_encoder.c.orig 2007-07-14 20:50:06.000000000 +0400 -+++ ./src/codec_encoder.c 2007-07-14 20:53:12.000000000 +0400 -@@ -48,7 +48,8 @@ - int i; - sample *d; - -- d = (sample *)c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE); -+ c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE); -+ d = (sample *)c->data; - c->data_len = SAMPLES_PER_UNIT * BYTES_PER_SAMPLE; - for (i=0; i < SAMPLES_PER_UNIT; i++) { - *d++ = htons(*data); diff --git a/mbone/rat30/pkg-descr b/mbone/rat30/pkg-descr deleted file mode 100644 index 988875e9800a..000000000000 --- a/mbone/rat30/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -RAT is a network audio tool that allows users to particpate in -audio conferences over the internet. These can be between two -participants directly, or between a group of participants on a -common multicast group. 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. - -This is a stable branch version. Works with half-duplex casrd as well. -This is required mbone/relate. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ -RAT is a network audio tool that allows users to particpate in -audio conferences over the internet. These can be between two -participants directly, or between a group of participants on a -common multicast group. 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. - -This is a stable branch version. Works with half-duplex casrd as well. -This is required mbone/relate. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ |