mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Update security/libfprint to version 0.6.0 [1]
- Update security/fprintd to version 0.6.0 [1] - Fix mispelled word in fprintd pkg-descr - Cleanup pkg-plist in libfprint PR: 198930 [1] Submitted by: Martin Birgmeier <la5lbtyi@aon.at> (maintainer of fprintd) [1] Approved by: lichray@gmail.com (security/libfprint part)
This commit is contained in:
parent
2a1e0b08b1
commit
bca8f57a57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382779
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fprintd
|
||||
PORTVERSION= 0.5.1
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://people.freedesktop.org/~hadess/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (fprintd-0.5.1.tar.xz) = 9256970fe30cb0332c1932fc0dad3c8d83570eb8e153305e9430e3cd90806e58
|
||||
SIZE (fprintd-0.5.1.tar.xz) = 285336
|
||||
SHA256 (fprintd-0.6.0.tar.xz) = 3f5462eeb4917d2f74925b904ceb2668c011b732d84fb1c5679f4f9ce9b6c6af
|
||||
SIZE (fprintd-0.6.0.tar.xz) = 287964
|
||||
|
@ -1,8 +0,0 @@
|
||||
--- ./data/fprintd.pod.orig 2014-09-20 01:55:30.860796233 +0400
|
||||
+++ ./data/fprintd.pod 2014-09-20 01:55:49.300794976 +0400
|
||||
@@ -100,3 +100,5 @@
|
||||
=over 8
|
||||
|
||||
=item B<dbus-daemon>, B<gnome-about-me>
|
||||
+
|
||||
+=back
|
@ -1,51 +0,0 @@
|
||||
From 7e4630ced2be4b7ecdfb9d60cfe0e0d3de594411 Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Mon, 27 Jan 2014 12:24:14 +0100
|
||||
Subject: pam: Fix eventfd leak
|
||||
|
||||
When we create our own GMainContext, we need to be the ones
|
||||
disposing of it as well, as GMainLoop won't take ownership of it.
|
||||
|
||||
From https://bugzilla.redhat.com/show_bug.cgi?id=1050827
|
||||
|
||||
diff --git a/pam/pam_fprintd.c b/pam/pam_fprintd.c
|
||||
index 0f5e5a4..07302a1 100644
|
||||
--- pam/pam_fprintd.c
|
||||
+++ pam/pam_fprintd.c
|
||||
@@ -170,6 +170,17 @@ static void close_and_unref (DBusGConnection *connection)
|
||||
dbus_g_connection_unref (connection);
|
||||
}
|
||||
|
||||
+static void unref_loop (GMainLoop *loop)
|
||||
+{
|
||||
+ GMainContext *ctx;
|
||||
+
|
||||
+ /* The main context was created separately, so
|
||||
+ * we'll need to unref it ourselves */
|
||||
+ ctx = g_main_loop_get_context (loop);
|
||||
+ g_main_loop_unref (loop);
|
||||
+ g_main_context_unref (ctx);
|
||||
+}
|
||||
+
|
||||
#define DBUS_TYPE_G_OBJECT_PATH_ARRAY (dbus_g_type_get_collection ("GPtrArray", DBUS_TYPE_G_OBJECT_PATH))
|
||||
|
||||
static DBusGProxy *open_device(pam_handle_t *pamh, DBusGConnection *connection, DBusGProxy *manager, const char *username, gboolean *has_multiple_devices)
|
||||
@@ -397,13 +408,13 @@ static int do_auth(pam_handle_t *pamh, const char *username)
|
||||
dev = open_device(pamh, connection, manager, username, &has_multiple_devices);
|
||||
g_object_unref (manager);
|
||||
if (!dev) {
|
||||
- g_main_loop_unref (loop);
|
||||
+ unref_loop (loop);
|
||||
close_and_unref (connection);
|
||||
return PAM_AUTHINFO_UNAVAIL;
|
||||
}
|
||||
ret = do_verify(loop, pamh, dev, has_multiple_devices);
|
||||
|
||||
- g_main_loop_unref (loop);
|
||||
+ unref_loop (loop);
|
||||
release_device(pamh, dev);
|
||||
g_object_unref (dev);
|
||||
close_and_unref (connection);
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
@ -1,7 +1,7 @@
|
||||
Fprintd is a D-Bus daemon that offers libfprint functionality over
|
||||
the D-Bus interprocess communication bus. By adding this daemon
|
||||
layer above libfprint, we solve various problems related to multiple
|
||||
applications simulatenously competing for fingerprint readers.
|
||||
applications simultaneously competing for fingerprint readers.
|
||||
|
||||
While it is not very nice to think of a daemon being necessary in
|
||||
this scenario, fprintd will be launched by D-Bus through the
|
||||
|
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libfprint
|
||||
PORTVERSION= 0.5.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://people.freedesktop.org/~hadess/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libfprint-0.5.1.tar.xz) = 6d12563b91888b84b71eee6d2e113d8e9e9940c6a28a0915656b6f86b9568fb3
|
||||
SIZE (libfprint-0.5.1.tar.xz) = 494020
|
||||
SHA256 (libfprint-0.6.0.tar.xz) = 2583fcb7d542a918c023776f188067fcedec614e65494dd52bc4d661be803cbe
|
||||
SIZE (libfprint-0.6.0.tar.xz) = 531572
|
||||
|
@ -4,4 +4,3 @@ lib/libfprint.so
|
||||
lib/libfprint.so.0
|
||||
lib/libfprint.so.0.0.0
|
||||
libdata/pkgconfig/libfprint.pc
|
||||
@dirrm include/libfprint
|
||||
|
Loading…
Reference in New Issue
Block a user