- start in background as default, init script changed (#158714)

This commit is contained in:
Radek Vokál 2005-06-30 08:14:36 +00:00
parent 00a6ee3cd5
commit 922807db67
3 changed files with 30 additions and 6 deletions

View File

@ -0,0 +1,22 @@
--- vsftpd-2.0.3/tunables.c.background 2005-06-30 09:51:51.000000000 +0200
+++ vsftpd-2.0.3/tunables.c 2005-06-30 09:57:29.000000000 +0200
@@ -49,7 +49,7 @@
int tunable_listen_ipv6 = 0;
int tunable_dual_log_enable = 0;
int tunable_syslog_enable = 0;
-int tunable_background = 0;
+int tunable_background = 1;
int tunable_virtual_use_local_privs = 0;
int tunable_session_support = 0;
int tunable_download_enable = 1;
--- vsftpd-2.0.3/vsftpd.conf.5.background 2005-06-30 09:51:51.000000000 +0200
+++ vsftpd-2.0.3/vsftpd.conf.5 2005-06-30 09:58:28.000000000 +0200
@@ -108,7 +108,7 @@
the listener process. i.e. control will immediately be returned to the shell
which launched vsftpd.
-Default: NO
+Default: YES
.TP
.B check_shell
Note! This option only has an effect for non-PAM builds of vsftpd. If disabled,

View File

@ -30,12 +30,9 @@ start() {
for i in `ls /etc/vsftpd/*.conf`; do
site=`basename $i .conf`
echo -n $"Starting $prog for $site: "
/usr/sbin/vsftpd $i &
daemon /usr/sbin/vsftpd $i
RETVAL=$?
[ $RETVAL -eq 0 ] && {
touch /var/lock/subsys/$prog
success $"$prog $site"
}
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
echo
done
else

View File

@ -3,7 +3,7 @@
Summary: vsftpd - Very Secure Ftp Daemon
Name: vsftpd
Version: 2.0.3
Release: 5
Release: 6
License: GPL
Group: System Environment/Daemons
URL: http://vsftpd.beasts.org/
@ -26,6 +26,7 @@ Patch9: vsftpd-2.0.1-dir.patch
Patch10: vsftpd-2.0.1-use_localtime.patch
Patch11: vsftpd-1.2.1-nonrootconf.patch
Patch12: vsftpd-2.0.1-tzfix.diff
Patch13: vsftpd-2.0.3-background.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if %{tcp_wrappers}
BuildPrereq: tcp_wrappers
@ -65,6 +66,7 @@ cp %{SOURCE1} .
%patch10 -p1 -b .use_localtime
%patch11 -p1 -b .nonrootconf
%patch12 -p1 -b .tzfix
%patch13 -p1 -b .background
%build
%ifarch s390x
@ -123,6 +125,9 @@ fi
/var/ftp
%changelog
* Thu Jun 30 2005 Radek Vokal <rvokal@redhat.com> 2.0.3-6
- start in background as default, init script changed (#158714)
* Mon Jun 27 2005 Radek Vokal <rvokal@redhat.com> 2.0.3-5
- fixed requires for 64bit libs