SHA256
1
0
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:
Cristian Rodríguez 2011-11-27 20:24:40 +00:00 committed by Git OBS Bridge
parent 20f58e7e8a
commit e1b264f17e
4 changed files with 23 additions and 3 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b466edf96437afa2b2bea6981d4ab8b0204b83ca0a2ac94bef6b62b42cc71a5a
size 187043

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Nov 26 16:31:20 UTC 2011 - crrodriguez@opensuse.org
- fis copy/paste error in previous change
-------------------------------------------------------------------
Fri Nov 25 22:14:14 UTC 2011 - crrodriguez@opensuse.org
- Add systemd unit
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 22 11:17:04 UTC 2011 - mvyskocil@suse.cz Thu Sep 22 11:17:04 UTC 2011 - mvyskocil@suse.cz

10
vsftpd.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Vsftpd ftp daemon
After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf
[Install]
WantedBy=multi-user.target

View File

@ -38,6 +38,7 @@ Source3: %name.init
Source4: README.SUSE Source4: README.SUSE
Source5: %name.xml Source5: %name.xml
Source6: %name.firewall Source6: %name.firewall
Source7: vsftpd.service
Patch1: %name-2.0.4-lib64.diff Patch1: %name-2.0.4-lib64.diff
Patch3: %name-2.0.4-xinetd.diff Patch3: %name-2.0.4-xinetd.diff
Patch4: %name-2.0.4-enable-ssl.patch 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 -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}
install -D -m 0644 %SOURCE7 %{buildroot}/lib/systemd/system/vsftpd.service
%pre %pre
/usr/sbin/useradd -r -o -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || : /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 %files
%defattr(-,root,root) %defattr(-,root,root)
/lib/systemd/system/vsftpd.service
/usr/sbin/%name /usr/sbin/%name
/usr/sbin/rc%name /usr/sbin/rc%name
%config /etc/init.d/%name %config /etc/init.d/%name