Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,10 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
12
atftp.spec
12
atftp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package atftp
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -49,6 +49,7 @@ Recommends: logrotate
|
||||
Conflicts: tftp
|
||||
Provides: tftp(client)
|
||||
Provides: tftp(server)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
%description
|
||||
@ -65,15 +66,16 @@ boot of hundreds of machines simultaneously.
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=32206
|
||||
CFLAGS="%optflags -fgnu89-inline -U_FORTIFY_SOURCE"
|
||||
CFLAGS="%optflags -fgnu89-inline"
|
||||
%configure
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%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
|
||||
@ -117,11 +119,13 @@ 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
|
||||
|
@ -2,7 +2,7 @@
|
||||
Description=Advanced tftp Server Activation Socket
|
||||
|
||||
[Socket]
|
||||
ListenDatagram=69
|
||||
ListenDatagram=0.0.0.0:69
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
Loading…
Reference in New Issue
Block a user