aboutsummaryrefslogtreecommitdiff
path: root/extra/openssh/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openssh/build')
-rwxr-xr-xextra/openssh/build34
1 files changed, 0 insertions, 34 deletions
diff --git a/extra/openssh/build b/extra/openssh/build
deleted file mode 100755
index acbcd480..00000000
--- a/extra/openssh/build
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh -e
-
-# Adds optional libedit support
-kiss l libedit >/dev/null 2>&1 &&
- libedit="--with-libedit"
-
-./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 \
- "$libedit"
-
-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"
-
-# Install sysmgr service.
-install -Dm755 sshd.run "$1/etc/sysmgr/sshd"