~carbslinux/repository

ref: 3f17c8c2a94792638ef1849c97862bd1380cbb0e repository/community/openssh/build -rwxr-xr-x 837 bytes
3f17c8c2Cem Keylan META: Fix all usage of kiss, replace all with cpt 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh -e

# Adds optional libedit support
cpt-list 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"