diff options
Diffstat (limited to 'devel/nss_wrapper')
-rw-r--r-- | devel/nss_wrapper/Makefile | 45 | ||||
-rw-r--r-- | devel/nss_wrapper/pkg-descr | 20 | ||||
-rw-r--r-- | devel/nss_wrapper/pkg-plist | 8 |
3 files changed, 35 insertions, 38 deletions
diff --git a/devel/nss_wrapper/Makefile b/devel/nss_wrapper/Makefile index 68ef1b3a2638..94d6f7e6ec16 100644 --- a/devel/nss_wrapper/Makefile +++ b/devel/nss_wrapper/Makefile @@ -1,35 +1,26 @@ -PORTNAME= nss_wrapper -PORTVERSION= 1.1.3 -PORTREVISION= 3 -CATEGORIES= devel -MASTER_SITES= SAMBA/cwrap +PORTNAME= nss_wrapper +PORTVERSION= 1.1.3 +PORTREVISION= 3 +CATEGORIES= devel +MASTER_SITES= SAMBA/cwrap -MAINTAINER= timur@FreeBSD.org -COMMENT= Wrapper for the user, group and hosts NSS API -WWW= https://cwrap.org/nss_wrapper.html +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Wrapper for the user, group and hosts NSS API +WWW= https://cwrap.org/nss_wrapper.html \ + https://git.samba.org/?p=nss_wrapper.git -LICENSE= GPLv3 +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake compiler:c++11-lang perl5 shebangfix -USE_PERL5= run -USE_LDCONFIG= yes +TEST_DEPENDS= cmocka>=1.1.1:sysutils/cmocka -OPTIONS_DEFINE= TEST -OPTIONS_DEFAULT= TEST +USES= cmake:testing pathfix perl5 shebangfix +USE_PERL5= run -TEST_TEST_TARGET= test -TEST_CMAKE_BOOL= UNIT_TESTING -TEST_BUILD_DEPENDS= cmocka>=1.1.1:sysutils/cmocka +CMAKE_OFF= UNIT_TESTING +CMAKE_TESTING_ON= UNIT_TESTING +USE_LDCONFIG= yes -SHEBANG_FILES= nss_wrapper.pl - -PLIST_FILES= bin/nss_wrapper.pl \ - libdata/pkgconfig/nss_wrapper.pc \ - lib/cmake/nss_wrapper/nss_wrapper-config-version.cmake \ - lib/cmake/nss_wrapper/nss_wrapper-config.cmake \ - lib/libnss_wrapper.so.0.2.3 \ - lib/libnss_wrapper.so.0 \ - lib/libnss_wrapper.so \ - share/man/man1/nss_wrapper.1.gz +SHEBANG_FILES= nss_wrapper.pl .include <bsd.port.mk> diff --git a/devel/nss_wrapper/pkg-descr b/devel/nss_wrapper/pkg-descr index 582df85f94d5..838830875c47 100644 --- a/devel/nss_wrapper/pkg-descr +++ b/devel/nss_wrapper/pkg-descr @@ -1,15 +1,13 @@ -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. +There are projects that need to be able to create, modify, and delete Unix +users. Others just switch user IDs to interact with the system on behalf of +another user (e.g. a user space file server). To be able to test applications +like these, you need to grant privileges to modify the passwd and group files. +With nss_wrapper it is possible to define your own passwd and group files to be +used the software while it is under test. The nss_wrapper also allows you to +create a hosts file to set up name resolution for the addresses you use with +socket_wrapper. +Features: - Provides information for user and group accounts. - Network name resolution using a hosts file. - Loading and testing of NSS modules. diff --git a/devel/nss_wrapper/pkg-plist b/devel/nss_wrapper/pkg-plist new file mode 100644 index 000000000000..c13ab104be54 --- /dev/null +++ b/devel/nss_wrapper/pkg-plist @@ -0,0 +1,8 @@ +bin/nss_wrapper.pl +lib/cmake/nss_wrapper/nss_wrapper-config-version.cmake +lib/cmake/nss_wrapper/nss_wrapper-config.cmake +lib/libnss_wrapper.so +lib/libnss_wrapper.so.0 +lib/libnss_wrapper.so.0.2.3 +libdata/pkgconfig/nss_wrapper.pc +share/man/man1/nss_wrapper.1.gz |