diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 22:19:19 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 22:19:19 +0000 |
commit | df872494a801440647f41fcbf17dc730f223f7e8 (patch) | |
tree | 8a727d9c9b76beb51b3fb3658547e0251d44b8b7 /net-proxy/nylon/files | |
parent | Added to ~ppc. (diff) | |
download | gentoo-2-df872494a801440647f41fcbf17dc730f223f7e8.tar.gz gentoo-2-df872494a801440647f41fcbf17dc730f223f7e8.tar.bz2 gentoo-2-df872494a801440647f41fcbf17dc730f223f7e8.zip |
net-misc/nylon -> net-proxy/nylon
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy/nylon/files')
-rw-r--r-- | net-proxy/nylon/files/digest-nylon-1.2-r1 | 1 | ||||
-rw-r--r-- | net-proxy/nylon/files/digest-nylon-1.2-r2 | 1 | ||||
-rw-r--r-- | net-proxy/nylon/files/nylon.conf | 37 | ||||
-rw-r--r-- | net-proxy/nylon/files/nylon.init | 23 |
4 files changed, 62 insertions, 0 deletions
diff --git a/net-proxy/nylon/files/digest-nylon-1.2-r1 b/net-proxy/nylon/files/digest-nylon-1.2-r1 new file mode 100644 index 000000000000..24da94be3187 --- /dev/null +++ b/net-proxy/nylon/files/digest-nylon-1.2-r1 @@ -0,0 +1 @@ +MD5 ba95338fa19e7bc87689be1ac4a3581a nylon-1.2.tar.gz 94043 diff --git a/net-proxy/nylon/files/digest-nylon-1.2-r2 b/net-proxy/nylon/files/digest-nylon-1.2-r2 new file mode 100644 index 000000000000..24da94be3187 --- /dev/null +++ b/net-proxy/nylon/files/digest-nylon-1.2-r2 @@ -0,0 +1 @@ +MD5 ba95338fa19e7bc87689be1ac4a3581a nylon-1.2.tar.gz 94043 diff --git a/net-proxy/nylon/files/nylon.conf b/net-proxy/nylon/files/nylon.conf new file mode 100644 index 000000000000..da07923984ab --- /dev/null +++ b/net-proxy/nylon/files/nylon.conf @@ -0,0 +1,37 @@ +# sample configuration +# marius aamodt eriksen (marius@umich.edu) +# $Id: nylon.conf,v 1.1 2005/04/22 22:19:19 mrness Exp $ +# general settings +[General] + +# number of simultaneous connections allowed +No-Simultaneous-Conn=10 + +# log connections and other information to syslog? 1: on, 0: off +Log=1 + +# be verbose on the console? 1: on, 0: off +Verbose=0 + +# store pid file +#PIDfile=/var/run/nylon.pid + +# server settings +[Server] + +# interface to listen to connections +#Binding-Interface=fxp1 + +# interface to bind outgoing connections to +#Connecting-Interface=fxp0 + +# listening port to bind to +Port=1080 + +# allowed is processed first, then deny + +# allowable connect ips/ranges +#Allow-IP=141.0.0.0/8 127.0.0.1 10.0.0.0/24 +Allow-IP=127.0.0.1/32 +# denied connect ips/ranges +#Deny-IP=10.0.0.0/24 diff --git a/net-proxy/nylon/files/nylon.init b/net-proxy/nylon/files/nylon.init new file mode 100644 index 000000000000..034a0d15d766 --- /dev/null +++ b/net-proxy/nylon/files/nylon.init @@ -0,0 +1,23 @@ +#!/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/nylon/files/nylon.init,v 1.1 2005/04/22 22:19:19 mrness Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting Nylon" + start-stop-daemon --start --quiet --pidfile /var/run/nylon.pid \ + --startas /usr/bin/nylon + eend $? +} + +stop() { + ebegin "Stopping Nylon" + start-stop-daemon --stop --quiet --pidfile /var/run/nylon.pid + eend $? +} + + |