View | Details | Raw Unified | Return to bug 247211 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/nss_ndb/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1591988935
2
SHA256 (ptrrkssn-nss_ndb-v1.0.22_GH0.tar.gz) = 2a3693ca9d825b77d72a9fb33450dcbc5cb48791e4464da1eac683d5c0d37b17
3
SIZE (ptrrkssn-nss_ndb-v1.0.22_GH0.tar.gz) = 85000
(-)sysutils/nss_ndb/Makefile (+56 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	nss_ndb
4
DISTVERSIONPREFIX=v
5
DISTVERSION=	1.0.22
6
CATEGORIES=	sysutils security
7
8
MAINTAINER=	pen@lysator.liu.se
9
COMMENT=	DB-based nsswitch backend for passwd & groups
10
11
LICENSE=	BSD3CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
OPTIONS_DEFINE=	CFG VAR REALM WRKGRP
15
16
OPTIONS_RADIO=	BDB
17
OPTIONS_RADIO_BDB=	DB6 DB5 DB4
18
19
CFG_DESC=	Enable configuration file
20
CFG_CONFIGURE_ON=	--with-config-file
21
22
VAR_DESC=	Enable configuration variable
23
VAR_CONFIGURE_ON=	--with-config-var
24
25
REALM_DESC=	Enable realm stripping
26
REALM_CONFIGURE_ON=	--with-realm
27
28
WRKGRP_DESC=	Enable workgroup stripping
29
WRKGRP_CONFIGURE_ON=	--with-workgroup
30
31
DB6_DESC=	Build with Berkeley DB v6 library
32
DB6_LIB_DEPENDS=	libdb-6.so:databases/db6
33
DB6_CPPFLAGS+=	-I${LOCALBASE}/include
34
DB6_LDFLAGS+=	-L${LOCALBASE}/lib -R${LOCALBASE}/lib
35
DB6_CONFIGURE_ON=	--with-db=6
36
37
DB5_DESC=	Build with Berkeley DB v5 library
38
DB5_LIB_DEPENDS=	libdb-5.so:databases/db5
39
DB5_CPPFLAGS+=	-I${LOCALBASE}/include
40
DB5_LDFLAGS+=	-L${LOCALBASE}/lib -R${LOCALBASE}/lib
41
DB5_CONFIGURE_ON=	--with-db=5
42
43
DB4_DESC=	Build with Berkeley DB v4.8 library
44
DB4_LIB_DEPENDS=	libdb-4.8.so:databases/db48
45
DB4_CPPFLAGS+=	-I${LOCALBASE}/include
46
DB4_LDFLAGS+=	-L${LOCALBASE}/lib -R${LOCALBASE}/lib
47
DB4_CONFIGURE_ON=	--with-db=4
48
49
USE_GITHUB=	yes
50
GH_ACCOUNT=	ptrrkssn
51
52
GNU_CONFIGURE=	yes
53
54
PLIST_FILES=	lib/nss_ndb.so.1.0.22 bin/makendb
55
56
.include <bsd.port.mk>
(-)sysutils/nss_ndb/pkg-descr (+22 lines)
Line 0 Link Here
1
This project consists of a NSS module (nss_ndb.so.1) and a CLI
2
utility (makendb) that enables big passwd & group files to be
3
handled efficiently via BTree BerkeleyDB databases.
4
5
To activate and use this you must (after installation):
6
7
1. Manually add a symbolic link:
8
9
   /usr/lib/nss_ndb.so.1 -> /path/to/lib/nss_ndb.so.1.<version>
10
11
2. Populate the databases in /var/db/nss_ndb via "makendb" (or some
12
   other tool).
13
14
3. Activate it in /etc/nsswitch.conf:
15
16
   passwd: files ndb
17
   group:  files ndb
18
19
WWW: https://github.com/ptrrkssn/nss_ndb
20
21
- Peter Eriksson
22
pen@lysator.liu.se

Return to bug 247211