diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
commit | ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93 (patch) | |
tree | ea35ca7703e69b2f955232964f66c73b9338e847 /net-proxy/tinyproxy/files | |
parent | Adding pcmcia flag. Closes #90025, Cheers Georgi (diff) | |
download | gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.tar.gz gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.tar.bz2 gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.zip |
www-proxy -> net-proxy
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy/tinyproxy/files')
-rw-r--r-- | net-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 | 1 | ||||
-rw-r--r-- | net-proxy/tinyproxy/files/digest-tinyproxy-1.6.3 | 1 | ||||
-rwxr-xr-x | net-proxy/tinyproxy/files/tinyproxy.rc | 26 |
3 files changed, 28 insertions, 0 deletions
diff --git a/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 b/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 new file mode 100644 index 000000000000..5bc1da061a22 --- /dev/null +++ b/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 @@ -0,0 +1 @@ +MD5 08abe93ebd3a229a68e471bb5e013c46 tinyproxy-1.6.2.tar.gz 463274 diff --git a/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.3 b/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.3 new file mode 100644 index 000000000000..ab7140134762 --- /dev/null +++ b/net-proxy/tinyproxy/files/digest-tinyproxy-1.6.3 @@ -0,0 +1 @@ +MD5 bd14d029b12621bcfd7ee71b2f4893da tinyproxy-1.6.3.tar.gz 467348 diff --git a/net-proxy/tinyproxy/files/tinyproxy.rc b/net-proxy/tinyproxy/files/tinyproxy.rc new file mode 100755 index 000000000000..83aa85c27645 --- /dev/null +++ b/net-proxy/tinyproxy/files/tinyproxy.rc @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/files/tinyproxy.rc,v 1.1 2005/04/22 19:15:12 mrness Exp $ + +depend() { + use logger dns + need net +} + +start() { + ebegin "Starting tinyproxy" + /usr/sbin/tinyproxy + eend $? +} + +stop() { + local pid=0 + if [ -f /var/run/tinyproxy.pid ] ; then + pid=$(</var/run/tinyproxy.pid) + rm /var/run/tinyproxy.pid + fi + ebegin "Stopping tinyproxy" + [ ${pid} -ne 0 ] && kill ${pid} + eend $? +} |