Skip to content
Permalink
Newer
Older
100755 28 lines (22 sloc) 823 Bytes
June 3, 2016 15:23
1
#!/bin/env beesh
2
3
# BEE_VERSION openssh-8.5_p1-0
4
5
SRCURL[0]="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKGVERSION}${PKGEXTRAVERSION}.tar.gz"
June 3, 2016 15:23
6
7
SYSCONFDIR=/etc/ssh
8
October 28, 2019 12:06
9
mee_patch() {
10
# check-config fails anyway
11
sed -i -e '/^install:.*check-config/ s/check-config//' ${S}/Makefile.in
12
}
13
June 3, 2016 15:23
14
mee_configure() {
15
bee_configure \
16
--sysconfdir=${SYSCONFDIR} \
17
--with-md5-passwords \
18
--with-privsep-path=/var/lib/sshd \
19
--with-pam \
20
--with-xauth=/usr/bin/xauth
June 3, 2016 15:23
21
}
22
23
mee_install_post() {
October 28, 2019 12:06
24
mv -v ${D}${SYSCONFDIR}/ssh_config ${D}${SYSCONFDIR}/ssh_config.example
25
mv -v ${D}${SYSCONFDIR}/sshd_config ${D}${SYSCONFDIR}/sshd_config.example
26
install -v -m755 ${S}/contrib/ssh-copy-id ${D}${BINDIR}
27
install -v -m644 ${S}/contrib/ssh-copy-id.1 ${D}${MANDIR}/man1
June 3, 2016 15:23
28
}