From 09b9cc5521ee440c559ad0beee4b0fed34e46284 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 15 Mar 2024 10:25:44 +0100 Subject: [PATCH] update to 5.2 [release 5.2-1mamba;Wed Nov 16 2022] --- tftp.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/tftp.spec b/tftp.spec index cac94d5..50566dd 100644 --- a/tftp.spec +++ b/tftp.spec @@ -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 -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 5.2-1mamba +- update to 5.2 + * Mon Jan 19 2015 Silvan Calarco 5.1-2mamba - xinet -> systemd migration