diff --git a/srcpkgs/burp-server/template b/srcpkgs/burp-server/template index a469c5bbc92..8ec3edd7bb7 100644 --- a/srcpkgs/burp-server/template +++ b/srcpkgs/burp-server/template @@ -3,7 +3,7 @@ _desc="A network-based backup and restore program" pkgname=burp-server version=1.4.40 -revision=8 +revision=9 short_desc="${_desc} - Server" maintainer="Pierre Bourgin " license="AGPL-3.0-only, BSD-3-Clause, GPL-2.0-or-later" @@ -25,6 +25,8 @@ build_style=gnu-configure configure_args="--sysconfdir=/etc/burp --sbindir=/usr/bin" conf_files="/etc/burp/burp-server.conf" +make_dirs="/var/spool/burp 0755 root root" + post_install() { vsv ${pkgname} @@ -35,9 +37,6 @@ post_install() { # /usr/sbin/burp_ca is hardcoded in conf files sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \ -i ${DESTDIR}/etc/burp/burp-server.conf - - # storage folder - touch -f ${PKGDESTDIR}/var/spool/burp/.empty_on_purpose } burp-client_package() { @@ -45,6 +44,7 @@ burp-client_package() { # openssl binary needed by burp_ca script depends="ca-certificates" conf_files="/etc/burp/burp.conf" + make_dirs="/etc/burp/CA-client 0755 root root" pkg_install() { vmove "usr/bin/burp" vmove "usr/bin/burp_ca" @@ -58,8 +58,5 @@ burp-client_package() { # /usr/sbin/burp_ca is hardcoded in conf files sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \ -i ${PKGDESTDIR}/etc/burp/burp.conf - - # burp_ca requires directory CA-client - touch -f ${PKGDESTDIR}/etc/burp/CA-client/.empty_on_purpose } }