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
| System | Port | Version |
|---|---|---|
| FreeBSD | converters/btoa | 5.2_2,1 |
| OpenBSD | converters/btoa | 5.2.1p0 |
| DragonFly | converters/btoa | 5.2_2,1 |
| HardenedBSD | converters/btoa | 5.2_2,1 |
| GhostBSD | converters/btoa | 5.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.2_2,1 | 5.2_2,1 | 5.2_1,1 | 5.2_2,1 | 5.2_2,1 |
| FreeBSD:14:quarterly | 5.2_2,1 | 5.2_2,1 | n/a | 5.2_2,1 | 5.2_2,1 |
| FreeBSD:15:latest | 5.2_2,1 | 5.2_2,1 | n/a | 5.2_2,1 | 5.2_2,1 |
| FreeBSD:15:quarterly | 5.2_2,1 | 5.2_2,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.2_2,1 | 5.2_2,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Files
Manual pages 1
- btoa(1)
pkg-plist 3
- bin/btoa
- bin/atob
- share/man/man1/btoa.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| btoa-5.2.tar.gz | 10188 | 40ba14dc682b66e4e799901f9da3e0291820a0fd9220dfe31cd513368c0e3cc8 |
Master sites 1
- LOCAL/pgollucci
Commit history 0
No commits in the history this site was built from.