Go to file
Guillem Jover b6ccd03201 build: Add a comment to libbsd-overlay.pc about -isystem usage
Add the reasoning for why we use -isystem instead of -I, to avoid
confusing unsuspecting readers of the file.

Prompted-by: Alejandro Colomar <alx@kernel.org>
2024-02-28 04:44:02 +01:00
include build: Install err.h if either of the err or errc modules are built 2024-02-28 04:37:44 +01:00
m4 Add explicit time32 and time64 support 2024-02-27 05:47:50 +01:00
man build: Make almost all exposed interfaces use the new ABI selection 2024-02-25 03:50:40 +01:00
src build: Add a comment to libbsd-overlay.pc about -isystem usage 2024-02-28 04:44:02 +01:00
test Add explicit time32 and time64 support 2024-02-27 05:47:50 +01:00
.gitignore build: Generate the map file from the configured ABI 2024-02-18 13:54:13 +01:00
.gitlab-ci.yml build: Check out-of-tree builds in CI 2024-01-07 20:21:08 +01:00
autogen build: Switch to autotools 2012-05-29 04:35:55 +02:00
configure.ac build: Install err.h if either of the err or errc modules are built 2024-02-28 04:37:44 +01:00
COPYING Add vasprintf() and asprintf() functions missing on AIX 2024-02-25 04:18:51 +01:00
get-version build: Switch to autotools 2012-05-29 04:35:55 +02:00
Makefile.am build: Terminate lists in variables with «# EOL» 2022-11-23 23:44:09 +01:00
README doc: Add missing empty line to separate README sections 2022-10-04 04:29:37 +02:00
TODO man: Replace references to a.out(5) with elf(5) 2019-08-08 03:22:09 +02:00

libbsd - Utility functions from BSD systems

This library provides useful functions commonly found on BSD systems,
and lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same
code over and over again on each project.

A BSD compatible message-digest library is required, on systems where
this is not provided by its libc or libmd libraries, the canonical
implementation to use is <https://www.hadrons.org/software/libmd/>.


Releases
--------

  <https://libbsd.freedesktop.org/releases/>


Mailing List
------------

The subscription interface and web archives can be found at:

  <https://lists.freedesktop.org/mailman/listinfo/libbsd>

The mail address is:

  libbsd@lists.freedesktop.org


Source Repository
-----------------

The primary repository can be browsed at:

  <https://cgit.freedesktop.org/libbsd>

and cloned from:

  <https://anongit.freedesktop.org/git/libbsd>


Building from git source
------------------------

To prepare the libbsd source tree from git before starting the build process
some required software needs to be installed:

  GNU autoconf >= 2.67
  GNU automake >= 1.9
  GNU libtool >= 2.0

After installing the needed software, and running the following command on
the git tree:

  $ ./autogen

the source should be roughly equivalent to the distributed tar source.


Building from tar source
------------------------

The minimum software required to configure and build dpkg from a tarball is:

  C89 compiler
  make

The following software might be required depending on the system:

  libmd (whenever the libc does not provide the needed digest functions)

The build process is done by running the usual «./configure; make». To
see all available configuration options please run «./configure --help».