megatools: siwtch from experimental to stable 1.11.0
[kiss-trunc88.git] / openssh / build
blobdc992fc7a08abf013500e9383b5f172a45426b1d
1 #!/bin/sh -e
3 ./configure \
4 --prefix=/usr \
5 --datadir=/usr/share/openssh \
6 --sysconfdir=/etc/ssh \
7 --sbindir=/usr/bin \
8 --libexecdir=/usr/lib/openssh \
9 --without-selinux \
10 --with-privsep-user=nobody \
11 --with-mantype=doc \
12 --without-rpath \
13 --disable-strip \
14 --with-ssl-engine \
15 --with-pid-dir=/run \
16 --disable-wtmp \
17 --disable-utmp
19 make
20 make DESTDIR="$1" install
22 cp -f contrib/ssh-copy-id "$1/usr/bin"
23 cp -f contrib/ssh-copy-id.1 "$1/usr/share/man/man1"
24 chmod +x "$1/usr/bin/ssh-copy-id"
26 # Install runit services.
27 mkdir -p "$1/etc/sv/sshd"
28 cp -f sshd.run "$1/etc/sv/sshd/run"
29 ln -sf /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"