diff options
Diffstat (limited to 'secure/libexec')
-rw-r--r-- | secure/libexec/Makefile | 10 | ||||
-rw-r--r-- | secure/libexec/Makefile.inc | 5 | ||||
-rw-r--r-- | secure/libexec/sftp-server/Makefile | 15 | ||||
-rw-r--r-- | secure/libexec/ssh-keysign/Makefile | 18 |
4 files changed, 48 insertions, 0 deletions
diff --git a/secure/libexec/Makefile b/secure/libexec/Makefile new file mode 100644 index 0000000..1c3ee01 --- /dev/null +++ b/secure/libexec/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +SUBDIR= +.if ${MK_OPENSSH} != "no" +SUBDIR+=sftp-server ssh-keysign +.endif + +.include <bsd.subdir.mk> diff --git a/secure/libexec/Makefile.inc b/secure/libexec/Makefile.inc new file mode 100644 index 0000000..6d620e2 --- /dev/null +++ b/secure/libexec/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +BINDIR?= /usr/libexec + +.include "../Makefile.inc" diff --git a/secure/libexec/sftp-server/Makefile b/secure/libexec/sftp-server/Makefile new file mode 100644 index 0000000..22ce649 --- /dev/null +++ b/secure/libexec/sftp-server/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PROG= sftp-server +SRCS= sftp-server.c sftp-common.c sftp-server-main.c +MAN= sftp-server.8 +CFLAGS+=-I${SSHDIR} -include ssh_namespace.h + +DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} +LDADD= -lssh -lcrypt -lcrypto -lz + +.include <bsd.prog.mk> + +.PATH: ${SSHDIR} + +${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h diff --git a/secure/libexec/ssh-keysign/Makefile b/secure/libexec/ssh-keysign/Makefile new file mode 100644 index 0000000..6018b94 --- /dev/null +++ b/secure/libexec/ssh-keysign/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PROG= ssh-keysign +SRCS= ssh-keysign.c readconf.c +MAN= ssh-keysign.8 +CFLAGS+=-I${SSHDIR} -include ssh_namespace.h +.if defined(ENABLE_SUID_SSH) +BINMODE=4511 +.endif + +DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} +LDADD= -lssh -lcrypt -lcrypto -lz + +.include <bsd.prog.mk> + +.PATH: ${SSHDIR} + +${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h |