rpms/tftp/devel tftp.spec,1.40,1.41

Martin Nagy (mnagy) fedora-extras-commits at redhat.com
Mon Jan 28 09:34:21 UTC 2008


Author: mnagy

Update of /cvs/extras/rpms/tftp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10058

Modified Files:
	tftp.spec 
Log Message:
* Tue Jan 22 2008 Martin Nagy <mnagy at redhat.com> - 0.48-1
- upgrade to 0.48
- remove the old sigjmp patch (fixed in upstream)
- make some changes in spec file (#226489)



Index: tftp.spec
===================================================================
RCS file: /cvs/extras/rpms/tftp/devel/tftp.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- tftp.spec	25 Jan 2008 10:10:56 -0000	1.40
+++ tftp.spec	28 Jan 2008 09:33:43 -0000	1.41
@@ -36,7 +36,7 @@
 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 @@
 
 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 || :




More information about the fedora-extras-commits mailing list