Accepting request 359311 from home:jengelh:branches:devel:tools
- Editorial fixes to the description - Use %_smp_mflags for parallel build instead OBS-URL: https://build.opensuse.org/request/show/359311 OBS-URL: https://build.opensuse.org/package/show/devel:tools/nss_wrapper?expand=0&rev=13
This commit is contained in:
parent
974f66eaf4
commit
396842b16f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 14 10:51:29 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Editorial fixes to the description
|
||||
- Use %_smp_mflags for parallel build instead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 08:34:11 UTC 2016 - asn@cryptomilk.org
|
||||
|
||||
|
@ -43,26 +43,26 @@ Requires: cmake
|
||||
Requires: pkg-config
|
||||
|
||||
%description
|
||||
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
|
||||
There are projects which provide daemons that need 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 files. With nss_wrapper, it is possible to define
|
||||
your own passwd and groups files 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
|
||||
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.
|
||||
|
||||
To use it set the following environment variables:
|
||||
To use it, set the following environment variables:
|
||||
|
||||
LD_PRELOAD=libuid_wrapper.so
|
||||
NSS_WRAPPER_PASSWD=/path/to/passwd
|
||||
NSS_WRAPPER_GROUP=/path/to/group
|
||||
NSS_WRAPPER_HOSTS=/path/to/host
|
||||
|
||||
This package doesn't have a devel package cause this project is for
|
||||
This package does not have a devel package, because this project is for
|
||||
development/testing.
|
||||
|
||||
%prep
|
||||
@ -72,7 +72,7 @@ development/testing.
|
||||
%cmake \
|
||||
-DUNIT_TESTING=ON
|
||||
|
||||
make %{?jobs:-j%jobs} VERBOSE=1
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
Loading…
Reference in New Issue
Block a user