2007-01-16 00:11:20 +01:00
|
|
|
#
|
2008-07-31 21:25:56 +02:00
|
|
|
# spec file for package elilo (Version 3.8)
|
2007-01-16 00:11:20 +01:00
|
|
|
#
|
2008-02-28 17:54:14 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:11:20 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-28 17:54:14 +01:00
|
|
|
|
2007-01-16 00:11:20 +01:00
|
|
|
Name: elilo
|
|
|
|
Summary: EFI Linux Loader
|
2008-07-31 21:25:56 +02:00
|
|
|
Version: 3.8
|
|
|
|
Release: 3
|
2007-01-16 00:11:20 +01:00
|
|
|
Group: System/Boot
|
2008-02-28 17:54:14 +01:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:11:20 +01:00
|
|
|
PreReq: /usr/bin/perl
|
2008-02-28 17:54:14 +01:00
|
|
|
License: GPL v2 or later
|
2008-07-31 21:25:56 +02:00
|
|
|
Url: http://elilo.sourceforge.net/
|
|
|
|
Source: http://dl.sourceforge.net/elilo/elilo-3.8.tar.gz
|
2007-01-16 00:11:20 +01:00
|
|
|
Source1: elilo.pl
|
2008-07-31 21:25:56 +02:00
|
|
|
Source2: rpmlintrc
|
|
|
|
Patch0: elilo-asm.diff
|
|
|
|
Patch1: elilo-MAC.diff
|
|
|
|
Patch2: elilo-spelling.diff
|
2007-02-07 00:28:27 +01:00
|
|
|
Patch3: elilo-longer-commandline.diff
|
2008-07-31 21:25:56 +02:00
|
|
|
Patch4: elilo-fix-possible-overflow.diff
|
|
|
|
Patch5: elilo-avoid-tab.diff
|
2007-01-16 00:11:20 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-07-31 21:25:56 +02:00
|
|
|
BuildRequires: gnu-efi >= 3.0e
|
2007-01-16 00:11:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The EFI Linux boot loader.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Johannes Erdfelt <jerdfelt@valinux.com>
|
|
|
|
David Mosberger <davidm@hpl.hp.com>
|
|
|
|
Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
Brett Johnson <brett@hp.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n elilo
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2
|
2007-02-07 00:28:27 +01:00
|
|
|
%patch3 -p1
|
2008-07-31 21:25:56 +02:00
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
perl -pe 's{\@EDITION\@}{%{version}-%{release}};
|
|
|
|
s{\@LIBEXECDIR\@}{%{_libexecdir}}' < %{SOURCE1} > elilo.pl &&
|
|
|
|
perl -pi -e 's{/usr/lib}{%{_libexecdir}}' Make.defaults
|
2007-01-16 00:11:20 +01:00
|
|
|
chmod 555 elilo.pl && touch -r %{SOURCE1} elilo.pl
|
|
|
|
! fgrep '%%{version}-%%{release}' elilo.pl
|
|
|
|
|
|
|
|
%build
|
2007-02-25 23:23:35 +01:00
|
|
|
make OPTIMFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-stack-protector"
|
2007-01-16 00:11:20 +01:00
|
|
|
pod2man -s 8 -c "System Boot" -r "SuSE Linux" \
|
|
|
|
-n elilo -d "%{version}-%{release}" elilo.pl elilo.8
|
|
|
|
touch -r elilo.pl elilo.8
|
|
|
|
|
|
|
|
%install
|
2008-07-31 21:25:56 +02:00
|
|
|
install -d $RPM_BUILD_ROOT%{_libexecdir}/efi $RPM_BUILD_ROOT/sbin
|
|
|
|
install -m 444 elilo.efi $RPM_BUILD_ROOT%{_libexecdir}/efi
|
2007-01-16 00:11:20 +01:00
|
|
|
install tools/eliloalt $RPM_BUILD_ROOT/sbin
|
|
|
|
install -p -m 555 elilo.pl $RPM_BUILD_ROOT/sbin/elilo
|
2008-07-31 21:25:56 +02:00
|
|
|
%if 0
|
|
|
|
install -D -p elilo.8 $RPM_BUILD_ROOT/usr/share/man/man8/elilo.8
|
|
|
|
%endif
|
2007-01-16 00:11:20 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
#/sbin/elilo -v || :
|
|
|
|
echo "Please run /sbin/elilo!"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README README.* TODO docs/*.txt
|
2008-07-31 21:25:56 +02:00
|
|
|
%{_libexecdir}/efi
|
2007-01-16 00:11:20 +01:00
|
|
|
/sbin/elilo
|
|
|
|
/sbin/eliloalt
|
2008-07-31 21:25:56 +02:00
|
|
|
%if 0
|
|
|
|
/usr/share/man/man8/*
|
|
|
|
%endif
|
2007-01-16 00:11:20 +01:00
|
|
|
|
2007-02-25 23:23:35 +01:00
|
|
|
%changelog
|
2008-07-31 21:25:56 +02:00
|
|
|
* Thu Jul 31 2008 rw@suse.de
|
|
|
|
- elilo.efi
|
|
|
|
* Update to final elilo-3.8 for uEFI support. (fate#301882)
|
|
|
|
- elilo.pl
|
|
|
|
* Preserve time-stamps but not permissions. (bnc#394331)
|
|
|
|
* Unconditionally strip deprecated 'read-only' from 'elilo.conf'.
|
|
|
|
* Support '$LIBEXECDIR' to please uEFI/x86_64 and
|
|
|
|
relocate efi-binaries from 'elilo' to 'efi'. (fate#301882)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Thu Feb 28 2008 ro@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.spec
|
|
|
|
* No strip for elilo.efi during install (unknown binary format).
|
2008-02-28 17:54:14 +01:00
|
|
|
* Sun May 27 2007 schwab@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.spec
|
|
|
|
* Revert last change.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Sun May 27 2007 ro@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.spec
|
|
|
|
* Added gnu-efi-devel to buildreq.
|
|
|
|
* Wed May 09 2007 rw@suse.de
|
|
|
|
- elilo.efi
|
|
|
|
* Reduce non-"command line" strings back to 512. (#256676)
|
|
|
|
* Fix another buffer overrun. (#256676)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Feb 23 2007 schwab@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.spec
|
|
|
|
* Disable stack protector.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Feb 06 2007 bwalle@suse.de
|
2007-02-07 00:28:27 +01:00
|
|
|
- elilo.efi
|
2008-07-31 21:25:56 +02:00
|
|
|
* Increase command line size to 2048. (#242702)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Nov 10 2006 schwab@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.efi
|
|
|
|
* Fix spelling.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Thu Feb 02 2006 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Update to final 3.6
|
|
|
|
(Fixed vmcode_name initialization in textmenu chooser)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.spec
|
|
|
|
* Converted neededforbuild to BuildRequires.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Jan 20 2006 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.spec
|
|
|
|
* Don't strip binaries.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Mon Jan 09 2006 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Fix vmcode_name initialization in textmenu chooser. (#140519)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Dec 09 2005 rw@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Fix formatting of man-page.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Dec 07 2005 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Update to 3.5-pre2.
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Make "best effort" instead of giving up early.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Sat Aug 13 2005 schwab@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Check that the default label is defined.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Aug 05 2005 schwab@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Barf on duplicate labels.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Apr 13 2005 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Fix for new assembler.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Sat Feb 19 2005 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Clear extra memory in initrd block so that initramfs works.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Oct 06 2004 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Fix simple-chooser (#45493)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Thu May 27 2004 rw@suse.de
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Make all image-objects (kernel/initrd) *optional* by default (#41315)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Mon Feb 23 2004 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- elilo.efi
|
|
|
|
* Use '$RPM_OPT_FLAGS' with '-fno-strict-aliasing' appended.
|
2008-07-31 21:25:56 +02:00
|
|
|
- elilo.pl
|
2007-01-16 00:11:20 +01:00
|
|
|
* Take care of FPSWA.
|
|
|
|
* Try to avoid copying the same files more than once.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Mon Nov 24 2003 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Provide '/sbin/elilo' to simplify separation of '/boot' and the
|
|
|
|
EFI FAT-partition (bug #21644)
|
|
|
|
- Move 'elilo.efi' to '/usr/lib/elilo'
|
2008-02-28 17:54:14 +01:00
|
|
|
* Mon Sep 01 2003 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to final 3.4 to remove extraneous debug output.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Aug 26 2003 rw@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Add patch from Greg Edwards (SGI) (#29340)
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Aug 22 2003 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to elilo 3.4.
|
|
|
|
* Improved netbooting.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Jun 10 2003 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Add fix for netbooting.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Apr 08 2003 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Add two fixes from author.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Thu Oct 17 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to elilo 3.3a.
|
|
|
|
* More memory management bugs fixed.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Fri Sep 13 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Fix %%post.
|
|
|
|
- Fix eliloalt.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Sep 11 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Fix buffer overrun.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Mon Sep 02 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Move elilo.conf to /boot/efi/SuSE.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Aug 27 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to elilo 3.3.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Thu May 16 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Move boot loader to /boot/efi/SuSE.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Tue Mar 05 2002 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to elilo 3.2.
|
|
|
|
- Make elilo.conf and startup.nsh %%ghost files.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Sat Aug 18 2001 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Update to elilo 3.1.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Jul 25 2001 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Add two patches from author.
|
2008-02-28 17:54:14 +01:00
|
|
|
* Wed Jul 18 2001 schwab@suse.de
|
2007-01-16 00:11:20 +01:00
|
|
|
- Split from gnu-efi packages.
|
|
|
|
- New version 3.0.
|