mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
burp-server: use make_dirs instead of .empty
This commit is contained in:
parent
751ad107e3
commit
df5a8d457f
1 changed files with 4 additions and 7 deletions
|
@ -3,7 +3,7 @@ _desc="A network-based backup and restore program"
|
||||||
|
|
||||||
pkgname=burp-server
|
pkgname=burp-server
|
||||||
version=1.4.40
|
version=1.4.40
|
||||||
revision=8
|
revision=9
|
||||||
short_desc="${_desc} - Server"
|
short_desc="${_desc} - Server"
|
||||||
maintainer="Pierre Bourgin <pierre.bourgin@free.fr>"
|
maintainer="Pierre Bourgin <pierre.bourgin@free.fr>"
|
||||||
license="AGPL-3.0-only, BSD-3-Clause, GPL-2.0-or-later"
|
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"
|
configure_args="--sysconfdir=/etc/burp --sbindir=/usr/bin"
|
||||||
conf_files="/etc/burp/burp-server.conf"
|
conf_files="/etc/burp/burp-server.conf"
|
||||||
|
|
||||||
|
make_dirs="/var/spool/burp 0755 root root"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv ${pkgname}
|
vsv ${pkgname}
|
||||||
|
|
||||||
|
@ -35,9 +37,6 @@ post_install() {
|
||||||
# /usr/sbin/burp_ca is hardcoded in conf files
|
# /usr/sbin/burp_ca is hardcoded in conf files
|
||||||
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
||||||
-i ${DESTDIR}/etc/burp/burp-server.conf
|
-i ${DESTDIR}/etc/burp/burp-server.conf
|
||||||
|
|
||||||
# storage folder
|
|
||||||
touch -f ${PKGDESTDIR}/var/spool/burp/.empty_on_purpose
|
|
||||||
}
|
}
|
||||||
|
|
||||||
burp-client_package() {
|
burp-client_package() {
|
||||||
|
@ -45,6 +44,7 @@ burp-client_package() {
|
||||||
# openssl binary needed by burp_ca script
|
# openssl binary needed by burp_ca script
|
||||||
depends="ca-certificates"
|
depends="ca-certificates"
|
||||||
conf_files="/etc/burp/burp.conf"
|
conf_files="/etc/burp/burp.conf"
|
||||||
|
make_dirs="/etc/burp/CA-client 0755 root root"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/bin/burp"
|
vmove "usr/bin/burp"
|
||||||
vmove "usr/bin/burp_ca"
|
vmove "usr/bin/burp_ca"
|
||||||
|
@ -58,8 +58,5 @@ burp-client_package() {
|
||||||
# /usr/sbin/burp_ca is hardcoded in conf files
|
# /usr/sbin/burp_ca is hardcoded in conf files
|
||||||
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
||||||
-i ${PKGDESTDIR}/etc/burp/burp.conf
|
-i ${PKGDESTDIR}/etc/burp/burp.conf
|
||||||
|
|
||||||
# burp_ca requires directory CA-client
|
|
||||||
touch -f ${PKGDESTDIR}/etc/burp/CA-client/.empty_on_purpose
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue