aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/frox/files
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-04-08 02:26:01 +0800
committerleeym <leeym@FreeBSD.org>2003-04-08 02:26:01 +0800
commit5e583998d4d93f67a48a7d19ff30c13857beab35 (patch)
tree4b51c1d51cb0f6f14591a7f833bdd3182378186d /ftp/frox/files
parentad9d9aa195c9a7cf8c770a25517403ed8f4cb288 (diff)
downloadfreebsd-ports-gnome-5e583998d4d93f67a48a7d19ff30c13857beab35.tar.gz
freebsd-ports-gnome-5e583998d4d93f67a48a7d19ff30c13857beab35.tar.zst
freebsd-ports-gnome-5e583998d4d93f67a48a7d19ff30c13857beab35.zip
* Update to 0.7.7
* Move from minium build to maximum (change WITH_ to WITHOUT_) by default * Allow to build with local-cache and virus-scan features * make startup script more smarter PR: 50674 Submitted by: Sergey Matveychuk <sem@ciam.ru>
Diffstat (limited to 'ftp/frox/files')
-rw-r--r--ftp/frox/files/frox.sh4
-rw-r--r--ftp/frox/files/patch-aa24
2 files changed, 14 insertions, 14 deletions
diff --git a/ftp/frox/files/frox.sh b/ftp/frox/files/frox.sh
index 19ec73242849..e83d121716e6 100644
--- a/ftp/frox/files/frox.sh
+++ b/ftp/frox/files/frox.sh
@@ -8,12 +8,12 @@ fi
case "$1" in
start)
[ -x ${PREFIX}/sbin/frox -a -f ${PREFIX}/etc/frox.conf ]
- grep -q '^ *# *FromInetd *yes' ${PREFIX}/etc/frox.conf && \
+ ! grep -iq '^[[:space:]]*frominetd[[:space:]]*yes' ${PREFIX}/etc/frox.conf && \
${PREFIX}/sbin/frox && \
echo -n ' frox'
;;
stop)
- kill `cat /var/run/frox.pid` && echo -n ' frox'
+ [ -f /var/run/frox.pid ] && kill `cat /var/run/frox.pid` && echo -n ' frox'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
diff --git a/ftp/frox/files/patch-aa b/ftp/frox/files/patch-aa
index 628926bbadbf..759e89f28612 100644
--- a/ftp/frox/files/patch-aa
+++ b/ftp/frox/files/patch-aa
@@ -1,6 +1,6 @@
---- src/frox.conf.orig Wed Jun 12 08:01:44 2002
-+++ src/frox.conf Wed Jun 12 08:12:27 2002
-@@ -18,6 +18,7 @@
+--- 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
@@ -8,17 +8,17 @@
Listen 192.168.2.1
# Port to listen on. Must be supplied.
-@@ -26,7 +27,8 @@
-
- # If specified then bind to this device
#
--BindToDevice eth0
-+# DON'T USE: It's not supported for FreeBSD
-+#BindToDevice eth0
+ 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.
-@@ -39,7 +41,7 @@
+ #
+@@ -44,7 +41,7 @@
# comment this out and copy resolver libraries into the chroot jail instead.
# See FAQ section 3.2 for details.
#
@@ -27,7 +27,7 @@
# 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
-@@ -54,8 +56,8 @@
+@@ -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.
#
@@ -38,7 +38,7 @@
# This is frox's working directory - it must be specified. Temporary
# files and sockets will be created here. If you are using local
-@@ -64,8 +66,8 @@
+@@ -74,8 +71,8 @@
# also chroot to this dir on startup. To avoid this you must specifically
# set DontChroot to Yes.
#