btoa port.

This commit is contained in:
angelos 1998-04-29 05:05:09 +00:00
parent c3a096c5db
commit 0044435cea
5 changed files with 41 additions and 0 deletions

26
converters/btoa/Makefile Normal file
View File

@ -0,0 +1,26 @@
# OpenBSD makefile for: btoa
# Version required: 5.2
# Date created: 29 April 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/04/29 05:05:09 angelos Exp $
#
DISTNAME= btoa-5.2
PKGNAME= btoa-5.2.1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= btoa-5.2-patch1.gz
MAINTAINER= angelos@openbsd.org
MAKE_FLAGS= DESTDIR=${PREFIX} -f
MAKEFILE= Makefile.sun
MAN1= btoa.1
# Turn off the default from bsd.port.mk (-p0), which screws things up
PATCH_DIST_STRIP=
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (btoa-5.2.tar.gz) = c8fe1ee1e0f7ea0da0c49f44c5fe8f64
MD5 (btoa-5.2-patch1.gz) = caf2fff3448242f432b407b797670312

View File

@ -0,0 +1 @@
Encode/decode binary to printable ASCII.

View File

@ -0,0 +1,9 @@
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.

View File

@ -0,0 +1,3 @@
bin/btoa
bin/atob
man/man1/btoa.1