Blame SPECS/libtasn1.spec

b3c9e1
Summary:	The ASN.1 library used in GNUTLS
b3c9e1
Name:		libtasn1
b3c9e1
Version:	4.16.0
b64638
Release:	8%{?dist}
b3c9e1
b3c9e1
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
b3c9e1
License:	GPLv3+ and LGPLv2+
b3c9e1
URL:		http://www.gnu.org/software/libtasn1/
b3c9e1
Source0:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
b3c9e1
Source1:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
b3c9e1
Source2:	gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
b3c9e1
Patch1:		libtasn1-3.4-rpath.patch
b3c9e1
Patch200:	libtasn1-4.16-coverity.patch
b64638
Patch300:	libtasn1-4.19-CVE-2021-46848.patch
b3c9e1
b3c9e1
BuildRequires:	gnupg2
b3c9e1
BuildRequires:	gcc
b3c9e1
BuildRequires:	bison, pkgconfig, help2man
b3c9e1
BuildRequires:	autoconf, automake, libtool
b3c9e1
BuildRequires:	valgrind-devel
b3c9e1
BuildRequires: make
b3c9e1
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
b3c9e1
Provides: bundled(gnulib) = 20130324
b3c9e1
b3c9e1
%package devel
b3c9e1
Summary:	Files for development of applications which will use libtasn1
b3c9e1
Requires:	%{name}%{?_isa} = %{version}-%{release}
b3c9e1
b3c9e1
Requires:	%name = %version-%release
b3c9e1
Requires:	%{name}-tools = %{version}-%{release}
b3c9e1
Requires:	pkgconfig
b3c9e1
b3c9e1
b3c9e1
%package tools
b3c9e1
Summary:	Some ASN.1 tools
b3c9e1
License:	GPLv3+
b3c9e1
Requires:	%{name}%{?_isa} = %{version}-%{release}
b3c9e1
b3c9e1
b3c9e1
%description
b3c9e1
A library that provides Abstract Syntax Notation One (ASN.1, as specified
b3c9e1
by the X.680 ITU-T recommendation) parsing and structures management, and
b3c9e1
Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
b3c9e1
b3c9e1
%description devel
b3c9e1
This package contains files for development of applications which will
b3c9e1
use libtasn1.
b3c9e1
b3c9e1
b3c9e1
%description tools
b3c9e1
This package contains simple tools that can decode and encode ASN.1
b3c9e1
data.
b3c9e1
b3c9e1
b3c9e1
%prep
b3c9e1
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
b3c9e1
%setup -q
b3c9e1
b3c9e1
%patch1 -p1 -b .rpath
b3c9e1
%patch200 -p1 -b .coverity
b64638
%patch300 -p1 -b .CVE-2021-46848
b3c9e1
b3c9e1
%build
b3c9e1
autoreconf -v -f --install
b3c9e1
%configure --disable-static --disable-silent-rules
b3c9e1
# libtasn1 likes to regenerate docs
b3c9e1
touch doc/stamp_docs
b3c9e1
b3c9e1
%make_build
b3c9e1
b3c9e1
b3c9e1
%install
b3c9e1
%make_install
b3c9e1
b3c9e1
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
b3c9e1
b3c9e1
b3c9e1
%check
b3c9e1
make check
b3c9e1
b3c9e1
%files
b3c9e1
%license LICENSE doc/COPYING*
b3c9e1
%doc AUTHORS NEWS README.md
b3c9e1
%{_libdir}/*.so.6*
b3c9e1
b3c9e1
%files tools
b3c9e1
%{_bindir}/asn1*
b3c9e1
%{_mandir}/man1/asn1*
b3c9e1
b3c9e1
%files devel
b3c9e1
%doc doc/TODO doc/*.pdf
b3c9e1
%{_libdir}/*.so
b3c9e1
%{_libdir}/pkgconfig/*.pc
b3c9e1
%{_includedir}/*
b3c9e1
%{_infodir}/*.info.*
b3c9e1
%{_mandir}/man3/*asn1*
b3c9e1
b3c9e1
b3c9e1
%changelog
b64638
* Wed Nov 30 2022 Simo Sorce <simo@redhat.com> - 4.16.0-9
b64638
- Resolves: rhbz#2140602
b64638
b3c9e1
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-7
b3c9e1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b3c9e1
  Related: rhbz#1991688
b3c9e1
b3c9e1
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-6
b3c9e1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b3c9e1
b3c9e1
* Mon Apr 12 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 4.16.0-5
b3c9e1
- Coverity-related fixes (#1938797)
b3c9e1
b3c9e1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-4
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-3
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3c9e1
b3c9e1
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 4.16.0-2
b3c9e1
- Use make macros
b3c9e1
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
b3c9e1
b3c9e1
* Sun Feb 02 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.16.0-1
b3c9e1
- Update to 4.14 (#1621973)
b3c9e1
b3c9e1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3c9e1
b3c9e1
* Thu Nov 21 2019 Simo Sorce <simo@redhat.com> - 4.15.0-1
b3c9e1
- Update to 4.15.0 (#1775065)
b3c9e1
b3c9e1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3c9e1
b3c9e1
* Mon Jul 22 2019 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.14-1
b3c9e1
- Update to 4.14 (#1621973)
b3c9e1
b3c9e1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-7
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3c9e1
b3c9e1
* Mon Oct 29 2018 James Antill <james.antill@redhat.com> - 4.13-6
b3c9e1
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc.
b3c9e1
b3c9e1
* Mon Oct 22 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-5
b3c9e1
- libtasn1-devel requires the tools subpackage; it is necessary for
b3c9e1
  development.
b3c9e1
b3c9e1
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.13-4
b3c9e1
- Add missing gcc/gnupg2 deps, spec cleanups
b3c9e1
b3c9e1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-3
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3c9e1
b3c9e1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3c9e1
b3c9e1
* Wed Jan 17 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-1
b3c9e1
- Update to 4.13 (#1535261)
b3c9e1
b3c9e1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-3
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b3c9e1
b3c9e1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3c9e1
b3c9e1
* Mon May 29 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.12-1
b3c9e1
- Update to 4.12 (#1456190)
b3c9e1
b3c9e1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.10-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Jan 17 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.10-1
b3c9e1
- Update to 4.10 (#1413792)
b3c9e1
b3c9e1
* Mon Nov  7 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.9-2
b3c9e1
- Move development related docs to devel sub package
b3c9e1
- Cleanup spec and macros
b3c9e1
- Update valgrind ExclusiveArch
b3c9e1
b3c9e1
* Fri Aug 26 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.9-1
b3c9e1
- Update to 4.9 (#1360315)
b3c9e1
b3c9e1
* Fri Jul  8 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-2
b3c9e1
- Resolve issue which prevented the decoding of long OIDs (#1353838)
b3c9e1
b3c9e1
* Mon Apr 11 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-1
b3c9e1
- Update to 4.8
b3c9e1
- Resolves infinite loop recursion in the decode of certain BER structures.
b3c9e1
b3c9e1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.7-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Sep 15 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.7-1
b3c9e1
- Update to 4.7 (#1260325)
b3c9e1
b3c9e1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3c9e1
b3c9e1
* Thu Apr 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.5-1
b3c9e1
- Update to 4.5 (#1217282)
b3c9e1
b3c9e1
* Mon Mar 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.4-1
b3c9e1
- new upstream release (#1206968)
b3c9e1
- fixes stack overflow in DER decoder
b3c9e1
b3c9e1
* Tue Mar 10 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.3-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Tue Sep 16 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.2-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-2
b3c9e1
- added bug fix for octet string decoding (#1138218)
b3c9e1
b3c9e1
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-3
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b3c9e1
b3c9e1
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 4.0-2
b3c9e1
- fix license handling
b3c9e1
b3c9e1
* Mon Jun 30 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.0-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3c9e1
b3c9e1
* Mon May 26 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Fri May 02 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.5-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Wed Nov 27 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.4-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b3c9e1
b3c9e1
* Mon Mar 25 2013 Tomáš Mráz <tmraz@redhat.com> - 3.3-1
b3c9e1
- new upstream release
b3c9e1
- improved description
b3c9e1
b3c9e1
* Thu Mar  7 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-3
b3c9e1
- drop the temporary compat libtasn1
b3c9e1
b3c9e1
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
b3c9e1
- now with temporary compat libtasn1 taken from old build
b3c9e1
b3c9e1
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
b3c9e1
- new upstream release
b3c9e1
- SONAME bumped
b3c9e1
b3c9e1
* Fri Nov  9 2012 Tomas Mraz <tmraz@redhat.com> - 2.14-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3c9e1
b3c9e1
* Mon Jun 18 2012 Tomas Mraz <tmraz@redhat.com> - 2.13-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Tue Mar 20 2012 Tomas Mraz <tmraz@redhat.com> - 2.12-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Aug 3 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-2
b3c9e1
- drop superfluous rpath
b3c9e1
b3c9e1
* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-1
b3c9e1
- new upstream release
b3c9e1
b3c9e1
* Mon Jan 11 2010 Tomas Mraz <tmraz@redhat.com> - 2.3-2
b3c9e1
- no longer ignore make check result on ppc64
b3c9e1
b3c9e1
* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> - 2.3-1
b3c9e1
- updated to new upstream version
b3c9e1
- fix warnings when installed with --excludedocs (#515950)
b3c9e1
b3c9e1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b3c9e1
b3c9e1
* Fri May 29 2009 Tomas Mraz <tmraz@redhat.com> - 2.2-1
b3c9e1
- updated to new upstream version
b3c9e1
- SMP build should work now
b3c9e1
- drop fix for spurious rpath - no longer necessary
b3c9e1
b3c9e1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
b3c9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b3c9e1
b3c9e1
* Tue Jan 27 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.8-1
b3c9e1
- updated to 1.8
b3c9e1
- updated URLs
b3c9e1
- disabled SMP builds for now
b3c9e1
b3c9e1
* Fri Dec 12 2008 Caolán McNamara <caolanm@redhat.com> - 1.7-2
b3c9e1
- rebuild to get provides pkgconfig(libtasn1)
b3c9e1
b3c9e1
* Fri Nov 21 2008 Tomas Mraz <tmraz@redhat.com> - 1.7-1
b3c9e1
- updated to new upstream version
b3c9e1
b3c9e1
* Tue Sep 30 2008 Tomas Mraz <tmraz@redhat.com> - 1.5-1
b3c9e1
- updated to new upstream version
b3c9e1
- fix license tag
b3c9e1
- fix spurious rpath in the tool binaries
b3c9e1
b3c9e1
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
b3c9e1
- fix license tag
b3c9e1
b3c9e1
* Thu Jun  5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
b3c9e1
- updated to new upstream version
b3c9e1
b3c9e1
* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
b3c9e1
- updated to 1.3 (#426488, #431334)
b3c9e1
- use wrapper around libtasn1-config which should make it multilib
b3c9e1
  safe (#342411); this implies an untagged 'Requires: pkgconfig' for
b3c9e1
  -devel now
b3c9e1
- conditionalized BR of valgrind (#401041)
b3c9e1
b3c9e1
* Mon Sep  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
b3c9e1
- updated to 1.1
b3c9e1
- workaround 'make check' errors on ppc64
b3c9e1
b3c9e1
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
b3c9e1
- updated to 0.3.10
b3c9e1
b3c9e1
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
b3c9e1
- updated to 0.3.9
b3c9e1
b3c9e1
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
b3c9e1
- updated to 0.3.8
b3c9e1
b3c9e1
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
b3c9e1
- updated to 0.3.6
b3c9e1
- BR valgrind
b3c9e1
b3c9e1
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
b3c9e1
- updated to 0.3.5
b3c9e1
b3c9e1
* Sat Jun  3 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.4-1
b3c9e1
- updated to 0.3.4
b3c9e1
b3c9e1
* Sun Mar 26 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.2-1
b3c9e1
- updated to 0.3.2
b3c9e1
- added -tools subpackage
b3c9e1
b3c9e1
* Wed Mar  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.1-1
b3c9e1
- updated to 0.3.1
b3c9e1
b3c9e1
* Mon Mar  6 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.0-1
b3c9e1
- updated to 0.3.0
b3c9e1
- removed unneeded curlies
b3c9e1
- created -devel subpackage
b3c9e1
b3c9e1
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
b3c9e1
- rebuild on all arches
b3c9e1
b3c9e1
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
b3c9e1
- rebuilt
b3c9e1
b3c9e1
* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1
b3c9e1
- updated to 0.2.6
b3c9e1
b3c9e1
* Mon Aug  4 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.5-0.fdr.1
b3c9e1
- updated to 0.2.5
b3c9e1
- changed license to LGPL
b3c9e1
- rearranged %%check to reflect execution order
b3c9e1
- minor cosmetical changes
b3c9e1
b3c9e1
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
b3c9e1
- Initial build.