summaryrefslogtreecommitdiff
path: root/ftp/frox/files/patch-src_frox.conf
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:44:42 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:44:42 +0000
commit4e441aef5fd02eb946b79eeecb52e44265e96f34 (patch)
tree72f168472fcd1a8841f16cebc135cf56e932377e /ftp/frox/files/patch-src_frox.conf
parentconverters/ruby-iconv: Use standard check for Ruby 2.0 (diff)
Rename finance/ and ftp/ patch-xy patches to reflext the files they modify.
Diffstat (limited to 'ftp/frox/files/patch-src_frox.conf')
-rw-r--r--ftp/frox/files/patch-src_frox.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/ftp/frox/files/patch-src_frox.conf b/ftp/frox/files/patch-src_frox.conf
new file mode 100644
index 000000000000..759e89f28612
--- /dev/null
+++ b/ftp/frox/files/patch-src_frox.conf
@@ -0,0 +1,51 @@
+--- src/frox.conf.orig Sat Apr 5 17:30:35 2003
++++ src/frox.conf Mon Apr 7 15:05:51 2003
+@@ -18,16 +18,13 @@
+ # commented out to listen on all local IPs.
+ #
+ # Listen firewall.localnet
++# Change it with your ip!
+ Listen 192.168.2.1
+
+ # Port to listen on. Must be supplied.
+ #
+ Port 2121
+
+-# If specified then bind to this device
+-#
+-BindToDevice eth0
+-
+ # Whether to run from inetd. You should still define Port above, but
+ # it isn't used for much.
+ #
+@@ -44,7 +41,7 @@
+ # comment this out and copy resolver libraries into the chroot jail instead.
+ # See FAQ section 3.2 for details.
+ #
+-ResolvLoadHack wontresolve.doesntexist.abc
++#ResolvLoadHack wontresolve.doesntexist.abc
+
+ # Another ftp proxy to forward on to. Frox will contact this ftp
+ # proxy, and send it a login name of the form "user@host:port" where
+@@ -64,8 +61,8 @@
+ # you really want to run as root (not a good idea) you must say so
+ # specifically, and have compiled with --enable-run-as-root.
+ #
+-# User nobody
+-# Group nogroup
++User nobody
++Group nogroup
+
+ # This is frox's working directory - it must be specified. Temporary
+ # files and sockets will be created here. If you are using local
+@@ -74,8 +71,8 @@
+ # also chroot to this dir on startup. To avoid this you must specifically
+ # set DontChroot to Yes.
+ #
+-# WorkingDir /usr/local/lib/frox
+-# DontChroot Yes
++WorkingDir /tmp
++DontChroot Yes
+
+ # Logging level. 0=No logging. 5=Critical errors only. 10= All errors.
+ # 15=Errors, other important stuf. 20= Errors, connections, cache