aboutsummaryrefslogtreecommitdiffstats
path: root/testing/burp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-18 13:21:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-18 13:50:24 +0000
commitf88e95176fcc442a8043e2834e6a19709f860f98 (patch)
tree0c771f2b2321acc67906792e0b5b4fdda4c0f389 /testing/burp
parentf7ef0bae139f071bac6bad920b035881421b5026 (diff)
downloadaports-f88e95176fcc442a8043e2834e6a19709f860f98.tar.bz2
aports-f88e95176fcc442a8043e2834e6a19709f860f98.tar.xz
testing/burp: upgrade to 1.4.32
Diffstat (limited to 'testing/burp')
-rw-r--r--testing/burp/APKBUILD17
-rw-r--r--testing/burp/librsync-1.0.0.patch36
2 files changed, 47 insertions, 6 deletions
diff --git a/testing/burp/APKBUILD b/testing/burp/APKBUILD
index 2a1850e77b..16275d3a6d 100644
--- a/testing/burp/APKBUILD
+++ b/testing/burp/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=burp
-pkgver=1.3.10
+pkgver=1.4.32
pkgrel=0
pkgdesc="Backup and resore program"
url="http://burp.grke.net/"
@@ -12,7 +12,9 @@ depends_dev="librsync-dev zlib-dev openssl-dev"
makedepends="$depends_dev gettext-dev"
install=""
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/project/burp/burp-$pkgver%20%28stable%29/burp-$pkgver.tar.bz2"
+source="http://downloads.sourceforge.net/project/burp/burp-$pkgver/burp-$pkgver.tar.bz2
+ librsync-1.0.0.patch
+ "
_builddir="$srcdir"/burp
prepare() {
@@ -23,9 +25,6 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
-# cd autoconf
-# aclocal -I burp-macros && autoconf || return 1
-# cp configure ../
}
build() {
@@ -36,6 +35,7 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
+ make -C src || return 1
make NO_ECHO= || return 1
}
@@ -44,4 +44,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="c73717179c5901a1e4c1968a9e6accb8 burp-1.3.10.tar.bz2"
+md5sums="d2cd5bb6f8266e7d2b0350157bedc480 burp-1.4.32.tar.bz2
+ae7640202c3c36ee3b302d0551cedd59 librsync-1.0.0.patch"
+sha256sums="3f1aa69d0a8dcc472f789cc4d41aed449ec9b9e79d2c61dd16d270b34c34617e burp-1.4.32.tar.bz2
+1341e72efd8a3cc4b98c7508ec3404ab6735b21722a569297abb4b8354ee3612 librsync-1.0.0.patch"
+sha512sums="020947ab4f957a3dc99d65dc9197c6a65f205756b55ff2dfc4c3340e28c88f1b6ddaf579373c969c6b1af1050be8af0bc3756281a0b3a1ea9ff5b775aaed29ae burp-1.4.32.tar.bz2
+f866e5caebb69bea812f662458e824191206abbdc15a15b379df374c32cedcddb260c246d201c8eb33f9965a74e00ffb750912de90e1d991b614785f9868df8f librsync-1.0.0.patch"
diff --git a/testing/burp/librsync-1.0.0.patch b/testing/burp/librsync-1.0.0.patch
new file mode 100644
index 0000000000..80d7edb08e
--- /dev/null
+++ b/testing/burp/librsync-1.0.0.patch
@@ -0,0 +1,36 @@
+--- ./src/backup_phase2_server.c.orig
++++ ./src/backup_phase2_server.c
+@@ -483,7 +483,11 @@
+ free(curpath);
+
+ blocklen=get_librsync_block_len(cb->endfile);
++#ifdef RS_DEFAULT_STRONG_LEN
+ if(!(p1b->sigjob=rs_sig_begin(blocklen, RS_DEFAULT_STRONG_LEN)))
++#else
++ if(!(p1b->sigjob=rs_sig_begin(blocklen, 8, RS_MD4_SIG_MAGIC)))
++#endif
+ {
+ logp("could not start signature job.\n");
+ return -1;
+--- ./src/backup_phase4_server.c.orig
++++ ./src/backup_phase4_server.c
+@@ -38,7 +38,7 @@
+ }
+ result=rs_sig_gzfile(dstfp, dstzp, sigp,
+ get_librsync_block_len(endfile),
+- RS_DEFAULT_STRONG_LEN, NULL, cntr);
++ 8, NULL, cntr);
+ gzclose_fp(&dstzp);
+ close_fp(&dstfp);
+ if(close_fp(&sigp))
+--- ./src/rs_buf.c.orig
++++ ./src/rs_buf.c
+@@ -497,7 +497,7 @@
+ rs_job_t *job;
+ rs_result r;
+
+- job = rs_sig_begin(new_block_len, strong_len);
++ job = rs_sig_begin(new_block_len, strong_len, RS_MD4_SIG_MAGIC);
+ r = rs_whole_gzrun(job, old_file, old_zfile, sig_file, NULL, cntr);
+ /*
+ if (stats)