[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / ldap

File: [local] / src / usr.bin / ldap / Makefile (download)

Revision 1.1.1.1 (vendor branch), Wed Jun 13 15:45:57 2018 UTC (5 years, 11 months ago) by reyk
Branch: reyk
CVS Tags: ldap_20180613, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.1: +0 -0 lines

Import ldap(1), a simple ldap search client.

We have an ldapd(8) server and ypldap in base, so it makes sense to
have a simple LDAP client without depending on the OpenLDAP package.
This tool can be used in an ssh(1) AuthorizedKeysCommand script.

With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@

OK deraadt@

PROG=		ldap
SRCS=		ldapclient.c aldap.c ber.c log.c
LDADD+=		-levent -ltls -lssl -lcrypto -lutil
DPADD+=		${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}

CFLAGS+=	-Wall
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith
CFLAGS+=	-Wsign-compare -Wcast-qual

.include <bsd.prog.mk>