Summary: H. Peter Anvin's TFTP daemon and client Name: tftp-hpa Version: 0.36 Release: 1 Group: System Environment/Daemons URL: http://www.kernel.org License: BSD Source0: ftp://ftp.kernel.org/pub/software/network/tftp/%{name}-%{version}.tar.gz Source1: tftpd.sh Source2: tftpd.options BuildArch: i386 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is a conglomerate of a number of versions of the BSD TFTP code, ported to Linux, although it should work on mostly any POSIX-compliant OS with sockets. You may have to use GNU make to build it. The core software was taken from OpenBSD (CVS source as of 1999-09-21). I believe this was the most secure source base available at the time I obtained this code, and it included support for the -s and -c options. %prep %setup %build # Choose better for your needs # ./configure --without-remap --without-tcpwrappers ./configure --without-remap make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_sbindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/tftpd install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/tftpd install tftp/tftp $RPM_BUILD_ROOT%{_bindir} install tftp/tftp.1 $RPM_BUILD_ROOT%{_mandir}/man1/ install tftpd/tftpd $RPM_BUILD_ROOT%{_sbindir} install tftpd/tftpd.8 $RPM_BUILD_ROOT%{_mandir}/man8/ %post %preun %postun %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root) %config %{_sysconfdir}/sysconfig/tftpd %attr(0755,root,root) %{_sysconfdir}/init.d/tftpd %attr(0755,root,root) %{_bindir}/tftp %attr(0755,root,root) %{_sbindir}/tftpd %{_mandir}/man1/tftp.1.gz %{_mandir}/man8/tftpd.8.gz %doc CHANGES INSTALL INSTALL.tftp README README.security %changelog * Sun Jan 25 2004 Petr Krištof - Update to 0.36 * Sun Nov 23 2003 Petr Krištof - Rebuild on FC-1 - Update to 0.34 * Thu Feb 6 2003 Petr Krištof - Rebuild on RH-8.0 - Update to 0.33 * Sun May 12 2002 Petr Krištof - Update to RH-7.3 and tfp-hpa 0.29 * Fri Sep 20 2001 Petr Krištof - Added support for standalone mode - Update for RPM 4.x - Based on Ken Yap package