[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    nmav pushed to libp11 (master).  "Update to 0.4.6-1 (..more)"
From:       notifications () fedoraproject ! org
Date:       2017-04-30 21:06:03
Message-ID: 20170430210603.59F78601FC0C () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From 0b1036652b5b3d7c8d6296b004bab85c251ce624 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Sun, 30 Apr 2017 23:00:48 +0200
Subject: Update to 0.4.6-1

- Update to upstream 0.4.6 release
---
 .gitignore                                        |  1 +
 0001-Destroy-cert-cache-on-login-logout-too.patch | 35 -----------------------
 libp11.spec                                       | 21 +++++++-------
 sources                                           |  3 +-
 4 files changed, 12 insertions(+), 48 deletions(-)
 delete mode 100644 0001-Destroy-cert-cache-on-login-logout-too.patch

diff --git a/.gitignore b/.gitignore
index 933649c..024cc2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ libp11-0.2.7.tar.gz
 /libp11-0.4.0.tar.gz
 /libp11-0.4.2.tar.gz
 /libp11-0.4.2.tar.gz.asc
+/libp11-0.4.6.tar.gz
diff --git a/0001-Destroy-cert-cache-on-login-logout-too.patch \
b/0001-Destroy-cert-cache-on-login-logout-too.patch deleted file mode 100644
index 9193a29..0000000
--- a/0001-Destroy-cert-cache-on-login-logout-too.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From bbcfd7b51b0606496c82be8eb8c2a5bf65eca167 Mon Sep 17 00:00:00 2001
-From: David Woodhouse <David.Woodhouse@intel.com>
-Date: Mon, 5 Sep 2016 21:38:09 +0100
-Subject: [PATCH] Destroy cert cache on login/logout too
-
-Certificates can have the CKA_PRIVATE attribute, so that you need to log
-in before you can see them. So destroy the cache when we log in, just as
-we do the cache of keys.
----
- src/p11_slot.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/p11_slot.c b/src/p11_slot.c
-index f031b3e..1fe40ab 100644
---- a/src/p11_slot.c
-+++ b/src/p11_slot.c
-@@ -195,6 +195,7 @@ int pkcs11_login(PKCS11_SLOT * slot, int so, const char *pin, \
                int relogin)
- 		if (slot->token) {
- 			pkcs11_destroy_keys(slot->token, CKO_PRIVATE_KEY);
- 			pkcs11_destroy_keys(slot->token, CKO_PUBLIC_KEY);
-+			pkcs11_destroy_certs(slot->token);
- 		}
- 		if (spriv->loggedIn) {
- 			/* already logged in, log out first */
-@@ -251,6 +252,7 @@ int pkcs11_logout(PKCS11_SLOT * slot)
- 	if (slot->token) {
- 		pkcs11_destroy_keys(slot->token, CKO_PRIVATE_KEY);
- 		pkcs11_destroy_keys(slot->token, CKO_PUBLIC_KEY);
-+		pkcs11_destroy_certs(slot->token);
- 	}
- 	if (!spriv->haveSession) {
- 		PKCS11err(PKCS11_F_PKCS11_LOGOUT, PKCS11_NO_SESSION);
--- 
-2.5.5
-
diff --git a/libp11.spec b/libp11.spec
index 7923c36..3a00c9a 100644
--- a/libp11.spec
+++ b/libp11.spec
@@ -1,6 +1,11 @@
+# This spec file has been automatically updated
+Version:	0.4.6
+Release: 1%{?dist}
+Patch1:	libp11-0.4.0-paths.patch
+Patch2:	libp11-0.4.2-soname.patch
+Patch3:	libp11-0.4.2-openssl.patch
+Patch4:	libp11-0.4.2-versioned-symbols.patch
 Name:           libp11
-Version:        0.4.3
-Release:        1%{?dist}
 Summary:        Library for using PKCS#11 modules
 
 Group:          System Environment/Libraries
@@ -8,10 +13,6 @@ License:        LGPLv2+
 URL:            https://github.com/OpenSC/libp11
 Source0:        https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch1:		libp11-0.4.0-paths.patch
-Patch2:		libp11-0.4.2-openssl.patch
-Patch3:		libp11-0.4.2-versioned-symbols.patch
-Patch4:		libp11-0.4.2-soname.patch
 
 BuildRequires:	autoconf automake libtool
 BuildRequires:  doxygen graphviz
@@ -57,11 +58,6 @@ cards and software for using smart cards in PKCS#11 format, such \
as OpenSC.  %prep
 %setup -q
 
-%patch1 -p1 -b .paths
-%patch2 -p1 -b .openssl
-%patch3 -p1 -b .versioned-symbols
-%patch4 -p1 -b .soname
-
 %build
 autoreconf -fvi
 %configure --disable-static --enable-api-doc \
--with-enginesdir=%{_libdir}/engines-1.1 @@ -109,6 +105,9 @@ make check \
%{?_smp_mflags}  %{_libdir}/engines-1.1/*.so
 
 %changelog
+* Sun Apr 30 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.4.6-1
+- Update to upstream 0.4.6 release
+
 * Wed Apr 26 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> 0.4.3-1
 - new package built with tito
 
diff --git a/sources b/sources
index 167ae59..57af083 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-c0c792840505650cda943a472d443f9b  libp11-0.4.2.tar.gz
-0406ab518542c50818c0543910508260  libp11-0.4.2.tar.gz.asc
+SHA512 (libp11-0.4.6.tar.gz) = \
fe335c0670befe0f9be541f1751f96aab4ef9572ae2ba67edd73d019ffe9cfdcff110667e6ecabf3591cd7c64bf57bc1feedd2aad879e8dd16f545ebf81e2a9f
                
-- 
cgit v1.1


	https://src.fedoraproject.org/cgit/libp11.git/commit/?h=master&id=0b1036652b5b3d7c8d6296b004bab85c251ce624
 _______________________________________________
scm-commits mailing list -- scm-commits@lists.fedoraproject.org
To unsubscribe send an email to scm-commits-leave@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic