Update to libsecret-0.12.

This commit is contained in:
ajacoutot 2012-11-21 18:54:03 +00:00
parent 6191543455
commit c160073dff
3 changed files with 5 additions and 33 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2012/11/10 10:15:34 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2012/11/21 18:54:03 ajacoutot Exp $
COMMENT= library for storing and retrieving passwords and secrets
GNOME_PROJECT= libsecret
GNOME_VERSION= 0.10
REVISION= 3
GNOME_VERSION= 0.12
SHARED_LIBS += secret-1 0.0 # unknown
@ -42,7 +41,7 @@ pre-configure:
${SUBST_CMD} ${WRKSRC}/libsecret/tests/Makefile.in \
${WRKSRC}/libsecret/tests/mock-service.c
# these files calls "python", libsecret/tests/{Makefile.in,mock-service.c}
# these files call "python", libsecret/tests/{Makefile.in,mock-service.c}
pre-regress:
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python

View File

@ -1,2 +1,2 @@
SHA256 (gnome/libsecret-0.10.tar.xz) = QBWsgwQvpAi/ZsqFJnCWYtGU/lZhgdtqs9hqbqSriIA=
SIZE (gnome/libsecret-0.10.tar.xz) = 473952
SHA256 (gnome/libsecret-0.12.tar.xz) = Mj23Wl5zBY0+uVWX2feY/XFex9WPUAvoRii4+aBhfAE=
SIZE (gnome/libsecret-0.12.tar.xz) = 476552

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-egg_egg-hkdf_c,v 1.1 2012/10/24 07:04:03 ajacoutot Exp $
From 275d314d5706e412c346fe85027b888cf7d99f76 Mon Sep 17 00:00:00 2001
From: Xi Wang <xi.wang@gmail.com>
Date: Mon, 22 Oct 2012 20:09:46 +0000
Subject: Fix incorrect loop condition in egg_hkdf_perform()
--- egg/egg-hkdf.c.orig Wed Aug 8 07:48:07 2012
+++ egg/egg-hkdf.c Wed Oct 24 08:33:40 2012
@@ -39,7 +39,7 @@ egg_hkdf_perform (const gchar *hash_algo, gconstpointe
gpointer buffer = NULL;
gcry_md_hd_t md1, md2;
guint hash_len;
- guchar i;
+ gint i;
gint flags, algo;
gsize step, n_buffer;
guchar *at;
@@ -89,7 +89,7 @@ egg_hkdf_perform (const gchar *hash_algo, gconstpointe
gcry_md_reset (md2);
gcry_md_write (md2, buffer, n_buffer);
gcry_md_write (md2, info, n_info);
- gcry_md_write (md2, &i, 1);
+ gcry_md_putc (md2, i);
n_buffer = hash_len;
memcpy (buffer, gcry_md_read (md2, algo), n_buffer);