aboutsummaryrefslogtreecommitdiff
path: root/audio/raproxy
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>1999-05-09 17:34:14 +0000
committerNick Sayer <nsayer@FreeBSD.org>1999-05-09 17:34:14 +0000
commitcd113167fa57594ac25d83a8a3a834ba246e4ee5 (patch)
treea9b70d17b1d514de4cc0160f457ca438a771355b /audio/raproxy
parent24cf0d488ac893d74fbc9bdda667895353d55979 (diff)
downloadports-cd113167fa57594ac25d83a8a3a834ba246e4ee5.tar.gz
ports-cd113167fa57594ac25d83a8a3a834ba246e4ee5.zip
Notes
Diffstat (limited to 'audio/raproxy')
-rw-r--r--audio/raproxy/Makefile32
-rw-r--r--audio/raproxy/distinfo1
-rw-r--r--audio/raproxy/files/patch-aa50
-rw-r--r--audio/raproxy/pkg-comment1
-rw-r--r--audio/raproxy/pkg-descr5
-rw-r--r--audio/raproxy/pkg-plist2
6 files changed, 91 insertions, 0 deletions
diff --git a/audio/raproxy/Makefile b/audio/raproxy/Makefile
new file mode 100644
index 000000000000..0a93cf2745b8
--- /dev/null
+++ b/audio/raproxy/Makefile
@@ -0,0 +1,32 @@
+# Ports collection makefile for: raproxy
+# Version required: 3.0b1
+# Date created: Sat May 8, 1999
+# Whom: Nick Sayer (nsayer@freebsd.org)
+#
+# $Id: Makefile,v 1.9 1999/02/13 20:03:59 obrien Exp $
+#
+
+DISTNAME= raproxy3.0b1
+PKGNAME= raproxy-3.0b1
+CATEGORIES= security net audio
+#EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= nsayer@freebsd.org
+
+WRKSRC= ${WRKDIR}/raproxy
+
+RESTRICTED= "No redistribution allowed."
+
+MAN8= raproxy.8
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/{$DISTNAME}${EXTRACT_SUFX})
+IGNORE='Please fill out the form at http://service.real.com/firewall/index.html and place the sources at ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} then run make again'
+.endif
+
+do-install:
+ ${INSTALL-PROGRAM} ${WRKSRC}/raproxy ${PREFIX}/libexec/raproxy
+ ${INSTALL-MAN} ${WRKSRC}/raproxy.man ${PREFIX}/man/man8/raproxy.8
+
+.include <bsd.port.post.mk>
diff --git a/audio/raproxy/distinfo b/audio/raproxy/distinfo
new file mode 100644
index 000000000000..59cf361599cb
--- /dev/null
+++ b/audio/raproxy/distinfo
@@ -0,0 +1 @@
+MD5 (raproxy3.0b1.tar.gz) = 9a61790dfcb5d59a1ab51aef2b8a6c8a
diff --git a/audio/raproxy/files/patch-aa b/audio/raproxy/files/patch-aa
new file mode 100644
index 000000000000..bd644fe15627
--- /dev/null
+++ b/audio/raproxy/files/patch-aa
@@ -0,0 +1,50 @@
+--- raproxy.c.dist Thu Dec 19 15:53:23 1996
++++ raproxy.c Mon Jul 27 11:09:01 1998
+@@ -668,6 +668,7 @@
+ {
+ int size;
+ struct sockaddr_in addr, info;
++ int port;
+
+ /* setup bind/listen etc for udp backchannel from server */
+ if ( (serveraudiofd = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0 ) {
+@@ -675,6 +676,15 @@
+ syslog(LOG_LVL, "raproxy: can't setup socket: %m");
+ return(-1); /* Probably out of sockets */
+ }
++#ifdef IP_PORTRANGE
++ port = IP_PORTRANGE_HIGH;
++ if ( setsockopt(serveraudiofd, IPPROTO_IP, IP_PORTRANGE, (char *) &port,
++ sizeof(port)) < 0 ) {
++ syslog(LOG_LVL, "raproxy: can't setsockopt(): %m");
++ /* syslog error ? */
++ return(-1);
++ }
++#endif
+ (void) bzero (&addr, sizeof (addr));
+ addr.sin_family = AF_INET;
+ /*
+@@ -1145,6 +1155,7 @@
+ {
+ struct sockaddr_in addr, info;
+ int size;
++ int port;
+
+ /*
+ * allocate/setup socket/fd/port FROM which we'll
+@@ -1155,6 +1166,15 @@
+ syslog(LOG_LVL, "raproxy: can't setup socket: %m");
+ return(-1); /* Probably out of sockets */
+ }
++#ifdef IP_PORTRANGE
++ port = IP_PORTRANGE_HIGH;
++ if ( setsockopt(serveraudiofd, IPPROTO_IP, IP_PORTRANGE, (char *) &port,
++ sizeof(port)) < 0 ) {
++ syslog(LOG_LVL, "raproxy: can't setsockopt(): %m");
++ /* syslog error ? */
++ return(-1);
++ }
++#endif
+ (void) bzero (&addr, sizeof (addr));
+ addr.sin_family = AF_INET;
+ addr.sin_port = htons(0);
diff --git a/audio/raproxy/pkg-comment b/audio/raproxy/pkg-comment
new file mode 100644
index 000000000000..1e4385348a61
--- /dev/null
+++ b/audio/raproxy/pkg-comment
@@ -0,0 +1 @@
+Real Audio (5.0 and previous) stream proxy
diff --git a/audio/raproxy/pkg-descr b/audio/raproxy/pkg-descr
new file mode 100644
index 000000000000..7c83238f2050
--- /dev/null
+++ b/audio/raproxy/pkg-descr
@@ -0,0 +1,5 @@
+Proxy for pnm: streams (real audio 5.0 and previous).
+
+The only way to get the source is to fill out a stupid form,
+which probably puts you on real's (spam) mailing list. A
+throwaway mail address is recommended.
diff --git a/audio/raproxy/pkg-plist b/audio/raproxy/pkg-plist
new file mode 100644
index 000000000000..6fe633953492
--- /dev/null
+++ b/audio/raproxy/pkg-plist
@@ -0,0 +1,2 @@
+libexec/raproxy
+man/man8/raproxy.8