diff options
author | Erich Eckner <git@eckner.net> | 2019-09-02 13:42:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-02 13:42:07 +0200 |
commit | 01cbcbf858211bbdf9e7eb13edc1bfff37132690 (patch) | |
tree | 5b7d5e476a4fa46f29f21dbcf2bdb21c8539d742 /simple-pki/PKGBUILD | |
parent | db8d6761c9d425d5625cde6673faa1e1e7de9d53 (diff) | |
download | archlinuxewe-01cbcbf858211bbdf9e7eb13edc1bfff37132690.tar.xz |
simple-pki: backup more configuration
Diffstat (limited to 'simple-pki/PKGBUILD')
-rw-r--r-- | simple-pki/PKGBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/simple-pki/PKGBUILD b/simple-pki/PKGBUILD index 6471cd36c..77d159620 100644 --- a/simple-pki/PKGBUILD +++ b/simple-pki/PKGBUILD @@ -21,7 +21,15 @@ build() { package_simple-pki-ca() { - backup=("etc/${pkgbase}/ca.conf") + backup=( + "etc/${pkgbase}/ca.conf" + "etc/${pkgbase}/ca-ssl.conf" + ) + for suffix in '.crl.srl' '.crt.srl' '.db' '.db.attr'; do + backup+=( + "etc/${pkgbase}/ca/root-ca/db/root-ca${suffix}" + "etc/${pkgbase}/ca/signing-ca/db/signing-ca${suffix}" + ) pkgdesc="Scripts to manage a simple pki ca - including automatic renewal" depends=('openssl' 'rsync') @@ -32,7 +40,10 @@ package_simple-pki-ca() { package_simple-pki-cb() { - backup=("etc/${pkgbase}/cb.conf") + backup=( + "etc/${pkgbase}/cb.conf" + "etc/${pkgbase}/server-ssl.conf" + ) pkgdesc="Scripts to manage simple pki clients - including automatic renewal" depends=('openssl' 'nginx') |