Browse code

Updated gnutls to 3.5.10, gperf to 3.1, gpgme to 1.9.0

Change-Id: Iff6f684cb4d744b45fa5e2128dc3baea922da3c4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2422
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

dmoraru authored on 2017/04/14 07:42:14
Showing 4 changed files
... ...
@@ -1,12 +1,11 @@
1 1
 Summary:        The GnuTLS Transport Layer Security Library
2 2
 Name:           gnutls
3
-Version:        3.4.11
4
-Release:        4%{?dist}
3
+Version:        3.5.10
4
+Release:        1%{?dist}
5 5
 License:        GPLv3+ and LGPLv2+
6 6
 URL:            http://www.gnutls.org
7
-Source0:        http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/gnutls/v3.4/%{name}-%{version}.tar.xz
8
-%define sha1    gnutls=55f73d1ea2b3335fea514fad6faa1e72006ae9f9
9
-Patch0:         gnutls_3.4.11_default_priority.patch
7
+Source0:        https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/%{name}-%{version}.tar.xz
8
+%define sha1    gnutls=4a8afbda93d48e4cdbcb562a420e0f4e9f3361e9
10 9
 Group:          System Environment/Libraries
11 10
 Vendor:         VMware, Inc.
12 11
 Distribution:   Photon
... ...
@@ -21,6 +20,7 @@ Requires:       libtasn1
21 21
 Requires:       openssl
22 22
 Requires:       ca-certificates
23 23
 Requires:       gmp
24
+
24 25
 %description
25 26
 GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.
26 27
 
... ...
@@ -36,7 +36,7 @@ developing applications that use gnutls.
36 36
 
37 37
 %prep
38 38
 %setup -q
39
-%patch0 -p1
39
+
40 40
 %build
41 41
 # check for trust store file presence
42 42
 [ -f %{_sysconfdir}/pki/tls/certs/ca-bundle.crt ] || exit 1
... ...
@@ -45,9 +45,11 @@ developing applications that use gnutls.
45 45
     --prefix=%{_prefix} \
46 46
     --without-p11-kit \
47 47
     --disable-openssl-compatibility \
48
+    --with-included-unistring \
48 49
     --with-system-priority-file=%{_sysconfdir}/gnutls/default-priorities \
49 50
     --with-default-trust-store-file=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt
50 51
 make %{?_smp_mflags}
52
+
51 53
 %install
52 54
 make DESTDIR=%{buildroot} install
