summaryrefslogtreecommitdiff
path: root/simple-pki/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 13:42:07 +0200
committerErich Eckner <git@eckner.net>2019-09-02 13:42:07 +0200
commit01cbcbf858211bbdf9e7eb13edc1bfff37132690 (patch)
tree5b7d5e476a4fa46f29f21dbcf2bdb21c8539d742 /simple-pki/PKGBUILD
parentdb8d6761c9d425d5625cde6673faa1e1e7de9d53 (diff)
downloadarchlinuxewe-01cbcbf858211bbdf9e7eb13edc1bfff37132690.tar.xz
simple-pki: backup more configuration
Diffstat (limited to 'simple-pki/PKGBUILD')
-rw-r--r--simple-pki/PKGBUILD15
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')