diff options
Diffstat (limited to 'extra/sftp')
-rwxr-xr-x | extra/sftp/build | 29 | ||||
l--------- | extra/sftp/checksums | 1 | ||||
-rw-r--r-- | extra/sftp/depends | 5 | ||||
l--------- | extra/sftp/files | 1 | ||||
l--------- | extra/sftp/sources | 1 | ||||
l--------- | extra/sftp/version | 1 |
6 files changed, 38 insertions, 0 deletions
diff --git a/extra/sftp/build b/extra/sftp/build new file mode 100755 index 00000000..d2a9aa39 --- /dev/null +++ b/extra/sftp/build @@ -0,0 +1,29 @@ +#!/bin/sh -e + +# Standalone sftp client crashes without +# libedit, so it is mandatory. + +./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --datadir=/usr/share/openssh \ + --sysconfdir=/etc/ssh \ + --without-selinux \ + --with-privsep-user=nobody \ + --with-mantype=doc \ + --without-rpath \ + --disable-strip \ + --with-ssl-engine \ + --with-pid-dir=/run \ + --disable-wtmp \ + --disable-utmp \ + --with-libedit \ + +make sftp sftp-server + +mkdir -p "$1/usr/bin" "$1/usr/libexec" + +cp sftp "$1/usr/bin" +cp sftp-server "$1/usr/libexec" + +chmod 755 "$1/usr/bin/sftp" "$1/usr/libexec/sftp-server" diff --git a/extra/sftp/checksums b/extra/sftp/checksums new file mode 120000 index 00000000..d249955b --- /dev/null +++ b/extra/sftp/checksums @@ -0,0 +1 @@ +../../community/openssh/checksums
\ No newline at end of file diff --git a/extra/sftp/depends b/extra/sftp/depends new file mode 100644 index 00000000..d9675ded --- /dev/null +++ b/extra/sftp/depends @@ -0,0 +1,5 @@ +dropbear +libedit +libressl +ncurses +zlib diff --git a/extra/sftp/files b/extra/sftp/files new file mode 120000 index 00000000..918a11a9 --- /dev/null +++ b/extra/sftp/files @@ -0,0 +1 @@ +../../community/openssh/files
\ No newline at end of file diff --git a/extra/sftp/sources b/extra/sftp/sources new file mode 120000 index 00000000..c18d53af --- /dev/null +++ b/extra/sftp/sources @@ -0,0 +1 @@ +../../community/openssh/sources
\ No newline at end of file diff --git a/extra/sftp/version b/extra/sftp/version new file mode 120000 index 00000000..646eeacb --- /dev/null +++ b/extra/sftp/version @@ -0,0 +1 @@ +../../community/openssh/version
\ No newline at end of file |