aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-27 11:50:27 +0300
committerCem Keylan <cem@ckyln.com>2020-05-27 11:50:27 +0300
commit531ba391c96f9f38fc887349d7efe57e3a320823 (patch)
tree12049463c9980ecd9085431a5e2bd9950c2e4332 /extra
parent6881fbab77d3090a79fef791d2a15dd97f2af360 (diff)
downloadrepository-531ba391c96f9f38fc887349d7efe57e3a320823.tar.gz
sftp: add new package at 8.3p1
Diffstat (limited to 'extra')
-rwxr-xr-xextra/sftp/build29
l---------extra/sftp/checksums1
-rw-r--r--extra/sftp/depends5
l---------extra/sftp/files1
l---------extra/sftp/sources1
l---------extra/sftp/version1
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