diff options
author | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-06-05 17:29:15 +0000 |
---|---|---|
committer | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-06-05 17:29:15 +0000 |
commit | 63986103a68caf5cb83e39a817800ed03e4eb9c9 (patch) | |
tree | d4b2a045110bdffddf4a1e98c3bd294d38253179 /usr.sbin/ldapd | |
parent | cd2c4a9ed3b932a362d3f9008bbf244ec5b977d6 (diff) |
Install a default ldapd.conf, and standard schema files in /etc/ldap.
ok deraadt@
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r-- | usr.sbin/ldapd/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/ldapd/Makefile b/usr.sbin/ldapd/Makefile index 8dc73af5278..519c6648ded 100644 --- a/usr.sbin/ldapd/Makefile +++ b/usr.sbin/ldapd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2010/05/31 17:47:12 martinh Exp $ +# $OpenBSD: Makefile,v 1.3 2010/06/05 17:29:14 martinh Exp $ PROG= ldapd MAN= ldapd.8 ldapd.conf.5 @@ -17,5 +17,14 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare CLEANFILES+= y.tab.h parse.c +SCHEMA_FILES= core.schema \ + inetorgperson.schema \ + nis.schema + +distribution: + for i in ${SCHEMA_FILES}; do \ + ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/schema/$$i ${DESTDIR}/etc/ldap/; \ + done + .include <bsd.prog.mk> |