From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16F10138334 for ; Tue, 21 May 2019 19:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28357E0880; Tue, 21 May 2019 19:39:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0415E0880 for ; Tue, 21 May 2019 19:39:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59DBD344D58 for ; Tue, 21 May 2019 19:39:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00AA35F1 for ; Tue, 21 May 2019 19:39:25 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1558467547.dcb243893ca57b491bf1dfdb23b266365df00cbf.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/libfprint/Manifest sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch sys-auth/libfprint/libfprint-0.6.0-r2.ebuild X-VCS-Directories: sys-auth/libfprint/ sys-auth/libfprint/files/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: dcb243893ca57b491bf1dfdb23b266365df00cbf X-VCS-Branch: master Date: Tue, 21 May 2019 19:39:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6cbdc36c-42c6-40e1-a875-0e65a6db6522 X-Archives-Hash: 752d15f1aa592244042c9fe84d3ce387 commit: dcb243893ca57b491bf1dfdb23b266365df00cbf Author: Mikle Kolyada gentoo org> AuthorDate: Tue May 21 19:39:07 2019 +0000 Commit: Mikle Kolyada gentoo 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 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 : -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 -}