ssh has moved
This commit is contained in:
parent
34af4cdada
commit
6a7d49166f
@ -1,37 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.17 2009/02/16 20:55:45 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= ssh
|
||||
SRCS= authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c \
|
||||
cipher.c cipher-3des1.c cipher-ctr.c cipher-ctr-mt.c cipher-bf1.c \
|
||||
cleanup.c compat.c compress.c crc32.c deattack.c dns.c fatal.c \
|
||||
hostfile.c log.c match.c md-sha256.c nchan.c packet.c readpass.c \
|
||||
rsa.c strtonum.c ttymodes.c xmalloc.c atomicio.c \
|
||||
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
||||
ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
||||
kexdhc.c kexgexc.c scard.c msg.c progressmeter.c \
|
||||
monitor_fdpass.c uidswap.c addrmatch.c
|
||||
# umac.c
|
||||
SRCS+= random.c
|
||||
SRCS+= readpassphrase.c getpeereid.c getrrsetbyname.c
|
||||
COPTS.monitor_fdpass.c = -Wno-stack-protector
|
||||
|
||||
WARNS= 1
|
||||
|
||||
SSHDIST= ${NETBSDSRCDIR}/crypto/dist/ssh
|
||||
CPPFLAGS+= -I${SSHDIST}
|
||||
.PATH: ${SSHDIST}
|
||||
|
||||
|
||||
LIBDPLIBS+= crypto ${.CURDIR}/../libcrypto \
|
||||
crypt ${.CURDIR}/../libcrypt \
|
||||
z ${.CURDIR}/../libz
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.for f in dns channels hostfile
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
@ -1,5 +0,0 @@
|
||||
# $NetBSD: shlib_version,v 1.14 2009/02/16 20:55:45 christos Exp $
|
||||
# Remember to update distrib/sets/lists/base/shl.* when changing
|
||||
#
|
||||
major=12
|
||||
minor=0
|
@ -1,18 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.21 2006/02/15 15:51:37 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh
|
||||
|
||||
SUBDIR= ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server \
|
||||
ssh-keysign ssh-keyscan sftp
|
||||
#SUBDIR+=scard
|
||||
|
||||
.PATH: ${SSHDIST}
|
||||
.MADE: moduli
|
||||
CONFIGFILES= ssh_config sshd_config moduli
|
||||
FILESDIR= /etc/ssh
|
||||
FILESDIR_moduli=/etc
|
||||
|
||||
.include <bsd.files.mk>
|
||||
.include <bsd.subdir.mk>
|
@ -1,39 +0,0 @@
|
||||
# $NetBSD: Makefile.inc,v 1.19 2009/04/14 22:15:26 lukem Exp $
|
||||
|
||||
WARNS?= 1 # XXX -Wshadow -Wcast-qual
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
USE_FORT?= yes # network client/server
|
||||
|
||||
SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh
|
||||
|
||||
CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY
|
||||
.PATH: ${SSHDIST}
|
||||
|
||||
LDADD+= -lssh -lcrypto -lcrypt -lz
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
|
||||
|
||||
.if (${USE_PAM} != "no")
|
||||
CPPFLAGS+=-DUSE_PAM
|
||||
.else # USE_PAM == no
|
||||
.if (${USE_SKEY} != "no")
|
||||
CPPFLAGS+=-DSKEY
|
||||
.endif
|
||||
.endif # USE_PAM == no
|
||||
|
||||
.if (${USE_KERBEROS} != "no")
|
||||
CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi
|
||||
CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5 -DHEIMDAL
|
||||
.endif
|
||||
|
||||
.if ${X11FLAVOUR} == "Xorg"
|
||||
CPPFLAGS+=-DX11BASE=\"/usr/X11R7\"
|
||||
.endif
|
||||
|
||||
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
|
||||
CPPFLAGS+=-DLIBWRAP
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
@ -1,6 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.4 2005/01/03 06:05:50 lukem Exp $
|
||||
|
||||
PROG= scp
|
||||
SRCS= scp.c
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,9 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.5 2008/04/06 23:39:35 christos Exp $
|
||||
|
||||
PROG= sftp-server
|
||||
SRCS= sftp-server.c sftp-common.c sftp-server-main.c
|
||||
MAN= sftp-server.8
|
||||
|
||||
BINDIR= /usr/libexec
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,16 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.12 2009/02/17 04:07:30 mrg Exp $
|
||||
|
||||
PROG= sftp
|
||||
SRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c misc.c fmt_scaled.c
|
||||
MAN= sftp.1
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
LDADD+= -ledit -ltermcap
|
||||
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
COPTS.sftp-client.c+= -Wno-pointer-sign
|
||||
.endif
|
@ -1,6 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.3 2005/01/03 06:05:50 lukem Exp $
|
||||
|
||||
PROG= ssh-add
|
||||
SRCS= ssh-add.c
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,6 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.3 2005/01/03 06:05:50 lukem Exp $
|
||||
|
||||
PROG= ssh-agent
|
||||
SRCS= ssh-agent.c
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,6 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.4 2005/02/13 06:07:21 christos Exp $
|
||||
|
||||
PROG= ssh-keygen
|
||||
SRCS= ssh-keygen.c moduli.c
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,7 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.5 2005/01/03 06:05:50 lukem Exp $
|
||||
|
||||
PROG= ssh-keyscan
|
||||
SRCS= ssh-keyscan.c
|
||||
MAN= ssh-keyscan.1
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,13 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.7 2005/01/03 06:05:51 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= ssh-keysign
|
||||
SRCS= ssh-keysign.c readconf.c
|
||||
MAN= ssh-keysign.8
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
BINDIR= /usr/libexec
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,32 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.30 2009/02/17 04:03:18 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= ssh
|
||||
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
||||
sshconnect.c sshconnect1.c sshconnect2.c mux.c
|
||||
|
||||
COPTS.sshconnect1.c= -fno-strict-aliasing
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
COPTS.sshconnect2.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
||||
MAN= ssh.1 ssh_config.5
|
||||
MLINKS= ssh.1 slogin.1
|
||||
|
||||
.if (${USE_KERBEROS} != "no")
|
||||
|
||||
# this is not entirely true, libgssapi might be independent of krb5
|
||||
SRCS += gss-genr.c
|
||||
LDADD+= -lgssapi -lheimntlm
|
||||
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM}
|
||||
|
||||
LDADD+= -lkrb5 -lhx509 -lkafs -lasn1 -lcrypt
|
||||
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
|
||||
|
||||
LDADD+= -lcom_err -lroken -lutil
|
||||
DPADD+= ${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,61 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.31 2008/04/10 15:05:24 tsutsui Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= sshd
|
||||
MAN= sshd.8 sshd_config.5 moduli.5
|
||||
|
||||
BINDIR= /usr/sbin
|
||||
|
||||
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
||||
sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
|
||||
auth.c auth1.c auth2.c auth-options.c session.c \
|
||||
auth-chall.c auth2-chall.c groupaccess.c \
|
||||
auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
|
||||
auth2-none.c auth2-passwd.c auth2-pubkey.c \
|
||||
monitor_mm.c monitor.c monitor_wrap.c \
|
||||
kexdhs.c kexgexs.c sftp-server.c sftp-common.c
|
||||
|
||||
.if (${USE_PAM} != "no")
|
||||
SRCS+= auth-pam.c
|
||||
LDADD+= -lpam ${PAM_STATIC_LDADD}
|
||||
DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
|
||||
|
||||
.if ${USE_YP} != "no"
|
||||
LDADD+= -lrpcsvc
|
||||
DPADD+= ${LIBRPCSVC}
|
||||
.endif
|
||||
|
||||
.else # USE_PAM == no
|
||||
|
||||
.if (${USE_SKEY} != "no")
|
||||
LDADD+= -lskey
|
||||
DPADD+= ${LIBSKEY}
|
||||
.endif
|
||||
|
||||
.endif # USE_PAM == no
|
||||
|
||||
.if (${USE_KERBEROS} != "no")
|
||||
|
||||
SRCS += gss-genr.c auth2-gss.c gss-serv.c gss-serv-krb5.c
|
||||
LDADD+= -lgssapi -lheimntlm
|
||||
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM}
|
||||
|
||||
LDADD+= -lkafs
|
||||
DPADD+= ${LIBKAFS}
|
||||
|
||||
SRCS+= auth-krb5.c auth2-krb5.c
|
||||
LDADD+= -lkrb5 -lasn1
|
||||
DPADD+= ${LIBKRB5} ${LIBASN1}
|
||||
|
||||
LDADD+= -lcom_err -lroken
|
||||
DPADD+= ${LIBCOM_ERR} ${LIBROKEN}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
LDADD+= -lcrypt -lutil
|
||||
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
||||
|
||||
LDADD+= -lwrap
|
||||
DPADD+= ${LIBWRAP}
|
Loading…
Reference in New Issue
Block a user