From 46f24a3606076d833d5f306b0e40b6c7184c08fd Mon Sep 17 00:00:00 2001 From: Ypnose Date: Fri, 1 Aug 2014 20:04:02 +0200 Subject: [PATCH] dropbear: update to 2014.64 & don't pollute filesystem with systemd service --- srcpkgs/dropbear/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/dropbear/template b/srcpkgs/dropbear/template index 9ab2ca1858f..2dcb1515654 100644 --- a/srcpkgs/dropbear/template +++ b/srcpkgs/dropbear/template @@ -1,6 +1,6 @@ # Template file for 'dropbear' pkgname=dropbear -version=2014.63 +version=2014.64 revision=1 build_style="gnu-configure" configure_args="--sbindir=/usr/bin --enable-zlib" @@ -11,9 +11,14 @@ 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=595992de432ba586a0e7e191bbb1ad587727678bb3e345b018c395b8c55b57ae +checksum=866156b464bfbc914b24fde3d7d87faa6c7fc2d2c5a6c5164ac52dbb2e1ad170 + +# Package build options +build_options="systemd" post_install() { - vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/ - vinstall LICENSE 644 usr/share/licenses/${pkgname} + if [ "$build_option_systemd" ]; then + vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/ + fi + vlicense LICENSE }