mirror of
https://github.com/opnsense/src.git
synced 2026-03-19 09:13:43 -04:00
Commit 9d63429fa1 ("ssh: move common Makefile boilerplate to a new
ssh.mk") introduced ssh.mk for common OpenSSH paths and flags, as part
of enabling FIDO/U2F. Move duplicated MK_LDNS and MK_TCP_WRAPPERS
handling there.
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31896
(cherry picked from commit d71e7e57fc1472e3ea6d31c44e187c2819d2c71e)
17 lines
292 B
Makefile
17 lines
292 B
Makefile
|
|
.include <src.opts.mk>
|
|
.include "${SRCTOP}/secure/ssh.mk"
|
|
|
|
PROG= ssh-agent
|
|
SRCS= ssh-agent.c ssh-pkcs11-client.c
|
|
PACKAGE= ssh
|
|
|
|
LIBADD= crypto ssh
|
|
|
|
.if defined(LOCALBASE)
|
|
CFLAGS+= -DDEFAULT_PKCS11_WHITELIST='"/usr/lib*/*,${LOCALBASE}/lib*/*"'
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SSHDIR}
|