dropbear: added runit service.
This commit is contained in:
parent
1d29236574
commit
1b59f28ec8
2 changed files with 7 additions and 5 deletions
2
srcpkgs/dropbear/files/dropbear/run
Executable file
2
srcpkgs/dropbear/files/dropbear/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec dropbear -F -R
|
|
@ -1,24 +1,24 @@
|
||||||
# Template file for 'dropbear'
|
# Template file for 'dropbear'
|
||||||
pkgname=dropbear
|
pkgname=dropbear
|
||||||
version=2014.65
|
version=2014.65
|
||||||
revision=1
|
revision=2
|
||||||
|
build_options="systemd"
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
configure_args="--sbindir=/usr/bin --enable-zlib"
|
configure_args="--sbindir=/usr/bin --enable-zlib"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
make_dirs="/etc/dropbear 0755 root root"
|
make_dirs="/etc/dropbear 0755 root root"
|
||||||
short_desc="Small SSH server and client."
|
short_desc="Small SSH server and client"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
|
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
|
||||||
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
|
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c
|
checksum=e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c
|
||||||
|
|
||||||
# Package build options
|
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
|
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
|
||||||
fi
|
fi
|
||||||
|
vsv dropbear
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue