forked from pool/vsftpd
This commit is contained in:
committed by
Git OBS Bridge
parent
e5b2f18f1d
commit
7f1e1a18cb
10
vsftpd.spec
10
vsftpd.spec
@@ -19,7 +19,7 @@ BuildRequires: libcap
|
||||
BuildRequires: libcap-devel
|
||||
%endif
|
||||
Version: 2.0.6
|
||||
Release: 8
|
||||
Release: 15
|
||||
Summary: Very Secure FTP Daemon - Written from Scratch
|
||||
License: GPL v2 or later
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: ftp-server
|
||||
PreReq: %insserv_prereq
|
||||
PreReq: %insserv_prereq /usr/sbin/useradd
|
||||
|
||||
%description
|
||||
Vsftpd is an FTP server, or d<EFBFBD>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 -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
|
||||
%stop_on_removal %name
|
||||
|
||||
@@ -124,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
|
||||
%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
|
||||
- remove dir /usr/share/omc/svcinfo.d as it is provided now
|
||||
by filesystem
|
||||
|
Reference in New Issue
Block a user