Umbrellix Left politics, programming, and self-hosted Internet services: experiences, lessons and hope

unbindent

unbindent (etymology: Umbrellix patches to NetBsd INDENT) is a derivative of NetBSD indent which compiles on FreeBSD (which was easy to achieve), illumos and Void Linux.

We also plan to correct the FreeBSD and NetBSD non-crashproof behavior of this indent, where the original file is copied, and then emptied, rather than being moved and recreated, when doing an in-place indent.

Disclosure

This product includes software developed by the University of California, Berkeley and its contributors.

Utilities

This project contains only one utility. Its name, currently, is indent.

Dependencies

C99 compiler, POSIX-compliant system including POSIX-compliant Make, Standard File support, and a few other things. I haven’t tried this except on FreeBSD, illumos and Void Linux.

Obtaining

You can execute git clone https://git.umbrellix.net/unbindent.

Installation

This package is umbrellix.net/devel/unbindent under /pkg (and, for stable releases with a version number, host/umbrellix.net/devel/unbindent under /package, which we do not endorse). It does not install as a package - it must be installed manually. It’s “ready to run” after building with make indent, however, and should compile on most recent POSIX-compliant systems. If it doesn’t, that’s a bug - email the project mailing list (TODO: create an “umbxware” mailing list at lists.umbrellix.net).