Update to p11-kit-0.22.0.

This commit is contained in:
ajacoutot 2014-10-04 16:46:10 +00:00
parent c29ad3d0ee
commit 22b1919272
4 changed files with 31 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.36 2014/09/19 06:20:10 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.37 2014/10/04 16:46:10 ajacoutot Exp $
PORTROACH= limitw:1,even
SHARED_ONLY = Yes
COMMENT= library for loading and enumurating of PKCS\#11 modules
DISTNAME= p11-kit-0.20.7
DISTNAME= p11-kit-0.22.0
CATEGORIES= security
SHARED_LIBS += p11-kit 1.1 # 0.0
SHARED_LIBS += p11-kit 1.2 # 0.0
HOMEPAGE= http://p11-glue.freedesktop.org/

View File

@ -1,2 +1,2 @@
SHA256 (p11-kit-0.20.7.tar.gz) = aEBUkv5GazOSfUYTAqqY5wPbO4pZZBFYVQi8MwhEhNI=
SIZE (p11-kit-0.20.7.tar.gz) = 986731
SHA256 (p11-kit-0.22.0.tar.gz) = z2UrHXlRNYOge0VLuCvBUp2REWEEjVQgrXzi1I6JIpk=
SIZE (p11-kit-0.22.0.tar.gz) = 983924

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-p11-kit_rpc-transport_c,v 1.1 2014/10/04 16:46:10 ajacoutot Exp $
https://bugs.freedesktop.org/show_bug.cgi?id=84665
--- p11-kit/rpc-transport.c.orig Sat Oct 4 18:19:19 2014
+++ p11-kit/rpc-transport.c Sat Oct 4 18:20:07 2014
@@ -52,6 +52,7 @@
#include <fcntl.h>
#include <stdint.h>
#include <stdlib.h>
+#include <string.h>
#ifdef OS_UNIX
#include <sys/socket.h>
@@ -465,7 +466,7 @@ read_at (int fd,
status = P11_RPC_EOF;
} else {
p11_debug ("error: early truncate");
- errn = EPROTO;
+ errn = EIO;
status = P11_RPC_ERROR;
}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.15 2014/09/19 06:20:10 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.16 2014/10/04 16:46:10 ajacoutot Exp $
@bin bin/p11-kit
@bin bin/trust
include/p11-kit-1/
@ -9,11 +9,13 @@ include/p11-kit-1/p11-kit/p11-kit.h
include/p11-kit-1/p11-kit/pin.h
include/p11-kit-1/p11-kit/pkcs11.h
include/p11-kit-1/p11-kit/pkcs11x.h
include/p11-kit-1/p11-kit/remote.h
include/p11-kit-1/p11-kit/uri.h
lib/libp11-kit.a
lib/libp11-kit.la
@lib lib/libp11-kit.so.${LIBp11-kit_VERSION}
lib/p11-kit/
@bin lib/p11-kit/p11-kit-remote
lib/p11-kit/trust-extract-compat
lib/pkcs11/
lib/pkcs11/p11-kit-trust.so