dropbear: update to 2014.64 & don't pollute filesystem with systemd service

This commit is contained in:
Ypnose 2014-08-01 20:04:02 +02:00
parent a59fa97690
commit 46f24a3606
1 changed files with 9 additions and 4 deletions

View File

@ -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 <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=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
}