From owner-svn-ports-head@FreeBSD.ORG Sat Jun 13 16:59:36 2015 Return-Path: Delivered-To: svn-ports-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 818D5463; Sat, 13 Jun 2015 16:59:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55A65AB4; Sat, 13 Jun 2015 16:59:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5DGxaPt059485; Sat, 13 Jun 2015 16:59:36 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5DGxZau059483; Sat, 13 Jun 2015 16:59:35 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201506131659.t5DGxZau059483@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 13 Jun 2015 16:59:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389471 - in head/devel/android-tools-fastboot: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2015 16:59:36 -0000 Author: jbeich Date: Sat Jun 13 16:59:35 2015 New Revision: 389471 URL: https://svnweb.freebsd.org/changeset/ports/389471 Log: devel/android-tools-fastboot: fix "devices" output Catch up with the following upstream changes: https://android.googlesource.com/platform/system/core/+/b4add9b%5E!/ https://android.googlesource.com/platform/system/core/+/13081c6%5E!/ Before $ fastboot devices no permissions fastboot $ fastboot devices -l no permissions fastboot After $ fastboot devices ABCD1234 fastboot $ fastboot devices -l ABCD1234 fastboot ugen1.2 Modified: head/devel/android-tools-fastboot/Makefile (contents, props changed) head/devel/android-tools-fastboot/files/usb_freebsd.c (contents, props changed) Modified: head/devel/android-tools-fastboot/Makefile ============================================================================== --- head/devel/android-tools-fastboot/Makefile Sat Jun 13 16:50:55 2015 (r389470) +++ head/devel/android-tools-fastboot/Makefile Sat Jun 13 16:59:35 2015 (r389471) @@ -3,7 +3,7 @@ PORTNAME= android-tools-fastboot DISTVERSIONPREFIX= android- DISTVERSION= 5.1.1_r4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:bashcomp,manpage DISTFILES= bash_completion.d/fastboot?id=2b8cfec:bashcomp \ Modified: head/devel/android-tools-fastboot/files/usb_freebsd.c ============================================================================== --- head/devel/android-tools-fastboot/files/usb_freebsd.c Sat Jun 13 16:50:55 2015 (r389470) +++ head/devel/android-tools-fastboot/files/usb_freebsd.c Sat Jun 13 16:59:35 2015 (r389471) @@ -72,6 +72,10 @@ probe(struct usb_handle *h, ifc_match_fu info.dev_class = ddesc.bDeviceClass; info.dev_subclass = ddesc.bDeviceSubClass; info.dev_protocol = ddesc.bDeviceProtocol; + info.writable = 1; + + snprintf(info.device_path, sizeof(info.device_path), "ugen%d.%d", + libusb_get_bus_number(h->dev), libusb_get_device_address(h->dev)); if (ddesc.iSerialNumber != 0) { libusb_get_string_descriptor_ascii(h->handle, ddesc.iSerialNumber,