./pkgtools/libnbcompat, Portable NetBSD compatibility library

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


Branch: CURRENT, Version: 20251029, Package name: libnbcompat-20251029, Maintainer: pkgsrc-users

libnbcompat is a portable NetBSD compatibility library for use by
the pkgsrc tools and other sources from NetBSD (and elsewhere).

It is also helpful for providing definitions and functions missing from
other Unix platforms.


Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2025-10-29 16:39:26 by Nia Alarie | Files touched by this commit (30)
Log message:
libnbcompat: Update to 20251029

This is the result of porting libnbcompat to Sortix, a hobby operating
system. Sortix is a relatively clean "legacy-free" POSIX implementation,
so the port revealed lots of historical Unix warts and BSDisms in
libnbcompat. These included:

- gratuitous use of <sys/param.h>, which is probably mostly unnecessary
  and cargo-culted (but libnbcompat is supposed to implement the header
  anyway, so use its internal copy)
- BSDisms: frequent use of u_int, u_long, caddr_t types
- other portability problems: for some reason, only defining MAXPATHLEN
  if missing on SCO

Verified to compile on a whole heap of platforms, see README for gory
details...
   2025-07-01 13:28:52 by Jonathan Perkin | Files touched by this commit (1)
Log message:
libnbcompat: illumos does not have chflags() either.

Fixes GCC 14 build.
   2025-03-05 12:54:24 by Nia Alarie | Files touched by this commit (9)
Log message:
libnbcompat: Update to 20250303

Avoid duplicating a variable name from libc, found on UnixWare 7.

Build verified on FreeBSD, OpenBSD, NetBSD, macOS, OmniOS, Linux
by drecklypkg ci.
   2025-02-18 22:55:12 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remover unused file. Part of

libnbcompat: Convert to a proper package.

Building this inline meant an excessive number of copies were built
during bootstrap, one for every package that required it.  Now only
one package is built, significantly reducing bootstrap time.

From Jonathan Perkin <[email protected]>
via drecklypkg commit b671d8cd0be775fe2245d1cb5ba402f17ae95e94
   2025-02-18 14:06:29 by Thomas Klausner | Files touched by this commit (5)
Log message:
libnbcompat: Convert to a proper package.

Building this inline meant an excessive number of copies were built
during bootstrap, one for every package that required it.  Now only
one package is built, significantly reducing bootstrap time.

From Jonathan Perkin <[email protected]>
via drecklypkg commit b671d8cd0be775fe2245d1cb5ba402f17ae95e94
   2024-08-05 13:29:54 by Tobias Nygren | Files touched by this commit (2) | Package updated
Log message:
libnbcompat: bump version and update list of tested platforms
   2024-08-05 13:17:22 by Tobias Nygren | Files touched by this commit (1)
Log message:
nbcompat/pwd.h: add prototypes for pwcache_userdb/groupdb
   2024-08-05 13:07:20 by Tobias Nygren | Files touched by this commit (1)
Log message:
libnbcompat: properly set errno in previous

This is not a syscall handler ...