forked from pool/vsftpd
Accepting request 492476 from network
1 OBS-URL: https://build.opensuse.org/request/show/492476 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vsftpd?expand=0&rev=59
This commit is contained in:
commit
61c67f2bfb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 2 14:20:06 CEST 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Adjust to new system user/group RPMs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 19 11:39:04 UTC 2016 - psimons@suse.com
|
Mon Sep 19 11:39:04 UTC 2016 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vsftpd
|
# spec file for package vsftpd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -75,6 +75,9 @@ BuildRequires: openssl-devel
|
|||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
|
Requires(pre): group(nobody)
|
||||||
|
%endif
|
||||||
Provides: ftp-server
|
Provides: ftp-server
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
@ -150,7 +153,7 @@ install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
|||||||
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent passwd ftpsecure >/dev/null || useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure
|
getent passwd ftpsecure >/dev/null || useradd -r -g nobody -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%service_add_pre %{name}.service %{name}@.service %{name}.socket
|
%service_add_pre %{name}.service %{name}@.service %{name}.socket
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user