Skip to content

Commit

Permalink
Merge pull request #4 from mariux64/add-openssh-7.1
Browse files Browse the repository at this point in the history
openssh: Add version 7.1
  • Loading branch information
donald committed Jun 13, 2016
2 parents 2968d2f + e185d37 commit 6a7d7c3
Showing 1 changed file with 26 additions and 0 deletions.
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}
}

0 comments on commit 6a7d7c3

Please sign in to comment.