blob: 6471cd36ce0a32b97be698e5edd29dc5c96ef7fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgbase=simple-pki
pkgname=(simple-pki-ca simple-pki-cb)
pkgver=0.0.1
pkgrel=1
arch=('any')
url="https://git.eckner.net/Erich/${pkgname}"
license=('GPL')
makedepends=()
source=(
"https://git.eckner.net/Erich/${pkgbase}/snapshot/${pkgbase}-${pkgver}.tar.xz"
)
sha512sums=('0a40732b5ca628c869243e8745b9faec7600ee9f15097f4ae3da0bfbc3aca74a26715ffcd735fd6b667a1e95dd8f2d8f686fa57e5cd77df9b3d5e916af753bb6')
build() {
cd ${pkgbase}-${pkgver}
make
}
package_simple-pki-ca() {
backup=("etc/${pkgbase}/ca.conf")
pkgdesc="Scripts to manage a simple pki ca - including automatic renewal"
depends=('openssl' 'rsync')
cd ${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install-ca
}
package_simple-pki-cb() {
backup=("etc/${pkgbase}/cb.conf")
pkgdesc="Scripts to manage simple pki clients - including automatic renewal"
depends=('openssl' 'nginx')
cd ${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install-cb
}
|