aboutsummaryrefslogtreecommitdiffstats
path: root/misc/proxyper
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-14 11:33:22 +0800
committersteve <steve@FreeBSD.org>1999-11-14 11:33:22 +0800
commit63584635308ad354d8035547577d3998ffc08c99 (patch)
tree2d46696a282a87f26bcdeb8e31db3d3ea4cf8f47 /misc/proxyper
parentb53419781a4a00f49dabe32f5089c40493dce98f (diff)
downloadfreebsd-ports-gnome-63584635308ad354d8035547577d3998ffc08c99.tar.gz
freebsd-ports-gnome-63584635308ad354d8035547577d3998ffc08c99.tar.zst
freebsd-ports-gnome-63584635308ad354d8035547577d3998ffc08c99.zip
Initial import of proxyper version 308.
The official distributed.net v2 personal proxy for rc5des. PR: 14808 Submitted by: Steven Enderle <globalpanic@gmx.net>
Diffstat (limited to 'misc/proxyper')
-rw-r--r--misc/proxyper/Makefile51
-rw-r--r--misc/proxyper/distinfo1
-rw-r--r--misc/proxyper/files/proxyper.sh6
-rw-r--r--misc/proxyper/pkg-comment1
-rw-r--r--misc/proxyper/pkg-descr10
-rw-r--r--misc/proxyper/pkg-plist6
6 files changed, 75 insertions, 0 deletions
diff --git a/misc/proxyper/Makefile b/misc/proxyper/Makefile
new file mode 100644
index 000000000000..227f50d11383
--- /dev/null
+++ b/misc/proxyper/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: distributed.net-v2personalproxy
+# Version required: 308
+# Date created: 31 Oct 1999
+# Whom: globalpanic@gmx.net
+#
+# $FreeBSD$
+#
+
+DISTNAME= proxyper308-freebsd3-elf-x86
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper-rc5des/ \
+ http://http.distributed.net/pub/dcti/proxyper-rc5des/
+
+MAINTAINER= globalpanic@gmx.net
+
+.include <bsd.port.pre.mk>
+
+ONLY_FOR_ARCHS= i386
+
+.if ${OSVERSION} < 220000
+BROKEN= "No version is built for your system."
+.elif ${OSVERSION} < 300000
+BROKEN= "No version is currently available for your system. Please try again later."
+.endif
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+BINDIR= ${PREFIX}/proxyper/
+LIBDIR= ${PREFIX}/etc/rc.d/
+WRKSRC= ${WRKDIR}
+
+CLIENTUID= nobody
+CLIENTGID= daemon
+
+do-install:
+ if [ ! -d ${BINDIR} ]; then \
+ ${MKDIR} ${BINDIR}; \
+ fi
+ ${INSTALL} -c -m 711 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/proxyper ${BINDIR}
+ ${SED} s#CHANGETHIS#${BINDIR}# < ${FILESDIR}/proxyper.sh > ${WRKSRC}/proxyper.sh
+ ${INSTALL} -c -m 711 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/proxyper.sh ${BINDIR}
+ ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/proxyper.ini ${BINDIR}
+ ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/ChangeLog.txt ${BINDIR}
+ ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/Readme.txt ${BINDIR}
+ ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKSRC}/Readme.txt ${BINDIR}
+ ${CHOWN} ${CLIENTUID}:${CLIENTGID} ${BINDIR}
+ ${CHMOD} 755 ${BINDIR}
+ ${LN} -s ${BINDIR}proxyper.sh ${LIBDIR}proxyper.sh
+
+.include <bsd.port.mk>
diff --git a/misc/proxyper/distinfo b/misc/proxyper/distinfo
new file mode 100644
index 000000000000..178cb498ff5b
--- /dev/null
+++ b/misc/proxyper/distinfo
@@ -0,0 +1 @@
+MD5 (proxyper308-freebsd3-elf-x86.tar.gz) = fe61df32d109582b79ab3df85bc5696c
diff --git a/misc/proxyper/files/proxyper.sh b/misc/proxyper/files/proxyper.sh
new file mode 100644
index 000000000000..b070a967299f
--- /dev/null
+++ b/misc/proxyper/files/proxyper.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+dir="CHANGETHIS"
+
+echo -n " proxyper"
+su -m nobody -c "$dir/proxyper" 2>/dev/null >/dev/null &
diff --git a/misc/proxyper/pkg-comment b/misc/proxyper/pkg-comment
new file mode 100644
index 000000000000..38ec15a82b16
--- /dev/null
+++ b/misc/proxyper/pkg-comment
@@ -0,0 +1 @@
+The official distributed.net v2 personal proxy
diff --git a/misc/proxyper/pkg-descr b/misc/proxyper/pkg-descr
new file mode 100644
index 000000000000..8c8a1f38b446
--- /dev/null
+++ b/misc/proxyper/pkg-descr
@@ -0,0 +1,10 @@
+With this proxy, you can serve distributed.net clients.
+
+It allows you to establish one of your own machines as a buffer between
+your clients and one of the keyservers that are officially run by the
+distributed.net organizers. This will allow your clients to waste less
+time trying to connect to one of the main proxies, since the personal
+proxy will already have more key blocks waiting for your clients when
+they're ready.
+
+WWW: http://www.distributed.net/proxies/
diff --git a/misc/proxyper/pkg-plist b/misc/proxyper/pkg-plist
new file mode 100644
index 000000000000..d01bed074e8a
--- /dev/null
+++ b/misc/proxyper/pkg-plist
@@ -0,0 +1,6 @@
+etc/rc.d/proxyper.sh
+proxyper/ChangeLog.txt
+proxyper/Readme.txt
+proxyper/proxyper
+proxyper/proxyper.ini
+proxyper/proxyper.sh