notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
base64 Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
0.5.2 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-12-09 11:24:08
Last Update: 2025-12-09 11:20:47
Commit Hash: b3058e3
License: BSD2CLAUSE
WWW:
https://github.com/aklomp/base64
Description:
This is an implementation of a base64 stream encoding/decoding library in C99 with SIMD (AVX2, AVX512, NEON, AArch64/NEON, SSSE3, SSE4.1, SSE4.2, AVX) and OpenMP acceleration. It also contains wrapper functions to encode/decode simple length-delimited strings. This library aims to be: - FAST; - easy to use; - elegant. On x86, the library does runtime feature detection. The first time it's called, the library will determine the appropriate encoding/decoding routines for the machine. It then remembers them for the lifetime of the program. If your processor supports AVX2, SSSE3, SSE4.1, SSE4.2 or AVX instructions, the library will pick an optimized codec that lets it encode/decode 12 or 24 bytes at a time, which gives a speedup of four or more times compared to the "plain" bytewise codec. AVX512 support is only for encoding at present, utilizing the AVX512 VL and VBMI instructions. Decoding part reused AVX2 implementations. For CPUs later than Cannonlake (manufactured in 2018) supports these instructions. NEON support is hardcoded to on or off at compile time, because portable runtime feature detection is unavailable on ARM. Even if your processor does not support SIMD instructions, this is a very fast library. The fallback routine can process 32 or 64 bits of input in one round, depending on your processor's word width, which still makes it significantly faster than naive bytewise implementations. On some 64-bit machines, the 64-bit routines even outperform the SSSE3 ones.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/base64-0.5.2/catalog.mk
  2. /usr/local/share/licenses/base64-0.5.2/LICENSE
  3. /usr/local/share/licenses/base64-0.5.2/BSD2CLAUSE
  4. bin/base64
  5. include/libbase64.h
  6. lib/cmake/base64/base64-config-version.cmake
  7. lib/cmake/base64/base64-config.cmake
  8. lib/cmake/base64/base64-targets-release.cmake
  9. lib/cmake/base64/base64-targets.cmake
  10. lib/libbase64.so
  11. lib/libbase64.so.0
  12. lib/libbase64.so.0.5.2
  13. @owner
  14. @group
  15. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • base64>0:devel/base64
To install the port:
cd /usr/ports/devel/base64/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/base64
  • pkg install base64
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: base64
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1765032618 SHA256 (aklomp-base64-v0.5.2_GH0.tar.gz) = 723a0f9f4cf44cf79e97bcc315ec8f85e52eb104c8882942c3f2fba95acc080d SIZE (aklomp-base64-v0.5.2_GH0.tar.gz) = 104531

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Libraries
  1. devel/py-librt

Configuration Options:
No options to configure
Options name:
devel_base64
USES:
cmake:testing
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/aklomp/base64/tar.gz/v0.5.2?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.5.2
09 Dec 2025 11:20:47
commit hash: b3058e362102f7b0aa5147e4fd4134c1d60879d9commit hash: b3058e362102f7b0aa5147e4fd4134c1d60879d9commit hash: b3058e362102f7b0aa5147e4fd4134c1d60879d9commit hash: b3058e362102f7b0aa5147e4fd4134c1d60879d9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/base64: Add base64 0.5.2

This is an implementation of a base64 stream encoding/decoding library in C99
with SIMD (AVX2, AVX512, NEON, AArch64/NEON, SSSE3, SSE4.1, SSE4.2, AVX) and
OpenMP acceleration. It also contains wrapper functions to encode/decode simple
length-delimited strings. This library aims to be:
- FAST;
- easy to use;
- elegant.

On x86, the library does runtime feature detection. The first time it's called,
the library will determine the appropriate encoding/decoding routines for the
machine. It then remembers them for the lifetime of the program. If your
processor supports AVX2, SSSE3, SSE4.1, SSE4.2 or AVX instructions, the library
will pick an optimized codec that lets it encode/decode 12 or 24 bytes at a
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1