aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-17 05:54:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 11:12:11 +0000
commit5fd1554cd80905603bca0e408fb2b3a9304751da (patch)
tree10a6cf50b9d9e239f669dba44d2245be7fa8ada4 /main/dropbear
parentcc88f181ac8afa9015940b0cd6af3040d762902a (diff)
downloadaports-5fd1554cd80905603bca0e408fb2b3a9304751da.tar.bz2
aports-5fd1554cd80905603bca0e408fb2b3a9304751da.tar.xz
main/dropbear: mark as not having test suite, split -openrc, modernise
Diffstat (limited to 'main/dropbear')
-rw-r--r--main/dropbear/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD
index 90bfd51463..7b24a20dc8 100644
--- a/main/dropbear/APKBUILD
+++ b/main/dropbear/APKBUILD
@@ -3,15 +3,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dropbear
pkgver=2017.75
-pkgrel=0
+pkgrel=1
pkgdesc="small SSH 2 client/server designed for small memory environments"
url="http://matt.ucc.asn.au/dropbear/dropbear.html"
arch="all"
license="MIT"
depends=""
depends_dev=""
+options="!check"
makedepends="zlib-dev linux-headers"
subpackages="$pkgname-doc
+ $pkgname-openrc
$pkgname-convert:_convert
$pkgname-dbclient:_dbclient
$pkgname-ssh:_ssh
@@ -34,19 +36,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make PROGRAMS="$_progs" || return 1
+ --localstatedir=/var
+ make PROGRAMS="$_progs"
}
package() {
make PROGRAMS="$_progs" DESTDIR="$pkgdir" \
- -C "$builddir" install || return 1
+ -C "$builddir" install
install -D -m755 "$srcdir"/dropbear.initd \
- "$pkgdir"/etc/init.d/dropbear || return 1
+ "$pkgdir"/etc/init.d/dropbear
install -D -m644 "$srcdir"/dropbear.confd \
- "$pkgdir"/etc/conf.d/dropbear || return 1
+ "$pkgdir"/etc/conf.d/dropbear
}
_convert() {