flameeyes    14/11/10 02:24:20

  Modified:             ChangeLog
  Added:                libu2f-host-0.0.1-r1.ebuild
  Removed:              libu2f-host-0.0-r1.ebuild libu2f-host-0.0.1.ebuild
  Log:
  Remove old versions; fix double-configure runs; fix udev/systemd rules. 
Thanks to BT in bug #528280.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
1CD13C8AD4301342)

Revision  Changes    Path
1.7                  app-crypt/libu2f-host/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libu2f-host/ChangeLog?rev=1.7&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libu2f-host/ChangeLog?rev=1.7&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libu2f-host/ChangeLog?r1=1.6&r2=1.7

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/libu2f-host/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog   5 Nov 2014 16:57:17 -0000       1.6
+++ ChangeLog   10 Nov 2014 02:24:20 -0000      1.7
@@ -1,6 +1,14 @@
 # ChangeLog for app-crypt/libu2f-host
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/libu2f-host/ChangeLog,v 1.6 
2014/11/05 16:57:17 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/libu2f-host/ChangeLog,v 1.7 
2014/11/10 02:24:20 flameeyes Exp $
+
+*libu2f-host-0.0.1-r1 (10 Nov 2014)
+
+  10 Nov 2014; Diego E. Pettenò <flamee...@gentoo.org>
+  +libu2f-host-0.0.1-r1.ebuild, -libu2f-host-0.0-r1.ebuild,
+  -libu2f-host-0.0.1.ebuild:
+  Remove old versions; fix double-configure runs; fix udev/systemd rules. 
Thanks
+  to BT in bug #528280.
 
 *libu2f-host-0.0.1 (05 Nov 2014)
 



1.1                  app-crypt/libu2f-host/libu2f-host-0.0.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libu2f-host/libu2f-host-0.0.1-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libu2f-host/libu2f-host-0.0.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: libu2f-host-0.0.1-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-crypt/libu2f-host/libu2f-host-0.0.1-r1.ebuild,v 1.1 
2014/11/10 02:24:20 flameeyes Exp $

EAPI=5

inherit autotools-utils linux-info udev

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="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="kernel_linux static-libs systemd"

RDEPEND="dev-libs/hidapi
        dev-libs/json-c"
DEPEND="${RDEPEND}
        virtual/pkgconfig"
RDEPEND="${RDEPEND}
        systemd? ( sys-apps/systemd[acl] )"

CONFIG_CHECK="~HIDRAW"

src_prepare() {
        autotools-utils_src_prepare

        sed -i -e 's:TAG+="uaccess":MODE="0664", GROUP="plugdev":g' \
                70-u2f.rules > 70-u2f-udev.rules || die
}

src_configure() {
        local myeconfargs=(
                $(use_enable static-libs static)
        )
        autotools-utils_src_configure
}

src_install() {
        autotools-utils_src_install

        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
}




Reply via email to