summaryrefslogtreecommitdiff
path: root/net/ra-pna-proxy
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-09-01 19:44:03 +0000
committertron <tron@pkgsrc.org>1999-09-01 19:44:03 +0000
commit7bded71ce6d759a43b0849708915d29c60ac872e (patch)
tree1df7f88cfbb6ee4390bafa04963eb3bf29f1c165 /net/ra-pna-proxy
parent4fd29bc7051db83a2dc926fb09439a3f7c77602d (diff)
downloadpkgsrc-7bded71ce6d759a43b0849708915d29c60ac872e.tar.gz
Import new "ra-pna-proxy" package:
Proxy server for the RealAudio PNA protocol
Diffstat (limited to 'net/ra-pna-proxy')
-rw-r--r--net/ra-pna-proxy/Makefile38
-rw-r--r--net/ra-pna-proxy/files/md53
-rw-r--r--net/ra-pna-proxy/files/patch-sum4
-rw-r--r--net/ra-pna-proxy/patches/patch-aa13
-rw-r--r--net/ra-pna-proxy/patches/patch-ab74
-rw-r--r--net/ra-pna-proxy/pkg/COMMENT1
-rw-r--r--net/ra-pna-proxy/pkg/DESCR7
-rw-r--r--net/ra-pna-proxy/pkg/MESSAGE1
-rw-r--r--net/ra-pna-proxy/pkg/PLIST3
9 files changed, 144 insertions, 0 deletions
diff --git a/net/ra-pna-proxy/Makefile b/net/ra-pna-proxy/Makefile
new file mode 100644
index 00000000000..7d7aa9f377e
--- /dev/null
+++ b/net/ra-pna-proxy/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+
+DISTNAME= raproxy3.0b1
+PKGNAME= ra-pna-proxy-3.0b1
+CATEGORIES= net
+MASTER_SITES= # empty
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://service.real.com/firewall/fdev.html
+
+LICENSE= no-commercial-use
+MIRROR_DISTFILE= no
+
+DOWNLOAD= http://proforma.real.com/mario/devzone/proxyform.html
+
+ALL_TARGET= raproxy
+PROGNAME= ${PKGNAME:C/-[1-9].*//}
+WRKSRC= ${WRKDIR}/raproxy
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${ECHO_MSG} "==============================================================="; \
+ ${ECHO_MSG} " The PNA Proxy Kit must be fetched into \"${DISTDIR}\""; \
+ ${ECHO_MSG} " via the Web formular available under this URL:"; \
+ ${ECHO_MSG} " ${DOWNLOAD}"; \
+ ${ECHO_MSG} "==============================================================="; \
+ ${FALSE}; \
+ fi
+
+post-build:
+ cd ${WRKSRC}; \
+ ${SED} -e 's#/usr/local#${PREFIX}#g' <raproxy.man >${PROGNAME}.8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/raproxy ${PREFIX}/libexec/${PROGNAME}
+ ${INSTALL_MAN} ${WRKSRC}/${PROGNAME}.8 ${PREFIX}/man/man8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ra-pna-proxy/files/md5 b/net/ra-pna-proxy/files/md5
new file mode 100644
index 00000000000..e0e241c215d
--- /dev/null
+++ b/net/ra-pna-proxy/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+
+MD5 (raproxy3.0b1.tar.gz) = 9a61790dfcb5d59a1ab51aef2b8a6c8a
diff --git a/net/ra-pna-proxy/files/patch-sum b/net/ra-pna-proxy/files/patch-sum
new file mode 100644
index 00000000000..26d905ec678
--- /dev/null
+++ b/net/ra-pna-proxy/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+
+MD5 (patch-aa) = 8f22a205dec3ba47af9ed1b9bc49ca19
+MD5 (patch-ab) = a2087eedca30865b466d341c295a9318
diff --git a/net/ra-pna-proxy/patches/patch-aa b/net/ra-pna-proxy/patches/patch-aa
new file mode 100644
index 00000000000..7dd87471485
--- /dev/null
+++ b/net/ra-pna-proxy/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+
+--- Makefile.orig Fri Dec 20 01:12:26 1996
++++ Makefile Wed Sep 1 20:36:38 1999
+@@ -6,7 +6,7 @@
+ # All rights reserved. See raproxy.c for full copyright details.
+ #
+ CC= cc
+-CFLAGS= #-DDEBUG -g
++#CFLAGS= #-DDEBUG -g
+ DISTNAME=raproxy3.0b1
+
+ DOCNAMES=about.html advanced.html contents.html generic.html index.html \
diff --git a/net/ra-pna-proxy/patches/patch-ab b/net/ra-pna-proxy/patches/patch-ab
new file mode 100644
index 00000000000..fc7af447079
--- /dev/null
+++ b/net/ra-pna-proxy/patches/patch-ab
@@ -0,0 +1,74 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+
+--- raproxy.man.orig Fri Dec 20 00:03:25 1996
++++ raproxy.man Wed Sep 1 21:33:53 1999
+@@ -182,37 +182,10 @@
+ RealAudio firewall proxies, but it may also be used in conjunction
+ with security software such as the TIS Firewall Toolkit (fwtk) to
+ allow access to RealAudio servers through a firewall.
+-.SH "Setting Up Proxy with TIS Firewall Tookit"
+-.IX Header "Setting Up Proxy with TIS Firewall Tookit"
++.SH "Setting Up the RealAudio Proxy"
++.IX Header "Setting Up the RealAudio Proxy"
+ The RealAudio proxy is only a proxy. It does not do any
+-authentication at all. So, in order to implement IP\-level
+-authentication, you must use tools such as \fInetacl\fR\|(1), a tool that
+-comes with Trusted Information Systems Firewall Toolkit, available
+-from:
+-.PP
+-.Vb 1
+-\& ftp://ftp.tis.com/pub/firewalls/toolkit
+-.Ve
+-Install the toolkit as per the instructions in the accompanying README
+-file and in the documentation archive found at:
+-.PP
+-.Vb 1
+-\& ftp://ftp.tis.com/pub/firewalls/toolkit
+-.Ve
+-Once you have installed the toolkit, you will need to compile the RealAudio
+-proxy. You may wish to edit the Makefile to customize the proxy for your
+-system. After you have done this, you can type the following command at
+-the shell prompt:
+-.PP
+-.Vb 1
+-\& # make raproxy
+-.Ve
+-This will compile the RealAudio proxy, creating a file called \*(L"raproxy\*(R".
+-You then need to copy this file into /usr/local/libexec (or another
+-appropriate directory):
+-.PP
+-.Vb 1
+-\& # cp raproxy /usr/local/libexec
++authentication at all.
+ .Ve
+ The RealAudio proxy will need a name in your /etc/services file for inetd
+ to reference it. To name the service, you need to add the RealAudio proxy
+@@ -221,25 +194,13 @@
+ .Vb 1
+ \& pn-raproxy 1090/tcp #Progressive Networks' RealAudio Proxy
+ .Ve
+-The RealAudio proxy will depend on netacl to screen connection requests.
+-In order to have netacl listen for the \*(L"pn-raproxy\*(R" service, you will also
++The RealAudio proxy will depend on inetd to handle connection requests.
++In order to have inetd listen for the \*(L"pn-raproxy\*(R" service, you will also
+ need to add it in your /etc/inetd.conf
+ .PP
+ .Vb 2
+ \& # RealAudio Proxy
+-\& pn-raproxy stream tcp nowait root /usr/local/etc/netacl pn-raproxy
+-.Ve
+-netacl needs to know how to handle requests made for the \*(L"pn-raproxy\*(R"
+-service, and who should be allowed to use the proxy. For example, to
+-configure netacl to permit all users coming from 10.0.154.* to use raproxy,
+-you need to add the following lines to your /usr/local/etc/netperm-table:
+-.PP
+-.Vb 2
+-\& # RealAudio Proxy
+-\& netacl-pn-raproxy: permit-hosts 10.0.154.* -exec /usr/local/libexec/raproxy
+-.Ve
+-At this point, you should be able to send a HUP signal to your inetd
+-daemon. From a shell prompt:
++\& pn-raproxy stream tcp nowait root /usr/local/libexec/pn-raproxy pn-raproxy
+ .PP
+ .Vb 4
+ \& # ps -auxw | grep inetd
diff --git a/net/ra-pna-proxy/pkg/COMMENT b/net/ra-pna-proxy/pkg/COMMENT
new file mode 100644
index 00000000000..e7f4eae9660
--- /dev/null
+++ b/net/ra-pna-proxy/pkg/COMMENT
@@ -0,0 +1 @@
+Proxy server for the RealAudio PNA protocol
diff --git a/net/ra-pna-proxy/pkg/DESCR b/net/ra-pna-proxy/pkg/DESCR
new file mode 100644
index 00000000000..f4d7ea23435
--- /dev/null
+++ b/net/ra-pna-proxy/pkg/DESCR
@@ -0,0 +1,7 @@
+raproxy - RealAudio application-level firewall proxy version 3.0b1
+
+raproxy is a reference implementation of a firewall proxy. Its primary
+function is to serve as a reference for people writing RealAudio
+firewall proxies, but it may also be used in conjunction with security
+software such as the TIS Firewall Toolkit (fwtk) to allow access to
+RealAudio servers through a firewall.
diff --git a/net/ra-pna-proxy/pkg/MESSAGE b/net/ra-pna-proxy/pkg/MESSAGE
new file mode 100644
index 00000000000..4ad6924fcd4
--- /dev/null
+++ b/net/ra-pna-proxy/pkg/MESSAGE
@@ -0,0 +1 @@
+Please read ra-pna-proxy(8) for instruction how to setup the proxy server.
diff --git a/net/ra-pna-proxy/pkg/PLIST b/net/ra-pna-proxy/pkg/PLIST
new file mode 100644
index 00000000000..d3051687f2f
--- /dev/null
+++ b/net/ra-pna-proxy/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/01 19:44:03 tron Exp $
+libexec/ra-pna-proxy
+man/man8/ra-pna-proxy.8