aboutsummaryrefslogtreecommitdiff
path: root/extra/openssh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openssh')
-rwxr-xr-xextra/openssh/build19
-rw-r--r--extra/openssh/checksums5
-rw-r--r--extra/openssh/depends3
-rw-r--r--extra/openssh/meta3
-rw-r--r--extra/openssh/sources2
-rw-r--r--extra/openssh/version2
6 files changed, 15 insertions, 19 deletions
diff --git a/extra/openssh/build b/extra/openssh/build
index a70f97a3..6f293438 100755
--- a/extra/openssh/build
+++ b/extra/openssh/build
@@ -1,15 +1,12 @@
#!/bin/sh -e
# Adds optional libedit support
-cpt-list libedit >/dev/null 2>&1 &&
- libedit="--with-libedit" && LIBS="$(pkgconf --static --libs libedit)"
+cpt-list -q libedit &&
+ libedit="--with-libedit" LIBS="$(pkgconf --static --libs libedit)"
export LIBS
-
export LDFLAGS="$LDFLAGS -static"
-autoreconf -fi
-
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -28,12 +25,8 @@ autoreconf -fi
make
make DESTDIR="$1" install
-install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
-install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"
-
-# Install runit service.
-install -Dm755 sshd.run "$1/etc/sv/sshd/run"
-ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"
+clinst -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
+clinst -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"
-# Install sysmgr service.
-install -Dm755 sshd.run "$1/etc/sysmgr/sshd"
+# Install sshd service
+clsv -d "$1" sshd.run
diff --git a/extra/openssh/checksums b/extra/openssh/checksums
index ad30e9ba..f29d9264 100644
--- a/extra/openssh/checksums
+++ b/extra/openssh/checksums
@@ -1,2 +1,3 @@
-bdd65f72c33a00fec5c154811c33e7b5a386c9b1aaabec3917b421af28adfc9a c80c7b3.tar.gz
-5d32a817344ac444424063d75e49afd95d7eb76d972ef5c5cfad355c8e8b1ff1 sshd.run
+%BLAKE3
+c7fc21d8f0b0b0d609dc13bc93e52c3d18dcc75ae1afc7910c269952c9178d86 openssh-9.4p1.tar.gz
+8e37003f1e5bf10127ac021a79b9547e33bd042ac89102084e68dafcefe00b7d sshd.run
diff --git a/extra/openssh/depends b/extra/openssh/depends
index aefce7e1..3788ab13 100644
--- a/extra/openssh/depends
+++ b/extra/openssh/depends
@@ -1,3 +1,2 @@
-autoconf make
-bearssl make
+libressl make
zlib make
diff --git a/extra/openssh/meta b/extra/openssh/meta
new file mode 100644
index 00000000..ab316043
--- /dev/null
+++ b/extra/openssh/meta
@@ -0,0 +1,3 @@
+description: SSH client and server implementation
+license: BSD-2-Clause, ISC
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/openssh/sources b/extra/openssh/sources
index b71f0e4c..a45f88ef 100644
--- a/extra/openssh/sources
+++ b/extra/openssh/sources
@@ -1,2 +1,2 @@
-https://github.com/oasislinux/openssh/archive/c80c7b3.tar.gz
+https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.4p1.tar.gz
files/sshd.run
diff --git a/extra/openssh/version b/extra/openssh/version
index 06c8db7d..640736ab 100644
--- a/extra/openssh/version
+++ b/extra/openssh/version
@@ -1 +1 @@
-8.5p1 1
+9.4p1 1