Browse Source

efivar-0.21-3, efibootmgr-0.12-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9868 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 8 years ago
parent
commit
34cc908530
2 changed files with 246 additions and 0 deletions
  1. 86 0
      e/efibootmgr/efibootmgr-vl.spec
  2. 160 0
      e/efivar/efivar-vl.spec

+ 86 - 0
e/efibootmgr/efibootmgr-vl.spec

@@ -0,0 +1,86 @@
+Summary: EFI Boot Manager
+Name: efibootmgr
+Version: 0.12
+Release: 3%{?_dist_release}
+Group: System Environment/Base
+License: GPLv2+
+URL: http://github.com/rhinstaller/%{name}/
+BuildRequires: efivar-libs >= 0.19 , efivar-devel >= 0.19
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
+# EFI/UEFI don't exist on PPC
+ExclusiveArch: %{ix86} x86_64 aarch64
+
+Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: tomop
+
+%description
+%{name} displays and allows the user to edit the Intel Extensible
+Firmware Interface (EFI) Boot Manager variables.  Additional
+information about EFI can be found at
+http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}'
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
+install -p --mode 755 src/%{name}/%{name} %{buildroot}%{_sbindir}
+gzip -9 -c src/man/man8/%{name}.8 > src/man/man8/%{name}.8.gz
+touch -r src/man/man8/%{name}.8 src/man/man8/%{name}.8.gz
+install -p --mode 644 src/man/man8/%{name}.8.gz %{buildroot}%{_mandir}/man8
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_sbindir}/%{name}
+%{_mandir}/man8/%{name}.8.gz
+%doc README INSTALL COPYING
+    
+%changelog
+* Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.12-3
+- initial build for Vine Linux.
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1
+- Update to 0.12
+- use libefiboot and libefivar to make device paths and load options
+- don't depend on -lz or -lpci any more
+
+* Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1
+- Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1
+- Generate more archives to avoid people using github's, because they're just
+  bad.
+
+* Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
+- Make -o parameter validation work better and be more informative
+- Better exit values
+- Fix a segfault with appending ascii arguments.
+
+* Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
+- Release 0.8.0
+
+* Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
+- Release 0.6.1
+
+* Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
+- new home https://github.com/vathpela/efibootmgr
+
+* Thu Jan  3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
+- split efibootmgr into its own RPM for Fedora/RHEL.
+
+* Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
+- new home linux.dell.com
+
+* Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
+- See doc/ChangeLog

+ 160 - 0
e/efivar/efivar-vl.spec

@@ -0,0 +1,160 @@
+Name:           efivar
+Version:        0.21
+Release:        3%{?_dist_release}
+Summary:        Tools to manage UEFI variables
+License:        LGPLv2.1
+URL:            https://github.com/rhinstaller/efivar
+Requires:       %{name}-libs = %{version}-%{release}
+ExclusiveArch:	%{ix86} x86_64 aarch64
+
+BuildRequires:  popt-devel
+Source0:        https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
+
+# https://github.com/rhinstaller/efivar/commit/a3606c02fd271d32e364fcc540e34ba1899309f6
+Patch0:         a3606c02fd271d32e364fcc540e34ba1899309f6.patch
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: tomop
+
+%description
+efivar provides a simple command line interface to the UEFI variable facility.
+
+%package libs
+Summary: Library to manage UEFI variables
+
+%description libs
+Library to allow for the simple manipulation of UEFI variables.
+
+%package devel
+Summary: Development headers for libefivar
+Requires: %{name}-libs = %{version}-%{release}
+
+%description devel
+development headers required to use libefivar.
+
+%prep
+%setup -q -n %{name}-%{version}
+%patch0 -p1 -b .ifrn
+
+%build
+make libdir=%{_libdir} bindir=%{_bindir} OPT_FLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs
+/sbin/ldconfig
+
+%postun libs
+/sbin/ldconfig
+
+%files
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README.md
+%{_bindir}/efivar
+%{_mandir}/man1/*
+
+%files devel
+%{_mandir}/man3/*
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%files libs
+%{_libdir}/*.so.*
+
+%changelog
+* Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-3
+- initial build for Vine Linux.
+- added Patch0.
+
+* Mon Nov 02 2015 Peter Jones <pjones@redhat.com> - 0.21-2
+- Bump the release here so f22->f23->f24 updates work.
+
+* Mon Jul 13 2015 Peter Jones <pjones@redhat.com> - 0.21-1
+- Rename "make test" so packagers don't think it's a good idea to run it
+  during builds.
+- Error check sizes in vars_get_variable()
+- Fix some file size comparisons
+- make SONAME reflect the correct values.
+- Fix some uses of "const"
+- Compile with -O2 by default
+- Fix some strict-aliasing violations
+- Fix some of the .pc files and how we do linking to work better.
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
+- Update to 0.20
+- Make sure tester is build with the right link order for libraries.
+- Adjust linker order for pkg-config
+- Work around LocateDevicePath() not grokking PcieRoot() devices properly.
+- Rectify some missing changelog entries
+
+* Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
+- Update to 0.19
+- add API from efibootmgr so fwupdate and other tools can use it.
+
+* Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
+- Update to 0.15
+- Make 32-bit builds set variables' DataSize correctly.
+
+* Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
+- Update to 0.14
+- add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
+  as a concept.
+- Add some vendor specific guids to our guid list.
+- Call "empty" "zero" now, as many other places do.  References to
+  efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
+- add "efivar -L" to the man page.
+
+* Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
+- Update to 0.13:
+- add efi_symbol_to_guid()
+- efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
+  resort
+- "efivar -L" to list all the guids we know about
+- better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
+
+* Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
+- Update to 0.12
+
+* Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
+- Update to 0.11
+
+* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
+- Update package to 0.10.
+- Fixes a build error due to different cflags in the builders vs updstream
+  makefile.
+
+* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
+- Update package to 0.9.
+
+* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
+- Update package to 0.8 as well.
+
+* Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
+- Update package to 0.7
+- adds --append support to the binary.
+
+* Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
+- Update package to 0.6
+- fixes to documentation from lersek
+- more validation of uefi guids
+- use .xz for archives
+
+* Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
+- Update to 0.5
+
+* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
+- Fix ldconfig invocation
+
+* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
+- Initial spec file