Browse code

Add pinentry package, make gnupg dependent of it

Change-Id: Id7eb7ce6bb7b142288acd16060c1fb5b4ed815d3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2894
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

Danut Moraru authored on 2017/06/08 06:51:04
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	OpenPGP standard implementation used for encrypted communication and data storage.
2 2
 Name:		gnupg
3 3
 Version:	2.1.20
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		https://gnupg.org/index.html
7 7
 Group:		Applications/Cryptography.
... ...
@@ -22,6 +22,7 @@ BuildRequires:  libgpg-error >= 1.24
22 22
 Requires:       libksba
23 23
 Requires:       npth
24 24
 Requires:       libassuan
25
+Requires:       pinentry
25 26
 Provides:       gpg
26 27
 
27 28
 
... ...
@@ -57,6 +58,8 @@ make DESTDIR=%{buildroot} install
57 57
 %exclude /usr/share/doc/*
58 58
 
59 59
 %changelog
60
+*       Wed Jun 07 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-2
61
+-       Add pinentry dependency
60 62
 *       Tue Apr 11 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-1
61 63
 -       Update to 2.1.20
62 64
 *       Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.30-1
63 65
new file mode 100644
... ...
@@ -0,0 +1,43 @@
0
+Summary:	A collection of PIN or passphrase entry dialogs
1
+Name:		pinentry
2
+Version:	1.0.0
3
+Release:	1%{?dist}
4
+License:	GPLv3+
5
+URL:		https://gnupg.org/software/pinentry/index.html
6
+Group:		Applications/Cryptography.
7
+Source0:        https://gnupg.org/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2
8
+%define sha1 pinentry=85d9ac81ebad3fb082514c505c90c39a0456f1f6
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+BuildRequires:  libassuan
12
+BuildRequires:  libgpg-error
13
+BuildRequires:  libgpg-error-devel
14
+
15
+
16
+%description
17
+pinentry is a small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner.
18
+There are versions for the common GTK and Qt toolkits as well as for the text terminal (Curses).
19
+They utilize the Assuan protocol as specified in the Libassuan manual. 
20
+
21
+
22
+%prep
23
+%setup -q -n %{name}-%{version}
24
+
25
+%build
26
+./configure --prefix=%{_prefix}      \
27
+            --sysconfdir=%{_sysconfdir} \
28
+            --with-libusb=no
29
+
30
+make
31
+%install
32
+make DESTDIR=%{buildroot} install
33
+
34
+%files
35
+%defattr(-,root,root)
36
+%{_bindir}/*
37
+%{_infodir}/*
38
+%exclude %{_infodir}/dir
39
+
40
+%changelog
41
+*       Wed Jun 07 2017 Danut Moraru <dmoraru@vmware.com> 1.0.0-1
42
+-       Initial Build.