• Show log

    Commit

  • Hash : e0976d7e
    Author : Guillem Jover
    Date : 2023-04-02T22:33:25

    build: Add a new libbsd_strong_alias() macro and switch users to it
    
    We had several cases of code needing a strong alias, so we switch those
    to use the new macro. This covers systems that support the alias
    attribute and others such as macOS where we need to use assembler
    directives to add the alias as the attribute is not supported.
    

  • README

  • 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».