Browse Source

updated 4 packages

cmocka-1.1.7-5

strongswan-5.9.14-1

tpm2-tools-5.7-2

tpm2-tss-4.1.3-2
Tomohiro "Tomo-p" KATO 8 months ago
parent
commit
ad66db08da
4 changed files with 1101 additions and 10 deletions
  1. 309 0
      c/cmocka/cmocka-vl.spec
  2. 30 10
      s/strongswan/strongswan-vl.spec
  3. 319 0
      t/tpm2-tools/tpm2-tools-vl.spec
  4. 443 0
      t/tpm2-tss/tpm2-tss-vl.spec

+ 309 - 0
c/cmocka/cmocka-vl.spec

@@ -0,0 +1,309 @@
+Name:           cmocka
+Version:        1.1.7
+Release:        5%{?_dist_release}
+Group:          programming
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        Apache-2.0
+Summary:        An elegant unit testing framework for C with support for mock objects
+URL:            https://cmocka.org
+
+Source0:        https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz
+Source1:        https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz.asc
+Source2:        cmocka.keyring
+
+BuildRequires:  gcc
+BuildRequires:  cmake
+BuildRequires:  doxygen
+BuildRequires:  glibc-devel
+BuildRequires:  gnupg2
+
+%description
+There are a variety of C unit testing frameworks available however many of them
+are fairly complex and require the latest compiler technology. Some development
+requires the use of old compilers which makes it difficult to use some unit
+testing frameworks. In addition many unit testing frameworks assume the code
+being tested is an application or module that is targeted to the same platform
+that will ultimately execute the test. Because of this assumption many
+frameworks require the inclusion of standard C library headers in the code
+module being tested which may collide with the custom or incomplete
+implementation of the C library utilized by the code under test.
+
+Cmocka only requires a test application is linked with the standard C library
+which minimizes conflicts with standard C library headers. Also, CMocka tries
+to avoid the use of some of the newer features of C compilers.
+
+This results in CMocka being a relatively small library that can be used to
+test a variety of exotic code. If a developer wishes to simply test an
+application with the latest compiler then other unit testing frameworks may be
+preferable.
+
+This is the successor of Google's Cmockery.
+
+
+%package -n libcmocka
+Summary:        Lightweight library to simplify and generalize unit tests for C
+Group:          programming
+Conflicts:      cmockery2
+
+%description -n libcmocka
+There are a variety of C unit testing frameworks available however many of them
+are fairly complex and require the latest compiler technology. Some development
+requires the use of old compilers which makes it difficult to use some unit
+testing frameworks. In addition many unit testing frameworks assume the code
+being tested is an application or module that is targeted to the same platform
+that will ultimately execute the test. Because of this assumption many
+frameworks require the inclusion of standard C library headers in the code
+module being tested which may collide with the custom or incomplete
+implementation of the C library utilized by the code under test.
+
+CMocka only requires a test application is linked with the standard C library
+which minimizes conflicts with standard C library headers. Also, CMocka tries
+to avoid the use of some of the newer features of C compilers.
+
+This results in CMocka being a relatively small library that can be used to
+test a variety of exotic code. If a developer wishes to simply test an
+application with the latest compiler then other unit testing frameworks may be
+preferable.
+
+This is the successor of Google's Cmockery.
+
+%package -n libcmocka-devel
+Summary:        Development headers for the cmocka library
+Group:          programming
+Requires:       libcmocka = %{version}-%{release}
+
+Conflicts: cmockery2-devel
+
+%description -n libcmocka-devel
+Development headers for the cmocka unit testing library.
+
+%package -n cmocka-doc
+Summary:        API documentation for the cmocka unit testing framework
+Group:          documentation
+BuildArch:      noarch
+
+%description -n cmocka-doc
+This package provides the API documentation for the cmocka unit testing
+framework.
+
+
+%debug_package
+
+
+%prep
+%autosetup -p1
+
+
+%build
+# This package uses -Wl,-wrap to wrap calls at link time.  This is incompatible
+# with LTO.
+# Disable LTO
+%define _lto_cflags %{nil}
+
+%cmake \
+  -DWITH_STATIC_LIB=ON \
+  -DWITH_CMOCKERY_SUPPORT=ON \
+  -DUNIT_TESTING=ON
+
+%cmake_build
+%__cmake --build %{__cmake_builddir} --target docs
+
+
+%install
+%cmake_install
+ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
+
+
+%check
+%ctest
+
+
+%files -n libcmocka
+%doc AUTHORS README.md ChangeLog
+%license COPYING
+%{_libdir}/libcmocka.so.*
+
+%files -n libcmocka-devel
+%{_includedir}/cmocka.h
+%{_includedir}/cmocka_pbc.h
+%{_includedir}/cmockery/cmockery.h
+%{_includedir}/cmockery/pbc.h
+%{_libdir}/libcmocka.so
+%{_libdir}/libcmockery.so
+%{_libdir}/pkgconfig/cmocka.pc
+%{_libdir}/cmake/cmocka/cmocka-config*.cmake
+
+%files -n cmocka-doc
+%doc %{__cmake_builddir}/doc/html
+
+
+%changelog
+* Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.7-5
+- initial build for Vine Linux.
+
+* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Tue Feb 28 2023 Andreas Schneider <asn@redhat.com> - 1.1.7-1
+- Update to version 1.1.7
+  * Update ignore list for source tarball generation
+  * Added new assert macros to compare 2 double given an epsilon
+  * Added meson build system
+  * Added header with version to TAP13 output
+  * Fixed issues with MSVC
+  * Fixed TAP output for skipped tests
+  * Fixed issue with fail_msg
+  * CMake generated configs for find_package(cmocka)
+  * Documentation improvements
+
+* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Mon Apr 19 2021 Andreas Schneider <asn@redhat.com> - 1.1.5-9
+- Split out a cmocka-doc package
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Aug 05 2020 Andreas Schneider <asn@redhat.com> - 1.1.5-7
+- Correctly build with new cmake macros
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-6
+- Second attempt - Rebuilt for
+  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul  1 2020 Jeff Law <law@redhat.com> - 1.1.5-4
+- Disable LTO
+
+* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Mar 28 2019 Andreas Schneider <asn@redhat.com> - 1.1.5-1
+- Update to version 1.1.5
+
+* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Sep 27 2018 Andreas Schneider <asn@redhat.com> - 1.1.3-1
+- Update to version 1.1.3
+
+* Wed Aug 29 2018 Andreas Schneider <asn@redhat.com> - 1.1.2-1
+- Update to version 1.1.2
+
+* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Mar 28 2017 Than Ngo <than@redhat.com> - 1.1.0-5
+- added workaround for gcc7 bug on ppc64le temporary 
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Wed Sep 21 2016 Jakub Hrozek <jhrozek@redhat.com> - 1.1.0-1
+- Update to version 1.1.0
+    * Added support to catch multiple exceptions
+    * Added support to verify call ordering
+    * Added support to pass initial data to test cases
+    * Added will_return_maybe() for ignoring mock returns
+    * Added subtests for groups using TAP output
+    * Added support to write multiple XML files for groups
+    * Improved documentation
+    * Fixed XML output generataion
+    * Fixed Windows builds with VS2015
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Mar 12 2015 Andreas Schneider <asn@redhat.com> - 1.0.1-1
+- Update to version 1.0.1:
+  * Added a macro for assert_ptr_equal().
+  * Fixed test_realloc() if 0 size is passed.
+  * Fixed objects packaging bug.
+  * Fixed building with newer gcc versions.
+
+* Mon Feb 16 2015 Andreas Schneider <asn@redhat.com> - 1.0.0-1
+- Update to version 1.0.0:
+  * Added new test runner with group fixtures. The old runner is deprecated
+  * Added an extensible message output formatter
+  * Added jUnit XML message output
+  * Added subunit message output
+  * Added Test Anything Protocol message output
+  * Added skip() command
+  * Added test_realloc()
+  * Added a cmockery compat header
+  * Fixed a lot of bugs on Windows
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 26 2014 - Andreas Schneider <asn@redhat.com> - 0.4.1-1
+- Update to version 0.4.1.
+
+* Fri Apr 11 2014 - Andreas Schneider <asn@redhat.com> - 0.4.0-1
+- Update to version 0.4.0.
+
+* Wed Nov 06 2013 - Andreas Schneider <asn@redhat.com> - 0.3.2-1
+- Update to version 0.3.2.
+- Include API documentation.
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Jul 10 2013 - Andreas Schneider <asn@redhat.com> - 0.3.0-2
+- Update to version 0.3.1.
+- Fixed cmocka issues on big endian.
+- resolves: #975044
+
+* Wed Jun 05 2013 - Andreas Schneider <asn@redhat.com> - 0.3.0-1
+- Update to version 0.3.0.
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jan 18 2013 - Andreas Schneider <asn@redhat.com> - 0.2.0-3
+- Fixed typo in Source URL.
+
+* Thu Jan 17 2013 - Andreas Schneider <asn@redhat.com> - 0.2.0-2
+- Fixed Source URL.
+- Fixed package groups.
+
+* Tue Jan 15 2013 - Andreas Schneider <asn@redhat.com> - 0.2.0-1
+- Initial version 0.2.0

+ 30 - 10
s/strongswan/strongswan-vl.spec

@@ -6,7 +6,7 @@
 #%%define prerelease dr1
 
 Name:           strongswan
-Version:        5.9.9
+Version:        5.9.14
 Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Summary:        An OpenSource IPsec-based VPN and TNC solution
 Summary(ja):    オープンソースのIPsec VPN/TNCソリューション
@@ -21,7 +21,8 @@ Source1:        tmpfiles-strongswan.conf
 Source1000:     strongswan.init
 Patch0:         strongswan-5.8.4-runtime-dir.patch
 Patch1:         strongswan-5.6.0-uintptr_t.patch
-Patch3:         strongswan-5.6.2-CVE-2018-5388.patch
+# https://github.com/strongswan/strongswan/issues/1198
+Patch2:         strongswan-5.9.7-error-no-format.patch
 
 # only needed for pre-release versions
 #BuildRequires:  autoconf automake
@@ -38,8 +39,11 @@ BuildRequires:  libgcrypt-devel
 BuildRequires:  iptables-devel
 BuildRequires:  libcap-devel
 %if %{with tss}
-BuildRequires:  trousers-devel
 BuildRequires:  json-c-devel >= 0.14
+BuildRequires:  tpm2-tss-devel
+Recommends:     tpm2-tools
+Obsoletes:      trousers < 0.3.16
+Obsoletes:      trousers-lib < 0.3.16
 %endif
 
 %if "%{?_dist_release}" != "vl6"
@@ -84,11 +88,20 @@ NetworkManager plugin integrates a subset of Strongswan capabilities
 to NetworkManager.
 
 
+%package sqlite
+Summary: SQLite support for strongSwan
+Group: servers,security
+Requires: strongswan = %{version}-%{release}
+
+%description sqlite
+The sqlite plugin adds an SQLite database backend to strongSwan.
+
+
 %if %{with tss}
 %package tnc-imcvs
 Summary: Trusted network connect (TNC)'s IMC/IMV functionality
 Group: servers,security
-Requires: %{name} = %{version}
+Requires: strongswan = %{version}-%{release}
 
 %description tnc-imcvs
 This package provides Trusted Network Connect's (TNC) architecture support.
@@ -109,7 +122,7 @@ PT-TLS to support TNC over TLS.
 %setup -q -n %{name}-%{version}%{?prerelease}
 %patch0 -p1
 %patch1 -p1
-%patch3 -p1
+%patch2 -p1
 
 
 %build
@@ -128,6 +141,10 @@ export CFLAGS="%{optflags} -Wno-format-security"
     --with-ipsecdir=%{_libexecdir}/strongswan \
     --bindir=%{_libexecdir}/strongswan \
     --with-ipseclibdir=%{_libdir}/strongswan \
+    --with-piddir=%{_rundir}/strongswan \
+    --with-nm-ca-dir=%{_sysconfdir}/strongswan/ipsec.d/cacerts/ \
+    --enable-bypass-lan \
+    --enable-tss-tss2 \
     --enable-nm \
     --enable-openssl \
     --enable-unity \
@@ -159,12 +176,13 @@ export CFLAGS="%{optflags} -Wno-format-security"
     --enable-ext-auth \
     --enable-ipseckey \
     --enable-pkcs11 \
+    --enable-tpm \
     --enable-farp \
     --enable-dhcp \
     --enable-ha \
     --enable-led \
-    --enable-sqlite \
     --enable-sql \
+    --enable-sqlite \
     --enable-tnc-ifmap \
     --enable-tnc-pdp \
     --enable-tnc-imc \
@@ -175,13 +193,10 @@ export CFLAGS="%{optflags} -Wno-format-security"
     --enable-curl \
     --enable-cmd \
     --enable-acert \
-    --enable-aikgen \
     --enable-vici \
     --enable-swanctl \
     --enable-duplicheck \
 %if %{with tss}
-    --enable-tss-trousers \
-    --enable-aikgen \
     --enable-imc-test \
     --enable-imv-test \
     --enable-imc-scanner \
@@ -313,6 +328,9 @@ fi
 %{_initdir}/ipsec
 %endif
 
+%files sqlite
+%{_libdir}/strongswan/plugins/libstrongswan-sqlite.so
+
 %if %{with tss}
 %files tnc-imcvs
 %{_sbindir}/sw-collector
@@ -323,7 +341,6 @@ fi
 %{_libdir}/strongswan/libtnccs.so.*
 %{_libdir}/strongswan/libradius.so.*
 %{_libdir}/strongswan/plugins/libstrongswan-pkcs7.so
-%{_libdir}/strongswan/plugins/libstrongswan-sqlite.so
 %{_libdir}/strongswan/plugins/libstrongswan-*tnc*.so
 %{_libdir}/strongswan/plugins/libstrongswan-eap-radius.so
 %{_libexecdir}/strongswan/attest
