summaryrefslogtreecommitdiff
path: root/devel/android-tools-adb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* devel/android-tools-adb: move SDK_VERSION into vendor MakefileJan Beich2018-12-312-6/+5
| | | | During major updates SDK version indirectly reflects changed files.
* devel/android-tools-adb: drop unused variable after r448522Jan Beich2018-12-311-2/+1
|
* devel/android-tools-adb: skip manpage on NetBSD as wellJan Beich2018-12-311-1/+2
| | | | make: don't know how to make adb.1. Stop
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-1/+1
| | | | | | | | | | | | | | | defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 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, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
* devel/android-tools-adb: apply boringssl style fixesJan Beich2018-10-141-35/+32
| | | | | http://github.com/google/boringssl/commit/54091230cda4 http://github.com/google/boringssl/commit/808f8329177f
* devel/android-tools-adb: unbreak with OpenSSL 1.1Jan Beich2018-10-142-2/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adb/../libcrypto_utils/android_pubkey.c:84:10: error: incomplete definition of type 'struct rsa_st' new_key->n = BN_bin2bn(modulus_buffer, sizeof(modulus_buffer), NULL); ~~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:85:15: error: incomplete definition of type 'struct rsa_st' if (!new_key->n) { ~~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:90:10: error: incomplete definition of type 'struct rsa_st' new_key->e = BN_new(); ~~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:91:15: error: incomplete definition of type 'struct rsa_st' if (!new_key->e || !BN_set_word(new_key->e, key_struct->exponent)) { ~~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:91:42: error: incomplete definition of type 'struct rsa_st' if (!new_key->e || !BN_set_word(new_key->e, key_struct->exponent)) { ~~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:138:18: error: incomplete definition of type 'struct bignum_st' BN_ULONG l = in->d[constant_time_select_ulong( ~~^ /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'struct bignum_st' typedef struct bignum_st BIGNUM; ^ adb/../libcrypto_utils/android_pubkey.c:139:33: error: incomplete definition of type 'struct bignum_st' constant_time_le_size_t(in->dmax, i), in->dmax - 1, i)]; ~~^ /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'struct bignum_st' typedef struct bignum_st BIGNUM; ^ adb/../libcrypto_utils/android_pubkey.c:139:47: error: incomplete definition of type 'struct bignum_st' constant_time_le_size_t(in->dmax, i), in->dmax - 1, i)]; ~~^ /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'struct bignum_st' typedef struct bignum_st BIGNUM; ^ adb/../libcrypto_utils/android_pubkey.c:142:63: error: incomplete definition of type 'struct bignum_st' return constant_time_select_ulong(constant_time_le_size_t(in->top, i), 0, l); ~~^ /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'struct bignum_st' typedef struct bignum_st BIGNUM; ^ adb/../libcrypto_utils/android_pubkey.c:157:17: error: incomplete definition of type 'struct bignum_st' if ((size_t)in->top > (len + (BN_BYTES - 1)) / BN_BYTES) { ~~^ /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'struct bignum_st' typedef struct bignum_st BIGNUM; ^ adb/../libcrypto_utils/android_pubkey.c:210:25: error: incomplete definition of type 'struct rsa_st' !BN_mod(n0inv, key->n, r32, ctx) || ~~~^ /usr/include/openssl/bn.h:247:49: note: expanded from macro 'BN_mod' # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) ^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:217:40: error: incomplete definition of type 'struct rsa_st' if (!android_pubkey_encode_bignum(key->n, key_struct->modulus)) { ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:223:30: error: incomplete definition of type 'struct rsa_st' !BN_mod_sqr(rr, rr, key->n, ctx) || ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ adb/../libcrypto_utils/android_pubkey.c:229:51: error: incomplete definition of type 'struct rsa_st' key_struct->exponent = (uint32_t)BN_get_word(key->e); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ Reported by: pkg-fallout
* devel/google{test,mock}: update to 1.8.1Jan Beich2018-08-311-0/+55
| | | | Changes: https://github.com/google/googletest/compare/9bda90b...release-1.8.1
* devel/android-tools-adb: drop unused file after r453204Jan Beich2018-08-151-11/+0
|
* devel/android-tools-adb: adjust for USB dispatch on Windows after r477245Jan Beich2018-08-153-8/+8
| | | | See https://android.googlesource.com/platform/system/core/+/9425996b4521%5E!/
* devel/android-tools-adb: unbreak on DragonFly after r477244Jan Beich2018-08-151-0/+8
| | | | | | | adb/client/usb_libusb.cpp: In function 'void libusb::poll_for_devices()': adb/client/usb_libusb.cpp:493:43: error: unable to find numeric literal operator 'operator""ms' if (device_poll_cv.wait_for(lock, 500ms, []() { return terminate_device_poll_thread; })) { ^~~~~
* devel/android-tools-{adb,fastboot}: update to 9.0.0.r3Jan Beich2018-08-156-45/+43
| | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/android-8.1.0_r2..android-9.0.0_r3/adb Changes: https://android.googlesource.com/platform/system/core/+log/android-8.1.0_r2..android-9.0.0_r3/fastboot MFH: 2018Q3 (mostly bug fixes)
* devel/android-tools-adb: update SDK version as part of makesumJan Beich2017-12-222-15/+16
| | | | | | - Extract platform SDK version out of platform/build repo - Move version logic out of sub-makefile - Simplify GH_REVISION
* devel/android-tools-{adb,fastboot}: chase SDK version in --version after r456869Jan Beich2017-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* devel/android-tools-{adb,fastboot}: chase HTTP redirectJan Beich2017-12-222-5/+5
|
* devel/android-tools-{adb,fastboot}: update to 8.1.0.r2Jan Beich2017-12-202-11/+7
| | | | | 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
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464
* devel/android-tools-{adb,fastboot}: update to 8.0.0.r24Jan Beich2017-10-305-19/+118
| | | | | 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
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2017-09-101-1/+1
| | | | | | | | | | | | | | (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
* devel/android-tools-adb-devel: switch to master FILESDIRJan Beich2017-08-221-1/+1
|
* devel/android-tools-adb: drop += after r448522Jan Beich2017-08-221-1/+1
|
* devel/android-tools-{adb,fastboot}: update to 8.0.0.r4 (oreo)Jan Beich2017-08-2219-692/+390
| | | | | 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
* devel/android-tools-adb-devel: update to o.p.2.332Jan Beich2017-06-201-1/+1
| | | | | | | - USB transport is no longer supported on DragonFly and FreeBSD < 11 as probing outside of libusb hotplug API isn't implemented Changes: https://android.googlesource.com/platform/system/core/+log/dfd30c4a169e..d1e9e7bc06f0/adb
* devel/android-tools-{adb,fastboot,simpleperf}: update to 7.1.2.r17Jan Beich2017-06-132-6/+6
| | | | | | | 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
* Bump PORTREVISIONs for ports depending on the canonical version of GCC andGerald Pfeifer2017-04-011-1/+1
| | | | | | | | | | | | | | 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
* Drop pre-10.3 support in my portsJan Beich2017-01-031-6/+0
| | | | | Figuring out which GCC hacks are safe to drop is tricky but at least devel/fb-adb is limited to x86 due to ADA bootstrap.
* List in more categoriesJan Beich2016-12-161-1/+1
|
* devel/android-tools-{adb,fastboot}: update to 7.1.1.r4Jan Beich2016-12-062-5/+5
| | | | | 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
* devel/android-tools-{adb,fastboot}: update to 7.1.0.r4Jan Beich2016-10-294-7/+35
| | | | | 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
* devel/android-tools-{adb,fastboot}-devel: update to n.p.5.3582Jan Beich2016-09-293-1/+6
| | | | | Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/adb Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/fastboot
* devel/android-tools-adb{,-devel}: drop unnecessary non-ASCII serial handlingJan Beich2016-09-282-46/+8
| | | | | | | Linux replaced the code as well in https://android.googlesource.com/platform/system/core/+/9309ecbcec42%5E!/ PR: 199185
* devel/android-tools-adb: unbreak build with libc++ 3.9Jan Beich2016-09-182-0/+6
| | | | PR: 212343
* devel/android-tools-adb: USES=pkgconfig to support ports SSL librariesJohn Marino2016-09-101-2/+1
| | | | Approved by: SSL blanket
* devel/android-tools-{adb,fastboot}: update to 7.0.0.r1 (nougat)Jan Beich2016-08-2416-146/+196
| | | | | 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
* devel/android-tools-{adb,fastboot}-devel: update to n.p.5.126Jan Beich2016-08-093-0/+2
| | | | | Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/adb Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/fastboot
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*Dmitry Marakasov2016-05-191-3/+3
| | | | Approved by: portmgr blanket
* devel/android-tools-adb-devel: update to n.p.2.74Jan Beich2016-04-211-1/+1
| | | | Changes: https://android.googlesource.com/platform/system/core/+log/ba430e363427..d61bfb9a79e3/adb
* devel/android-tools-adb-devel: update to n.p.2.43Jan Beich2016-04-162-0/+1
| | | | Changes: https://android.googlesource.com/platform/system/core/+log/371e7ea170d7..ba430e363427/adb
* devel/android-tools-adb: update to 6.0.1.r24Jan Beich2016-04-072-4/+4
| | | | Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r26..android-6.0.1_r24/adb
* Drop default directory from _DEPENDS in my portsJan Beich2016-03-161-1/+1
| | | | https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html
* devel/android-tools-*: drop FreeBSD 8.x supportJan Beich2015-12-161-11/+3
|
* devel/android-tools-{adb,fastboot}-devel: update to m.p.5956Jan Beich2015-12-162-0/+1
| | | | | Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/adb Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/fastboot
* devel/android-tools-{adb,fastboot}: update to 6.0.0.r26Jan Beich2015-11-052-5/+5
| | | | | 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
* devel/android-tools-adb: unbreak build on DragonFlyJan Beich2015-11-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make(1) suffix rules discard original extension as used by bsd.*.mk which leads to unpredictable behavior if more than one candidate is found under ${.PATH}. So, partially qualify pathname to avoid accidentally building libcutils/sockets.c despite SRCS=sockets.cpp $ echo 'void foo() { }' > a.c $ echo 'int main() { }' > a.cxx $ make PROG_CXX=test SRCS=a.cxx NO_MAN= -f /usr/share/mk/bsd.prog.mk cc -O -pipe -std=gnu99 -c a.c c++ -O -pipe -o test a.o /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x132): undefined reference to `main' *** Error code 1 which in adb case leads to (since partial C++ conversion in 6.0.0) adb.o: In function `handle_packet(apacket*, atransport*)': adb.cpp:(.text+0x2518): undefined reference to `find_local_socket(unsigned int, unsigned int)' adb.cpp:(.text+0x2613): undefined reference to `find_local_socket(unsigned int, unsigned int)' adb.cpp:(.text+0x276a): undefined reference to `find_local_socket(unsigned int, unsigned int)' adb.cpp:(.text+0x2875): undefined reference to `create_local_service_socket(char const*)' adb.cpp:(.text+0x288c): undefined reference to `create_remote_socket(unsigned int, atransport*)' adb.cpp:(.text+0x2a41): undefined reference to `create_remote_socket(unsigned int, atransport*)' adb_listeners.o: In function `listener_event_func(int, unsigned int, void*)': adb_listeners.cpp:(.text+0xe2): undefined reference to `create_local_socket(int)' adb_listeners.cpp:(.text+0xfe): undefined reference to `connect_to_remote(asocket*, char const*)' adb_listeners.o: In function `ss_listener_event_func(int, unsigned int, void*)': adb_listeners.cpp:(.text+0x1b1): undefined reference to `create_local_socket(int)' adb_listeners.cpp:(.text+0x1be): undefined reference to `connect_to_smartsocket(asocket*)' services.o: In function `host_service_to_socket(char const*, char const*)': services.cpp:(.text+0x64d): undefined reference to `create_local_socket(int)' services.cpp:(.text+0x6b7): undefined reference to `create_local_socket(int)' transport.o: In function `input_thread(void*)': transport.cpp:(.text+0x1931): undefined reference to `close_all_sockets(atransport*)' *** [adb] Error code 1
* devel/android-tools-{adb,fastboot}: force all distfiles for |make makesum|Jan Beich2015-10-241-0/+4
| | | | | Forgetting to pass DISABLE_CONFLICTS= is easy to notice unlike a missing checksum. So, hook into makesum like with update-revision.
* devel/android-tools-{adb,fastboot}: update BASH to 20150902 snapshotJan Beich2015-10-242-14/+13
| | | | | | - 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 buildJan Beich2015-10-132-11/+33
| | | | | | | | | | | - 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: explicitly include stdint.h for intptr_tJan Beich2015-10-131-1/+3
|
* devel/android-tools-adb: unbreak TEST=on more reliablyJan Beich2015-10-101-5/+5
| | | | | | | | | | | | | /dev/full is only provided by default on 11.0, earlier releases have it in lindev(4). This leads to the same error as with automation. Other BSDs including DragonFly don't provide /dev/full at all. [ RUN ] io.WriteFdExactly_ENOSPC adb_io_test.cpp:136: Failure Expected: (-1) != (fd), actual: -1 vs -1 [ FAILED ] io.WriteFdExactly_ENOSPC (1 ms) Reported by: Barbara <barbara.freebsd@gmail.com>
* devel/android-tools-{adb,fastboot}: update to 6.0.0.r1 (marshmallow)Jan Beich2015-10-0916-88/+988
| | | | | | | | | | | - 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
* devel/android-tools-adb: add missing USE_OPENSSL for -lcryptoJan Beich2015-10-091-1/+2
| | | | | Bump PORTREVISION for those who build everything against security/openssl or security/libressl.