Page MenuHomeFreeBSD

New port: converters/base91: Utility to encode and decode "basE91" files
ClosedPublic

Authored by kai on Jun 29 2019, 9:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 1 2024, 10:02 PM
Unknown Object (File)
Oct 1 2024, 6:26 PM
Unknown Object (File)
Sep 22 2024, 7:26 AM
Unknown Object (File)
Sep 21 2024, 5:27 AM
Unknown Object (File)
Sep 18 2024, 2:13 PM
Unknown Object (File)
Sep 18 2024, 9:19 AM
Unknown Object (File)
Sep 17 2024, 1:03 AM
Unknown Object (File)
Sep 4 2024, 8:51 AM
Subscribers
None

Details

Summary

basE91 is an advanced method for encoding binary data as ASCII characters.
It is similar to UUencode or base64, but is more efficient.

The overhead produced by basE91 depends on the input data. It amounts at most
to 23% (versus 33% for base64) and can range down to 14%, which typically
occurs on 0-byte blocks.

This makes basE91 very useful for transferring larger files over binary unsafe
connections like e-mail or terminal lines.

WWW: http://base91.sourceforge.net/

PR: 238202
Submitted by: takefu@airport.fm

Test Plan
  • poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r348350 amd64 + i386) -> OK
  • portlint and portclippy -> OK
  • Runtime tests -> OK

Minor changes from the original patch:

  • Changed port's Makefile to honor more variables (CFLAGS, LDFLAGS, INSTALL, etc.) from MAKEENV
  • Added two more MAKE_ENV variables
  • Improved pkg-descr

Questions from my side:

  • Is the actual way how's the port's Makefile is patched and handled by MAKE_ENV ok? Or might be there some more elegant ways to accomplish this task?

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25138
Build 23832: arc lint + arc unit

Event Timeline

  • Improved the handling of the repository at SF
  • Removed the single quotes from COMMENT and changed "basE91" to "base91".
converters/base91/Makefile
6

^ why not simply type it out instead of sedding :D

Replaced "${PORTNAME:S/e/E/}" with "basE91" for MASTER_SITES .

This revision is now accepted and ready to land.Jul 4 2019, 7:41 PM
converters/base91/Makefile
6

Indeed, it's also somewhat shorter. Well, it looks now a bit strange with that "basE91" and that might be the reason why I used unintentionally the former variant. Anyway... :-)

don't forget converters/Makefile :)

don't forget converters/Makefile :)

Oops, thanks for the pointer. :)

This revision was automatically updated to reflect the committed changes.