53 55
 rm %{buildroot}%{_infodir}/*
... ...
@@ -68,6 +70,8 @@ make %{?_smp_mflags} check
68 68
 %{_bindir}/*
69 69
 %{_mandir}/man1/*
70 70
 %{_datadir}/locale/*
71
+%{_docdir}/gnutls/*.png
72
+
71 73
 %files devel
72 74
 %defattr(-,root,root)
73 75
 %{_includedir}/%{name}/*.h
... ...
@@ -76,6 +80,8 @@ make %{?_smp_mflags} check
76 76
 %{_mandir}/man3/*
77 77
 
78 78
 %changelog
79
+*   Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 3.5.10-1
80
+-   Update to version 3.5.10
79 81
 *   Sun Dec 18 2016 Alexey Makhalov <amakhalov@vmware.com> 3.4.11-4
80 82
 -   configure to use default trust store file
81 83
 *   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.11-3
82 84
deleted file mode 100644
... ...
@@ -1,32 +0,0 @@
1
-diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
2
-index 50d3d09..8c32d1c 100644
3
-+++ b/lib/gnutls_priority.c
4
-@@ -1066,6 +1066,8 @@ gnutls_priority_init(gnutls_priority_t * priority_cache,
5
- 	rmadd_func *fn;
6
- 	bulk_rmadd_func *bulk_fn;
7
- 	bulk_rmadd_func *bulk_given_fn;
8
-+	unsigned int default_set = 0;
9
-+
10
- 	const cipher_entry_st *centry;
11
- 
12
- 	if (err_pos)
13
-@@ -1084,10 +1086,16 @@ gnutls_priority_init(gnutls_priority_t * priority_cache,
14
- 	(*priority_cache)->sr = SR_PARTIAL;
15
- 	(*priority_cache)->min_record_version = 1;
16
- 
17
--	if (priorities == NULL)
18
--		priorities = "NORMAL";
19
-+	if (priorities == NULL) {
20
-+		priorities = "@SYSTEM";
21
-+		default_set = 1;
22
-+	}
23
- 
24
- 	darg = resolve_priorities(priorities);
25
-+	if (darg == NULL && default_set == 1) {
26
-+		priorities = "NORMAL";
27
-+		darg = resolve_priorities(priorities);
28
-+	}
29
- 	if (darg == NULL) {
30
- 		gnutls_assert();
31
- 		goto error;
... ...
@@ -1,23 +1,27 @@
1 1
 Summary:	Gperf-3.0.4
2 2
 Name:		gperf
3
-Version:	3.0.4
4
-Release:	2%{?dist}
3
+Version:	3.1
4
+Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://freedesktop.org/wiki/Software/%{name}l/
7 7
 Source0:	http://ftp.gnu.org/gnu/gperf/%{name}-%{version}.tar.gz
8
-%define sha1 gperf=e32d4aff8f0c730c9a56554377b2c6d82d0951b8
8
+%define sha1 gperf=e3c0618c2d2e5586eda9498c867d5e4858a3b0e2
9 9
 Group:		Development/Tools
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution: 	Photon
12
+
12 13
 %description
13 14
 Gperf generates a perfect hash function from a key set.
15
+
14 16
 %prep
15 17
 %setup -q
18
+
16 19
 %build
17 20
 ./configure \
18 21
 	--prefix=%{_prefix} \
19 22
 	--docdir=%{_defaultdocdir}/%{name}-%{version}
20 23
 make %{?_smp_mflags}
24
+
21 25
 %install
22 26
 make DESTDIR=%{buildroot} install
23 27
 install -v -m644 doc/gperf.{dvi,ps,pdf} %{buildroot}/%{_docdir}/%{name}-%{version}
... ...
@@ -36,7 +40,10 @@ make %{?_smp_mflags} check
36 36
 %{_mandir}/man1/*
37 37
 %{_datadir}/info/*
38 38
 %{_bindir}/*
39
+
39 40
 %changelog
41
+*	Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 3.1-1
42
+-	Updated to version 3.1
40 43
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.4-2
41 44
 -	GA - Bump release of all rpms
42 45
 *	Thu Oct 23 2014 Divya Thaluru <dthaluru@vmware.com> 3.0.4-1
... ...
@@ -1,18 +1,19 @@
1 1
 Summary:	High-Level Crypto API
2 2
 Name:		gpgme
3
-Version:	1.6.0
4
-Release:	3%{?dist}
3
+Version:	1.9.0
4
+Release:	1%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		https://www.gnupg.org/(it)/related_software/gpgme/index.html
7 7
 Group:		System Environment/Security
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:	Photon
10
-Source0:	ftp://ftp.gnupg.org/gcrypt/%{name}/%{name}-%{version}.tar.bz2
11
-%define sha1 gpgme=21510323495f6220f8f67610c3c27a23d761d43d
10
+Source0:	https://www.gnupg.org/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2
11
+%define sha1 gpgme=870719cd3d2ef6a7fcb1d6af9ce5446edba7bfc3
12 12
 Requires:	libassuan
13 13
 Requires:	libgpg-error
14 14
 BuildRequires:	libgpg-error-devel
15 15
 BuildRequires:	libassuan >= 2.2.0
16
+
16 17
 %description
17 18
 The GPGME package is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.  
18 19
 
... ...
@@ -21,17 +22,20 @@ Group:          Development/Libraries
21 21
 Summary:        Static libraries and header files from GPGME, GnuPG Made Easy.
22 22
 Requires:	%{name} = %{version}-%{release}
23 23
 Requires:	libgpg-error-devel
24
+
24 25
 %description 	devel
25 26
 Static libraries and header files from GPGME, GnuPG Made Easy.
26 27
 
27 28
 %prep
28 29
 %setup -q
30
+
29 31
 %build
30 32
 ./configure \
31 33
 	--prefix=%{_prefix} \
32 34
  	--disable-fd-passing \
33 35
         --disable-gpgsm-test
34 36
 make %{?_smp_mflags}
37
+
35 38
 %install
36 39
 make DESTDIR=%{buildroot} install
37 40
 rm %{buildroot}/%{_libdir}/*.la
... ...
@@ -41,20 +45,29 @@ rm -rf %{buildroot}/%{_infodir}
41 41
 cd tests && make check-TESTS
42 42
 
43 43
 %post	-p /sbin/ldconfig
44
+
44 45
 %postun	-p /sbin/ldconfig
46
+
45 47
 %files 
46 48
 %defattr(-,root,root)
47 49
 %{_libdir}/*.so.*
48 50
 %{_datadir}/common-lisp/source/gpgme/*.lisp
49 51
 %{_datadir}/common-lisp/source/gpgme/gpgme.asd
52
+
50 53
 %files devel
51 54
 %defattr(-,root,root)
52 55
 %{_bindir}/*
53 56
 %{_includedir}/*.h
57
+%{_includedir}/gpgme++/*.h
58
+%{_includedir}/gpgme++/interfaces/*.h
54 59
 %{_libdir}/*.so*
60
+%{_libdir}/cmake/Gpgmepp/*
55 61
 %{_datadir}/aclocal/*
56 62
 %{_datadir}/common-lisp/source/gpgme/*
63
+
57 64
 %changelog
65
+*   Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 1.9.0-1
66
+-   Update to version 1.9.0
58 67
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.0-3
59 68
 -   Required libgpg-error-devel.
60 69
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.0-2