BSD Ports

converters/btoa 5.2_2,1 FreeBSD

Encode/decode binary to printable ASCII

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
converters
Package size
10.5 KiB, 18.0 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% expansion. (btoa is thus more efficient than uuencode, which causes a 33% 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

SystemPortVersion
FreeBSDconverters/btoa5.2_2,1
OpenBSDconverters/btoa5.2.1p0
DragonFlyconverters/btoa5.2_2,1
HardenedBSDconverters/btoa5.2_2,1
GhostBSDconverters/btoa5.2_2,1

Install

Binary package:

pkg install btoa

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	btoa>0:converters/btoa

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.2_2,15.2_2,15.2_1,15.2_2,15.2_2,1
FreeBSD:14:quarterly5.2_2,15.2_2,1n/a5.2_2,15.2_2,1
FreeBSD:15:latest5.2_2,15.2_2,1n/a5.2_2,15.2_2,1
FreeBSD:15:quarterly5.2_2,15.2_2,1n/an/an/a
FreeBSD:16:latest5.2_2,15.2_2,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

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

Files

Manual pages 1
  • btoa(1)
pkg-plist 3
  • bin/btoa
  • bin/atob
  • share/man/man1/btoa.1.gz
distinfo 1
FileSizeSHA256
btoa-5.2.tar.gz1018840ba14dc682b66e4e799901f9da3e0291820a0fd9220dfe31cd513368c0e3cc8
Master sites 1
  • LOCAL/pgollucci

Commit history 0

No commits in the history this site was built from.