Accepting request 978674 from Base:System
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/978674 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=160
This commit is contained in:
commit
49a00d0ab3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 16 09:12:06 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- added tpm support, added a new subpackage gpg2-tpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 19:09:32 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
16
gpg2.spec
16
gpg2.spec
@ -87,6 +87,15 @@ revocation lists (CRLs) for X.509 certificates, downloading X.509 certificates,
|
||||
and providing access to OCSP providers. Dirmngr is invoked internally by gpg,
|
||||
gpgsm, or via the gpg-connect-agent tool.
|
||||
|
||||
%package tpm
|
||||
Summary: TPM2 support for GnuPG
|
||||
Group: Productivity/Networking/Security
|
||||
|
||||
%description tpm
|
||||
Version 2.3 of GnuPG introduced support for converting GPG private
|
||||
keys to TPM2 wrapped form. This package enables that support. The
|
||||
keytotpm command will not function unless this package is installed.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
@ -105,6 +114,7 @@ date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %{SOURCE99})
|
||||
--with-pinentry-pgm=%{_bindir}/pinentry \
|
||||
--with-dirmngr-pgm=%{_bindir}/dirmngr \
|
||||
--with-scdaemon-pgm=%{_bindir}/scdaemon \
|
||||
--with-tpm2daemon-pgm=%{_bindir}/tpm2daemon \
|
||||
--enable-ldap \
|
||||
--enable-gpgsm=yes \
|
||||
--enable-gpgtar \
|
||||
@ -136,6 +146,8 @@ rm -rf %{buildroot}/%{_datadir}/locale/en@{bold,}quot
|
||||
# install scdaemon to %%{_bindir} (bnc#863645)
|
||||
mv %{buildroot}%{_libdir}/scdaemon %{buildroot}%{_bindir}
|
||||
mv %{buildroot}%{_libdir}/dirmngr_ldap %{buildroot}%{_bindir}
|
||||
# install tpm2daemon
|
||||
mv %{buildroot}%{_libdir}/tpm2daemon %{buildroot}%{_bindir}
|
||||
# install udev rules for scdaemon
|
||||
install -Dm 0644 %{SOURCE4} %{buildroot}%{_udevrulesdir}/60-scdaemon.rules
|
||||
|
||||
@ -162,6 +174,7 @@ install -Dm 0644 %{SOURCE4} %{buildroot}%{_udevrulesdir}/60-scdaemon.rules
|
||||
%exclude %{_docdir}/%{name}/examples/systemd-user/dirmngr.*
|
||||
%doc %{_docdir}/%{name}
|
||||
%exclude %{_bindir}/dirmngr*
|
||||
%exclude %{_bindir}/tpm2daemon*
|
||||
%{_bindir}/*
|
||||
%{_libdir}/[^d]*
|
||||
%{_sbindir}/addgnupghome
|
||||
@ -178,4 +191,7 @@ install -Dm 0644 %{SOURCE4} %{buildroot}%{_udevrulesdir}/60-scdaemon.rules
|
||||
%{_docdir}/%{name}/examples/systemd-user/dirmngr.*
|
||||
%{_bindir}/dirmngr*
|
||||
|
||||
%files tpm
|
||||
%{_bindir}/tpm2daemon*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user