Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:47:39 +0000 | Пакетов: 16795
en ru
Исходные пакеты в ветвях
свернуть окно
  • 0.7-alt1.qa1
  • 0.7-alt1.qa1
  • 0.7-alt1.qa1
Группа :: Система/Серверы
Исходный пакет: atftp
Необработанный spec-файл

Name: atftp
Version: 0.7.1
Release: alt1

Summary: Advanced Trivial File Transfer Protocol
License: GPLv2+
Group: System/Servers
Conflicts: tftpd

Source: %name-%version-%release.tar

%description
atftp stands for Advanced Trivial File Transfer Protocol. It is called
"advanced", by contrast to others TFTP servers, for two reasons.
Firstly, it is intended to be fully compliant with all related
RFCs. This include RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349.
To my knowledge, there is no TFTP server currently available in the
public domain that fulfills this requirement. Secondly, atftp is
intended for serving boot files to large clusters. It is
multi-threaded and support multicast (RFC2090 and PXE), allowing
faster boot of hundreds of machine simultaneously.

%prep
%setup

%build
%configure --disable-libpcre
make

%install
%makeinstall
install -pm0755 -D atftpd.init %buildroot%_initdir/atftpd
install -pm0644 -D atftpd.sysconfig %buildroot%_sysconfdir/sysconfig/atftpd
mkdir -p %buildroot%_localstatedir/tftpboot
mkdir -pm0770 %buildroot%_runtimedir/atftpd
mkdir -pm0770 %buildroot%_logdir/atftpd
touch %buildroot%_sysconfdir/mtftp.conf

%pre
%_sbindir/groupadd -r -f _atftpd &> /dev/null
%_sbindir/useradd -r -g _atftpd -d /dev/null -s /dev/null -c 'ATFTP Service User' -n _atftpd &> /dev/null ||:

%post
%post_service atftpd

%preun
%preun_service atftpd

%files
%doc Changelog BUGS FAQ INSTALL LICENSE README README.CVS
%doc README.MCAST README.PCRE TODO docs test/mtftp.conf

%config(noreplace) %_sysconfdir/sysconfig/atftpd
%ghost %config(noreplace) %_sysconfdir/mtftp.conf

%_initdir/atftpd

%_bindir/atftp
%_sbindir/atftpd
%_sbindir/in.tftpd

%_man1dir/atftp.1*
%_man8dir/atftpd.8*
%_man8dir/in.tftpd.8*

%dir %_localstatedir/tftpboot
%dir %attr(0770,root,_atftpd) %_logdir/atftpd
%dir %attr(0770,root,_atftpd) %_runtimedir/atftpd

%changelog
* Mon Aug 03 2015 Sergey Bolshakov <sbolshakov at altlinux.ru> 0.7.1-alt1
- 0.7.1 released

* Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv at altlinux.org> 0.7-alt1.qa1
- NMU: rebuilt for debuginfo.

* Thu Oct 15 2009 Sergey Bolshakov <sbolshakov at altlinux.ru> 0.7-alt1
- built for ALTLinux

* Mon Aug 10 2009 Douglas E. Warner <silfreed@silfreed.net> 0.7-6
- fixing typo in service scripts

* Tue Jan 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.7-5
- fixing typos in sysconfig
- fixing dir creation
- adding chkconfig for init script

* Tue Jan 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.7-4
- adding user/group
- adding log dir
- updating sysconfig to set user, group, and log dir

* Tue Jan 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.7-3
- updated license to GPLv2+
- added init script and sysconfig

* Tue Jan 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.7-2
- adding patches from Dag's SRPM
- updating format to Fedora guidelines

* Mon Jun 06 2005 Douglas E. Warner <silfreed@silfreed.net> 0.7-1
- Initial RPM release.

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT