aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-26 00:37:00 +0300
committerCem Keylan <cem@ckyln.com>2020-09-26 00:37:00 +0300
commit2f8df6641cf7068d5c51d83ce6c893943864c841 (patch)
treef31ce093f01aa302c590e18e85b7a189f0440a63
parente0d2ebf570aedf538529eac426358b8b954b553c (diff)
downloadrepository-2f8df6641cf7068d5c51d83ce6c893943864c841.tar.gz
openssh: switch to bearssl
-rwxr-xr-xcommunity/openssh/build9
-rw-r--r--community/openssh/checksums2
-rw-r--r--community/openssh/depends4
-rw-r--r--community/openssh/sources2
4 files changed, 11 insertions, 6 deletions
diff --git a/community/openssh/build b/community/openssh/build
index 6ddefd0b..a70f97a3 100755
--- a/community/openssh/build
+++ b/community/openssh/build
@@ -2,7 +2,13 @@
# Adds optional libedit support
cpt-list libedit >/dev/null 2>&1 &&
- libedit="--with-libedit"
+ libedit="--with-libedit" && LIBS="$(pkgconf --static --libs libedit)"
+
+export LIBS
+
+export LDFLAGS="$LDFLAGS -static"
+
+autoreconf -fi
./configure \
--prefix=/usr \
@@ -14,7 +20,6 @@ cpt-list libedit >/dev/null 2>&1 &&
--with-mantype=doc \
--without-rpath \
--disable-strip \
- --with-ssl-engine \
--with-pid-dir=/run \
--disable-wtmp \
--disable-utmp \
diff --git a/community/openssh/checksums b/community/openssh/checksums
index a33ef353..cae2d98b 100644
--- a/community/openssh/checksums
+++ b/community/openssh/checksums
@@ -1,2 +1,2 @@
-f2befbe0472fe7eb75d23340eb17531cb6b3aac24075e2066b41f814e12387b2 openssh-8.3p1.tar.gz
+27c2766cc5adcaf260ad8d3c4d0dc28c86568c5d3ae823999e76e4b8f7c31342 7e9f1c87501d3abf13893a346633e3208d0abcd0.tar.gz
5d32a817344ac444424063d75e49afd95d7eb76d972ef5c5cfad355c8e8b1ff1 sshd.run
diff --git a/community/openssh/depends b/community/openssh/depends
index 9ee911ae..bc8550fe 100644
--- a/community/openssh/depends
+++ b/community/openssh/depends
@@ -1,2 +1,2 @@
-libressl
-zlib
+bearssl make
+zlib make
diff --git a/community/openssh/sources b/community/openssh/sources
index 4880c516..78565afe 100644
--- a/community/openssh/sources
+++ b/community/openssh/sources
@@ -1,2 +1,2 @@
-https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.3p1.tar.gz
+https://github.com/oasislinux/openssh/archive/7e9f1c87501d3abf13893a346633e3208d0abcd0.tar.gz
files/sshd.run