# Description: suite of secure networking utilities based on the Secure Shell protocol # URL: https://www.openssh.com/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: name=openssh version=10.2p1 release=1 source=(https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/${name}-${version}.tar.gz run) build() { cd ${name}-${version} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --without-zlib-version-check \ --with-privsep-user=nobody \ --with-privsep-path=/var/empty make make DESTDIR=$PKG install install -Dm755 $SRC/run $PKG/etc/sv/$name/run ln -s ../../../run/runit/supervise.$name $PKG/etc/sv/$name/supervise }