diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-04-29 21:28:04 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-04-29 21:28:04 +0000 |
commit | 2c6b99916c555a42a1360cb08053624a286b27b9 (patch) | |
tree | 68d41dbdb5062fe50af3d9758f09d7f6c8adf548 /app-misc/proxyper | |
parent | initial ebuild (diff) | |
download | gentoo-2-2c6b99916c555a42a1360cb08053624a286b27b9.tar.gz gentoo-2-2c6b99916c555a42a1360cb08053624a286b27b9.tar.bz2 gentoo-2-2c6b99916c555a42a1360cb08053624a286b27b9.zip |
initial ebuild
Diffstat (limited to 'app-misc/proxyper')
-rw-r--r-- | app-misc/proxyper/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/proxyper/Manifest | 5 | ||||
-rw-r--r-- | app-misc/proxyper/files/digest-proxyper-333 | 2 | ||||
-rw-r--r-- | app-misc/proxyper/files/proxyper.init | 20 | ||||
-rw-r--r-- | app-misc/proxyper/proxyper-333.ebuild | 51 |
5 files changed, 84 insertions, 2 deletions
diff --git a/app-misc/proxyper/ChangeLog b/app-misc/proxyper/ChangeLog new file mode 100644 index 000000000000..d26353e91f2c --- /dev/null +++ b/app-misc/proxyper/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-misc/proxyper +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/ChangeLog,v 1.1 2003/04/29 21:27:51 mholzer Exp $ + +*proxyper-333 (29 Apr 2003) + + 29 Apr 2003; Martin Holzer <mholzer@gentoo.org> proxyper-333.ebuild: + Initial ebuild. Submitted by Radek Podgorny <radek@podgorny.cz> in #16248. diff --git a/app-misc/proxyper/Manifest b/app-misc/proxyper/Manifest index 0b0deb5f3439..4285e9fa89ee 100644 --- a/app-misc/proxyper/Manifest +++ b/app-misc/proxyper/Manifest @@ -1,3 +1,4 @@ -MD5 f20428982433bb6db285ea7f818c68f2 proxyper-333.ebuild 1292 -MD5 e9627863ac5087db6297c32bb91ade6b files/digest-proxyper-333 73 +MD5 fd278e2cb84b4a80721daf8b3f231ca5 proxyper-333.ebuild 1393 +MD5 df3ae70d6812da8bcb4b949e894b23e3 ChangeLog 395 +MD5 725a1f7d026ed892bb7fcf4e886925cc files/digest-proxyper-333 148 MD5 7cf9cc735f3b3da221f30879f630d8bb files/proxyper.init 513 diff --git a/app-misc/proxyper/files/digest-proxyper-333 b/app-misc/proxyper/files/digest-proxyper-333 new file mode 100644 index 000000000000..fb45f95ae314 --- /dev/null +++ b/app-misc/proxyper/files/digest-proxyper-333 @@ -0,0 +1,2 @@ +MD5 c6745770d88ee48e360386b41442596f proxyper333-linux-x86.tar.gz 365029 +MD5 b557a0a9726ed392e1968d726bdcb8ff proxyper333-linux-alpha.tar.gz 334775 diff --git a/app-misc/proxyper/files/proxyper.init b/app-misc/proxyper/files/proxyper.init new file mode 100644 index 000000000000..43761eb5bb98 --- /dev/null +++ b/app-misc/proxyper/files/proxyper.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header :$ + +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 $? +} diff --git a/app-misc/proxyper/proxyper-333.ebuild b/app-misc/proxyper/proxyper-333.ebuild new file mode 100644 index 000000000000..fbc0c4b8936e --- /dev/null +++ b/app-misc/proxyper/proxyper-333.ebuild @@ -0,0 +1,51 @@ +# 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.1 2003/04/29 21:27:51 mholzer Exp $ + + +# This is my very first ebuild. I hope it will be easy since there's no +# compiling and stuff... ...let's see :-) + + +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" +LICENSE="distributed.net" +SLOT="0" +KEYWORDS="~x86 -ppc -sparc ~alpha" +IUSE="" +DEPEND="" +RDEPEND="net-misc/host" +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 /opt/proxyper ; doexe proxyper + insinto /opt/proxyper ; doins proxyper.ini + + 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 "I recommend reading the manual first :-)" +} + +pkg_postrm() { + if [ -d /opt/proxyper ]; then + einfo "All files has not been removed from /opt/proxyper" + fi +} |