dropbear: added runit service.

This commit is contained in:
Juan RP 2014-10-13 13:57:03 +02:00
parent 1d29236574
commit 1b59f28ec8
2 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec dropbear -F -R

View file

@ -1,24 +1,24 @@
# Template file for 'dropbear'
pkgname=dropbear
version=2014.65
revision=1
revision=2
build_options="systemd"
replaces="runit-void<20141013_2"
build_style="gnu-configure"
configure_args="--sbindir=/usr/bin --enable-zlib"
makedepends="zlib-devel"
make_dirs="/etc/dropbear 0755 root root"
short_desc="Small SSH server and client."
short_desc="Small SSH server and client"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
checksum=e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c
# Package build options
build_options="systemd"
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
fi
vsv dropbear
vlicense LICENSE
}