diff options
author | Christian Kampka <christian@kampka.net> | 2015-08-05 21:48:11 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-07 06:47:37 +0000 |
commit | ec612590a4c3d652d45d130d8676df6721587bb0 (patch) | |
tree | 8a94b22620ce7aed7e5419411694d77bcc912c3b | |
parent | ee083cfd513e4fa8a519651764feb6b5d3499f12 (diff) | |
download | aports-ec612590a4c3d652d45d130d8676df6721587bb0.tar.bz2 aports-ec612590a4c3d652d45d130d8676df6721587bb0.tar.xz |
testing/taskd: add pki subpackage
Taskd ships with a set of PKI certificate management tools
to generate a CA and respective client keys and certs for connecting
to taskd. Although these tools are far from beeing a complete and
advisable ways of handling PKI, they are certainly useful to get
started with taskd.
-rw-r--r-- | testing/taskd/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/testing/taskd/APKBUILD b/testing/taskd/APKBUILD index 80982ca835..f586c2fc8a 100644 --- a/testing/taskd/APKBUILD +++ b/testing/taskd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=taskd pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Taskserver synchronises taskwarrior across multiple clients" url="http://taskwarrior.org" arch="all" @@ -11,7 +11,7 @@ depends="" depends_dev="gnutls-dev util-linux-dev" makedepends="$depends_dev cmake" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-pki" source="http://taskwarrior.org/download/${pkgname}-${pkgver}.tar.gz Path.cpp.patch Directory.cpp.patch" @@ -34,6 +34,13 @@ build() { make || return 1 } +pki () { + pkgdesc="Tools for taskd PKI management" + depends="taskd gnutls-utils" + mkdir -p "$subpkgdir"/usr/share/taskd + mv "${_builddir}/pki" "$subpkgdir"/usr/share/taskd || return 1 +} + package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 |