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