Blame SPECS/gdisk.spec

78467c
Summary:       An fdisk-like partitioning tool for GPT disks
78467c
Name:          gdisk
78467c
Version:       1.0.3
3d5e79
Release:       11%{?dist}
78467c
License:       GPLv2
78467c
URL:           http://www.rodsbooks.com/gdisk/
78467c
Group:         System Environment/Base
78467c
Source0:       http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
20e6bd
Patch0:        gdisk-1.0.3-byteswap.patch
3d5e79
Patch1:        gdisk-CVE-2020-0256.patch
3d5e79
Patch2:        gdisk-CVE-2021-0308.patch
78467c
BuildRequires: popt-devel
78467c
BuildRequires: libuuid-devel
78467c
BuildRequires: ncurses-devel
78467c
78467c
%description
78467c
An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
78467c
command-line interface, fairly direct manipulation of partition table
78467c
structures, recovery tools to help you deal with corrupt partition
78467c
tables, and the ability to convert MBR disks to GPT format.
78467c
78467c
%prep
78467c
%setup -q -n gptfdisk-%{version}
20e6bd
%patch0 -p1
3d5e79
%patch1 -p1
3d5e79
%patch2 -p1
78467c
chmod 0644 gdisk_test.sh
78467c
78467c
%build
78467c
make CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" LDFLAGS="%{build_ldflags}"
78467c
78467c
%install
78467c
for f in gdisk sgdisk cgdisk fixparts ; do 
78467c
    install -D -p -m 0755 $f %{buildroot}%{_sbindir}/$f
78467c
    install -D -p -m 0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8
78467c
done
78467c
78467c
%files
78467c
%license COPYING
78467c
%doc NEWS README gdisk_test.sh
78467c
%{_sbindir}/gdisk
78467c
%{_sbindir}/cgdisk
78467c
%{_sbindir}/sgdisk
78467c
%{_sbindir}/fixparts
78467c
%{_mandir}/man8/gdisk.8*
78467c
%{_mandir}/man8/cgdisk.8*
78467c
%{_mandir}/man8/sgdisk.8*
78467c
%{_mandir}/man8/fixparts.8*
78467c
78467c
%changelog
3d5e79
* Tue Mar 15 2022 Nikola Forró <nforro@redhat.com> - 1.0.3-11
3d5e79
- Fix double byteswap on big-endian systems also while reading partition names
3d5e79
  resolves: #2065205
3d5e79
3d5e79
* Wed Mar 02 2022 Nikola Forró <nforro@redhat.com> - 1.0.3-10
3d5e79
- Fix CVE-2021-0308
3d5e79
  resolves: #2052364
3d5e79
3d5e79
* Wed Mar 02 2022 Nikola Forró <nforro@redhat.com> - 1.0.3-9
3d5e79
- Fix CVE-2020-0256
3d5e79
  resolves: #2052365
3d5e79
20e6bd
* Mon Oct 25 2021 Nikola Forró <nforro@redhat.com> - 1.0.3-8
20e6bd
- Add upstream tests as a gating test
20e6bd
  related: #1899990
20e6bd
20e6bd
* Wed Sep 29 2021 Nikola Forró <nforro@redhat.com> - 1.0.3-7
20e6bd
- Fix incorrect byte order of partition names on big-endian systems
20e6bd
  resolves: #1899990
20e6bd
78467c
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1.0.3-6
78467c
- Use LDFLAGS from redhat-rpm-config
78467c
78467c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
78467c
78467c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
78467c
78467c
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 1.0.3-3
78467c
- Rebuild with binutils fix for ppc64le (#1475636)
78467c
78467c
* Fri Jul 28 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.0.3-2
78467c
- Ship NEWS
78467c
78467c
* Fri Jul 28 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.0.3-1
78467c
- 1.0.3
78467c
78467c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
78467c
78467c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
78467c
78467c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
78467c
78467c
* Thu Oct 29 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.0.1-1
78467c
- 1.0.1
78467c
78467c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
78467c
78467c
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.0-2
78467c
- Rebuilt for GCC 5 C++11 ABI change
78467c
78467c
* Sat Mar 21 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.0.0-1
78467c
- 1.0.0
78467c
78467c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-4
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
78467c
78467c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-3
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
78467c
78467c
* Sat Mar 08 2014 Terje Rosten <terje.rosten@ntnu.no> - 0.8.10-2
78467c
- Drop icu from buildreq
78467c
78467c
* Sat Mar 08 2014 Terje Rosten <terje.rosten@ntnu.no> - 0.8.10-1
78467c
- 0.8.10
78467c
78467c
* Sun Mar 02 2014 Terje Rosten <terje.rosten@ntnu.no> - 0.8.9-1
78467c
- 0.8.9
78467c
78467c
* Wed Feb 12 2014 Nils Philippsen <nils@redhat.com> - 0.8.8-2
78467c
- fix bogus dates in changelog
78467c
- rebuild for new libicu
78467c
78467c
* Thu Oct 17 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.8.8-1
78467c
- 0.8.8
78467c
78467c
* Fri Sep 13 2013 Richard W.M. Jones <rjones@redhat.com> - 0.8.7-2
78467c
- Range check -i option (RHBZ#1007847).
78467c
78467c
* Sun Aug 11 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.8.7-1
78467c
- 0.8.7
78467c
78467c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
78467c
78467c
* Fri Jan 25 2013 Orion Poplawski <orion@cora.nwra.com> - 0.8.6-1
78467c
- Update to 0.8.6
78467c
78467c
* Sat Nov 17 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.5-1
78467c
- 0.8.5
78467c
78467c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-2
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
78467c
78467c
* Mon Apr 23 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.4-1
78467c
- 0.8.4
78467c
78467c
* Sat Apr 21 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.8.2-3
78467c
- Rebuild for libicu 49.1.1
78467c
78467c
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
78467c
- Rebuilt for c++ ABI breakage
78467c
78467c
* Sun Jan 29 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.2-1
78467c
- 0.8.2
78467c
78467c
* Thu Jan 05 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-3
78467c
- Add patch to build with gcc 4.7
78467c
78467c
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-2
78467c
- Add cgdisk and fixparts
78467c
78467c
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1
78467c
- 0.8.1
78467c
- Add ncurses-devel to buildreq
78467c
78467c
* Thu Sep 08 2011 Orion Poplawski <orion@cora.nwra.com> - 0.7.2-2
78467c
- Rebuild for libicu 4.8.1
78467c
78467c
* Sun Jul 10 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.2-1
78467c
- 0.7.2
78467c
78467c
* Mon Apr 11 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.1-1
78467c
- 0.7.1
78467c
78467c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.14-2
78467c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
78467c
78467c
* Sat Jan 29 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.6.14-1
78467c
- 0.6.14
78467c
78467c
* Thu Nov 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.13-1
78467c
- 0.6.13
78467c
78467c
* Fri Jun 18 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.8-1
78467c
- 0.6.8
78467c
78467c
* Thu Mar 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.6-1
78467c
- 0.6.6
78467c
- Compile with -D_FILE_OFFSET_BITS=64, recommended upstream
78467c
78467c
* Sat Mar 20 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.5-1
78467c
- 0.6.5
78467c
- Add alignment patch (bz #575297)
78467c
78467c
* Thu Mar 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-2
78467c
- Fix source url
78467c
78467c
* Sun Feb 14 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-1
78467c
- 0.6.3
78467c
78467c
* Sun Jan 31 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.2-1
78467c
- 0.6.2
78467c
78467c
* Mon Jan 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.1-1
78467c
- 0.6.1
78467c
- add popt-devel to buildreq
78467c
- random clean up
78467c
78467c
* Fri Jan 15 2010 R Smith <rodsmith@rodsbooks.com> - 0.6.0
78467c
- created spec file for 0.6.0 release