public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/
@ 2016-02-16 20:58 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2016-02-16 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     7c64231d37ba906f77ddc02e8f67b6d784e69b1f
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 16 20:57:56 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 20:57:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c64231d

sys-auth/libfprint: Security revbump fixing broken udev rule (bug #562218).

Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../files/libfprint-0.6.0-fix-udev-rules.patch     | 23 +++++++++
 sys-auth/libfprint/libfprint-0.6.0-r2.ebuild       | 60 ++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
new file mode 100644
index 0000000..128ac8c
--- /dev/null
+++ b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
@@ -0,0 +1,23 @@
+Remove spurious \n to fix udev rule generation
+
+Steven Newbury <steve@snewbury.org.uk>:
+libfprint generates 60-fprint-autosuspend.rules for all supported devices, 
+however there's a spurious \n before the ', MODE="0666"' which results in it 
+appearing on a new line after the match criteria.  At least on current 
+systemd/udev this results in MODE="0666" being applied unconditionally to all 
+device nodes.  This is an extremely serious security problem and effectively 
+gives root access to all users simply by having the ebuild emerged.
+
+https://bugs.gentoo.org/562218
+
+--- a/libfprint/fprint-list-udev-rules.c
++++ b/libfprint/fprint-list-udev-rules.c
+@@ -74,7 +74,7 @@
+ 	if (num_printed == 0)
+ 	    printf ("# %s\n", driver->full_name);
+ 
+-	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n, MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
++	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\", MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
+ 	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n", driver->id_table[i].vendor, driver->id_table[i].product, driver->full_name);
+ 	num_printed++;
+     }

