BSD Ports

converters/btoa 5.2_2,1 DragonFly

Encode/decode binary to printable ASCII

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
converters
Package size
9.9 KiB, 17.7 KiB installed

Description

This is a port of btoa version 5.2, written by Paul Rutter, Joe Orost & Stefan Parmark. btoa converts 4 binary characters to 5 ascii ones, causing a 25%25 expansion. (btoa is thus more efficient than uuencode, which causes a 33%25 expansion.) Spaces will not be used, which should make it safe to send files over e-mail or Usenet without risking that blanks become tabs. Each resulting row of text has a single-byte checksum for error detection. A diagnosis file provides a list of errors found this way, which could then be used to retransmit only the failing lines.

Patch 1 is an unofficial, non-platform-specific patch to version 5.2 of btoa. It allows for automatic decoding of btoa files if the program is invoked as "atob" (no -a argument necessary). It also outfits the Makefile to do clean and install.

In the other systems

The newest version among them is 5.2.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyconverters/btoa5.2_2,1none known-[email protected]-
FreeBSDconverters/btoa5.2_2,1none known-[email protected]-
OpenBSDconverters/btoa5.2.1p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
HardenedBSDconverters/btoa5.2_2,1no data-[email protected]-
GhostBSDconverters/btoa5.2_2,1no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install btoa

From DPorts:

cd /usr/dports/converters/btoa && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The btoa port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing