Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
e7879f0bdab1fc6f226db6f6f848d58f50548de4 SOURCES/tftp-hpa-5.2.tar.bz2
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up tftp-hpa-5.2/tftp/tftp.c.gcc10 tftp-hpa-5.2/tftp/tftp.c
|
|
||||||
--- tftp-hpa-5.2/tftp/tftp.c.gcc10 2020-05-04 00:56:28.787896509 +0200
|
|
||||||
+++ tftp-hpa-5.2/tftp/tftp.c 2020-05-04 00:58:42.502901005 +0200
|
|
||||||
@@ -48,7 +48,7 @@ extern int maxtimeout;
|
|
||||||
#define PKTSIZE SEGSIZE+4
|
|
||||||
char ackbuf[PKTSIZE];
|
|
||||||
int timeout;
|
|
||||||
-sigjmp_buf toplevel;
|
|
||||||
+extern sigjmp_buf toplevel;
|
|
||||||
sigjmp_buf timeoutbuf;
|
|
||||||
|
|
||||||
static void nak(int, const char *);
|
|
@ -1,10 +1,12 @@
|
|||||||
|
%global systemctl_bin /usr/bin/systemctl
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
Summary: The client for the Trivial File Transfer Protocol (TFTP)
|
Summary: The client for the Trivial File Transfer Protocol (TFTP)
|
||||||
Name: tftp
|
Name: tftp
|
||||||
Version: 5.2
|
Version: 5.2
|
||||||
Release: 38%{?dist}
|
Release: 27%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
|
Group: Applications/Internet
|
||||||
URL: http://www.kernel.org/pub/software/network/tftp/
|
URL: http://www.kernel.org/pub/software/network/tftp/
|
||||||
Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-%{version}.tar.bz2
|
Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-%{version}.tar.bz2
|
||||||
Source1: tftp.socket
|
Source1: tftp.socket
|
||||||
@ -20,15 +22,10 @@ Patch7: tftp-hpa-0.49-stats.patch
|
|||||||
Patch8: tftp-hpa-5.2-pktinfo.patch
|
Patch8: tftp-hpa-5.2-pktinfo.patch
|
||||||
Patch9: tftp-doc.patch
|
Patch9: tftp-doc.patch
|
||||||
Patch10: tftp-enhanced-logging.patch
|
Patch10: tftp-enhanced-logging.patch
|
||||||
Patch11: tftp-hpa-5.2-gcc10.patch
|
Patch11: tftp-rewrite-macro.patch
|
||||||
Patch12: tftp-rewrite-macro.patch
|
Patch12: tftp-hpa-5.2-covscan.patch
|
||||||
Patch13: tftp-hpa-5.2-covscan.patch
|
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: readline-devel autoconf systemd-units
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: readline-devel
|
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Trivial File Transfer Protocol (TFTP) is normally used only for
|
The Trivial File Transfer Protocol (TFTP) is normally used only for
|
||||||
@ -38,6 +35,7 @@ remote machine. This program and TFTP provide very little security,
|
|||||||
and should not be enabled unless it is expressly needed.
|
and should not be enabled unless it is expressly needed.
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
|
Group: System Environment/Daemons
|
||||||
Summary: The server for the Trivial File Transfer Protocol (TFTP)
|
Summary: The server for the Trivial File Transfer Protocol (TFTP)
|
||||||
Requires: systemd-units
|
Requires: systemd-units
|
||||||
Requires(post): systemd-units
|
Requires(post): systemd-units
|
||||||
@ -63,9 +61,8 @@ systemd socket activation, and is disabled by default.
|
|||||||
%patch8 -p1 -b .pktinfo
|
%patch8 -p1 -b .pktinfo
|
||||||
%patch9 -p1 -b .doc
|
%patch9 -p1 -b .doc
|
||||||
%patch10 -p1 -b .logging
|
%patch10 -p1 -b .logging
|
||||||
%patch11 -p1 -b .gcc10
|
%patch11 -p1 -b .rewrite-macro
|
||||||
%patch12 -p1 -b .rewrite-macro
|
%patch12 -p1 -b .covscan
|
||||||
%patch13 -p1 -b .covscan
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf
|
autoreconf
|
||||||
@ -73,6 +70,7 @@ autoreconf
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
@ -94,6 +92,9 @@ install -p -m 644 %SOURCE2 ${RPM_BUILD_ROOT}%{_unitdir}
|
|||||||
%systemd_postun_with_restart tftp.socket
|
%systemd_postun_with_restart tftp.socket
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README README.security CHANGES
|
%doc README README.security CHANGES
|
||||||
%{_bindir}/tftp
|
%{_bindir}/tftp
|
||||||
@ -107,52 +108,16 @@ install -p -m 644 %SOURCE2 ${RPM_BUILD_ROOT}%{_unitdir}
|
|||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 04 2024 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-38
|
* Thu Jan 04 2024 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-37
|
||||||
- fix regression with too chatty syslog calls when IPv6 is disabled (RHEL-19588)
|
- fix regression with too chatty syslog calls when IPv6 is disabled (RHEL-20691)
|
||||||
|
|
||||||
* Wed Apr 06 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-37
|
* Tue Apr 26 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-26
|
||||||
- Review and fix issues reported by static analysers (rhbz#2069613)
|
- Review and fix issues reported by static analysers (rhbz#2078858)
|
||||||
- Use systemd-rpm-macros and modernise the specfile a bit
|
|
||||||
- Based on changes made by Dominik 'Rathann' Mierzejewski in Fedora.
|
|
||||||
Thanks a lot!
|
|
||||||
|
|
||||||
* Wed Mar 23 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-36
|
* Wed Apr 20 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-25
|
||||||
- Fix inconsistent --map-file option spelling in manual (rhbz#2066855)
|
- Fix inconsistent --map-file option spelling in manual (rhbz#2066853)
|
||||||
- Fix memory corruption in tftpd when filename remapping with macro \x
|
- Fix memory corruption in tftpd when filename remapping with macro \x
|
||||||
is used (rhbz#2066858)
|
is used (rhbz#2066862)
|
||||||
|
|
||||||
* Thu Jan 27 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-35
|
|
||||||
- Rebuilt for fixed gating.yaml. Related rhbz#2042975
|
|
||||||
|
|
||||||
* Thu Jan 27 2022 Lukáš Zaoral <lzaoral@redhat.com> - 5.2-34
|
|
||||||
- Rebuilt for added gating.yaml. Related rhbz#2042975
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.2-33
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-32
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-31
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun May 03 2020 Dominik Mierzejewski <rpm@greysector.net> - 5.2-30
|
|
||||||
- fix build with gcc 10 (#1800195)
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-29
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-28
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.2-27
|
|
||||||
- Rebuild for readline 8.0
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-26
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-25
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.2-24
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.2-24
|
||||||
- Escape macros in %%changelog
|
- Escape macros in %%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user