summaryrefslogtreecommitdiff
path: root/repo/core/openssh.xibuild
blob: ec02d88518f7a802750c563bb160117e8c9190ab (plain)
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
#!/bin/bash

DEPS=(glibc krb5 openssl libedit ldns libxcrypt zlib pam)

SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz
DESC="Premier connectivity tool for remote login with the SSH protocol"

build () {
    ./configure --prefix=/usr                            \
            --sysconfdir=/etc/ssh                    \
            --with-md5-passwords                     \
            --with-privsep-path=/var/lib/sshd        \
            --with-default-path=/usr/bin             \
            --with-superuser-path=/usr/sbin:/usr/bin \
            --with-pid-dir=/run
    make
    make DESTDIR=$PKG_DEST install

    install -v -m755    contrib/ssh-copy-id $PKG_DSET/usr/bin     &&

    install -v -m644    contrib/ssh-copy-id.1 \
                        $PKG_DEST/usr/share/man/man1              &&
    install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-8.8p1     &&
    install -v -m644    INSTALL LICENCE OVERVIEW README* \
                        $PKG_DEST/usr/share/doc/openssh-8.8p1

}