aboutsummaryrefslogtreecommitdiff
path: root/audio/rat
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rat')
-rw-r--r--audio/rat/Makefile75
-rw-r--r--audio/rat/distinfo3
-rw-r--r--audio/rat/files/patch-ac13
-rw-r--r--audio/rat/files/patch-rat_configure.in14
-rw-r--r--audio/rat/files/timet.patch77
-rw-r--r--audio/rat/pkg-descr8
-rw-r--r--audio/rat/pkg-plist7
7 files changed, 0 insertions, 197 deletions
diff --git a/audio/rat/Makefile b/audio/rat/Makefile
deleted file mode 100644
index 00cfd4535a75..000000000000
--- a/audio/rat/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-# New ports collection makefile for: rat
-# Date created: 3 July 1999
-# Whom: O.Hodson@cs.ucl.ac.uk (Orion Hodson)
-#
-# $FreeBSD$
-#
-
-PORTNAME= rat
-PORTVERSION= 4.2.25
-PORTREVISION= 4
-CATEGORIES= mbone audio ipv6 tk
-MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PORTVERSION}/ \
- http://www.icir.org/hodson/ucl-mirror/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool
-
-USE_TK= yes
-USE_XORG= x11 xext sm ice
-USE_AUTOTOOLS= autoconf213
-USE_GMAKE= yes
-CONFIGURE_ARGS= --enable-ipv6
-
-MAN1= rat.1
-MANCOMPRESSED= no
-
-RAT_BUILD_DIRS= common rat
-RAT= ${PORTNAME}-${PORTVERSION}
-RAT_SCRIPT= ${PORTNAME}
-PLIST_SUB= PORTVERSION=${PORTVERSION}
-
-.include <bsd.port.pre.mk>
-
-CONFIGURE_ARGS+= --with-tcltk-version=${TK_VER}
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile: missing header
-.endif
-
-.if ${OSVERSION} >= 700011
-EXTRA_PATCHES= ${FILESDIR}/timet.patch
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e "s,-Werror,," \
- -e 's,^TCL_INC=$${PARENT}.*,TCL_INC=${TCL_INCLUDEDIR},g' \
- -e 's,^TCL_LIB=$${PARENT}.*,TCL_LIB=${LOCALBASE}/lib,g' \
- -e 's,^TK_INC=$${PARENT}.*,TK_INC=${TK_INCLUDEDIR},g' \
- -e 's,^TK_LIB=$${PARENT}.*,TK_LIB=${LOCALBASE}/lib,g' \
- ${WRKSRC}/common/configure.in ${WRKSRC}/rat/configure.in
-
-do-install:
- @${REINPLACE_CMD} 's|#/|#!/|' ${WRKSRC}/rat/${RAT_SCRIPT}
- ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT}
- ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui
- ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-media ${PREFIX}/bin/${RAT}-media
- ${INSTALL_SCRIPT} ${WRKSRC}/rat/${RAT_SCRIPT} ${PREFIX}/bin/${RAT_SCRIPT}
- ${INSTALL_MAN} ${WRKSRC}/rat/man/man1/rat.1 ${PREFIX}/man/man1
- ${MKDIR} ${LOCALBASE}/etc/sdr/plugins
- ${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.${RAT} ${LOCALBASE}/etc/sdr/plugins
-
-pre-configure:
- cd ${WRKSRC}/common && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS}
- cd ${WRKSRC}/common && ${GMAKE}
-
-do-configure:
- cd ${WRKSRC}/rat && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS}
-
-do-build:
- cd ${WRKSRC}/rat && ${GMAKE}
-
-run-autotools::
- @${DO_NADA}
-
-.include <bsd.port.post.mk>
diff --git a/audio/rat/distinfo b/audio/rat/distinfo
deleted file mode 100644
index eb629a25ee9f..000000000000
--- a/audio/rat/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (rat-4.2.25.tar.gz) = d959a507b27573f80511fd6739b33514
-SHA256 (rat-4.2.25.tar.gz) = 15dd38e4d1c21a41349636d26a8b018fac97592ae187798a8bf2799df1739e89
-SIZE (rat-4.2.25.tar.gz) = 726326
diff --git a/audio/rat/files/patch-ac b/audio/rat/files/patch-ac
deleted file mode 100644
index f2ed68da4800..000000000000
--- a/audio/rat/files/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
---- common/src/net_udp.c.orig Sat Jan 11 19:51:14 2003
-+++ common/src/net_udp.c Sat Jan 11 19:51:27 2003
-@@ -43,8 +43,10 @@
- #include "config_win32.h"
- #include "debug.h"
- #include "memory.h"
-+#ifndef __FreeBSD__
- #include "inet_pton.h"
- #include "inet_ntop.h"
-+#endif
- #include "vsnprintf.h"
- #include "net_udp.h"
-
diff --git a/audio/rat/files/patch-rat_configure.in b/audio/rat/files/patch-rat_configure.in
deleted file mode 100644
index ec2bb83d0633..000000000000
--- a/audio/rat/files/patch-rat_configure.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- rat/configure.in.orig
-+++ rat/configure.in
-@@ -147,7 +147,7 @@
- [EXTRAOBJ="$EXTRA_OBJ usleep.o"
- AC_DEFINE(NEED_USLEEP)])
-
--AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF))
-+#AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF))
-
- AC_SUBST(EXTRA_OBJ)
-
diff --git a/audio/rat/files/timet.patch b/audio/rat/files/timet.patch
deleted file mode 100644
index 18c099c4316d..000000000000
--- a/audio/rat/files/timet.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -ruN common/src/mbus.c work.tom/rat-4.2.25/common/src/mbus.c
---- common/src/mbus.c Mon Jun 16 18:57:59 2003
-+++ common/src/mbus.c Sun Jan 1 02:02:07 2006
-@@ -265,9 +265,9 @@
- mb_bufpos = mb_buffer + MBUS_AUTH_LEN;
- /* monster kludge */
- if(*dst == '(')
-- sprintf(mb_bufpos, "\nmbus/1.0 %6d %ld%03ld %c (%s) %s ", seqnum, ts.tv_sec,ts.tv_usec/1000, reliable, src, dst);
-+ sprintf(mb_bufpos, "\nmbus/1.0 %6d %jd%03ld %c (%s) %s ", seqnum, (intmax_t)ts.tv_sec,ts.tv_usec/1000, reliable, src, dst);
- else
-- sprintf(mb_bufpos, "\nmbus/1.0 %6d %ld%03ld %c (%s) (%s) ", seqnum, ts.tv_sec,ts.tv_usec/1000, reliable, src, dst);
-+ sprintf(mb_bufpos, "\nmbus/1.0 %6d %jd%03ld %c (%s) (%s) ", seqnum, (intmax_t)ts.tv_sec,ts.tv_usec/1000, reliable, src, dst);
-
- mb_bufpos += strlen(mb_bufpos);
- if (ackseq == -1) {
-diff -ruN rat/mbus_engine.c work.tom/rat-4.2.25/rat/mbus_engine.c
---- rat/mbus_engine.c Mon Jan 12 12:14:38 2004
-+++ rat/mbus_engine.c Sun Jan 1 02:04:57 2006
-@@ -604,11 +604,11 @@
- #endif
- gettimeofday(&t, NULL);
- gethostname(hname, 64);
-- sprintf(fname, "rat-%p-%ld.%06ld-%s-%s.log", sp, t.tv_sec, (long)t.tv_usec, hname, uname);
-+ sprintf(fname, "rat-%p-%jd.%06ld-%s-%s.log", sp, (intmax_t)t.tv_sec, (long)t.tv_usec, hname, uname);
- cname = rtp_get_sdes(sp->rtp_session[0], rtp_my_ssrc(sp->rtp_session[0]), RTCP_SDES_CNAME);
-
- sp->logger = fopen(fname, "w");
-- fprintf(sp->logger, "tool_start %lu.%06lu ", t.tv_sec + SECS_BETWEEN_1900_1970, (long)t.tv_usec);
-+ fprintf(sp->logger, "tool_start %jd.%06lu ", (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, (long)t.tv_usec);
- fprintf(sp->logger, "0x%08lx\n", (unsigned long) rtp_my_ssrc(sp->rtp_session[0]));
- } else {
- fclose(sp->logger);
-diff -ruN rat/ui_send_audio.c work.tom/rat-4.2.25/rat/ui_send_audio.c
---- rat/ui_send_audio.c Mon Jan 12 12:14:46 2004
-+++ rat/ui_send_audio.c Sun Jan 1 02:13:08 2006
-@@ -279,7 +279,7 @@
- if (sp->logger != NULL) {
- struct timeval t;
- gettimeofday(&t, NULL);
-- fprintf(sp->logger, "silence %lu.%06lu 0x%08lx %s\n", t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec,
-+ fprintf(sp->logger, "silence %jd.%06lu 0x%08lx %s\n", (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec,
- (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), name);
- }
- }
-@@ -371,8 +371,8 @@
- if (sp->logger != NULL) {
- struct timeval t;
- gettimeofday(&t, NULL);
-- fprintf(sp->logger, "channel %lu.%06lu 0x%08lx redundancy %s\n",
-- t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec,
-+ fprintf(sp->logger, "channel %jd.%06lu 0x%08lx redundancy %s\n",
-+ (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec,
- (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), scf->long_name);
- }
-
-@@ -453,8 +453,8 @@
- if (sp->logger != NULL) {
- struct timeval t;
- gettimeofday(&t, NULL);
-- fprintf(sp->logger, "channel %lu.%06lu 0x%08lx none\n",
-- t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]));
-+ fprintf(sp->logger, "channel %jd.%06lu 0x%08lx none\n",
-+ (intmax_t)t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]));
- }
- break;
- case 'r':
-@@ -485,8 +485,8 @@
- if (sp->logger != NULL) {
- struct timeval t;
- gettimeofday(&t, NULL);
-- fprintf(sp->logger, "codec %lu.%06lu 0x%08lx %s\n",
-- t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]),
-+ fprintf(sp->logger, "codec %jd.%06lu 0x%08lx %s\n",
-+ (intmax_t)t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]),
- pri_cf->long_name);
- }
- }
diff --git a/audio/rat/pkg-descr b/audio/rat/pkg-descr
deleted file mode 100644
index 22763c1892ae..000000000000
--- a/audio/rat/pkg-descr
+++ /dev/null
@@ -1,8 +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.
-
-WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/
diff --git a/audio/rat/pkg-plist b/audio/rat/pkg-plist
deleted file mode 100644
index b925d308e8c6..000000000000
--- a/audio/rat/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/rat-%%PORTVERSION%%
-bin/rat-%%PORTVERSION%%-ui
-bin/rat-%%PORTVERSION%%-media
-bin/rat
-etc/sdr/plugins/sdr2.plugin.S02.audio.rtp.-.rat-%%PORTVERSION%%
-@dirrm etc/sdr/plugins
-@dirrm etc/sdr