SHA256
1
0
forked from pool/atftp

Compare commits

...

2 Commits

Author SHA256 Message Date
Ana Guerrero
8b4255fccd Accepting request 1204075 from network
OBS-URL: https://build.opensuse.org/request/show/1204075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/atftp?expand=0&rev=45
2024-09-29 16:09:18 +00:00
2d593c9f75 - 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

OBS-URL: https://build.opensuse.org/package/show/network/atftp?expand=0&rev=58
2024-09-27 07:51:17 +00:00
3 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 24 18:33:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- 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 <david.anes@suse.com>

View File

@ -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

View File

@ -2,7 +2,7 @@
Description=Advanced tftp Server Activation Socket
[Socket]
ListenDatagram=0.0.0.0:69
ListenDatagram=69
[Install]
WantedBy=sockets.target