summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-08 13:22:36 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-14 21:31:42 -0500
commit0845a454bf0644240855d1cd958ea99c7fe6a0e3 (patch)
tree46d7539d543721e66d7ab3bc5169637ef139536d /net-ftp
parentnet-firewall/ufw: remove unused patch (diff)
downloadgentoo-0845a454bf0644240855d1cd958ea99c7fe6a0e3.tar.gz
gentoo-0845a454bf0644240855d1cd958ea99c7fe6a0e3.tar.bz2
gentoo-0845a454bf0644240855d1cd958ea99c7fe6a0e3.zip
net-ftp/frox: remove unused patch/file
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/frox/files/config-0.7.18.patch66
-rw-r--r--net-ftp/frox/files/frox.rc46
2 files changed, 0 insertions, 112 deletions
diff --git a/net-ftp/frox/files/config-0.7.18.patch b/net-ftp/frox/files/config-0.7.18.patch
deleted file mode 100644
index 216e5ea2672..00000000000
--- a/net-ftp/frox/files/config-0.7.18.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- a/frox.conf 2005-02-04 19:54:55.000000000 +0930
-+++ b/frox.conf 2005-02-07 19:35:32.995421344 +0930
-@@ -18,7 +18,9 @@
- # commented out to listen on all local IPs.
- #
- # Listen firewall.localnet
--Listen 192.168.2.1
-+# Listen 192.168.2.1
-+
-+Listen 127.0.0.1
-
- # Port to listen on. Must be supplied.
- #
-@@ -26,7 +28,7 @@
-
- # If specified then bind to this device
- #
--BindToDevice eth0
-+#BindToDevice eth0
-
- # Whether to run from inetd. You should still define Port above, but
- # it isn't used for much.
-@@ -69,12 +71,12 @@
- ####################################################################
- # General Options #
- ####################################################################
--# User and group to drop priveliges to. This must be specified - if
-+User ftpproxy
- # 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 ftpproxy
-+Group ftpproxy
-
- # This is frox's working directory - it must be specified. Temporary
- # files and sockets will be created here. If you are using local
-@@ -83,7 +85,7 @@
- # also chroot to this dir on startup. To avoid this you must specifically
- # set DontChroot to Yes.
- #
--# WorkingDir /usr/local/lib/frox
-+WorkingDir /var/spool/frox
- # DontChroot Yes
-
- # Logging level. 0=No logging. 5=Critical errors only. 10= All errors.
-@@ -96,15 +98,15 @@
- # transferred irrespective of the log level. You can turn this off
- # below.
- #
--# LogLevel 15
--# LogFile /usr/local/lib/frox/frox-log
-+LogLevel 20
-+LogFile /var/log/frox/frox-log
- # XferLogging no
-
- # File to store PID in. Default is not to. If this file is not within
- # the Chroot directory then it cannot be deleted on exit, but will
- # otherwise work fine.
- #
--PidFile /var/run/frox.pid
-+PidFile /var/run/frox/frox.pid
-
-
- ####################################################################
diff --git a/net-ftp/frox/files/frox.rc b/net-ftp/frox/files/frox.rc
deleted file mode 100644
index 81474bfe064..00000000000
--- a/net-ftp/frox/files/frox.rc
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-PROGNAME=frox
-
-opts="depend start stop reload"
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -f /etc/frox.conf ] ; then
- eerror "missing /etc/frox.conf"
- return 1
- fi
-
-}
-
-start() {
- checkconfig || return 1
- FROX_OPTS=" -f /etc/frox.conf"
-
- ebegin "Starting ${PROGNAME}..."
- start-stop-daemon --start --quiet --exec /usr/sbin/${PROGNAME} -- ${OPTIONS} ${FROX_OPTS} &> /dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stop ${PROGNAME}..."
- start-stop-daemon --stop --quiet --exec /usr/sbin/${PROGNAME} &> /dev/null
- eend $?
-}
-
-reload() {
- if [ ! -f /var/run/frox/frox.pid ]; then
- eerror "frox isn't running"
- return 1
- fi
- ebegin "Reloading configuration"
- kill -HUP `cat /var/run/frox/frox.pid` &>/dev/null
- eend $?
-}
-