Commit graph

53 commits

Author SHA1 Message Date
Jan Beich
a34da07c60 devel/android-tools-adb: update SDK version as part of makesum
- Extract platform SDK version out of platform/build repo
- Move version logic out of sub-makefile
- Simplify GH_REVISION
2017-12-22 10:49:09 +00:00
Jan Beich
66cde68327 devel/android-tools-{adb,fastboot}: chase SDK version in --version after r456869
Keep in mind, the output is still not identical to upstream.

  $ platform-tools_r26.0.0-linux/adb version
  Android Debug Bridge version 1.0.39
  Revision 3db08f2c6889-android
  Installed as /tmp/platform-tools_r26.0.0-linux/adb

  $ platform-tools_r26.0.0-linux/fastboot --version
  fastboot version 3db08f2c6889-android
  Installed as /tmp/platform-tools_r26.0.0-linux/fastboot

  $ platform-tools_r27.0.0-linux/adb version
  Android Debug Bridge version 1.0.39
  Version 27.0.0-4455170
  Installed as /tmp/platform-tools_r27.0.0-linux/adb

  $ platform-tools_r27.0.0-linux/fastboot --version
  fastboot version 27.0.0-4455170
  Installed as /tmp/platform-tools_r27.0.0-linux/fastboot

  $ adb version
  Android Debug Bridge version 1.0.39
  Version 27.0.0-0 86c2b588a369-android
  Installed as /usr/local/bin/adb

  $ fastboot --version
  fastboot version 27.0.0-0 86c2b588a369-android
  Installed as /usr/local/bin/fastboot
2017-12-22 10:48:57 +00:00
Jan Beich
95b297ca42 devel/android-tools-{adb,fastboot}: chase HTTP redirect 2017-12-22 10:48:45 +00:00
Jan Beich
8662d962dd devel/android-tools-{adb,fastboot}: update to 8.1.0.r2
Changes:	https://android.googlesource.com/platform/system/core/+log/android-8.0.0_r24..android-8.1.0_r2/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-8.0.0_r24..android-8.1.0_r2/fastboot
2017-12-20 23:14:34 +00:00
Jan Beich
a139cacf44 devel/android-tools-{adb,fastboot}: update to 8.0.0.r24
Changes:	https://android.googlesource.com/platform/system/core/+log/android-8.0.0_r4..android-8.0.0_r24/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-8.0.0_r4..android-8.0.0_r24/fastboot
2017-10-30 18:36:22 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Jan Beich
de21ae3fd7 devel/android-tools-adb-devel: switch to master FILESDIR 2017-08-22 13:30:04 +00:00
Jan Beich
c4d7b2a134 devel/android-tools-fastboot: sync usb_freebsd.cpp with -devel 2017-08-22 13:24:00 +00:00
Jan Beich
7512e72920 devel/android-tools-fastboot: drop unused file after r448522 2017-08-22 13:07:02 +00:00
Jan Beich
212056367b devel/android-tools-{adb,fastboot}: update to 8.0.0.r4 (oreo)
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/fastboot
2017-08-22 13:01:20 +00:00
Jan Beich
3ae4187805 devel/android-tools-fastboot-devel: oops, fix docs after r444112 2017-06-22 13:04:35 +00:00
Jan Beich
228dd6ce73 devel/android-tools-fastboot-devel: update to o.p.2.332
Changes:	dfd30c4a16..d1e9e7bc06/fastboot
2017-06-22 12:43:00 +00:00
Jan Beich
6925eea121 devel/android-tools-{adb,fastboot,simpleperf}: update to 7.1.2.r17
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.1_r4..android-7.1.2_r17/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.1_r4..android-7.1.2_r17/fastboot
Changes:	https://android.googlesource.com/platform/system/extras/+log/android-7.1.1_r4..android-7.1.2_r17/simpleperf
MFH:		2017Q2
2017-06-13 22:48:45 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
d7242ea20d List in more categories 2016-12-16 16:21:59 +00:00
Jan Beich
b6a7f98030 devel/android-tools-{adb,fastboot}: update to 7.1.1.r4
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.0_r4..android-7.1.1_r4/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.1.0_r4..android-7.1.1_r4/fastboot
2016-12-06 22:53:44 +00:00
Jan Beich
305c06c3e6 devel/android-tools-{adb,fastboot}: update to 7.1.0.r4
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/adb
Changes:	https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/fastboot
2016-10-29 05:14:42 +00:00
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
Mathieu Arnold
3e61c9e50f Convert some port to the new GH_SUBDIR feature.
Sponsored by:	Absolight
2016-08-24 14:50:17 +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
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
f7731c8be8 Drop default directory from _DEPENDS in my ports
https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html
2016-03-16 12:58:16 +00:00
Dmitry Marakasov
94817f0784 Add Public Domain support to ports license framework. You can now use
LICENSE=  PD

Note that although Public Domain is not technically a license, it's
handled in the same way as licenses here, which is a common practice
(Arch, Gentoo, Fedora, Debian, even FOSSology do the same).

Convert all ports which redefine Public Domain LICENSE to LICENSE=PD.

Approved by:	portmgr (bapt)
Differential Revision:	D4149
2016-01-12 14:33:21 +00:00
Jan Beich
390ed89afd devel/android-tools-{adb,fastboot}: update to 6.0.0.r26
Changes:	https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r1..android-6.0.0_r26/adb (device only)
Changes:	https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r1..android-6.0.0_r26/fastboot
2015-11-05 01:52:50 +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
84f22b5968 devel/android-tools-{adb,fastboot}: force all distfiles for |make makesum|
Forgetting to pass DISABLE_CONFLICTS= is easy to notice unlike
a missing checksum. So, hook into makesum like with update-revision.
2015-10-24 10:12:36 +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
00d4634211 Convert my ports to USES=localbase 2015-09-26 20:26:21 +00:00
Jan Beich
d76aaa0663 devel/android-tools-*: restore CPPFLAGS support after r390135 2015-09-26 20:25:57 +00:00
Jan Beich
8a127a17cf Convert my ports to _VARS option helper 2015-08-28 14:57:29 +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
e796c1175b devel/android-tools-fastboot: drop unused headers 2015-06-25 07:50:30 +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
Jan Beich
19daca82ab devel/android-tools-fastboot: shuffle CFLAGS to unbreak DragonFly
Avoid stepping into OS X platform code with off64_t workaround.

cc ... -D__APPLE__ -D__MACH__ .../ext4_utils/ext4_utils.c
In file included from .../ext4_utils/ext4_utils.c:43:0:
/usr/include/sys/disk.h:49:2: error: #error "This file should not be included by userland programs."
 #error "This file should not be included by userland programs."
  ^
*** [ext4_utils.o] Error code 1

Reported by:	DPorts
2015-06-18 01:46:34 +00:00
Jan Beich
db631aea64 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
2015-06-13 16:59:35 +00:00
Jan Beich
4ff446810b devel/android-tools-fastboot: add new LICENSE after r389152 2015-06-11 18:14:24 +00:00
Jan Beich
1437d3fc57 devel/android-tools-fastboot: add bash completion from Debian 2015-06-11 18:14:09 +00:00
Jan Beich
84af0e4e41 devel/android-tools-fastboot: warn about name conflict with fastboot(8)
Suggested by:	Jan Henrik Sylvester <me@janh.de>
2015-06-11 18:13:55 +00:00
Jan Beich
e19aeed42d devel/android-tools-fastboot: clear Linuxisms in the manpage 2015-06-11 18:12:08 +00:00
Jan Beich
d76f6bf347 devel/android-tools-fastboot: integrate manpage in the build 2015-06-11 18:11:53 +00:00
Jan Beich
3ddad92d43 devel/android-tools-fastboot: install protocol documentation 2015-06-11 18:11:39 +00:00
Jan Beich
2ac7526b24 devel/android-tools-fastboot: unbreak against libusb-1.0.9 from sf.net
inb4 someone actually tests on NetBSD or OpenBSD...

files/usb_freebsd.c:57:2: error: must
      use 'struct' tag to refer to type 'libusb_device_descriptor'
        libusb_device_descriptor ddesc;
        ^
        struct
files/usb_freebsd.c:58:2: error: must
      use 'struct' tag to refer to type 'libusb_config_descriptor'
        libusb_config_descriptor *pcfg;
        ^
        struct
2 errors generated.

Tested by:	md5
2015-06-11 18:11:08 +00:00
Jan Beich
08429d7bab devel/android-tools-fastboot: update to 5.1.1.r4 2015-06-10 23:18:37 +00:00
Jan Beich
c15b79ad00 devel/android-tools-fastboot: update to 4.4.4.r2.0.1 2015-06-10 23:18:23 +00:00
Jan Beich
e509927864 devel/android-tools-fastboot: update to 4.2.2.r1.2
android.googlesource.com archives have volatile timestamps which makes
them impossible to use as distfiles due to varying checksum.

android organization on GitHub doesn't have platform/system/extras mirror.
And various private and non-vanilla clones seem to lack android-* tags
that are necessary to sync modules.

For now, use my own mirror to avoid local-distfiles and keep the port simple
via multi-GitHub support.
2015-06-10 23:18:09 +00:00
Jan Beich
a4f353653e devel/android-tools-fastboot: add manpage from Debian 2015-06-10 23:17:54 +00:00