aboutsummaryrefslogtreecommitdiff
path: root/community/openssh/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-26 00:37:36 +0300
committerCem Keylan <cem@ckyln.com>2020-09-26 00:37:36 +0300
commit69aecbc935d022d46574adeca984ee0bdc6cdcb1 (patch)
tree968f20f7476058e1750b1f3b14d2256b8a1c5bf9 /community/openssh/build
parent2f8df6641cf7068d5c51d83ce6c893943864c841 (diff)
downloadrepository-69aecbc935d022d46574adeca984ee0bdc6cdcb1.tar.gz
openssh and sftp: move to extra, remove sftp
Diffstat (limited to 'community/openssh/build')
-rwxr-xr-xcommunity/openssh/build39
1 files changed, 0 insertions, 39 deletions
diff --git a/community/openssh/build b/community/openssh/build
deleted file mode 100755
index a70f97a3..00000000
--- a/community/openssh/build
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh -e
-
-# Adds optional libedit support
-cpt-list libedit >/dev/null 2>&1 &&
- libedit="--with-libedit" && LIBS="$(pkgconf --static --libs libedit)"
-
-export LIBS
-
-export LDFLAGS="$LDFLAGS -static"
-
-autoreconf -fi
-
-./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-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"