Go to file
Guillem Jover eef07993c9 Revert "build: Add missing proctitle unit test program"
This reverts commit beafad2657.

This test was already handled later on as part of the BUILD_LIBBSD_CTOR
conditional. Adding it to the unconditional set made the build fail when
the system does not have GNU .init_array section support.

Closes: #9
Analysis-by: Duncan Overbruck <mail@duncano.de>
2022-01-25 01:41:14 +01:00
include Use uintptr_t and size_t instead of __-prefixed types in <sys/cdefs.h> 2021-02-09 06:23:27 +01:00
m4 build: Add compiler warnings support 2021-11-27 05:06:14 +01:00
man man: Add missing comma in .Dd for tree(3) 2021-12-02 00:35:40 +01:00
src build: Respect $(OBJDUMP) 2022-01-23 18:42:01 +01:00
test Revert "build: Add missing proctitle unit test program" 2022-01-25 01:41:14 +01:00
.gitignore Switch md5 compatibility logic back to direct linking 2021-12-01 04:14:35 +01:00
.gitlab-ci.yml build: Add code coverage support in the GitLab CI 2021-02-28 05:28:49 +01:00
autogen build: Switch to autotools 2012-05-29 04:35:55 +02:00
configure.ac build: Check for objdump explicitly 2022-01-23 20:52:26 +01:00
COPYING man: Update tree(3) man page from OpenBSD 2021-12-01 04:17:11 +01:00
get-version build: Switch to autotools 2012-05-29 04:35:55 +02:00
Makefile.am build: Make git log invocation immune to local configuration 2015-11-30 23:02:23 +01:00
README Document how to build from git and from a tarball release 2022-01-23 21:09:05 +01: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 master 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».