Fastboot protocol is a mechanism for communicating with bootloaders
over USB or Ethernet. The provided command line tool can be used
to flash filesystems on Android-powered devices.
===> The following configuration options are available for android-tools-fastboot-devel-o.p.2.332_1:
BASH=off: Install programmable completions for Bash
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
devel/android-tools-{adb,fastboot}: update BASH to 20150902 snapshot
- Switch to the actual upstream on GitHub
- Reduce overuse of :FOO make(1) variable modifiers
- Restore conditional install via target option helper
devel/android-tools-*: slightly improve standalone build
- Try to derive {ADB,FASTBOOT}_REVISION from git(1)
- Use pkg-config for libcrypto/libpcre/libusb (e.g. if they aren't in base)
- Convert PORTDOCS into FILES (bsd.port.mk vs. bsd.prog.mk)
- Partially convert to new testing framework
- Put -lpthread last as enforced by base r274849 but prevent
:= assignment from mucking $ escaping in $()
- |make clean| to clean files built by test target
- Move up bsd.prog.mk in order to use ${PROG} and ${OBJS} defined in it
devel/android-tools-adb-devel: make revision match upstream
======================================================================
FAIL: test_version (__main__.NonApiTest)
Get a version number out of the output of adb.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_adb.py", line 53, in test_version
revision_line, r'^Revision [0-9a-f]{12}-android$')
AssertionError: Regexp didn't match: '^Revision [0-9a-f]{12}-android$' not found
in 'Revision android-m-preview-1112-ge4c1bb5'
devel/android-tools-fastboot-devel: move FreeBSD code to C++
Copy files in order to fix the following errors.
files/usb_freebsd.cpp:132:4: error: assigning to 'usb_handle *' from
incompatible type 'void *'
h = malloc(sizeof(*h));
^ ~~~~~~~~~~~~~~~~~~
files/usb_freebsd.cpp:162:6: error: no matching function for call to
'libusb_bulk_transfer'
if (libusb_bulk_transfer(h->handle, h->ep_out, (void *)(long)_data,
len, &actlen, 0) < 0)
^~~~~~~~~~~~~~~~~~~~
/usr/include/libusb.h:478:5: note: candidate function not viable: cannot
convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char
*')
int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint,
uint8_t *data, int length, int *transferred, uint32_t timeout);
^
files/usb_freebsd.cpp:172:6: error: no matching function for call to
'libusb_bulk_transfer'
if (libusb_bulk_transfer(h->handle, h->ep_in, _data, len, &actlen, 0)
< 0)
^~~~~~~~~~~~~~~~~~~~
/usr/include/libusb.h:478:5: note: candidate function not viable: cannot
convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char
*')
int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint,
uint8_t *data, int length, int *transferred, uint32_t timeout);
^
3 errors generated.
fastboot.o: In function `find_item(char const*, char const*)':
fastboot.cpp:(.text+0xea): undefined reference to `get_my_path'
devel/android-tools-fastboot-devel: unbreak build on DragonFly
As only make_ext4fs(1) with -u option wants -DREAL_UUID no need
to try to use uuid(3) instead here.