4 Summary: Tools to manage UEFI variables
6 URL: https://github.com/rhinstaller/efivar
7 Requires: %{name}-libs = %{version}-%{release}
8 ExclusiveArch: %{ix86} x86_64 aarch64
10 BuildRequires: git glibc-static libabigail
11 Source0: https://github.com/rhboot/efivar/archive/%{version}.tar.gz
14 efivar provides a simple command line interface to the UEFI variable facility.
17 Summary: Library to manage UEFI variables
20 Library to allow for the simple manipulation of UEFI variables.
23 Summary: Development headers for libefivar
24 Requires: %{name}-libs = %{version}-%{release}
27 development headers required to use libefivar.
30 %setup -q -n %{name}-%{version}
32 git config user.email "%{name}-owner@fedoraproject.org"
33 git config user.name "Fedora Ninjas"
35 git commit -a -q -m "%{version} baseline."
36 git am %{patches} </dev/null
37 git config --unset user.email
38 git config --unset user.name
41 make LIBDIR=%{_libdir} BINDIR=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS="$RPM_LD_FLAGS -flto"
44 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
55 %post libs -p /sbin/ldconfig
57 %postun libs -p /sbin/ldconfig
60 %{!?_licensedir:%global license %%doc}
64 %exclude %{_bindir}/efivar-static
71 %{_libdir}/pkgconfig/*.pc
77 * Tue Sep 12 2017 Peter Jones <pjones@redhat.com> - 32-1
79 - lots of coverity fixes; mostly leaked memory and fds and the like
80 - fix sysfs pci path formats
81 - handle device paths for dns, nfit, bluetooth, wifi, emmc, btle.
82 - improved abi checking on releases
83 - Fix failures on EDIT_WRITE in edit_variable() when the variable doesn't exist
84 - Add efi_guid_ux_capsule_guid to our guids
87 * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 31-3
88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
90 * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 31-2
91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
93 * Mon Mar 06 2017 Peter Jones <pjones@redhat.com> - 31-1
95 - Work around NVMe EUI sysfs change
96 - Provide some oldish version strings we should have kept.
97 - lots of overflow checking on our pointer math in dp parsing
98 - fix major/minor device number handling in the linux code
99 - Do better formatting checks for MBR partitions
102 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 30-5
103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
105 * Mon Oct 17 2016 Peter Jones <pjones@redhat.com> - 30-4
106 - Handle NVMe device attributes paths moving around in sysfs.
108 * Wed Sep 28 2016 Peter Jones <pjones@redhat.com> - 30-3
109 - Maybe even provide the *right* old linker deps.
111 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-2
112 - Try not to screw up SONAME stuff quite so badly.
114 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-1
115 - Fix efidp_*() functions with __pure__ that break with some optimizations
116 - Fix NVMe EUI parsing.
118 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 29-1
119 - Use -pie not -PIE in our linker config
120 - Fix some overflow checks for gcc < 5.x
121 - Make variable class probes other than the first one actually work
122 - Move -flto to CFLAGS
123 - Pack all of the efi device path headers
124 - Fix redundant decl of efi_guid_zero()
126 * Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 28-1
127 - Make our sonames always lib$FOO.1 , not lib$FOO.$VERSION .
129 * Tue Aug 16 2016 Peter Jones <pjones@redhat.com> - 27-1
130 - Bug fix for 086eeb17 in efivar 26.
132 * Thu Aug 11 2016 Peter Jones <pjones@redhat.com> - 26-1
133 - Use symmacros.h to make newer compilers happy
134 - Fix a bug in efidp_size() double-counting End nodes sometimes.
135 - Handle nonnull comparisons in the headers more gracefully.
137 * Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 25-1
138 - Rework version numbers.
139 - Add error tracking API.
140 - Remove use of deprecated readdir_r
141 - SATA device path fixes.
143 * Mon Jul 13 2015 Peter Jones <pjones@redhat.com> - 0.21-1
144 - Rename "make test" so packagers don't think it's a good idea to run it
146 - Error check sizes in vars_get_variable()
147 - Fix some file size comparisons
148 - make SONAME reflect the correct values.
149 - Fix some uses of "const"
150 - Compile with -O2 by default
151 - Fix some strict-aliasing violations
152 - Fix some of the .pc files and how we do linking to work better.
154 * Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
156 - Make sure tester is build with the right link order for libraries.
157 - Adjust linker order for pkg-config
158 - Work around LocateDevicePath() not grokking PcieRoot() devices properly.
159 - Rectify some missing changelog entries
161 * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
163 - add API from efibootmgr so fwupdate and other tools can use it.
165 * Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
167 - Make 32-bit builds set variables' DataSize correctly.
169 * Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
171 - add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
173 - Add some vendor specific guids to our guid list.
174 - Call "empty" "zero" now, as many other places do. References to
175 efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
176 - add "efivar -L" to the man page.
178 * Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
180 - add efi_symbol_to_guid()
181 - efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
183 - "efivar -L" to list all the guids we know about
184 - better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
186 * Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
189 * Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
192 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
193 - Update package to 0.10.
194 - Fixes a build error due to different cflags in the builders vs updstream
197 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
198 - Update package to 0.9.
200 * Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
201 - Update package to 0.8 as well.
203 * Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
204 - Update package to 0.7
205 - adds --append support to the binary.
207 * Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
208 - Update package to 0.6
209 - fixes to documentation from lersek
210 - more validation of uefi guids
211 - use .xz for archives
213 * Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
216 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
217 - Fix ldconfig invocation
219 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1