forked from pool/vsftpd
- Conditionally install xinetd service only on older releases
* On current distributions we support the same functionality via systemd socket activation OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=113
This commit is contained in:
parent
33ca05c450
commit
6bfb03fe57
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 14 11:42:26 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Conditionally install xinetd service only on older releases
|
||||
* On current distributions we support the same functionality
|
||||
via systemd socket activation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 17:57:38 UTC 2017 - daniel.molkentin@suse.com
|
||||
|
||||
|
@ -138,7 +138,9 @@ mkdir -p %{buildroot}%{_datadir}/empty
|
||||
cp %{SOURCE4} .
|
||||
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
|
||||
install -D -m 600 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
%if 0%{?suse_version} < 1330
|
||||
install -D -m 600 xinetd.d/%{name} %{buildroot}%{_sysconfdir}/xinetd.d/%{name}
|
||||
%endif
|
||||
install -D -m 644 $RPM_SOURCE_DIR/%{name}.pam %{buildroot}%{_sysconfdir}/pam.d/%{name}
|
||||
install -D -m 644 $RPM_SOURCE_DIR/%{name}.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||
install -D -m 644 %{name}.conf.5 %{buildroot}/%{_mandir}/man5/%{name}.conf.5
|
||||
@ -196,7 +198,9 @@ getent passwd ftpsecure >/dev/null || useradd -r -g nobody -s /bin/false -c "Sec
|
||||
%{_sbindir}/%{name}
|
||||
%{_sbindir}/rc%{name}
|
||||
%dir %{_datadir}/empty
|
||||
%if 0%{?suse_version} < 1330
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
|
||||
%endif
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%config %{_sysconfdir}/pam.d/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||
|
Loading…
Reference in New Issue
Block a user