5 .PATH
: ${.CURDIR
}/..
/..
/crypto
/openssh
7 # SRCS built from /usr/src/crypto/openssh/Makefile.inc,
13 # ssh-sk-client.c is used by sshkey.c from LIBOPENSSH_OBJS and had
14 # to be included in libssh in order for initrd rescue to build.
20 sshbuf-getput-basic.c \
22 sshbuf-getput-crypto.c \
35 canohost.c channels.c cipher.c cipher-aes.c cipher-aesctr.c \
37 compat.c fatal.c hostfile.c \
38 log.c match.c moduli.c nchan.c packet.c \
39 readpass.c ttymodes.c xmalloc.c addr.c addrmatch.c \
40 atomicio.c dispatch.c mac.c misc.c utf8.c \
41 monitor_fdpass.c rijndael.c ssh-dss.c ssh-ecdsa.c ssh-ecdsa-sk.c \
42 ssh-ed25519-sk.c ssh-rsa.c dh.c \
43 msg.c progressmeter.c dns.c entropy.c gss-genr.c umac.c umac128.c \
44 ssh-pkcs11.c smult_curve25519_ref.c \
45 poly1305.c chacha.c cipher-chachapoly.c cipher-chachapoly-libcrypto.c \
46 ssh-ed25519.c digest-openssl.c digest-libc.c \
47 hmac.c ed25519.c hash.c \
48 kex.c kex-names.c kexdh.c kexgex.c kexecdh.c kexc25519.c \
50 kexsntrup761x25519.c sntrup761.c kexgen.c \
51 sftp-realpath.c platform-pledge.c platform-tracing.c platform-misc.c \
56 # not implemented: platform-pledge.c platform-tracing.c
57 # only for scp/sftp: progressmeter.c
58 # disabled: ssh-pkcs11.c
59 # no GSSAPI: gss-genr.c
60 # no openssl: cipher-aes.c cipher-aesctr.c cipher-ctr.c crc32.c digest-libc.c rijndael.c
61 # no xmss: ssh-xmss.c sshkey-xmss.c xmss_commons.c xmss_fast.c xmss_hash.c
62 # xmss_hash_address.c xmss_wots.c
65 .PATH
: ${.CURDIR
}/openbsd-compat
66 SRCS
+= bcrypt_pbkdf.c blowfish.c bsd-misc.c bsd-signal.c fmt_scaled.c \
67 getrrsetbyname-ldns.c glob.c openssl-compat.c port-net.c xcrypt.c
70 # arc4random.c base64.c basename.c bindresvport.c bsd-asprintf.c
71 # bsd-closefrom.c bsd-cygwin_util.c bsd-err.c bsd-flock.c bsd-getline.c
72 # bsd-getpagesize.c bsd-getpeereid.c bsd-malloc.c bsd-nextstep.c bsd-openpty.c
73 # bsd-poll.c bsd-setres_id.c bsd-snprintf.c bsd-statvfs.c bsd-waitpid.c
74 # daemon.c dirname.c explicit_bzero.c fake-rfc2553.c freezero.c getcwd.c
75 # getgrouplist.c getopt_long.c inet_aton.c inet_ntoa.c inet_ntop.c
76 # kludge-fd_set.c libressl-api-compat.c md5.c mktemp.c
77 # port-aix.c port-irix.c port-linux.c port-solaris.c port-uw.c
78 # pwcache.c readpassphrase.c reallocarray.c recallocarray.c rmd160.c
79 # rresvport.c setenv.c setproctitle.c sha1.c sha2.c sigact.c
80 # strcasestr.c strlcat.c strlcpy.c strmode.c strndup.c strnlen.c strptime.c
81 # strsep.c strtoll.c strtonum.c strtoul.c strtoull.c timingsafe_bcmp.c vis.c
88 CFLAGS
+= -I
${.CURDIR
} -I
${.CURDIR
}/..
/..
/crypto
/openssh
89 CFLAGS
+= -I
${.CURDIR
}/..
/..
/crypto
/libressl
/include
90 CFLAGS
+= -I
${.CURDIR
}/..
/..
/contrib
/ldns
91 CFLAGS
+= -I
${.CURDIR
}/..
/libldns
92 DPADD
= ${LIBCRYPTO} ${LIBLDNS} ${LIBUTIL} ${LIBZ}
93 LDADD
= -lprivate_crypto
-lprivate_ldns
-lutil
-lz
94 LDFLAGS
+= -rpath
/usr
/lib
/priv
${PRIVATELIB_LDFLAGS}