forked from pool/vsftpd
This commit is contained in:
parent
e5b2f18f1d
commit
7f1e1a18cb
@ -27,7 +27,7 @@
|
|||||||
+# It is recommended that you define on your system a unique user which the
|
+# It is recommended that you define on your system a unique user which the
|
||||||
+# ftp server can use as a totally isolated and unprivileged user.
|
+# ftp server can use as a totally isolated and unprivileged user.
|
||||||
+#
|
+#
|
||||||
+#nopriv_user=ftpsecure
|
+nopriv_user=ftpsecure
|
||||||
+#
|
+#
|
||||||
+# You may fully customise the login banner string:
|
+# You may fully customise the login banner string:
|
||||||
+#
|
+#
|
||||||
@ -46,12 +46,12 @@
|
|||||||
+#deny_email_enable=YES
|
+#deny_email_enable=YES
|
||||||
+#
|
+#
|
||||||
+# (default follows)
|
+# (default follows)
|
||||||
+#
|
#
|
||||||
+#banned_email_file=/etc/vsftpd.banned_emails
|
+#banned_email_file=/etc/vsftpd.banned_emails
|
||||||
+#
|
+#
|
||||||
+# If enabled, all user and group information in
|
+# If enabled, all user and group information in
|
||||||
+# directory listings will be displayed as "ftp".
|
+# directory listings will be displayed as "ftp".
|
||||||
#
|
+#
|
||||||
+#hide_ids=YES
|
+#hide_ids=YES
|
||||||
+
|
+
|
||||||
+# Local FTP user Settings
|
+# Local FTP user Settings
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 30 11:58:17 CEST 2008 - hvogel@suse.de
|
||||||
|
|
||||||
|
- Make the unpriv bits run as ftpsecure and not as nobody
|
||||||
|
[bnc#384776]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 1 16:23:57 CEST 2008 - mkoenig@suse.de
|
Tue Apr 1 16:23:57 CEST 2008 - mkoenig@suse.de
|
||||||
|
|
||||||
|
10
vsftpd.spec
10
vsftpd.spec
@ -19,7 +19,7 @@ BuildRequires: libcap
|
|||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
%endif
|
%endif
|
||||||
Version: 2.0.6
|
Version: 2.0.6
|
||||||
Release: 8
|
Release: 15
|
||||||
Summary: Very Secure FTP Daemon - Written from Scratch
|
Summary: Very Secure FTP Daemon - Written from Scratch
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Networking/Ftp/Servers
|
Group: Productivity/Networking/Ftp/Servers
|
||||||
@ -42,7 +42,7 @@ Patch7: %name-2.0.5-enable-debuginfo.patch
|
|||||||
Patch8: %name-2.0.5-utf8-log-names.patch
|
Patch8: %name-2.0.5-utf8-log-names.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: ftp-server
|
Provides: ftp-server
|
||||||
PreReq: %insserv_prereq
|
PreReq: %insserv_prereq /usr/sbin/useradd
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Vsftpd is an FTP server, or dæmon. The "vs" stands for Very Secure.
|
Vsftpd is an FTP server, or dæmon. The "vs" stands for Very Secure.
|
||||||
@ -95,6 +95,9 @@ install -D -m 644 %SOURCE5 $RPM_BUILD_ROOT/%_datadir/omc/svcinfo.d/
|
|||||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
||||||
install -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
install -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
/usr/sbin/useradd -r -o -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal %name
|
%stop_on_removal %name
|
||||||
|
|
||||||
@ -124,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 30 2008 hvogel@suse.de
|
||||||
|
- Make the unpriv bits run as ftpsecure and not as nobody
|
||||||
|
[bnc#384776]
|
||||||
* Tue Apr 01 2008 mkoenig@suse.de
|
* Tue Apr 01 2008 mkoenig@suse.de
|
||||||
- remove dir /usr/share/omc/svcinfo.d as it is provided now
|
- remove dir /usr/share/omc/svcinfo.d as it is provided now
|
||||||
by filesystem
|
by filesystem
|
||||||
|
Loading…
Reference in New Issue
Block a user