From 1b59f28ec8d880106b95360c8e328963dbdbe951 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 13 Oct 2014 13:57:03 +0200 Subject: [PATCH] dropbear: added runit service. --- srcpkgs/dropbear/files/dropbear/run | 2 ++ srcpkgs/dropbear/template | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100755 srcpkgs/dropbear/files/dropbear/run diff --git a/srcpkgs/dropbear/files/dropbear/run b/srcpkgs/dropbear/files/dropbear/run new file mode 100755 index 0000000000..41777b924e --- /dev/null +++ b/srcpkgs/dropbear/files/dropbear/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec dropbear -F -R diff --git a/srcpkgs/dropbear/template b/srcpkgs/dropbear/template index a2bf831efe..22e0b841b4 100644 --- a/srcpkgs/dropbear/template +++ b/srcpkgs/dropbear/template @@ -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 " 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 }