From 51323d25822747871328d2d8578f48cdd5dbe8c5 Mon Sep 17 00:00:00 2001 From: Göktürk Yüksek Date: Sat, 8 Jun 2019 15:08:27 -0400 Subject: app-crypt/libu2f-host: remove old vulnerable #678580 #679724 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/678580 Bug: https://bugs.gentoo.org/679724 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Göktürk Yüksek --- app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild | 55 -------------------------- 1 file changed, 55 deletions(-) delete mode 100644 app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild (limited to 'app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild') diff --git a/app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild b/app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild deleted file mode 100644 index dacb7651b18d..000000000000 --- a/app-crypt/libu2f-host/libu2f-host-1.1.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info udev user - -DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library" -HOMEPAGE="https://developers.yubico.com/libu2f-host/" -SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="kernel_linux static-libs systemd" - -DEPEND="dev-libs/hidapi - dev-libs/json-c:=" -RDEPEND="${DEPEND} - systemd? ( sys-apps/systemd[acl] )" -BDEPEND="virtual/pkgconfig" - -CONFIG_CHECK="~HIDRAW" - -pkg_setup() { - # The U2F device node will be owned by group 'plugdev' - # in non-systemd configurations - if ! use systemd; then - enewgroup plugdev - fi -} - -src_prepare() { - default - sed -e 's:TAG+="uaccess":MODE="0664", GROUP="plugdev":g' \ - 70-u2f.rules > 70-u2f-udev.rules || die -} - -src_install() { - default - if use kernel_linux; then - if use systemd; then - udev_dorules 70-u2f.rules - else - udev_newrules 70-u2f-udev.rules 70-u2f.rules - fi - fi -} - -pkg_postinst() { - if ! use systemd; then - elog "Users must be a member of the 'plugdev' group" - elog "to be able to access U2F devices" - fi -} -- cgit v1.2.3-65-gdbad