diff --git a/atftp.changes b/atftp.changes index e877b07..a2b8a04 100644 --- a/atftp.changes +++ b/atftp.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 24 18:33:26 UTC 2024 - Jan Engelhardt + +- Delete /usr/sbin/rc* symlink & specfile housekeeping +- Make atftpd.socket listen on AF_INET6 as well +- Deactivate FORTIFY_SOURCE for the time being due to a glibc bug + ------------------------------------------------------------------- Wed Sep 14 11:02:03 UTC 2022 - David Anes diff --git a/atftp.spec b/atftp.spec index bc6e4c3..4804f8d 100644 --- a/atftp.spec +++ b/atftp.spec @@ -1,7 +1,7 @@ # # spec file for package atftp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,7 +49,6 @@ Recommends: logrotate Conflicts: tftp Provides: tftp(client) Provides: tftp(server) -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: systemd-rpm-macros %description @@ -66,16 +65,15 @@ boot of hundreds of machines simultaneously. %build autoreconf -fi -CFLAGS="%optflags -fgnu89-inline" +# https://sourceware.org/bugzilla/show_bug.cgi?id=32206 +CFLAGS="%optflags -fgnu89-inline -U_FORTIFY_SOURCE" %configure -make %{?_smp_mflags} +%make_build %install %make_install -# SuSE rc install -D -m 0644 %{SOURCE5} %{buildroot}/%{_unitdir}/atftpd.service install -D -m 0644 %{SOURCE6} %{buildroot}/%{_unitdir}/atftpd.socket -ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcatftpd install -D -m 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.atftpd %if 0%{?suse_version} > 1500 mkdir -p %{buildroot}%{_distconfdir}/logrotate.d @@ -119,13 +117,11 @@ done %endif %files -%defattr(-,root,root) %license LICENSE %doc BUGS FAQ README README.MCAST README.PCRE TODO %{_bindir}/atftp %{_sbindir}/atftpd %{_sbindir}/in.tftpd -%{_sbindir}/rcatftpd %{_unitdir}/atftpd.service %{_unitdir}/atftpd.socket %if 0%{?suse_version} > 1500 diff --git a/atftpd.socket b/atftpd.socket index f86f908..fa8b5c8 100644 --- a/atftpd.socket +++ b/atftpd.socket @@ -2,7 +2,7 @@ Description=Advanced tftp Server Activation Socket [Socket] -ListenDatagram=0.0.0.0:69 +ListenDatagram=69 [Install] WantedBy=sockets.target