SUMMARY="A tool to make and restore backups over a network" DESCRIPTION="Burp aims to be a better Bacula and is a network backup and \ restore software. It relies on librsync for compression of network \ communication and of the backups itself. Burp provides both a client and a \ server and supports Windows's Volume Shadow Copy Services." HOMEPAGE="https://burp.grke.org" COPYRIGHT=" 2011-2014 Graham Keeling 2005-2010 Troy D. Hanson" LICENSE="GNU AGPL v3" REVISION="1" SOURCE_URI="https://github.com/grke/burp/archive/refs/tags/$portVersion.tar.gz" CHECKSUM_SHA256="f5ae92d7abc1e89e07013cae2fc48d3a505a59042f4f8a44e94a2442d647f35d" SOURCE_FILENAME="burp-$portVersion.tar.gz" PATCHES="burp-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" # On x86_gcc2 we don't want to install the commands in bin//, but in bin/. commandBinDir=$binDir commandSuffix=$secondaryArchSuffix if [ "$targetArchitecture" = x86_gcc2 ]; then commandSuffix= commandBinDir=$prefix/bin fi GLOBAL_WRITABLE_FILES=" settings/burp/CA.cnf auto-merge settings/burp/burp-server.conf auto-merge settings/burp/burp.conf auto-merge settings/burp/clientconfdir/incexc/example auto-merge settings/burp/clientconfdir/testclient auto-merge " PROVIDES=" burp$secondaryArchSuffix = $portVersion cmd:bedup$commandSuffix cmd:bsigs$commandSuffix cmd:bsparse$commandSuffix cmd:burp$commandSuffix cmd:burp_ca$commandSuffix cmd:vss_strip$commandSuffix " REQUIRES=" haiku$secondaryArchSuffix lib:libncurses$secondaryArchSuffix lib:librsync$secondaryArchSuffix lib:libssl$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libncurses$secondaryArchSuffix devel:librsync$secondaryArchSuffix devel:libssl$secondaryArchSuffix devel:uthash devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:autoreconf cmd:gawk cmd:gcc$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:sed cmd:pkg_config$secondaryArchSuffix " BUILD() { export LIBS="-lnetwork" autoreconf -fi runConfigure --omit-dirs "sysconfdir binDir sbinDir" ./configure \ --bindir=$commandBinDir \ --sbindir=$commandBinDir \ --sysconfdir $settingsDir/burp make $jobArgs } escapedSharedStateDir=$(echo $sharedStateDir | sed -e 's/\//\\\//g') INSTALL() { sed -i "s/\$(DESTDIR)\/var\//$escapedSharedStateDir\//g" Makefile make install make install-configs }