clens
« Back to VersTracker
Description:
Library to help port code from OpenBSD to other operating systems
Type: Formula  |  Latest Version: 0.7.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: portability bsd c-library cross-platform system
Install: brew install clens
About:
clens is a lightweight C library designed to facilitate porting software from OpenBSD to other operating systems like Linux and FreeBSD. It provides implementations of OpenBSD-specific functions and utilities that are not available in standard C libraries. This allows developers to maintain code compatibility across different BSD and non-BSD platforms with minimal changes.
Key Features:
  • Provides OpenBSD-specific functions for cross-platform compatibility
  • Lightweight C library with minimal dependencies
  • Simplifies porting OpenBSD software to Linux and other systems
  • Includes utilities for string manipulation and system calls
Use Cases:
  • Porting OpenBSD-specific applications to Linux environments
  • Maintaining cross-platform compatibility for BSD-derived software
  • Developing applications that need to support multiple Unix-like systems
Alternatives:
  • libbsd – libbsd provides similar BSD compatibility functions but is more comprehensive and actively maintained; clens is more focused on OpenBSD-specific porting needs
  • portablebsd – A broader BSD portability layer that includes more components; clens is smaller and more targeted
License: ISC
Dependencies: libbsd
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 8:56pm 0 VERSION_BUMP 5baae22b