mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 02:53:50 +02:00
burp2-server: use make_dirs instead of .empty
This commit is contained in:
parent
df5a8d457f
commit
eb824aad7a
1 changed files with 4 additions and 8 deletions
|
@ -3,7 +3,7 @@ _desc="A network-based backup and restore program"
|
||||||
|
|
||||||
pkgname=burp2-server
|
pkgname=burp2-server
|
||||||
version=2.1.32
|
version=2.1.32
|
||||||
revision=2
|
revision=3
|
||||||
configure_args="--sysconfdir=/etc/burp --sbindir=/usr/bin"
|
configure_args="--sysconfdir=/etc/burp --sbindir=/usr/bin"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
@ -21,8 +21,9 @@ distfiles="https://github.com/grke/burp/archive/${version}.tar.gz"
|
||||||
checksum=1b2299670032eb5f0fc0783b7989b1cc6227d3d0758452a42b50d167b63d8d30
|
checksum=1b2299670032eb5f0fc0783b7989b1cc6227d3d0758452a42b50d167b63d8d30
|
||||||
|
|
||||||
# 'install-all': also install config files and scripts
|
# 'install-all': also install config files and scripts
|
||||||
make_install_target="install-all"
|
make_install_target=install-all
|
||||||
conf_files="/etc/burp/burp-server.conf"
|
conf_files="/etc/burp/burp-server.conf"
|
||||||
|
make_dirs="/var/spool/burp 0755 root root"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
@ -35,9 +36,6 @@ post_install() {
|
||||||
vdoc "UPGRADING"
|
vdoc "UPGRADING"
|
||||||
vlicense "LICENSE"
|
vlicense "LICENSE"
|
||||||
|
|
||||||
# storage folder
|
|
||||||
touch -f ${PKGDESTDIR}/var/spool/burp/.empty_on_purpose
|
|
||||||
|
|
||||||
# files for -doc package
|
# files for -doc package
|
||||||
_docdir="usr/share/examples/burp-doc"
|
_docdir="usr/share/examples/burp-doc"
|
||||||
vmkdir "${_docdir}/server"
|
vmkdir "${_docdir}/server"
|
||||||
|
@ -66,6 +64,7 @@ burp2-client_package() {
|
||||||
# burp2-client (v2.x) does not work with burp-server (v1.x):
|
# burp2-client (v2.x) does not work with burp-server (v1.x):
|
||||||
# give a chance to no break everything by refusing upgrade
|
# give a chance to no break everything by refusing upgrade
|
||||||
conflicts="burp-client"
|
conflicts="burp-client"
|
||||||
|
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"
|
||||||
|
@ -75,9 +74,6 @@ burp2-client_package() {
|
||||||
vmove "etc/burp/burp.conf"
|
vmove "etc/burp/burp.conf"
|
||||||
vdoc "README"
|
vdoc "README"
|
||||||
vlicense "LICENSE"
|
vlicense "LICENSE"
|
||||||
|
|
||||||
# burp_ca requires directory CA-client
|
|
||||||
touch -f ${PKGDESTDIR}/etc/burp/CA-client/.empty_on_purpose
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue