Commit graph

29 commits

Author SHA1 Message Date
Jan Beich
e78331a963 devel/android-tools-{adb,fastboot}-devel: update to n.p.5.3582
Changes:	2f21b7cecd..dfd30c4a16/adb
Changes:	2f21b7cecd..dfd30c4a16/fastboot
2016-09-29 03:44:05 +00:00
Jan Beich
e7c25f9f24 devel/android-tools-{adb,fastboot}: update to 7.0.0.r1 (nougat)
Changes:	https://android.googlesource.com/platform/system/core/+log/android-6.0.1_r24..android-7.0.0_r1/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r26..android-7.0.0_r1/fastboot
2016-08-24 12:41:31 +00:00
Jan Beich
9c6b00d6e2 devel/android-tools-{adb,fastboot}-devel: update to n.p.5.126
Changes:	80beb506cf..2f21b7cecd/adb
Changes:	80beb506cf..2f21b7cecd/fastboot
2016-08-09 16:48:21 +00:00
Jan Beich
291cf18f07 devel/android-tools-{adb,fastboot}-devel: update to n.p.4.74
Changes:	35d84096e9..80beb506cf/adb
Changes:	35d84096e9..80beb506cf/fastboot
2016-06-30 13:31:05 +00:00
Jan Beich
8fd2549ac0 devel/android-tools-{adb,fastboot}-devel: update to n.p.3.101
Changes:	d61bfb9a79..35d84096e9/adb
Changes:	d61bfb9a79..35d84096e9/fastboot
2016-06-08 15:51:36 +00:00
Jan Beich
5e0b64087b devel/android-tools-*: macrofy GH_TAGNAME for extra distfiles
In order to avoid typo-casualties like android-tools-adb-devel.
2016-03-21 18:46:32 +00:00
Jan Beich
c8116fbba9 devel/android-tools-fastboot-devel: reconnect r403829 changes with old history 2016-03-20 14:57:56 +00:00
Jan Beich
8d61af63db devel/android-tools-fastboot-devel: break before repo surgery 2016-03-20 14:52:33 +00:00
Jan Beich
28ac761fcb devel/android-tools-fastboot-devel: unbreak build on DragonFly (like r400822)
fastboot.o:fastboot.cpp:function std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), main::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&): error: undefined reference to 'fs_get_generator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
fastboot.o:fastboot.cpp:function fb_perform_format(Transport*, char const*, int, char const*, char const*) [clone .constprop.79]: error: undefined reference to 'fs_get_generator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
fastboot.o:fastboot.cpp:function fb_perform_format(Transport*, char const*, int, char const*, char const*) [clone .constprop.79]: error: undefined reference to 'fs_generator_generate(fs_generator const*, int, long long)'

Reported by:	muscles.dragonflybsd.org
2016-03-18 14:49:24 +00:00
Jan Beich
02aab08833 devel/android-tools-{adb,fastboot}-devel: update to m.p.6425
Changes:	aef26bb1a4..aef26bb1a4/adb
Changes:	aef26bb1a4..aef26bb1a4/fastboot
2016-02-22 16:25:40 +00:00
Jan Beich
c947c154ca devel/android-tools-{adb,fastboot}-devel: update to m.p.6225
Changes:	461a29540c..aef26bb1a4/adb
Changes:	461a29540c..aef26bb1a4/fastboot
2016-02-01 11:30:09 +00:00
Jan Beich
7cdb29d2e2 devel/android-tools-{adb,fastboot}-devel: update to m.p.5956
Changes:	0bb1ce06ea..461a29540c/adb
Changes:	0bb1ce06ea..461a29540c/fastboot
2015-12-16 01:55:44 +00:00
Jan Beich
ee42a3a263 devel/android-tools-{adb,fastboot}-devel: update to m.p.5498
Changes:	f83766079e..0bb1ce06ea/adb
Changes:	94c617ccbb..0bb1ce06ea/fastboot
2015-11-10 22:18:58 +00:00
Jan Beich
5870a701de devel/android-tools-fastboot: fix copy/paste typo in r400115
Reported by:	sunpoet
2015-10-24 16:28:40 +00:00
Jan Beich
584d8de2d1 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
2015-10-24 10:12:21 +00:00
Jan Beich
f749f090b0 devel/android-tools-fastboot: don't search for selinuxfs mountpoint 2015-10-13 18:03:49 +00:00
Jan Beich
6a1cb428a4 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
2015-10-13 18:03:26 +00:00
Jan Beich
4f8cd084e4 devel/android-tools-{adb,fastboot}: update to 6.0.0.r1 (marshmallow)
- Integrate most changes from -devel slaves (e.g. r392432, r397252)
- Get revision based on GH_TAGNAME (from JSON for releases)
- Take maintainership

Changes:	https://android.googlesource.com/platform/system/core/+log/android-5.1.1_r4..android-6.0.0_r1/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-5.1.1_r4..android-6.0.0_r1/fastboot
Approved by:	kevlo (adb maintainer)
Differential Revision:	https://reviews.freebsd.org/D3842
2015-10-09 15:25:55 +00:00
Jan Beich
762fb63e42 devel/android-tools-{adb,fastboot}-devel: add update hint for r397254 2015-09-29 22:49:17 +00:00
Jan Beich
d76aaa0663 devel/android-tools-*: restore CPPFLAGS support after r390135 2015-09-26 20:25:57 +00:00
Jan Beich
3270d07cb7 devel/android-tools-{adb,fastboot}-devel: update to m.p.1212
platform/system/extras snapshot grew in size thanks to memory dumps:

  $ du -Ahc memory_replay/dumps/*
  2.0K    memory_replay/dumps/README
  9.2M    memory_replay/dumps/camera.zip
   12M    memory_replay/dumps/gmail.zip
  8.4M    memory_replay/dumps/maps.zip
  3.9M    memory_replay/dumps/surfaceflinger.zip
   33M    memory_replay/dumps/system_server.zip
  1.8M    memory_replay/dumps/systemui.zip
  6.5M    memory_replay/dumps/youtube.zip
   74M    total

  $ tar xOf memory_replay/dumps/youtube.zip | head
  202: malloc 0xb4827400 1024
  202: free 0xb4827400
  202: malloc 0xb4837058 20
  202: malloc 0xb4803068 4
  202: malloc 0xb48370a0 17
  202: malloc 0xb48370d0 18
  202: malloc 0xb4837100 20
  202: malloc 0xb4839040 48
  202: malloc 0xb483a020 30
  202: malloc 0xb483b080 98
  youtube.txt: Write error

Changes:	e4c1bb5306...94c617ccbb/adb
Changes:	e4c1bb5306...94c617ccbb/fastboot (no changes)
2015-09-18 15:43:51 +00:00
Jan Beich
d1231951cf 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'
2015-09-18 15:43:32 +00:00
Jan Beich
f3f1547a3d devel/android-tools-{adb,fastboot}-devel: update to m.p.1112
files/usb_libusb.cpp chases the following commits:
https://android.googlesource.com/platform/system/core/+/49ee7cf%5E!/#F6
https://android.googlesource.com/platform/system/core/+/7a3f8d6%5E!/

Changes:	94a845d..e4c1bb5/adb
Changes:	94a845d..e4c1bb5/fastboot
2015-09-05 22:49:27 +00:00
Jan Beich
957b16fcf2 devel/android-tools-{adb,fastboot}-devel: update to m.p.890
Changes:	683790a..94a845d/adb
Changes:	683790a..94a845d/fastboot
2015-08-16 02:43:20 +00:00
Jan Beich
93281caf19 devel/android-tools-*: consistently prefix distfiles with multi-github 2015-08-16 02:43:03 +00:00
Jan Beich
d798c6aea8 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'
2015-07-18 16:51:08 +00:00
Jan Beich
c53028026b devel/android-tools-{adb,fastboot}-devel: update to m.p.190
Changes:	53d504f..683790a/adb
Changes:	53d504f..683790a/fastboot
2015-07-18 16:42:27 +00:00
Jan Beich
9fa0fa99e9 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.
2015-07-18 16:42:12 +00:00
Jan Beich
17b8d562a7 devel/android-tools-fastboot-devel: add new slave port for git master
A temporary port to facilitate testing and updating master.

Changes:	https://android.googlesource.com/platform/system/core/+log/53d504f/fastboot
2015-06-18 22:45:34 +00:00