# devel/nss_wrapper - The NetBSD Packages Collection

LD_PRELOAD wrapper for the user, group and hosts NSS API

    There are projects which provide daemons needing to be able to create,
    modify and delete Unix users.  Or just switch user ids to interact with
    the system e.g. a user space file server.  To be able to test that you
    need the privilege to modify the passwd and groups file.  With
    nss_wrapper it is possible to define your own passwd and groups file
    which will be used by software to act correctly while under test.

    If you have a client and server under test they normally use functions
    to resolve network names to addresses (dns) or vice versa.  The
    nss_wrappers allow you to create a hosts file to setup name resolution
    for the addresses you use with socket_wrapper.

    - Provides information for user and group accounts.
    - Network name resolution using a hosts file.
    - Loading and testing of NSS modules.

- Source version: `nss_wrapper-1.1.16`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://cwrap.org/nss_wrapper.html
- License: modified-bsd
- Package history: cvs, hg, git

## Build dependencies

devel/cmocka devel/cmocka devel/cmake pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

lang/perl5

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | alpha | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | earmv6hf | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | earmv7hf | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | i386 | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | powerpc | nss_wrapper-1.1.16.tgz
NetBSD 10.0 | x86_64 | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | aarch64 | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | aarch64eb | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | earmv6hf | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | earmv7hf | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | i386 | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | riscv64 | nss_wrapper-1.1.16.tgz
NetBSD 11.0 | x86_64 | nss_wrapper-1.1.16.tgz
NetBSD 9.0 | aarch64 | nss_wrapper-1.1.16.tgz
NetBSD 9.0 | earmv6hf | nss_wrapper-1.1.16.tgz
NetBSD 9.0 | earmv7hf | nss_wrapper-1.1.16.tgz
NetBSD 9.0 | i386 | nss_wrapper-1.1.16.tgz
NetBSD 9.0 | x86_64 | nss_wrapper-1.1.16.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.