update to 5.2 [release 5.2-1mamba;Wed Nov 16 2022]

This commit is contained in:
Silvan Calarco 2024-03-15 10:25:44 +01:00
parent 8ac015428f
commit 09b9cc5521

View File

@ -1,23 +1,25 @@
%define nobodygroupid 65013
%define nobodyuserid 65013
Name: tftp
Version: 5.1
Release: 2mamba
Version: 5.2
Release: 1mamba
Summary: The client and server for the Trivial File Transfer Protocol (TFTP)
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kernel.org/pub/software/network/tftp/
Source: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{version}.tar.bz2
URL: https://mirrors.edge.kernel.org/pub/software/network/tftp/
Source: https://mirrors.edge.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-%{version}.tar.xz
Source1: tftpd-hpa.service
Source2: tftpd-hpa.socket
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libnsl-devel
BuildRequires: libreadline-devel
BuildRequires: libtermcap-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Trivial File Transfer Protocol (TFTP) is normally used only for booting diskless workstations.
@ -34,13 +36,15 @@ The tftp-server package provides the server for TFTP, which allows users to tran
TFTP provides very little security, and should not be enabled unless it is expressly needed.
The TFTP server is run from %{_sysconfdir}/xinetd.d/tftp.%{_sysconfdir}/xinetd.d/tftp.
%prep
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%debug_package
%prep
%setup -q -n tftp-hpa-%{version}
%build
%configure
%configure \
LDFLAGS="-Wl,--allow-multiple-definition"
%make
%install
@ -75,6 +79,9 @@ systemctl -q daemon-reload
%dir %attr(0750,nobody,nobody) %{_localstatedir}/lib/tftpboot
%changelog
* Wed Nov 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2-1mamba
- update to 5.2
* Mon Jan 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-2mamba
- xinet -> systemd migration