From a651b056f9af4d848fbf5081a81e873a6facec95 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 5 Jul 2002 08:39:09 +0000 Subject: ssh-keysign(8) belongs in /usr/libexec, not in /usr/bin, and needs to be setuid so ssh(1) doesn't have to be. Pointy hat to: des Submitted by: Katsuyuki TATEISHI --- secure/libexec/Makefile | 2 +- secure/libexec/ssh-keysign/Makefile | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 secure/libexec/ssh-keysign/Makefile (limited to 'secure/libexec') diff --git a/secure/libexec/Makefile b/secure/libexec/Makefile index cd8405b..dba0331 100644 --- a/secure/libexec/Makefile +++ b/secure/libexec/Makefile @@ -4,7 +4,7 @@ SUBDIR= telnetd .endif .if !defined(NO_OPENSSL) && !defined(NO_OPENSSH) -SUBDIR+=sftp-server +SUBDIR+=sftp-server ssh-keysign .endif .include diff --git a/secure/libexec/ssh-keysign/Makefile b/secure/libexec/ssh-keysign/Makefile new file mode 100644 index 0000000..7a21e59 --- /dev/null +++ b/secure/libexec/ssh-keysign/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PROG= ssh-keysign +MAN= ssh-keysign.8 +CFLAGS+=-I${SSHDIR} +.if defined(ENABLE_SUID_SSH) +BINMODE=4511 +.endif + +DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ} +LDADD= -lssh -lcrypto -lz + +.include + +.PATH: ${SSHDIR} -- cgit v1.1