diff --git a/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild b/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild
new file mode 100644
index 0000000..4597a21
--- /dev/null
+++ b/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils udev vcs-snapshot
+
+MY_PV="V_${PV//./_}"
+DESCRIPTION="library to add support for consumer fingerprint readers"
+HOMEPAGE="http://cgit.freedesktop.org/libfprint/libfprint/"
+SRC_URI="http://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
+	https://dev.gentoo.org/~xmw/${P}_vfs0050.patch.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug static-libs vanilla"
+
+RDEPEND="virtual/libusb:1
+	dev-libs/glib:2
+	dev-libs/nss
+	x11-libs/pixman"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}/${P}-fix-udev-rules.patch"
+)
+
+src_prepare() {
+	if ! use vanilla ; then
+		eapply "${WORKDIR}"/${P}_vfs0050.patch
+	fi
+
+	default
+
+	# upeke2 and fdu2000 were missing from all_drivers.
+	sed -e '/^all_drivers=/s:"$: upeke2 fdu2000":' \
+		-i configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--with-drivers=all \
+		$(use_enable debug debug-log) \
+		$(use_enable static-libs static) \
+		-enable-udev-rules \
+		--with-udev-rules-dir=$(get_udevdir)/rules.d
+}
+
+src_install() {
+	default
+
+	prune_libtool_files
+
+	dodoc AUTHORS HACKING NEWS README THANKS TODO
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/
@ 2018-09-02 15:16 Mikle Kolyada
  0 siblings, 0 replies; 4+ messages in thread
From: Mikle Kolyada @ 2018-09-02 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     b0cc774cd0ea9c63eb61c69d373998420e1fcc72
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  2 15:16:00 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Sep  2 15:16:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cc774c

sys-auth/libfprint: Version bump (v0.8.2)

- migrate to meson
- make functions call explicit

Closes: https://bugs.gentoo.org/634242
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-auth/libfprint/Manifest                        |   1 +
 .../libfprint-0.8.2-fix-implicit-declaration.patch | 194 +++++++++++++++++++++
 sys-auth/libfprint/libfprint-0.8.2.ebuild          |  42 +++++
 sys-auth/libfprint/metadata.xml                    |   2 +-
 4 files changed, 238 insertions(+), 1 deletion(-)

diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
index d1826472c23..ddc840b3b2e 100644
--- a/sys-auth/libfprint/Manifest
+++ b/sys-auth/libfprint/Manifest
@@ -4,3 +4,4 @@ DIST libfprint-0.5.1-add-vfs5011-driver.patch 338763 BLAKE2B e86e22f76f0a261e6f4
 DIST libfprint-0.5.1.tar.bz2 277342 BLAKE2B ebf653f147d3c75ab9885ffc4a30fb07235ba80cf2fc1dfaa2db6e9b9afa52b20a9c4ec8d73fb15089731d20a6945b1e9920096ffbc7f9dadba88068efa7958e SHA512 e1596e28f2730501b5957d2b4365f8eead7c0941434d064ceb6e5321d0e8495e71ab576b214881441bf1abc6ecba2b3ffafe5027f738f80c8c38b4e95866c8c7
 DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9
 DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674
+DIST libfprint-0.8.2.tar.gz 418437 BLAKE2B 396fee3b84958f273462fe92553a6a2dbefcadfc54c56531855fcef94613cd03ba68705585802992f86aa8175cb7dda0e80e96931de4a11da973b1f9ce2c4777 SHA512 56f7927adcb40866bfef67624221b921ba3d68e770e707c432f47c0bb1f5e233fd2427bacb448544167257b6ad9edf9008a188f408142288f4dbfee2115e9a8f

diff --git a/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch
new file mode 100644
index 00000000000..15b49597238
--- /dev/null
+++ b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch
@@ -0,0 +1,194 @@
+From 17cbe376872d8a0f579a0497942a5d2f19facaf5 Mon Sep 17 00:00:00 2001
+From: Mikle Kolyada <zlogene@gentoo.org>
+Date: Sun, 2 Sep 2018 17:20:03 +0300
+Subject: [PATCH] Fix implicit declaration warnings
+
+---
+ libfprint/drivers/aes1610.c    | 2 ++
+ libfprint/drivers/aes2501.c    | 2 ++
+ libfprint/drivers/aes2550.c    | 2 ++
+ libfprint/drivers/aesx660.c    | 2 ++
+ libfprint/drivers/etes603.c    | 2 ++
+ libfprint/drivers/upeksonly.c  | 2 ++
+ libfprint/drivers/upektc.c     | 2 ++
+ libfprint/drivers/upektc_img.c | 2 ++
+ libfprint/drivers/upekts.c     | 2 ++
+ libfprint/drivers/vfs0050.c    | 2 ++
+ libfprint/drivers/vfs101.c     | 3 +++
+ libfprint/drivers/vfs301.c     | 3 +++
+ libfprint/drivers/vfs5011.c    | 2 ++
+ 13 files changed, 28 insertions(+)
+
+diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c
+index f307a3b..9dc3383 100644
+--- a/libfprint/drivers/aes1610.c
++++ b/libfprint/drivers/aes1610.c
+@@ -25,6 +25,8 @@
+ 
+ #define FP_COMPONENT "aes1610"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "aeslib.h"
+ 
+diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c
+index 87879a4..caaf3ea 100644
+--- a/libfprint/drivers/aes2501.c
++++ b/libfprint/drivers/aes2501.c
+@@ -23,6 +23,8 @@
+ 
+ #define FP_COMPONENT "aes2501"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "aeslib.h"
+ #include "aes2501.h"
+diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c
+index ab4acaa..c838e54 100644
+--- a/libfprint/drivers/aes2550.c
++++ b/libfprint/drivers/aes2550.c
+@@ -23,6 +23,8 @@
+ 
+ #define FP_COMPONENT "aes2550"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "aes2550.h"
+ #include "aeslib.h"
+diff --git a/libfprint/drivers/aesx660.c b/libfprint/drivers/aesx660.c
+index e443e21..17c0245 100644
+--- a/libfprint/drivers/aesx660.c
++++ b/libfprint/drivers/aesx660.c
+@@ -23,6 +23,8 @@
+ 
+ #define FP_COMPONENT "aesX660"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "aeslib.h"
+ #include "aesx660.h"
+diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c
+index fdaf7f2..0782f9e 100644
+--- a/libfprint/drivers/etes603.c
++++ b/libfprint/drivers/etes603.c
+@@ -35,6 +35,8 @@
+ 
+ #define FP_COMPONENT "etes603"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "driver_ids.h"
+ 
+diff --git a/libfprint/drivers/upeksonly.c b/libfprint/drivers/upeksonly.c
+index 9cccb86..e035408 100644
+--- a/libfprint/drivers/upeksonly.c
++++ b/libfprint/drivers/upeksonly.c
+@@ -25,6 +25,8 @@
+ 
+ #define FP_COMPONENT "upeksonly"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "upeksonly.h"
+ 
+diff --git a/libfprint/drivers/upektc.c b/libfprint/drivers/upektc.c
+index ffa31f3..e4d7de5 100644
+--- a/libfprint/drivers/upektc.c
++++ b/libfprint/drivers/upektc.c
+@@ -20,6 +20,8 @@
+ 
+ #define FP_COMPONENT "upektc"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "upektc.h"
+ 
+diff --git a/libfprint/drivers/upektc_img.c b/libfprint/drivers/upektc_img.c
+index f0f2f18..a500623 100644
+--- a/libfprint/drivers/upektc_img.c
++++ b/libfprint/drivers/upektc_img.c
+@@ -19,6 +19,8 @@
+ 
+ #define FP_COMPONENT "upektc_img"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "aeslib.h"
+ #include "upektc_img.h"
+diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c
+index b448e36..1094e66 100644
+--- a/libfprint/drivers/upekts.c
++++ b/libfprint/drivers/upekts.c
+@@ -27,6 +27,8 @@
+ 
+ #define FP_COMPONENT "upekts"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ 
+ #define EP_IN (1 | LIBUSB_ENDPOINT_IN)
+diff --git a/libfprint/drivers/vfs0050.c b/libfprint/drivers/vfs0050.c
+index dcf5d69..60a720e 100644
+--- a/libfprint/drivers/vfs0050.c
++++ b/libfprint/drivers/vfs0050.c
+@@ -19,6 +19,8 @@
+ 
+ #define FP_COMPONENT "vfs0050"
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "vfs0050.h"
+ 
+diff --git a/libfprint/drivers/vfs101.c b/libfprint/drivers/vfs101.c
+index 3304b1f..473adf2 100644
+--- a/libfprint/drivers/vfs101.c
++++ b/libfprint/drivers/vfs101.c
+@@ -19,6 +19,9 @@
+ 
+ #define FP_COMPONENT "vfs101"
+ 
++#include <stdlib.h>
++#include <string.h>
++
+ #include "drivers_api.h"
+ 
+ /* Input-Output usb endpoint */
+diff --git a/libfprint/drivers/vfs301.c b/libfprint/drivers/vfs301.c
+index a34ee31..6f52316 100644
+--- a/libfprint/drivers/vfs301.c
++++ b/libfprint/drivers/vfs301.c
+@@ -21,6 +21,9 @@
+ 
+ #define FP_COMPONENT "vfs301"
+ 
++#include <stdlib.h>
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "vfs301_proto.h"
+ 
+diff --git a/libfprint/drivers/vfs5011.c b/libfprint/drivers/vfs5011.c
+index 8b460ac..1355394 100644
+--- a/libfprint/drivers/vfs5011.c
++++ b/libfprint/drivers/vfs5011.c
+@@ -18,6 +18,8 @@
+  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+  */
+ 
++#include <string.h>
++
+ #include "drivers_api.h"
+ #include "vfs5011_proto.h"
+ 
+-- 
+2.16.4

diff --git a/sys-auth/libfprint/libfprint-0.8.2.ebuild b/sys-auth/libfprint/libfprint-0.8.2.ebuild
new file mode 100644
index 00000000000..da49365cca3
--- /dev/null
+++ b/sys-auth/libfprint/libfprint-0.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver meson udev
+
+DESCRIPTION="library to add support for consumer fingerprint readers"
+HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint"
+SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-libs/glib:2
+	 dev-libs/nss
+	 virtual/libusb:1=
+	 x11-libs/pixman
+	 x11-libs/libX11
+	 x11-libs/libXv"
+
+DEPEND="${RDEPEND}
+	dev-util/gtk-doc
+	virtual/pkgconfig"
+
+PATCHES=( ${FILESDIR}/${P}-fix-implicit-declaration.patch )
+
+S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')"
+
+src_configure() {
+		local emesonargs=(
+			-Ddoc=$(usex doc true false)
+			-Dx11-examples=$(usex examples true false)
+			-Ddrivers=all
+			-Dudev_rules=true
+			-Dudev_rules_dir=$(get_udevdir)/rules.d
+			--libdir=/usr/$(get_libdir)
+		)
+		meson_src_configure
+}

diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml
index de2d1feb58d..94aee5a2fc6 100644
--- a/sys-auth/libfprint/metadata.xml
+++ b/sys-auth/libfprint/metadata.xml
@@ -10,6 +10,6 @@
 	<name>Mikle Kolyada</name>
 </maintainer>
 <upstream>
-        <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
+	<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
 </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/
@ 2019-05-21 19:39 Mikle Kolyada
  0 siblings, 0 replies; 4+ messages in thread
From: Mikle Kolyada @ 2019-05-21 19:39 UTC (permalink / raw
  To: gentoo-commits

commit:     dcb243893ca57b491bf1dfdb23b266365df00cbf
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 19:39:07 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 21 19:39:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb24389

sys-auth/libfprint: Drop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-auth/libfprint/Manifest                        |  2 -
 .../files/libfprint-0.6.0-fix-udev-rules.patch     | 23 ---------
 sys-auth/libfprint/libfprint-0.6.0-r2.ebuild       | 59 ----------------------
 3 files changed, 84 deletions(-)

diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
index 1b3ff85a28d..53cd28195cd 100644
--- a/sys-auth/libfprint/Manifest
+++ b/sys-auth/libfprint/Manifest
@@ -1,3 +1 @@
-DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9
-DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674
 DIST libfprint-0.99.0.tar.gz 473925 BLAKE2B 799e3600393e4b25f7b0685ff0456ca391e5fcaef36e5b4475371cd07c848e40820dbbdc5a241fe11c6ee08b818380967129f85e177b5d8714b9dbc4d7b68ea1 SHA512 eca1d45baa23b7db1fcc5d7a9a396fe504aadc6ec2e68da32b5415fb0fff1227566d579271e0b34895ce7f3baa55314a0ccd20bb8c4adba253063b7b61284748

diff --git a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
deleted file mode 100644
index 128ac8ce311..00000000000
--- a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Remove spurious \n to fix udev rule generation
-
-Steven Newbury <steve@snewbury.org.uk>:
-libfprint generates 60-fprint-autosuspend.rules for all supported devices, 
-however there's a spurious \n before the ', MODE="0666"' which results in it 
-appearing on a new line after the match criteria.  At least on current 
-systemd/udev this results in MODE="0666" being applied unconditionally to all 
-device nodes.  This is an extremely serious security problem and effectively 
-gives root access to all users simply by having the ebuild emerged.
-
-https://bugs.gentoo.org/562218
-
---- a/libfprint/fprint-list-udev-rules.c
-+++ b/libfprint/fprint-list-udev-rules.c
-@@ -74,7 +74,7 @@
- 	if (num_printed == 0)
- 	    printf ("# %s\n", driver->full_name);
- 
--	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n, MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
-+	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\", MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
- 	printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n", driver->id_table[i].vendor, driver->id_table[i].product, driver->full_name);
- 	num_printed++;
-     }

diff --git a/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild b/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild
deleted file mode 100644
index 73bc12900ff..00000000000
--- a/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils udev vcs-snapshot
-
-MY_PV="V_${PV//./_}"
-DESCRIPTION="library to add support for consumer fingerprint readers"
-HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/"
-SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
-	https://dev.gentoo.org/~xmw/${P}_vfs0050.patch.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
-IUSE="debug static-libs vanilla"
-
-RDEPEND="virtual/libusb:1
-	dev-libs/glib:2
-	dev-libs/nss
-	x11-libs/pixman"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}/${P}-fix-udev-rules.patch"
-)
-
-src_prepare() {
-	if ! use vanilla ; then
-		eapply "${WORKDIR}"/${P}_vfs0050.patch
-	fi
-
-	default
-
-	# upeke2 and fdu2000 were missing from all_drivers.
-	sed -e '/^all_drivers=/s:"$: upeke2 fdu2000":' \
-		-i configure.ac || die
-
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--with-drivers=all \
-		$(use_enable debug debug-log) \
-		$(use_enable static-libs static) \
-		-enable-udev-rules \
-		--with-udev-rules-dir=$(get_udevdir)/rules.d
-}
-
-src_install() {
-	default
-
-	prune_libtool_files
-
-	dodoc AUTHORS HACKING NEWS README THANKS TODO
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/
@ 2021-11-20  0:53 Marek Szuba
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Szuba @ 2021-11-20  0:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1ab901e96dcdb173ccc09ced723e58257ea2597d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 22:44:02 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Nov 20 00:52:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab901e9

sys-auth/libfprint-1.94.1-r1: increase timeout threshold for some tests

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../libfprint/files/libfprint-1.94.1-test-timeout.patch   | 15 +++++++++++++++
 sys-auth/libfprint/libfprint-1.94.1-r1.ebuild             |  5 ++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch b/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch
new file mode 100644
index 000000000000..cc5080e2a140
--- /dev/null
+++ b/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch
@@ -0,0 +1,15 @@
+Although most libfprint tests are vert quick, several of the VirtualImage
+ones come very close to the default time-out threshold of 30 seconds.
+Increase the relevant threshold to 45 seconds to make those tests less
+sensitive to CPU frequency, system load etc.
+
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -88,6 +88,7 @@
+                     suite: ut_suite,
+                     depends: libfprint_typelib,
+                     env: envs,
++                    timeout: 45,
+                 )
+             endforeach
+         else

diff --git a/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild b/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild
index 3b98a35777fd..88248d7fdd71 100644
--- a/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild
+++ b/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild
@@ -35,7 +35,10 @@ BDEPEND="
 	introspection? ( dev-libs/gobject-introspection )
 "
 
-PATCHES=( ${FILESDIR}/${PN}-0.8.2-fix-implicit-declaration.patch )
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.8.2-fix-implicit-declaration.patch
+	"${FILESDIR}"/${PN}-1.94.1-test-timeout.patch
+)
 
 src_configure() {
 	local emesonargs=(


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-20  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-21 19:39 [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/ Mikle Kolyada
  -- strict thread matches above, loose matches on Subject: below --
2021-11-20  0:53 Marek Szuba
2018-09-02 15:16 Mikle Kolyada
2016-02-16 20:58 Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox