path fixes for x86_64 [release 1.9.2-5mamba;Mon Jan 19 2015]
This commit is contained in:
parent
9da1f2b5f6
commit
491c8b2f07
@ -5,7 +5,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/ftpd.pid
|
PIDFile=/run/ftpd.pid
|
||||||
ExecStart=/usr/libexec/ftpd -D
|
ExecStart=@libexecdir@/ftpd -D
|
||||||
ExecStopPost=/bin/rm -f /run/ftpd.pid
|
ExecStopPost=/bin/rm -f /run/ftpd.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: inetutils
|
Name: inetutils
|
||||||
Version: 1.9.2
|
Version: 1.9.2
|
||||||
Release: 4mamba
|
Release: 5mamba
|
||||||
Summary: A collection of common network programs
|
Summary: A collection of common network programs
|
||||||
Group: Applications/Networking
|
Group: Applications/Networking
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -18,16 +18,16 @@ Source7: talk.service
|
|||||||
Source8: talk.socket
|
Source8: talk.socket
|
||||||
Source9: telnet.socket
|
Source9: telnet.socket
|
||||||
Source10: telnet@.service
|
Source10: telnet@.service
|
||||||
Source11: tftpd@.service
|
Source11: tftpd.service
|
||||||
Source12: tftpd.socket
|
Source12: tftpd.socket
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libncurses-devel
|
BuildRequires: libncurses-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
BuildRequires: libreadline-devel
|
BuildRequires: libreadline-devel
|
||||||
BuildRequires: libtermcap-devel
|
BuildRequires: libtermcap-devel
|
||||||
BuildRequires: libwrap-devel
|
BuildRequires: libwrap-devel
|
||||||
BuildRequires: pam-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires(post):%{__install_info}
|
Requires(post):%{__install_info}
|
||||||
Provides: ftp
|
Provides: ftp
|
||||||
@ -117,17 +117,19 @@ rm -f %{buildroot}%{_mandir}/man1/logger.1*
|
|||||||
|
|
||||||
mkdir -p %{buildroot}/var/lib/tftpboot
|
mkdir -p %{buildroot}/var/lib/tftpboot
|
||||||
|
|
||||||
install -D -m0644 %{SOURCE2} %{buildroot}/lib/systemd/system/ftpd.service
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/ftpd.service
|
||||||
install -D -m0644 %{SOURCE3} %{buildroot}/lib/systemd/system/rlogin.socket
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/rlogin.socket
|
||||||
install -D -m0644 %{SOURCE4} %{buildroot}/lib/systemd/system/rlogin.service
|
install -D -m0644 %{SOURCE4} %{buildroot}%{_unitdir}/rlogin.service
|
||||||
install -D -m0644 %{SOURCE5} %{buildroot}/lib/systemd/system/rsh.socket
|
install -D -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/rsh.socket
|
||||||
install -D -m0644 %{SOURCE6} %{buildroot}/lib/systemd/system/rsh@.service
|
install -D -m0644 %{SOURCE6} %{buildroot}%{_unitdir}/rsh@.service
|
||||||
install -D -m0644 %{SOURCE7} %{buildroot}/lib/systemd/system/talk.service
|
install -D -m0644 %{SOURCE7} %{buildroot}%{_unitdir}/talk.service
|
||||||
install -D -m0644 %{SOURCE8} %{buildroot}/lib/systemd/system/talk.socket
|
install -D -m0644 %{SOURCE8} %{buildroot}%{_unitdir}/talk.socket
|
||||||
install -D -m0644 %{SOURCE9} %{buildroot}/lib/systemd/system/telnet.socket
|
install -D -m0644 %{SOURCE9} %{buildroot}%{_unitdir}/telnet.socket
|
||||||
install -D -m0644 %{SOURCE10} %{buildroot}/lib/systemd/system/telnet@.service
|
install -D -m0644 %{SOURCE10} %{buildroot}%{_unitdir}/telnet@.service
|
||||||
install -D -m0644 %{SOURCE11} %{buildroot}/lib/systemd/system/tftpd@.service
|
install -D -m0644 %{SOURCE11} %{buildroot}%{_unitdir}/tftpd.service
|
||||||
install -D -m0644 %{SOURCE12} %{buildroot}/lib/systemd/system/tftpd.socket
|
install -D -m0644 %{SOURCE12} %{buildroot}%{_unitdir}/tftpd.socket
|
||||||
|
|
||||||
|
sed -i "s|@libexecdir@|%{_libexecdir}|" %{buildroot}%{_unitdir}/*.service
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -211,15 +213,15 @@ fi
|
|||||||
%{_libexecdir}/talkd
|
%{_libexecdir}/talkd
|
||||||
%{_libexecdir}/telnetd
|
%{_libexecdir}/telnetd
|
||||||
%{_libexecdir}/uucpd
|
%{_libexecdir}/uucpd
|
||||||
/lib/systemd/system/ftpd.service
|
%{_unitdir}/ftpd.service
|
||||||
/lib/systemd/system/rlogin.service
|
%{_unitdir}/rlogin.service
|
||||||
/lib/systemd/system/rlogin.socket
|
%{_unitdir}/rlogin.socket
|
||||||
/lib/systemd/system/rsh.socket
|
%{_unitdir}/rsh.socket
|
||||||
/lib/systemd/system/rsh@.service
|
%{_unitdir}/rsh@.service
|
||||||
/lib/systemd/system/talk.service
|
%{_unitdir}/talk.service
|
||||||
/lib/systemd/system/talk.socket
|
%{_unitdir}/talk.socket
|
||||||
/lib/systemd/system/telnet.socket
|
%{_unitdir}/telnet.socket
|
||||||
/lib/systemd/system/telnet@.service
|
%{_unitdir}/telnet@.service
|
||||||
%{_mandir}/man8/ftpd.8*
|
%{_mandir}/man8/ftpd.8*
|
||||||
%{_mandir}/man8/inetd.8*
|
%{_mandir}/man8/inetd.8*
|
||||||
%{_mandir}/man8/rexecd.8*
|
%{_mandir}/man8/rexecd.8*
|
||||||
@ -233,11 +235,14 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libexecdir}/tftpd
|
%{_libexecdir}/tftpd
|
||||||
/lib/systemd/system/tftpd.socket
|
/lib/systemd/system/tftpd.socket
|
||||||
/lib/systemd/system/tftpd@.service
|
/lib/systemd/system/tftpd.service
|
||||||
%{_mandir}/man8/tftpd.8*
|
%{_mandir}/man8/tftpd.8*
|
||||||
%dir %attr(0750,root,root) %{_localstatedir}/lib/tftpboot
|
%dir %attr(0750,root,root) %{_localstatedir}/lib/tftpboot
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-5mamba
|
||||||
|
- path fixes for x86_64
|
||||||
|
|
||||||
* Sat Jun 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-4mamba
|
* Sat Jun 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-4mamba
|
||||||
- disable traceroute and require better external package
|
- disable traceroute and require better external package
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@ Description=Remote Login Facilities Server
|
|||||||
After=local-fs.target
|
After=local-fs.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=-/usr/libexec/rlogind
|
ExecStart=-@libexecdir@/rlogind
|
||||||
StandardInput=socket
|
StandardInput=socket
|
||||||
|
@ -5,7 +5,7 @@ Documentation=man:talkd(8) man:talk(1)
|
|||||||
[Service]
|
[Service]
|
||||||
User=nobody
|
User=nobody
|
||||||
Group=tty
|
Group=tty
|
||||||
ExecStart=/usr/libexec/talkd
|
ExecStart=@libexecdir@/talkd
|
||||||
StandardInput=socket
|
StandardInput=socket
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -3,5 +3,5 @@ Description=Telnet Server
|
|||||||
After=local-fs.target
|
After=local-fs.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=-/usr/libexec/telnetd
|
ExecStart=-@libexecdir@/telnetd
|
||||||
StandardInput=socket
|
StandardInput=socket
|
||||||
|
9
tftpd.service
Normal file
9
tftpd.service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Trivial FTP Server
|
||||||
|
After=local-fs.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=-@libexecdir@/tftpd /var/lib/tftpboot
|
||||||
|
StandardInput=socket
|
||||||
|
StandardOutput=inherit
|
||||||
|
StandardError=journal
|
@ -3,7 +3,6 @@ Description=Trivial FTP Daemon (tftp) Activation Socket
|
|||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenDatagram=69
|
ListenDatagram=69
|
||||||
Accept=true
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sockets.target
|
WantedBy=sockets.target
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Trivial FTP Server
|
|
||||||
After=local-fs.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=-/usr/libexec/tftpd /var/lib/tftpboot
|
|
||||||
StandardInput=socket
|
|
Loading…
Reference in New Issue
Block a user