./devel/libbsd, Compatibility library for BSD functions under other systems

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.12.2, Package name: libbsd-0.12.2, Maintainer: vins

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.


Master sites:

Filesize: 435.578 KB

Version history: (Expand)


CVS history: (Expand)


   2024-08-04 08:55:30 by Paolo Vincenzo Olivo | Files touched by this commit (3) | Package updated
Log message:
devel/libbsd: update to 0.12.2

# noteworthy changes
- Fix build on GNU/Hurd.
- Fix build on musl libc.
- Stop installing manual pages for system types.
- Add missing manual page links for errc module.
- Fix build system and test issues.
   2024-03-10 08:07:48 by Paolo Vincenzo Olivo | Files touched by this commit (3)
Log message:
devel/libbsd: PLIST fixes to allow install on SunOS
   2024-03-05 20:44:36 by Paolo Vincenzo Olivo | Files touched by this commit (3) | Package updated
Log message:
devel/libbsd: update to 0.12.1

# Noteworthy changes (since 0.11.8)

- Fix missing installation of err.h. Closes: #1064909
- Support for Solaris, macOS and AIX (now build and pass tests).
- Improve ABI selection handling for a more controlled ports
  ABI.
- Use -isystem instead of -I due the overlay via #include_next usage.
- Sync strtoi()/strtou() implementations from NetBSD to get the new
  error handling behavior.
- Add explicit time32 and time64 support.
- Rework ABI selection logic.
- Add closefrom(), strlcpy() and strlcat() as superseded functions
- Manual pages, documentation and build system cleanups.
   2024-02-11 19:58:02 by Paolo Vincenzo Olivo | Files touched by this commit (3) | Package updated
Log message:
devel/libbsd: update to 0.11.8

# noteworthy changes (since 0.11.7)

- Portability fixes for Solaris, macOS and AIX [needs to be tested on
  pkgsrc, to see wether we can unbreak the package on these platforms]
- Build fixes for the modern C effort.
- Adjust declaration shadowing to match new glibc additions.
- Manual page sync to get rid of the last BSD-4-Clause
  license.
- Manual pages, documentation and build system
  cleanups.
   2023-08-29 18:25:59 by Paolo Vincenzo Olivo | Files touched by this commit (2)
Log message:
devel/libbsd: use TEST_TARGET instead of a dedicated make target.
   2023-07-03 12:56:55 by Paolo Vincenzo Olivo | Files touched by this commit (1) | Package updated
Log message:
devel/libbsd: revbump following libmd update.
   2022-12-19 18:15:34 by Paolo Vincenzo Olivo | Files touched by this commit (1)
Log message:
devel/libbsd: mark as broken on Darwin and SunOS.

SunOS (with particular regard to illumos) and macOS support native
analogues for most of the functions provided by libbsd.
As a result, libbsd failes to compile on these platforms, due to the
inherent incompatibility of parameters/arguments types in declaration
and definition of the same functions.
   2022-12-19 17:05:43 by Paolo Vincenzo Olivo | Files touched by this commit (6) | Package updated
Log message:
devel/libbsd: update to version 0.11.7

 # Changes (local):
 * Add new dependency on devel/libmd.
 * Rework buildlink file to use overly linking mode.
 * Add a test target for regression tests.
 * Update licese.
 * Fix bug with Makefile caused by lack of an implicit
   $(RM) variable in bmake.

# Changes (upstream):

* libbsd 0.11.7
  - Portability fixes for the Hurd.
  - Fix ELF support for big endian SH.
  - Sync the arc4random(3) implementation from OpenBSD.
  - Adjust declaration shadowing to match new glibc additions.
  - Manual pages and documentation cleanups.
  - Document non-overlay mode as discouraged, future releases might emit
    warnings when using it.

* libbsd 0.11.6
  - Build system and test suite fixes for musl.
  - Remove arc4random() support for OpenBSD.
  - LoongArch support for nlist().

* libbsd-0.11.5
  - Build system and test suite regression fixes.
  - Documentation on how to build the project.

* libbsd 0.11.4
  - Fix build on GNU/kFreeBSD due to missing linking against libmd.
  - Fix build with LTO.
  - Add link-time warnings to MD5 wrapper functions
  - Various build system fixes.
  - Various portability fixes.
  - Various documentation fixes.

* libbsd 0.11.3
  - Rework of the libmd wrapping code to not require users to explicitly
    link against libmd.
  - Switch libmd wrapper to use dlsym()
  - Various build system fixes.
  - Various portability fixes.

* libbsd 0.11.2
  - Update <sys/queue.h> from FreeBSD.
  - Import some closefrom() changes from sudo.
  - Make closefrom() use close_range() syscall on Linux when available.
  - Update libbsd(7) man page with updates in 0.11.0.

* libbsd 0.11.1
  - Export provided function strnvisx().
  - New recallocarray() and freezero() from OpenBSD.
  - New pwcache module from OpenBSD.
  - New timespec(3bsd) man page alias to timeval(3bsd).
  - New progname implementation for Windows.
  - New LIBBSD_VIS_OPENBSD selection macro.
  - Switch from embedded hashing function implementations to use libmd.
  - Various man pages cleanups.
  - Various portability fixes.
  - Various memory leak fixes.

* libbsd 0.10.0
  - Several security related fixes for nlist()
  - Fix for a leak in the vis family of functions.
  - Fix for a configure check to not unnecessarily link against librt.
  - General portability fixes for musl, uClibc, macOS and GNU/kFreeBSD.
  - New architectures support for nlist().
  - Switch the <err.h> *c() functions to be standalone and add err(),
    warn(), errx() and warnx() familiy of functions in case the system
    lacks them.
  - Several man page fixes.