summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-03 13:39:07 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-03 13:39:07 +0000
commit4f1fcc5aacfbf6d0cbe6c0d1b4fd59339b440963 (patch)
treea2a1912a445ef5a69487e2da9408bc4fb3656a00 /app-misc/proxyper
parentVersion bumped. Closes 36860 (diff)
downloadhistorical-4f1fcc5aacfbf6d0cbe6c0d1b4fd59339b440963.tar.gz
historical-4f1fcc5aacfbf6d0cbe6c0d1b4fd59339b440963.tar.bz2
historical-4f1fcc5aacfbf6d0cbe6c0d1b4fd59339b440963.zip
Version bumped. Closes 36860
Diffstat (limited to 'app-misc/proxyper')
-rw-r--r--app-misc/proxyper/Manifest10
-rw-r--r--app-misc/proxyper/files/digest-proxyper-3351
-rw-r--r--app-misc/proxyper/files/proxyper.ini28
-rw-r--r--app-misc/proxyper/files/proxyper.init2
-rw-r--r--app-misc/proxyper/proxyper-333.ebuild12
-rw-r--r--app-misc/proxyper/proxyper-335.ebuild58
6 files changed, 97 insertions, 14 deletions
diff --git a/app-misc/proxyper/Manifest b/app-misc/proxyper/Manifest
index 800278601297..57de5ff98820 100644
--- a/app-misc/proxyper/Manifest
+++ b/app-misc/proxyper/Manifest
@@ -1,7 +1,7 @@
-MD5 df3ae70d6812da8bcb4b949e894b23e3 ChangeLog 395
-MD5 1b5844fdb4c5b005f13f6b61d0720db7 proxyper-333.ebuild 1374
-MD5 ab6aba8a56477865453e8a4a05de9377 proxyper-335.ebuild 1504
-MD5 3051c1337fd705f88299a071e6c7cdbc files/proxyper.ini 697
+MD5 77b644c6662d39ecd9ce618f0e3d6f09 ChangeLog 591
+MD5 e29dd538aee2e1bce6aa2ea7617a3680 proxyper-333.ebuild 1373
+MD5 e74486530701f76c04d374d83af06dd9 proxyper-335.ebuild 1503
+MD5 7f08d751d9279ec0484ccd5694090573 files/proxyper.ini 797
MD5 725a1f7d026ed892bb7fcf4e886925cc files/digest-proxyper-333 148
-MD5 1d718d1bd35ae81c1bf819dc6260654c files/proxyper.init 513
+MD5 64c0880b4b03c94921dd8e3990957228 files/proxyper.init 614
MD5 75e548fc485b3e9cb662b4072fd1c696 files/digest-proxyper-335 73
diff --git a/app-misc/proxyper/files/digest-proxyper-335 b/app-misc/proxyper/files/digest-proxyper-335
new file mode 100644
index 000000000000..28f2a806a747
--- /dev/null
+++ b/app-misc/proxyper/files/digest-proxyper-335
@@ -0,0 +1 @@
+MD5 3f8a13c6287fde48c94c285e84eebf61 proxyper335-linux-x86.tar.gz 316940
diff --git a/app-misc/proxyper/files/proxyper.ini b/app-misc/proxyper/files/proxyper.ini
new file mode 100644
index 000000000000..9213c3e81311
--- /dev/null
+++ b/app-misc/proxyper/files/proxyper.ini
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/files/proxyper.ini,v 1.1 2004/01/03 13:38:56 mholzer Exp $
+
+opts="${opts} reload"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting distributed.net personal proxy"
+ start-stop-daemon --start --quiet --pidfile /opt/proxyper/rc5desproxy.pid --exec /opt/proxyper/proxyper -- -detach
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping distributed.net personal proxy"
+ start-stop-daemon --stop --quiet --pidfile /opt/proxyper/rc5desproxy.pid
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading distribute.net personal proxy ini file"
+ start-stop-daemon --stop --signal HUP --pidfile /opt/proxyper/rc5desproxy.pid
+ eend $?
+}
diff --git a/app-misc/proxyper/files/proxyper.init b/app-misc/proxyper/files/proxyper.init
index 43761eb5bb98..0c0054918400 100644
--- a/app-misc/proxyper/files/proxyper.init
+++ b/app-misc/proxyper/files/proxyper.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header :$
+# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/files/proxyper.init,v 1.2 2004/01/03 13:38:56 mholzer Exp $
depend() {
need net
diff --git a/app-misc/proxyper/proxyper-333.ebuild b/app-misc/proxyper/proxyper-333.ebuild
index 07a741037227..5eeb9604760e 100644
--- a/app-misc/proxyper/proxyper-333.ebuild
+++ b/app-misc/proxyper/proxyper-333.ebuild
@@ -1,15 +1,11 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-333.ebuild,v 1.3 2003/09/05 12:10:36 msterret Exp $
-
-
-# This is my very first ebuild. I hope it will be easy since there's no
-# compiling and stuff... ...let's see :-)
-
+# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-333.ebuild,v 1.4 2004/01/03 13:38:56 mholzer Exp $
DESCRIPTION="distributed.net personal proxy"
HOMEPAGE="http://www.distributed.net"
-SRC_URI="http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz"
+SRC_URI="x86? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz )
+ alpha? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-alpha.tar.gz )"
LICENSE="distributed.net"
SLOT="0"
KEYWORDS="x86 -ppc -sparc ~alpha"
@@ -41,7 +37,7 @@ src_install() {
pkg_postinst() {
einfo "Don't forget to modify the config file"
einfo "located in /opt/proxyper/proxyper.ini"
- einfo "I recommend reading the manual first :-)"
+ einfo "It's recommend to reading the manual first :-)"
}
pkg_postrm() {
diff --git a/app-misc/proxyper/proxyper-335.ebuild b/app-misc/proxyper/proxyper-335.ebuild
new file mode 100644
index 000000000000..fc7d4d72f4e1
--- /dev/null
+++ b/app-misc/proxyper/proxyper-335.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-335.ebuild,v 1.1 2004/01/03 13:38:56 mholzer Exp $
+
+DESCRIPTION="distributed.net personal proxy"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI="x86? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz )"
+LICENSE="distributed.net"
+SLOT="0"
+KEYWORDS="~x86 -ppc -sparc -alpha"
+IUSE=""
+DEPEND=""
+RDEPEND="net-misc/host"
+
+# added a DESTDIR variable to make things cleaner
+DESTDIR="/opt/proxyper"
+
+if [ `use x86` ]; then
+ S="${WORKDIR}/${PN}${PV}-linux-x86"
+elif [ `use ppc` ]; then
+ S="${WORKDIR}/${PN}${PV}-linux-ppc"
+elif [ `use sparc` ]; then
+ S="${WORKDIR}/${PN}${PV}-linux-sparc"
+elif [ `use alpha` ]; then
+ S="${WORKDIR}/${PN}${PV}-linux-alpha"
+fi
+
+RESTRICT="nomirror"
+
+src_install() {
+ exeinto ${DESTDIR} ; doexe proxyper
+
+ # don't clobber an already existing ini file!
+ insinto ${DESTDIR}
+ if [ ! -f ${DESTDIR}/proxyper.ini ]
+ then
+ doins proxyper.ini
+ else
+ newins ${DESTDIR}/proxyper.ini proxyper.ini
+ fi
+
+ dodoc ChangeLog.txt
+ dohtml manual.html
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/proxyper.init proxyper
+}
+
+pkg_postinst() {
+ einfo "Don't forget to modify the config file"
+ einfo "located in /opt/proxyper/proxyper.ini"
+ einfo "It's recommend to reading the manual first :-)"
+}
+
+pkg_postrm() {
+ if [ -d ${DESTDIR} ]; then
+ einfo "All files have not been removed from /opt/proxyper"
+ fi
+}