Skip to content

openssh: Add version 7.1 #4

Merged
merged 1 commit into from
Jun 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions openssh-7.1_p2-0.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/env beesh

SRCURL[0]="http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKGVERSION}${PKGEXTRAVERSION}.tar.gz"

SYSCONFDIR=/etc/ssh
DATADIR=/usr/share/sshd
LIBEXECDIR=/usr/lib/openssh

mee_configure() {
bee_configure \
--sysconfdir=${SYSCONFDIR} \
--with-md5-passwords \
--with-privsep-path=/var/lib/sshd \
--with-pam
}

mee_install_post() {
mv ${D}${SYSCONFDIR}/ssh_config ${D}${SYSCONFDIR}/ssh_config.example
mv ${D}${SYSCONFDIR}/sshd_config ${D}${SYSCONFDIR}/sshd_config.example
install -v -m755 ${S}/contrib/ssh-copy-id ${D}/${BINDIR}
install -v -m644 contrib/ssh-copy-id.1 \
${MANDIR}/man1
install -v -m755 -d ${DOCDIR}
install -v -m644 ${S}/{INSTALL,LICENCE,OVERVIEW,README*} \
${DOCDIR}
}