From 01cbcbf858211bbdf9e7eb13edc1bfff37132690 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 2 Sep 2019 13:42:07 +0200 Subject: simple-pki: backup more configuration --- simple-pki/PKGBUILD | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'simple-pki') diff --git a/simple-pki/PKGBUILD b/simple-pki/PKGBUILD index 6471cd36..77d15962 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') -- cgit v1.2.3-54-g00ecf