forked from pool/vsftpd
Accepting request 93775 from home:elvigia:branches:network
- fis copy/paste error in previous change - Add systemd unit OBS-URL: https://build.opensuse.org/request/show/93775 OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
20f58e7e8a
commit
e1b264f17e
@@ -38,6 +38,7 @@ Source3: %name.init
|
||||
Source4: README.SUSE
|
||||
Source5: %name.xml
|
||||
Source6: %name.firewall
|
||||
Source7: vsftpd.service
|
||||
Patch1: %name-2.0.4-lib64.diff
|
||||
Patch3: %name-2.0.4-xinetd.diff
|
||||
Patch4: %name-2.0.4-enable-ssl.patch
|
||||
@@ -94,6 +95,7 @@ install -d $RPM_BUILD_ROOT/%_datadir/omc/svcinfo.d/
|
||||
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}
|
||||
install -D -m 0644 %SOURCE7 %{buildroot}/lib/systemd/system/vsftpd.service
|
||||
|
||||
%pre
|
||||
/usr/sbin/useradd -r -o -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || :
|
||||
@@ -113,6 +115,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/lib/systemd/system/vsftpd.service
|
||||
/usr/sbin/%name
|
||||
/usr/sbin/rc%name
|
||||
%config /etc/init.d/%name
|
||||
|
Reference in New Issue
Block a user