@@ -345,6 +362,9 @@ fi
 
 
 %changelog
+* Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.14-1
+- new upstream release.
+
 * Sat Feb 04 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.9-1
 - new upstream release.
 

+ 319 - 0
t/tpm2-tools/tpm2-tools-vl.spec

@@ -0,0 +1,319 @@
+#global candidate rc1
+
+Name:         tpm2-tools
+Version:      5.7
+Release:      2%{?candidate:.%{candidate}}%{?_dist_release}
+Summary:      A bunch of TPM testing toolS build upon tpm2-tss
+Group:        system,security
+Vendor:       Project Vine
+Distribution: Vine Linux
+
+License: BSD-3-Clause
+URL:     https://github.com/tpm2-software/tpm2-tools
+Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}%{?candidate:-%{candidate}}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
+
+BuildRequires: make
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: autoconf-archive
+#BuildRequires: pandoc
+BuildRequires: pkgconfig(cmocka)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(openssl)
+# tpm2-tss-devel provides tss2-mu/sys/esys package config
+BuildRequires: pkgconfig(tss2-mu)
+BuildRequires: pkgconfig(tss2-sys)
+BuildRequires: pkgconfig(tss2-esys)
+BuildRequires: pkgconfig(uuid)
+
+# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
+Requires: tpm2-tss%{?_isa}
+
+%description
+tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
+
+
+%debug_package
+
+
+%prep
+%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
+
+
+%build
+%configure --prefix=/usr --disable-static --disable-silent-rules
+%make_build
+
+
+%install
+%make_install
+
+
+%files
+%license docs/LICENSE
+%doc docs/README.md docs/CHANGELOG.md
+%{_bindir}/tpm2
+%{_bindir}/tpm2_*
+%{_bindir}/tss2
+%{_bindir}/tss2_*
+%{_datadir}/bash-completion/completions/tpm2*
+%{_datadir}/bash-completion/completions/tss2*
+%{_mandir}/man1/tpm2_*.1.gz
+%{_mandir}/man1/tpm2.1.gz
+%{_mandir}/man1/tss2_*.1.gz
+
+
+%changelog
+* Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.7-2
+- initial build for Vine Linux.
+
+* Sun Apr 28 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 5.7-1
+- Update to 5.7
+
+* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Sun Nov 12 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 5.6-1
+- Update to 5.6
+
+* Tue Sep 26 2023 Štěpán Horáček <shoracek@redhat.com> - 5.5-5
+- Migrate license to SPDX
+
+* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.5-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Mon Apr 17 2023 Anderson Toshiyuki Sasaki <ansasaki@redhat.com> - 5.5-3
+- Disable compiler optimization to fix LTO + FORTIFY_SOURCE=3 issue
+  Resolves rhbz#2171376
+
+* Tue Feb 21 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.5-2
+- Disable manpage regeneration in RHEL/ELN builds
+
+* Thu Feb 16 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5-1
+- Update to 5.5
+
+* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.5-0.2.rc1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Dec 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5-0.1.rc1
+- Update to 5.5-RC1
+- Enable LTO (RHBZ#1986628)
+
+* Thu Dec 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.4-1
+- Update to 5.4
+
+* Wed Sep 28 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3-1
+- Update to 5.3
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Sat Oct 02 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.2-1
+- Update to 5.2
+
+* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 5.1.1-3
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Mon Jun 21 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.1.1-1
+- Update to 5.1.1
+- Fixes CVE-2021-3565 (rhbz 1964428)
+
+* Tue May 25 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.1-1
+- Update to 5.1
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Mon Nov 23 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.0-1
+- Update tp tpm2-tools 5.0
+
+* Sat Aug 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.3.0-1
+- Update to 4.3.0
+
+* Mon Aug 10 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-4
+- Rebuild for tpm2-tss 3.0
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.2.1-2
+- Disable LTO due to latent uninitialized variable exposed by LTO
+
+* Wed May 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-1
+- Update to 4.2.1
+
+* Tue Apr 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2-1
+- Update to 4.2
+
+* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Nov 28 2019 Yunying Sun <yunying.sun@intel.com> - 4.1-1
+- Update to 4.1 release
+
+* Tue Oct 29 2019 Yunying Sun <yunying.sun@intel.com> - 4.0.1-1
+- Update to 4.0.1 release
+
+* Tue Sep 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-1
+- Update to 4.0
+
+* Fri Sep  6 2019 Javier Martinez Canillas <javierm@redhat.com> 4.0-0.4-rc2
+- Use a release tarball instead of a source code tarball
+
+* Fri Sep  6 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.3-rc2
+- Update to 4.0 RC2
+
+* Tue Aug 27 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.2-rc1
+- Update to 4.0 RC1
+
+* Tue Aug 20 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.1-rc0
+- Update to 4.0 RC0
+
+* Thu Aug  1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.0-3
+- Fix for crash for max PCRs available
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Jun 21 2019 Yunying Sun <yunying.sun@intel.com> - 3.2.0-1
+- Update to 3.2.0 release
+- Removed patches since all have been included in 3.2.0 release
+
+* Fri May 10 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.4-2
+- Allow tpm2_makecredential to run without a TPM (jetwhiz)
+- Add tpm2_pcrreset and tpm2_checkquote tools (jetwhiz)
+
+* Fri Mar 15 2019 Yunying Sun <yunying.sun@intel.com> - 3.1.4-1
+- Update to 3.1.4 release
+- Removed the 4 patches since all have been included in 3.1.4 release
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-3
+- Fix broken -T option when passing additional arguments
+
+* Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-2
+- Fix broken -T option and a couple of minor fixes
+- Add pandoc BuildRequires
+
+* Wed Nov 7 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.3-1
+- Update to 3.1.3 release
+
+* Wed Sep 12 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.2-1
+- Update to 3.1.2 release
+- Restore TCTI configuration environment for tools
+- Restore tpm2_getcap tool properties output
+  Resolves: rhbz#1625647
+
+* Sat Jul 14 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.1-3
+- Revert backward incompatible change that removes default object attributes
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Jul 12 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.1-1
+- Update to 3.1.1 release
+
+* Thu Jul 5 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.0-1
+- Update Requires version of tpm2-tss to 2.0.0
+- Remove BuildRequires for tcti-abrmd since it is optional
+- Remove BuildRequires for tcti-{device,mssim} as it is now dynamically loaded
+- Update to 3.1.0 release
+
+* Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
+- Update URLs to point to the new project location
+- Update to 3.0.4 release
+
+* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
+- Remove ExclusiveArch: x86_64 directive
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
+- Update to 3.0.3 release
+
+* Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
+- Update to 3.0.2 release
+
+* Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
+- Update to 3.0.1 release (RHBZ#1512743)
+- Download the generated tarball provided instead of the source code tarball
+
+* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
+- Update to 3.0 release
+
+* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
+- Update to 3.0 release candidate 1
+- Update URLs to point to the new project location
+- Make the package to obsolete version 2.1.1
+
+* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
+- Rename remaining tpm2.0-tools prefixes to tpm2-tools
+- Remove global pkg_prefix since now the upstream repo and package names match
+- Remove downstream patches since now these are in the latest upstream release
+- Update to 2.1.1 release (RHBZ#1504438)
+
+* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
+- Clean up potential memleak (RHBZ#1503959)
+
+* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
+- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
+
+* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
+- Remove unneeded source tarballs (RHBZ#1482830)
+
+* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
+- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
+- Add patch to fix gcc7 complaining about implicit-fallthrough cases
+
+* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
+- Update to latest upstream release 2.1.0
+
+* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
+- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
+- Only update release version to make fedpkg build works for f26
+
+* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
+- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
+- Dependency check failed for Requires again, here to fix this
+- Update release version and changelog
+
+* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
+- Change spec file permission to 644 to avoid rpmlint complain
+- Update Requires to fix dependency check error reported in Bodhi
+- Remove tpm2-tss-devel version in BuildRequires comment
+- Update release version and changelog
+
+* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
+- Remove pkg_version to avoid dupliate use of version
+- Remove redundant BuildRequires for autoconf/automake/pkgconfig
+- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
+- Use ExclusiveArch instead of ExcludeArch
+- Requires tpm2-tss version updated to 1.0-2
+- Updated release version and changelog
+
+* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
+- Initial version of the package

+ 443 - 0
t/tpm2-tss/tpm2-tss-vl.spec

@@ -0,0 +1,443 @@
+%bcond_with systemd
+%bcond_with rc
+%if %{with rc}
+%global candidate rc2
+%endif
+
+Name:          tpm2-tss
+Version:       4.1.3
+Release:       2%{?candidate:.%{candidate}}%{?_dist_release}
+Summary:       TPM2.0 Software Stack
+Group:         system
+Vendor:        Project Vine
+Distribution:  Vine Linux
+
+# The entire source code is under BSD except implementation.h and tpmb.h which
+# is under TCGL(Trusted Computing Group License).
+License:       BSD-2-Clause
+URL:           https://github.com/tpm2-software/tpm2-tss
+Source0:       https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
+Source1:       tpm2-tss-systemd-sysusers.conf
+# doxygen crash
+Patch0:        tpm2-tss-3.0.0-doxygen.patch
+
+%if %{without systemd}
+%define _rundir %{_localstatedir}/run
+%define _udevrulesdir /lib/udev/rules.d
+%endif
+%global udevrules_prefix 60-
+
+%if %{with rc}
+BuildRequires: autoconf
+BuildRequires: autoconf-archive
+BuildRequires: automake
+BuildRequires: libtool
+%endif
+BuildRequires: make
+BuildRequires: doxygen
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: json-c-devel
+BuildRequires: curl-devel
+BuildRequires: libgcrypt-devel
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRequires: libuuid-devel
+Requires(pre): shadow-utils
+%if %{with systemd}
+BuildRequires: systemd
+BuildRequires: systemd-rpm-macros
+%else
+Requires(post): acl
+%endif
+
+%description
+tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
+APIs. It sits between TPM driver and applications, providing TPM2.0 specified
+APIs for applications to access TPM module through kernel TPM drivers.
+
+
+%package fapi
+Summary:       High-level TPM2.0 Software Stack
+Requires:      %{name}%{_isa} = %{version}-%{release}
+Group:         system
+
+%description fapi
+tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
+APIs. It sits between TPM driver and applications, providing TPM2.0 specified
+APIs for applications to access TPM module through kernel TPM drivers.
+
+This package provides the high-level "Feature API" library.
+
+
+%package        devel
+Summary:        Headers and libraries for building apps that use tpm2-tss 
+Group:          programming
+Requires:       %{name}%{_isa} = %{version}-%{release}
+Requires:       %{name}-fapi%{_isa} = %{version}-%{release}
+
+%description    devel
+This package contains headers and libraries required to build applications that
+use tpm2-tss.
+
+
+%debug_package
+
+
+%prep
+%autosetup -n %{name}-%{version}%{?candidate:-%{candidate}} -p1
+
+
+%build
+# Use built-in tpm-udev.rules, with specified installation path and prefix.
+%configure \
+           --disable-static \
+           --disable-silent-rules \
+           --with-udevrulesdir=%{_udevrulesdir} \
+           --with-udevrulesprefix=%{udevrules_prefix} \
+           --with-runstatedir=%{_rundir} \
+%if %{with systemd}
+           --with-tmpfilesdir=%{_tmpfilesdir} \
+           --with-sysusersdir=%{_sysusersdir} \
+%endif
+           %{nil}
+
+# This is to fix Rpath errors. Taken from https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+%make_build
+
+
+%install
+%make_install
+find %{buildroot}%{_libdir} -type f -name \*.la -delete
+%if %{with systemd}
+rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
+install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/tpm2-tss.conf
+%else
+mkdir -p %{buildroot}%{_localstatedir}/lib/tpm2-tss/system/keystore
+mkdir -p %{buildroot}%{_rundir}/tpm2-tss/eventlog
+%endif
+
+
+%pre
+%if %{with systemd}
+%sysusers_create_compat %{SOURCE1}
+%else
+getent group tss >/dev/null || groupadd -f -g 59 -r tss || :
+if ! getent passwd tss >/dev/null; then
+    if ! getent passwd 59 >/dev/null; then
+        useradd -r -u 59 -g tss -d / -s /sbin/nologin -c "Account used for TPM access" tss || :
+    else
+        useradd -r -g tss -d / -s /sbin/nologin -c "Account used for TPM access" tss || :
+    fi
+fi
+%endif
+exit 0
+
+%if %{without systemd}
+%post fapi
+setfacl -m default:group:tss:rwx %{_localstatedir}/lib/tpm2-tss/system/keystore
+setfacl -m default:group:tss:rwx  %{_rundir}/tpm2-tss/eventlog
+exit 0
+%endif
+
+
+%files
+%doc README.md CHANGELOG.md
+%license LICENSE
+%{_sysconfdir}/tpm2-tss/
+%{_libdir}/libtss2-mu.so.0*
+%{_libdir}/libtss2-sys.so.1*
+%{_libdir}/libtss2-esys.so.0*
+%{_libdir}/libtss2-policy.so.0*
+%{_libdir}/libtss2-rc.so.0*
+%{_libdir}/libtss2-tctildr.so.0*
+%{_libdir}/libtss2-tcti-cmd.so.0*
+%{_libdir}/libtss2-tcti-device.so.0*
+%{_libdir}/libtss2-tcti-mssim.so.0*
+%{_libdir}/libtss2-tcti-pcap.so.0*
+%{_libdir}/libtss2-tcti-i2c-helper.so.0*
+%{_libdir}/libtss2-tcti-spidev.so.0*
+%{_libdir}/libtss2-tcti-spi-helper.so.0*
+%{_libdir}/libtss2-tcti-swtpm.so.0*
+%if %{with systemd}
+%{_sysusersdir}/tpm2-tss.conf
+%endif
+%{_udevrulesdir}/%{udevrules_prefix}tpm-udev.rules
+
+%files fapi
+%{_libdir}/libtss2-fapi.so.1*
+%if %{with systemd}
+%{_tmpfilesdir}/tpm2-tss-fapi.conf
+%else
+%dir %{_localstatedir}/lib/tpm2-tss
+%dir %{_localstatedir}/lib/tpm2-tss/system
+%attr(2775,tss,tss) %dir %{_localstatedir}/lib/tpm2-tss/system/keystore
+%dir %{_rundir}/tpm2-tss
+%attr(2775,tss,tss) %dir %{_rundir}/tpm2-tss/eventlog
+%endif
+
+%files devel
+%{_includedir}/tss2/
+%{_libdir}/libtss2-mu.so
+%{_libdir}/libtss2-sys.so
+%{_libdir}/libtss2-esys.so
+%{_libdir}/libtss2-fapi.so
+%{_libdir}/libtss2-policy.so
+%{_libdir}/libtss2-rc.so
+%{_libdir}/libtss2-tctildr.so
+%{_libdir}/libtss2-tcti-cmd.so
+%{_libdir}/libtss2-tcti-device.so
+%{_libdir}/libtss2-tcti-mssim.so
+%{_libdir}/libtss2-tcti-pcap.so
+%{_libdir}/libtss2-tcti-i2c-helper.so
+%{_libdir}/libtss2-tcti-spidev.so
+%{_libdir}/libtss2-tcti-spi-helper.so
+%{_libdir}/libtss2-tcti-swtpm.so
+%{_libdir}/pkgconfig/tss2-mu.pc
+%{_libdir}/pkgconfig/tss2-sys.pc
+%{_libdir}/pkgconfig/tss2-esys.pc
+%{_libdir}/pkgconfig/tss2-fapi.pc
+%{_libdir}/pkgconfig/tss2-policy.pc
+%{_libdir}/pkgconfig/tss2-rc.pc
+%{_libdir}/pkgconfig/tss2-tctildr.pc
+%{_libdir}/pkgconfig/tss2-tcti-cmd.pc
+%{_libdir}/pkgconfig/tss2-tcti-device.pc
+%{_libdir}/pkgconfig/tss2-tcti-mssim.pc
+%{_libdir}/pkgconfig/tss2-tcti-pcap.pc
+%{_libdir}/pkgconfig/tss2-tcti-i2c-helper.pc
+%{_libdir}/pkgconfig/tss2-tcti-spidev.pc
+%{_libdir}/pkgconfig/tss2-tcti-spi-helper.pc
+%{_libdir}/pkgconfig/tss2-tcti-swtpm.pc
+%{_mandir}/man3/*.3.gz
+%{_mandir}/man5/*.5.gz
+%{_mandir}/man7/tss2*.7.gz
+
+%changelog
+* Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.1.3-2
+- initial build for Vine Linux.
+
+* Tue May 21 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1.3-1
+- Update to 4.1.3
+
+* Wed May 08 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1.1-1
+- Update to 4.1.1
+
+* Sat Apr 27 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1.0-1
+- Update to 4.1.0
+
+* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Sat Dec  2 2023 Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl> - 4.0.1-6
+- Split out fapi subpackage
+  Resolves: rhbz#2252535
+
+* Tue Sep 26 2023 Štěpán Horáček <shoracek@redhat.com> - 4.0.1-5
+- Migrate license to SPDX
+
+* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Wed Jan 25 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.0.1-3
+- Update to 4.0.1 - fixes CVE-2023-22745
+
+* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Wed Jan 04 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.0.0-1
+- Update to 4.0.0
+
+* Mon Dec 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 4.0.0-0.1.rc2
+- Update to 4.0.0 RC2
+
+* Mon Dec 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.1-1
+- Update to 3.2.1
+
+* Wed Jul 27 2022 Luca BRUNO <lucab@lucabruno.net> - 3.2.0-3
+- Align sysusers.d configuration to Fedora user/group allocation
+  Resolves: rhbz#2103683
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Sat Feb 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-1
+- Update to 3.2.0
+
+* Fri Feb 18 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-0.5.rc3
+- Update to 3.2.0-rc3
+
+* Mon Feb 14 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-0.4.rc1
+- Update to 3.2.0-rc1
+
+* Tue Feb 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-0.3.rc0
+- Add conditionals for RC builds
+
+* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-0.2.rc0
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jan 14 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-0.1.rc0
+- Update to 3.2.0-rc0 (fixes rhbz#2008179)
+
+* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 3.1.0-4
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 3.1.0-2
+- Rebuild for versioned symbols in json-c
+
+* Mon May 17 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 3.1.0-1
+- Update to 3.1.0
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Thu Nov 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.3-1
+- Update to 3.0.2
+
+* Sun Nov 22 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.2-1
+- Update to 3.0.2
+
+* Wed Sep 23 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.1-1
+- Update to 3.0.1
+
+* Tue Sep 15 2020 Than Ngo <than@redhat.com> - 3.0.0-4
+- Fix doxygen crash
+
+* Tue Sep 15 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-3
+- Create tss user, if it doesn't exist, for userspace TPM access
+
+* Fri Aug 07 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-2
+- Install sysusers config in sysusersdir (rhbz #1834519)
+
+* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-1
+- Update to 3.0.0
+
+* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.4.2-1
+- Update to 2.4.2
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu May 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.4.1-1
+- Update to 2.4.1
+
+* Fri May 08 2020 Paul Wouters <pwouters@redhat.com> - 2.4.0-3
+- Use proper rundir and tmpfiles macros so proper directories are used
+
+* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 2.4.0-2
+- Rebuild (json-c)
+
+* Thu Mar 12 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.4.0-1
+- Update to 2.4.0 release
+
+* Mon Feb 24 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.3.3-1
+- Update to 2.3.3 release
+
+* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Fri Dec 13 2019 Yunying Sun <yunying.sun@intel.com> - 2.3.2-1
+- Update to 2.3.2 release
+
+* Fri Sep 6 2019 Yunying Sun <yunying.sun@intel.com> - 2.3.1-1
+- Update to 2.3.1 release
+
+* Thu Aug 15 2019 Yunying Sun <yunying.sun@intel.com> - 2.3.0-1
+- Update to 2.3.0 release
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Wed May 29 2019 Yunying Sun <yunying.sun@intel.com> - 2.2.3-1
+- Update to 2.2.3 release
+
+* Fri Mar 29 2019 Yunying Sun <yunying.sun@intel.com> - 2.2.2-1
+- Update to 2.2.2 release
+
+* Mon Mar  4 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.2.1-1
+- Update to 2.2.1 release
+
+* Wed Feb 06 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.2.0-1
+- Update to 2.2.0 release
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Wed Oct 10 2018 Yunying Sun <yunying.sun@intel.com> - 2.1.0-1
+- Update to 2.1.0 release
+
+* Thu Aug 30 2018 Yunying Sun <yunying.sun@intel.com> - 2.0.1-1
+- Update to 2.0.1 release
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Jul 4 2018 Yunying Sun <yunying.sun@intel.com> - 2.0.0-2
+- Re-enable ESAPI since gcrypt dependency is not an issue for Fedora
+- Bump release version to 2.0.0-2
+
+* Mon Jul 2 2018 Yunying Sun <yunying.sun@intel.com> - 2.0.0-1
+- Update to 2.0.0 release (RHBZ#1508870)
+- Remove patch file 60-tpm-udev.rules, use upstream tpm-udev.rules instead
+- Disable ESAPI to fix build errors caused by dependency to libgcrypt 1.6.0
+- Add scriptlet to fix Rpath errors
+- Update file installation paths and names accordingly 
+
+* Sun Mar 04 2018 Javier Martinez Canillas <javierm@redhat.com> - 1.4.0-1
+- Update URLs to point to the new project location
+- Add README.md CHANGELOG.md to %%files directive
+- Update to 1.4.0 release (RHBZ#1508870)
+
+* Fri Feb 23 2018 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-4
+- Install udev rule for TPM character devices
+
+* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-3
+- Remove ExclusiveArch: %%{ix86} x86_64 directive
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.0-2
+- Escape macros in %%changelog
+
+* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-1
+- Update to 1.3.0 release
+
+* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.3.0-0.1.rc2
+- Update to 1.3.0 release candidate 2 (RHBZ#1508870)
+- Remove global pkg_prefix since now the upstream repo and package names match
+- Update URLs to point to the new project location
+- Remove -Wno-int-in-bool-context compiler flag since now upstream takes care
+- Remove %%doc directive since README.md and CHANGELOG.md are not in the tarball
+- Add patch to include a LICENSE since the generated tarball does not have it
+
+* Mon Aug 28 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.2.0-1
+- Update to 1.2.0 release
+- Use tpm2-tss instead of TPM2.0-TSS as prefix since project name changed
+- Fix SPEC file access mode
+- Include new man pages in %%files directive
+
+* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 1.1.0-3
+- Remove unneeded source tarballs (RHBZ#1482828)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
+- Update to 1.1.0 release
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Dec 12 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-2
+- Remove global macro pkg_version to avoid duplicate of version
+- Use ExclusiveArch instead of ExcludeArch
+- Use less wildcard in %%files section to be more specific
+- Add trailing slash at end of added directory in %%file section
+- Remove autoconf/automake/pkgconfig(cmocka) from BuildRequires
+- Increase release version to 2
+
+* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.0-1
+- Initial version of the package