Burp: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''[http://burp.grke.org/index.html Burp]''' is a network backup and restore program. It attempts to reduce network traffic and the amount of space that is used by each backup...") |
|||
Line 6: | Line 6: | ||
== Build on Lacie-CloudBox == |
== Build on Lacie-CloudBox == |
||
=== Build on Optware === |
|||
Links: |
Links: |
||
* [https://gist.github.com/mmv-ru/98c435f591355741f0c4 Burp on GNAP] |
* [https://gist.github.com/mmv-ru/98c435f591355741f0c4 Burp on GNAP] |
||
Line 77: | Line 79: | ||
<source lang="bash"> |
<source lang="bash"> |
||
make |
make |
||
# ... error about missing aclocal... |
|||
</source> |
|||
Digging further, we see that <code>aclocal</code> does not work because it requires Perl built with threads enabled. For this we need Perl 5.22 from Optware-ng |
|||
=== Build on Optware-ng === |
|||
Install: |
|||
* Clone git |
|||
<source lang="bash"> |
|||
# Install dependencies |
|||
ipkg install openssl-dev librsync zlib |
|||
ipkg install gcc |
|||
ipkg install make automake autoconf libtool binutils autoconf |
|||
ipkg install optware-devel |
|||
# Install uthash headers in /opt/include: |
|||
git clone https://github.com/troydhanson/uthash.git |
|||
cp uthash/src/ut* /opt/include/ |
|||
# Clone git repository |
|||
git clone https://github.com/grke/burp.git |
|||
cd burp |
|||
git checkout 2.1.6 |
|||
# Generate the autoconf files |
|||
autoreconf -vif |
|||
# Configure |
|||
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var |
|||
# Make |
|||
make |
|||
# Install |
|||
make install |
|||
# Copied/created the following files/directories: |
|||
# /opt/bin/vss_strip |
|||
# /opt/sbin/burp |
|||
# /opt/sbin/burp_ca |
|||
# /opt/share/burp |
|||
# /opt/share/doc/burp |
|||
# /opt/share/man/man8/{bedup.8,bsigs.8,bsparse.8,burp.8,burp_ca.8,vss_strip.8} |
|||
# Install config |
|||
make install-configs |
|||
# Copied/created the following files/directories: |
|||
# /opt/etc/burp |
|||
</source> |
</source> |
Revision as of 18:46, 25 April 2017
Burp is a network backup and restore program. It attempts to reduce network traffic and the amount of space that is used by each backup.
References
Build on Lacie-CloudBox
Build on Optware
Links:
- Example of install log on QNAP
Install:
- Clone git
# Clone git repository
git clone https://github.com/grke/burp.git
cd burp
git checkout 2.1.6
# Generate the autoconf files
autoreconf -vif
# ...
# Compilation failed in require at /opt/share/automake-1.12/Automake/ChannelDefs.pm line 23.
# ...
# autoreconf: aclocal failed with exit status: 255
- We run autoreconf on ubuntu, and import files back on lacie:
autoreconf -vif
find -name .gitignore|xargs rm
git add -A
git checkout HEAD -- .gitignore m4/.gitignore src/win32/.gitignore test/.gitignore
git commit -m "add results of autoreconf -vif"
git branch -f master
- Install dependencies, from log linked above. Note can use
ipkg list
to find package.
ipkg install openssl-dev librsync zlib
ipkg install gcc make automake autoconf libtool binutils autoconf
ipkg install optware-devel
- Install uthash headers in /opt/include:
git clone https://github.com/troydhanson/uthash.git
cp uthash/src/ut* /opt/include/
- OpenSSL error: unable to find OpenSLL library
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
# checking For OpenSSL... no
# configure: error: Unable to find OpenSSL library
- This is due to undefined reference:
grep -iC 10 openssl config.log|less
# /opt/arm-none-linux-gnueabi/lib/libdl.so.2: undefined reference to `_dl_tls_get_addr_soft@GLIBC_PRIVATE'
- We relink some libraries as suggested here. Let's relink them all:
cd /opt/arm-none-linux-gnueabi/
mv lib lib.original
ln -sf /lib lib
cd -
- Configure again, now fine:
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
- Make
make
# ... error about missing aclocal...
Digging further, we see that aclocal
does not work because it requires Perl built with threads enabled. For this we need Perl 5.22 from Optware-ng
Build on Optware-ng
Install:
- Clone git
# Install dependencies
ipkg install openssl-dev librsync zlib
ipkg install gcc
ipkg install make automake autoconf libtool binutils autoconf
ipkg install optware-devel
# Install uthash headers in /opt/include:
git clone https://github.com/troydhanson/uthash.git
cp uthash/src/ut* /opt/include/
# Clone git repository
git clone https://github.com/grke/burp.git
cd burp
git checkout 2.1.6
# Generate the autoconf files
autoreconf -vif
# Configure
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
# Make
make
# Install
make install
# Copied/created the following files/directories:
# /opt/bin/vss_strip
# /opt/sbin/burp
# /opt/sbin/burp_ca
# /opt/share/burp
# /opt/share/doc/burp
# /opt/share/man/man8/{bedup.8,bsigs.8,bsparse.8,burp.8,burp_ca.8,vss_strip.8}
# Install config
make install-configs
# Copied/created the following files/directories:
# /opt/etc/burp