fb-adb is a tool for interacting with Android systems. It does much of
what adb does, but with better remote shell support and, hopefully,
fewer bugs. Differences between adb and fb-adb are that fb-adb:
* is binary clean (no LF -> CRLF mangling)
* transmits and updates window size
* distinguishes standard output and standard error
* properly muxes streams with independent flow control
* allows for ssh-like pty allocation control
* propagates program exit status instead of always exiting
with status 0
* properly escapes program arguments
* kills remote program
* provides a generic facility to elevate to root without re-escaping
WWW: https://github.com/facebook/fb-adb
===> The following configuration options are available for fb-adb-1.4.4.126_4:
ASSERT=off: Enable debug assertions
BASH=off: Install JSON parser used by bash-completion
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
cleanup: Remove expired ports:
2022-03-31 security/revealrk: Deprecate, marked BROKEN on 12+ in 2018
2022-03-31 devel/apache-commons-modeler: Abandoned upstream, last release in
2013
2022-03-31 security/afl: Abandoned upstream, no new release since 2017. Please
consider using security/afl++ instead
2022-03-31 www/mod_line_edit: Abandoned upstream, last release in 2006, Apache
includes mod_sed
2022-03-31 www/myfaces: Unsupported by upstream, released in 2005
2022-03-31 www/mod_backtrace: Abandoned upstream in 2012 (version 2.0)
2022-03-31 security/base: Broken with PHP 7+, forked here
https://github.com/NathanGibbs3/BASE/
2022-03-31 security/find-zlib: Deprecated, no longer relevant
2022-03-31 security/razorback-clamavNugget: Abandonware, last release in 2012
and listed as alpha quality by upstream
2022-03-31 security/shimmer: Abandonware, last release in 2008
2022-03-31 security/kripp: Abandonware, upstream returns 404 and last release
was back in 2007
2022-03-31 security/ipfilter2dshield: Abandonware, no word of it on upstream web
site
2022-03-31 security/sha: Obsolete, we have tools in base
(Only the first 15 lines of the commit message are shown above )
devel/fb-adb: mark BROKEN when NDK is off
When not using NDK (default ON), this port depends on long expired
lang/gnatdroid-x86, so mark it broken in that case (default for non-amd64/i386)
devel/fb-adb: regen patches
=> Attempting to fetch
https://github.com/facebook/fb-adb/commit/a25602788c1b.patch
=> Fetched file size mismatch (expected 9741, actual 9730)
--- a25602788c1b.patch 2017-11-14 11:32:11 UTC
+++ a25602788c1b.patch 2019-11-06 13:33:45 UTC
@@ -16,9 +16,9 @@ This change just gets us back to using a PTY unconditi
We could take advantage of adb fixes to get rid of some of our
encoding logic, but that's a separate project.
---
- chat.c | 14 ++++++-
- cmd_shex.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
- util.c | 29 +++++++++++++++
+ chat.c | 14 +++++-
+ cmd_shex.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++------
+ util.c | 29 +++++++++++++
util.h | 12 ++++++
4 files changed, 162 insertions(+), 15 deletions(-)
On amd64 adding DEFAULT_VERSIONS+=linux=c6 to /etc/make.conf made Linux
infrastructure ports (linux_base-c6 and linux-c6*) install i386 CentOS 6
packages. Using c6_64 instead of c6 made them install mixed amd64/i386
CentOS 6 packages and allowed Linux application ports to install amd64
binaries when available. The i386-only configuration was only useful for
users of x11/nvidia-driver* which didn't provide Linux amd64 emulation
until recently.
With x11/nvidia-driver* now supporting Linux amd64 there's no longer a
need for i386-only Linux on amd64. Let DEFAULT_VERSIONS+=linux=c6 make
Linux infrastructure ports install mixed amd64/i386 CentOS 6 packages,
like c6_64 before, and remove support for c6_64 as a value.
Replace LINUX_ARCH with ARCH everywhere because they are always the same
now.
Convert Python ports to FLAVORS.
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
(Only the first 15 lines of the commit message are shown above )
Drop pre-10.3 support in my ports
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.
- Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases
that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling. Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
default versions framework.
(Only the first 15 lines of the commit message are shown above )
devel/fb-adb: unbreak c6_64 build after r411857
===> Extracting for fb-adb-1.4.4.124
=> SHA256 Checksum OK for android-ndk-r10e-linux-x86_64.bin.
=> SHA256 Checksum OK for facebook-fb-adb-1.4.4-124-gb230619_GH0.tar.gz.
tar: Error opening archive: Unrecognized archive format
*** Error code 1
devel/fb-adb: make :p7zip group pass sanity check
=> android-ndk-r10e-linux-x86.bin doesn't seem to exist in /portdistfiles/.
eval: _MASTER_SITES_p7zip: parameter not set
*** Error code 2
PR: 208916
Reported by: antoine (via exp-run)
devel/fb-adb: back out r415434 and r415502
Better fix will follow. r415502 also broke 9.x:
===> Extracting for fb-adb-1.4.4.124
=> SHA256 Checksum OK for android-ndk-r10e-linux-x86.bin.
=> SHA256 Checksum OK for facebook-fb-adb-1.4.4-124-gb230619_GH0.tar.gz.
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
*** [do-extract] Error code 1
Reported by: pkg-fallout
devel/fb-adb: update to prefer native ppoll(2) on 10.2+
ppoll() implemented via kqueue(2) is ~ 200 lines of code. So, this is
a minor optimization.
Changes: https://github.com/facebook/fb-adb/commit/df6073f
devel/fb-adb: add new port
Differential Revision: https://reviews.freebsd.org/D3930
fb-adb is a tool for interacting with Android systems. It does much of
what adb does, but with better remote shell support and, hopefully,
fewer bugs. Differences between adb and fb-adb are that fb-adb:
* is binary clean (no LF -> CRLF mangling)
* transmits and updates window size
* distinguishes standard output and standard error
* properly muxes streams with independent flow control
* allows for ssh-like pty allocation control
* propagates program exit status instead of always exiting
with status 0
* properly escapes program arguments
* kills remote program
* provides a generic facility to elevate to root without re-escaping
https://github.com/facebook/fb-adb