- upgrade to 0.48
- remove the old sigjmp patch (fixed in upstream) - make some changes in spec file (#226489)
This commit is contained in:
parent
eafd12f579
commit
ceb1cfd435
@ -36,7 +36,7 @@ booting diskless workstations. The tftp-server package provides the
|
||||
server for TFTP, which allows users to transfer files to and from a
|
||||
remote machine. TFTP provides very little security, and should not be
|
||||
enabled unless it is expressly needed. The TFTP server is run from
|
||||
/etc/xinetd.d/tftp, and is disabled by default on Red Hat Linux systems.
|
||||
%{_sysconfdir}/xinetd.d/tftp, and is disabled by default on Red Hat Linux systems.
|
||||
|
||||
%prep
|
||||
%setup -q -n tftp-hpa-%{version}
|
||||
@ -58,7 +58,9 @@ mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/tftpboot
|
||||
|
||||
make INSTALLROOT=${RPM_BUILD_ROOT} SBINDIR=%{_sbindir} MANDIR=%{_mandir} INSTALL='install -p' install
|
||||
install -m755 -d -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/ ${RPM_BUILD_ROOT}/tftpboot
|
||||
install -m644 -p tftp-xinetd ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
|
||||
sed -e 's:/var:%{_localstatedir}:' -e 's:/usr/sbin:%{_sbindir}:' \
|
||||
tftp-xinetd > ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
|
||||
touch -r tftp-xinetd ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
|
||||
|
||||
%post server
|
||||
/sbin/service xinetd reload > /dev/null 2>&1 || :
|
||||
|
||||
Loading…
Reference in New Issue
Block a user