aboutsummaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot
Commit message (Collapse)AuthorAgeFilesLines
* devel/android-tools-adb: fix TEST=on after r527733Jan Beich2020-04-152-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket_spec_test.cpp:101: Failure Expected equality of these values: 5555 get_host_socket_spec_port("vsock:5555", &error) Which is: -1 * thread #1, name = 'adb_test', stop reason = signal SIGILL: privileged instruction frame #0: 0x00000000003fc604 adb_test`GetThreadId() at logger_write.cpp:240:31 237 #endif 238 239 // Copied from base/threads.cpp -> 240 static uint64_t GetThreadId() { 241 #if defined(__BIONIC__) 242 return gettid(); 243 #elif defined(__APPLE__) (lldb) bt * thread #1, name = 'adb_test', stop reason = signal SIGILL: privileged instruction * frame #0: 0x00000000003fc604 adb_test`GetThreadId() at logger_write.cpp:240:31 frame #1: 0x00000000003fc3ce adb_test`::__android_log_stderr_logger(logger_data=0x00007fffffffce60, message="foobar") at logger_write.cpp:274:18 frame #2: 0x00000000003fc92a adb_test`::__android_log_write_logger_data(logger_data=0x00007fffffffce60, msg="foobar") at logger_write.cpp:329:3 frame #3: 0x00000000003f6c44 adb_test`android::base::LogMessage::LogLine(file="logging_test.cpp", line=603, severity=ERROR, tag=0x0000000000000000, message="foobar") at logging.cpp:581:5 frame #4: 0x00000000003f683d adb_test`android::base::LogMessage::~LogMessage(this=0x00007fffffffd000) at logging.cpp:542:7 frame #5: 0x00000000004f76fe adb_test`TestLoggingInConstructor() at logging_test.cpp:603:3 * thread #1, name = 'adb_test', stop reason = signal SIGSEGV: invalid address (fault address: 0x14) frame #0: 0x00000000004c8dc8 adb_test`file_RemoveFileIfExists_EACCES_Test::TestBody(this=0x0000000800f91060) at file_test.cpp:247:19 244 // root can bypass permission restrictions, so drop root. 245 if (getuid() == 0) { 246 passwd* shell = getpwnam("shell"); -> 247 setgid(shell->pw_gid); 248 setuid(shell->pw_uid); 249 } 250 (lldb) bt * thread #1, name = 'adb_test', stop reason = signal SIGSEGV: invalid address (fault address: 0x14) * frame #0: 0x00000000004c8dc8 adb_test`file_RemoveFileIfExists_EACCES_Test::TestBody(this=0x0000000800f91060) at file_test.cpp:247:19 frame #1: 0x0000000800982d6e libgtest.so`void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000800f91060, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2433:10 frame #2: 0x0000000800962399 libgtest.so`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000800f91060, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2469:14 frame #3: 0x0000000800942b43 libgtest.so`testing::Test::Run(this=0x0000000800f91060) at gtest.cc:2508:5 frame #4: 0x0000000800943792 libgtest.so`testing::TestInfo::Run(this=0x0000000800fa3ba0) at gtest.cc:2684:11 frame #5: 0x0000000800943e17 libgtest.so`testing::TestSuite::Run(this=0x0000000800fa34a0) at gtest.cc:2816:28 frame #6: 0x0000000800950480 libgtest.so`testing::internal::UnitTestImpl::RunAllTests(this=0x0000000800fa4000) at gtest.cc:5338:44 frame #7: 0x0000000800987bfe libgtest.so`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000800fa4000, method=40 00 95 00 08 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2433:10 frame #8: 0x00000008009650a9 libgtest.so`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000800fa4000, method=40 00 95 00 08 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2469:14 frame #9: 0x000000080094ffd4 libgtest.so`testing::UnitTest::Run(this=0x000000080099a0d8) at gtest.cc:4925:10 frame #10: 0x0000000000543cf1 adb_test`RUN_ALL_TESTS() at gtest.h:2473:46 frame #11: 0x0000000000543c70 adb_test`main(argc=1, argv=0x00007fffffffeae8) at test_main.cpp:24:10 frame #12: 0x000000000031710f adb_test`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7 PR: 245642 Submitted by: Marcin Cieślak (based on) Notes: svn path=/head/; revision=531780
* devel/android-tools-{adb,fastboot}: update to 29.0.6Jan Beich2020-03-037-61/+17
| | | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/adb Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/fastboot Reported by: portscout Notes: svn path=/head/; revision=527733
* Simplify port-specific manpages location after r523104Jan Beich2020-01-201-2/+2
| | | | | | | | | | | Not all of my ports are covered because: - USES=cmake requires patching devel/cmake to undo BSD-specific defaults (A good example why BSD quirks should stay in ports, not to be upstreamed) - USES=meson and GNU_CONFIGURE require dropping --mandir argument - ponscripter-sekai requires Templates/BSD.local.dist to NOT create PREFIX/man Notes: svn path=/head/; revision=523601
* devel/android-tools-fastboot: simplify <sys/endian.h> fixJan Beich2019-10-291-50/+11
| | | | Notes: svn path=/head/; revision=516026
* devel/android-tools-{adb,fastboot}: update to 29.0.5Jan Beich2019-10-297-35/+82
| | | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.4..platform-tools-29.0.5/adb Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.4..platform-tools-29.0.5/fastboot Reported by: portscout Notes: svn path=/head/; revision=516023
* devel/android-tools-{adb,fastboot}: update to 29.0.4Jan Beich2019-10-012-8/+8
| | | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.3..platform-tools-29.0.4/adb Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.3..platform-tools-29.0.4/fastboot Reported by: portscout Notes: svn path=/head/; revision=513460
* devel/android-tools-fastboot: better name file for FreeBSD supportJan Beich2019-09-162-1/+1
| | | | | | | | While tested mainly on FreeBSD and DragonFly it may also work on NetBSD and OpenBSD which use reference libusb implementation. Notes: svn path=/head/; revision=512191
* devel/android-tools-fastboot: replace post-extract via GH_SUBDIRJan Beich2019-09-123-8/+5
| | | | Notes: svn path=/head/; revision=511886
* devel/android-tools-*: simplify via GH_TUPLEJan Beich2019-09-121-6/+4
| | | | | | | Also, chase HTTP redirect in simpleperf Notes: svn path=/head/; revision=511885
* devel/android-tools-fastboot: tabify after r511879Jan Beich2019-09-121-1/+1
| | | | Notes: svn path=/head/; revision=511880
* devel/android-tools-fastboot: update to 29.0.3Jan Beich2019-09-1218-231/+235
| | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/android-9.0.0_r3..platform-tools-29.0.3/fastboot Notes: svn path=/head/; revision=511879
* devel/android-tools-adb: glob(3) in FILES doesn't work on FreeBSD 12.0Jan Beich2019-09-062-2/+2
| | | | Notes: svn path=/head/; revision=511279
* Convert to UCL & cleanup pkg-message (categories d)Mathieu Arnold2019-08-131-0/+6
| | | | Notes: svn path=/head/; revision=508835
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-1/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. 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, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* Add more gettid() aliases to my portsJan Beich2019-07-101-4/+12
| | | | | | | | https://man.openbsd.org/getthrid.2 https://illumos.org/man/3C/thr_self Notes: svn path=/head/; revision=506330
* Switch DragonFly to pthread_getthreadid_np in my portsJan Beich2019-06-171-8/+4
| | | | | | | https://github.com/DragonFlyBSD/DragonFlyBSD/commit/c0f25c26521a Notes: svn path=/head/; revision=504401
* devel/android-tools-adb: back out r498558 for breaking other BSDsJan Beich2019-06-031-0/+2
| | | | | | | g++: error: ../libcutils/sockets.o: No such file or directory Notes: svn path=/head/; revision=503398
* devel/android-tools-adb: drop FreeBSD < 10.2 support after r430462Jan Beich2019-04-101-1/+0
| | | | Notes: svn path=/head/; revision=498558
* 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 Notes: svn path=/head/; revision=487272
* devel/android-tools-fastboot: drop unused file after r448522Jan Beich2018-08-151-11/+0
| | | | Notes: svn path=/head/; revision=477247
* devel/android-tools-{adb,fastboot}: update to 9.0.0.r3Jan Beich2018-08-157-148/+51
| | | | | | | | | 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) Notes: svn path=/head/; revision=477244
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-07-291-1/+1
| | | | | | | | | | | | | | | | | in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542 Notes: svn path=/head/; revision=475857
* devel/android-tools-fastboot: unbreak fetchJan Beich2018-06-112-5/+5
| | | | | | | | | | fetch: https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/fastboot.1?id=706e754: Not Found Submitted by: jrm Differential Revision: https://reviews.freebsd.org/D15761 Notes: svn path=/head/; revision=472201
* devel/android-tools-adb: update SDK version as part of makesumJan Beich2017-12-222-14/+16
| | | | | | | | | - Extract platform SDK version out of platform/build repo - Move version logic out of sub-makefile - Simplify GH_REVISION Notes: svn path=/head/; revision=456975
* 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 Notes: svn path=/head/; revision=456974
* devel/android-tools-{adb,fastboot}: chase HTTP redirectJan Beich2017-12-222-3/+3
| | | | Notes: svn path=/head/; revision=456973
* devel/android-tools-{adb,fastboot}: update to 8.1.0.r2Jan Beich2017-12-203-7/+8
| | | | | | | | 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 Notes: svn path=/head/; revision=456869
* devel/android-tools-{adb,fastboot}: update to 8.0.0.r24Jan Beich2017-10-304-10/+21
| | | | | | | | 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 Notes: svn path=/head/; revision=453204
* 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 Notes: svn path=/head/; revision=449591
* devel/android-tools-adb-devel: switch to master FILESDIRJan Beich2017-08-221-1/+1
| | | | Notes: svn path=/head/; revision=448531
* devel/android-tools-fastboot: sync usb_freebsd.cpp with -develJan Beich2017-08-221-1/+1
| | | | Notes: svn path=/head/; revision=448529
* devel/android-tools-fastboot: drop unused file after r448522Jan Beich2017-08-221-37/+0
| | | | Notes: svn path=/head/; revision=448526
* devel/android-tools-{adb,fastboot}: update to 8.0.0.r4 (oreo)Jan Beich2017-08-225-16/+116
| | | | | | | | 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 Notes: svn path=/head/; revision=448522
* devel/android-tools-fastboot-devel: oops, fix docs after r444112Jan Beich2017-06-221-5/+2
| | | | Notes: svn path=/head/; revision=444113
* devel/android-tools-fastboot-devel: update to o.p.2.332Jan Beich2017-06-221-3/+5
| | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/dfd30c4a169e..d1e9e7bc06f0/fastboot Notes: svn path=/head/; revision=444112
* devel/android-tools-{adb,fastboot,simpleperf}: update to 7.1.2.r17Jan Beich2017-06-132-10/+10
| | | | | | | | | | 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 Notes: svn path=/head/; revision=443543
* 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 Notes: svn path=/head/; revision=437439
* List in more categoriesJan Beich2016-12-161-1/+1
| | | | Notes: svn path=/head/; revision=428686
* devel/android-tools-{adb,fastboot}: update to 7.1.1.r4Jan Beich2016-12-062-9/+9
| | | | | | | | 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 Notes: svn path=/head/; revision=428001
* devel/android-tools-{adb,fastboot}: update to 7.1.0.r4Jan Beich2016-10-292-9/+9
| | | | | | | | 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 Notes: svn path=/head/; revision=424893
* devel/android-tools-{adb,fastboot}-devel: update to n.p.5.3582Jan Beich2016-09-292-0/+4
| | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/adb Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/fastboot Notes: svn path=/head/; revision=422901
* Convert some port to the new GH_SUBDIR feature.Mathieu Arnold2016-08-241-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=420796
* devel/android-tools-{adb,fastboot}: update to 7.0.0.r1 (nougat)Jan Beich2016-08-2413-71/+195
| | | | | | | | 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 Notes: svn path=/head/; revision=420787
* devel/android-tools-{adb,fastboot}-devel: update to n.p.5.126Jan Beich2016-08-092-0/+1
| | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/adb Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/fastboot Notes: svn path=/head/; revision=419937
* devel/android-tools-{adb,fastboot}-devel: update to n.p.3.101Jan Beich2016-06-082-0/+4
| | | | | | | | Changes: https://android.googlesource.com/platform/system/core/+log/d61bfb9a79e3..35d84096e9a5/adb Changes: https://android.googlesource.com/platform/system/core/+log/d61bfb9a79e3..35d84096e9a5/fastboot Notes: svn path=/head/; revision=416544
* Drop default directory from _DEPENDS in my portsJan Beich2016-03-161-1/+1
| | | | | | | https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html Notes: svn path=/head/; revision=411229
* Add Public Domain support to ports license framework. You can now useDmitry Marakasov2016-01-121-4/+2
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=405874
* devel/android-tools-{adb,fastboot}: update to 6.0.0.r26Jan Beich2015-11-052-9/+9
| | | | | | | | 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 Notes: svn path=/head/; revision=400821
* devel/android-tools-fastboot: fix copy/paste typo in r400115Jan Beich2015-10-241-2/+2
| | | | | | | Reported by: sunpoet Notes: svn path=/head/; revision=400130
* 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. Notes: svn path=/head/; revision=400116