|
|
|
@ -1,3 +1,6 @@
|
|
|
|
|
# No, please don't break the build. Thanks.
|
|
|
|
|
%undefine _auto_set_build_flags
|
|
|
|
|
|
|
|
|
|
%global buildarches %{ix86} x86_64
|
|
|
|
|
%ifnarch %{buildarches}
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -7,13 +10,19 @@ Summary: Simple kernel loader which boots from a FAT filesystem
|
|
|
|
|
Name: syslinux
|
|
|
|
|
Version: 6.04
|
|
|
|
|
%define tarball_version 6.04-pre1
|
|
|
|
|
Release: 0.20%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Release: 0.30%{?dist}
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
|
|
|
|
|
Source0: http://www.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.xz
|
|
|
|
|
Source1: syslinux.patches
|
|
|
|
|
|
|
|
|
|
%include %{SOURCE1}
|
|
|
|
|
Patch0001: 0001-Add-install-all-target-to-top-side-of-HAVE_FIRMWARE.patch
|
|
|
|
|
Patch0002: 0002-ext4-64bit-feature.patch
|
|
|
|
|
Patch0003: 0003-include-sysmacros-h.patch
|
|
|
|
|
Patch0004: 0004-Add-RPMOPTFLAGS-to-CFLAGS-for-some-stuff.patch
|
|
|
|
|
Patch0005: 0005-Workaround-multiple-definition-of-symbol-errors.patch
|
|
|
|
|
Patch0006: 0006-Replace-builtin-strlen-that-appears-to-get-optimized.patch
|
|
|
|
|
Patch0007: 0007-Fix-backspace-when-editing-a-multiline-cmdline.patch
|
|
|
|
|
Patch0008: 0008-Fix-build-with-GCC-14.patch
|
|
|
|
|
Patch0009: 0009-Rewrite_Digest_SHA1_to_SHA.patch
|
|
|
|
|
|
|
|
|
|
# this is to keep rpmbuild from thinking the .c32 / .com / .0 / memdisk files
|
|
|
|
|
# in noarch packages are a reason to stop the build.
|
|
|
|
@ -25,7 +34,7 @@ BuildRequires: git
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: nasm >= 0.98.38-1, perl-interpreter, perl-generators, netpbm-progs
|
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
BuildRequires: /usr/include/gnu/stubs-32.h
|
|
|
|
|
BuildRequires: (glibc-devel(x86-32) or glibc32)
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
Requires: syslinux-nonlinux = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
@ -35,7 +44,7 @@ BuildRequires: mingw32-gcc
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
Requires: mtools, libc.so.6()(64bit)
|
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
|
BuildRequires: mingw32-gcc mingw64-gcc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
|
|
|
|
@ -70,7 +79,7 @@ Requires: syslinux-extlinux-nonlinux = %{version}-%{release}
|
|
|
|
|
The EXTLINUX bootloader, for booting the local system, as well as all
|
|
|
|
|
the SYSLINUX/PXELINUX modules in /boot.
|
|
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
%package tftpboot
|
|
|
|
|
Summary: SYSLINUX modules in /tftpboot, available for network booting
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -162,7 +171,6 @@ rm -f %{buildroot}%{_includedir}/syslinux.h
|
|
|
|
|
%doc sample
|
|
|
|
|
%{_mandir}/man1/gethostip*
|
|
|
|
|
%{_mandir}/man1/syslinux*
|
|
|
|
|
%{_mandir}/man1/extlinux*
|
|
|
|
|
%{_mandir}/man1/isohybrid*
|
|
|
|
|
%{_mandir}/man1/memdiskfind*
|
|
|
|
|
%{_bindir}/gethostip
|
|
|
|
@ -204,9 +212,10 @@ rm -f %{buildroot}%{_includedir}/syslinux.h
|
|
|
|
|
|
|
|
|
|
%files extlinux
|
|
|
|
|
%{_sbindir}/extlinux
|
|
|
|
|
%{_mandir}/man1/extlinux*
|
|
|
|
|
%config /etc/extlinux.conf
|
|
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
%files tftpboot
|
|
|
|
|
/tftpboot
|
|
|
|
|
|
|
|
|
@ -253,16 +262,51 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Aug 03 2022 Robbie Harwood <rharwood@redhat.com> - 6.04-0.20
|
|
|
|
|
- Sync with fedora (same NVR)
|
|
|
|
|
- Resolves: #2018260
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.04-0.30
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 6.04-0.29
|
|
|
|
|
- Build tftpboot and nonlinux on x86_64
|
|
|
|
|
|
|
|
|
|
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 6.04-0.28
|
|
|
|
|
- Rewrite Digest::SHA1 to SHA
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.04-0.27
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.26
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 13 2023 Nicolas Frayer <nfrayer@redhat.com>
|
|
|
|
|
- Migrate to SPDX license
|
|
|
|
|
- Please refer to https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.25
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 27 2022 Robbie Harwood <rharwood@redhat.com> - 6.04-0.22
|
|
|
|
|
- Cope with Fedora insisting harder on default buildflags
|
|
|
|
|
- Resolves: #2047034
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 21 2021 Robbie Harwood <rharwood@redhat.com> - 6.04-0.20
|
|
|
|
|
- Fix behavior of backspace in multiline cmdline editing
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 6.04-0.19
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Wed Sep 01 2021 Robbie Harwood <rharwood@redhat.com> - 6.04-0.19
|
|
|
|
|
- Place extlinux(1) in the extlinux subpackage
|
|
|
|
|
- Resolves: #977004
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.04-0.18
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-0.17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|