1SUMMARY="A tool to make and restore backups over a network" 2DESCRIPTION="Burp aims to be a better Bacula and is a network backup and \ 3restore software. It relies on librsync for compression of network \ 4communication and of the backups itself. Burp provides both a client and a \ 5server and supports Windows's Volume Shadow Copy Services." 6HOMEPAGE="https://burp.grke.org" 7COPYRIGHT=" 2011-2014 Graham Keeling 8 2005-2010 Troy D. Hanson" 9LICENSE="GNU AGPL v3" 10REVISION="1" 11SOURCE_URI="https://github.com/grke/burp/archive/refs/tags/$portVersion.tar.gz" 12CHECKSUM_SHA256="f5ae92d7abc1e89e07013cae2fc48d3a505a59042f4f8a44e94a2442d647f35d" 13SOURCE_FILENAME="burp-$portVersion.tar.gz" 14PATCHES="burp-$portVersion.patchset" 15 16ARCHITECTURES="all !x86_gcc2" 17SECONDARY_ARCHITECTURES="x86" 18 19# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/. 20commandBinDir=$binDir 21commandSuffix=$secondaryArchSuffix 22if [ "$targetArchitecture" = x86_gcc2 ]; then 23 commandSuffix= 24 commandBinDir=$prefix/bin 25fi 26 27GLOBAL_WRITABLE_FILES=" 28 settings/burp/CA.cnf auto-merge 29 settings/burp/burp-server.conf auto-merge 30 settings/burp/burp.conf auto-merge 31 settings/burp/clientconfdir/incexc/example auto-merge 32 settings/burp/clientconfdir/testclient auto-merge 33 " 34 35PROVIDES=" 36 burp$secondaryArchSuffix = $portVersion 37 cmd:bedup$commandSuffix 38 cmd:bsigs$commandSuffix 39 cmd:bsparse$commandSuffix 40 cmd:burp$commandSuffix 41 cmd:burp_ca$commandSuffix 42 cmd:vss_strip$commandSuffix 43 " 44REQUIRES=" 45 haiku$secondaryArchSuffix 46 lib:libncurses$secondaryArchSuffix 47 lib:librsync$secondaryArchSuffix 48 lib:libssl$secondaryArchSuffix 49 lib:libz$secondaryArchSuffix 50 " 51 52BUILD_REQUIRES=" 53 haiku${secondaryArchSuffix}_devel 54 devel:libncurses$secondaryArchSuffix 55 devel:librsync$secondaryArchSuffix 56 devel:libssl$secondaryArchSuffix 57 devel:uthash 58 devel:libz$secondaryArchSuffix 59 " 60BUILD_PREREQUIRES=" 61 cmd:autoreconf 62 cmd:gawk 63 cmd:gcc$secondaryArchSuffix 64 cmd:libtoolize$secondaryArchSuffix 65 cmd:make 66 cmd:sed 67 cmd:pkg_config$secondaryArchSuffix 68 " 69 70BUILD() 71{ 72 export LIBS="-lnetwork" 73 autoreconf -fi 74 runConfigure --omit-dirs "sysconfdir binDir sbinDir" ./configure \ 75 --bindir=$commandBinDir \ 76 --sbindir=$commandBinDir \ 77 --sysconfdir $settingsDir/burp 78 make $jobArgs 79} 80 81escapedSharedStateDir=$(echo $sharedStateDir | sed -e 's/\//\\\//g') 82INSTALL() 83{ 84 sed -i "s/\$(DESTDIR)\/var\//$escapedSharedStateDir\//g" Makefile 85 make install 86 make install-configs 87} 88