2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-09-28 12:22:42 -06:00
repo/extra/openssh/build

28 lines
690 B
Plaintext
Raw Normal View History

2019-07-01 05:40:19 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--datadir=/usr/share/openssh \
--sysconfdir=/etc/ssh \
2020-02-10 14:35:37 -07:00
--sbindir=/usr/bin \
2020-05-08 02:59:03 -06:00
--libexecdir=/usr/lib/openssh \
2019-07-01 05:40:19 -06:00
--without-selinux \
--with-privsep-user=nobody \
--with-mantype=doc \
--without-rpath \
--disable-strip \
--with-ssl-engine \
--with-pid-dir=/run \
--disable-wtmp \
--disable-utmp
make
make DESTDIR="$1" install
2020-02-14 09:47:41 -07:00
install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
2019-07-01 05:40:19 -06:00
install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"
2019-07-04 01:16:16 -06:00
# Install runit services.
install -Dm 755 sshd.run "$1/etc/sv/sshd/run"
ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"