summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Maersk2015-07-14 20:51:02 +0300
committerNoel Maersk2015-07-14 20:51:02 +0300
commit3ef5aec9ae343f39fdd25a08797cdf0054800914 (patch)
tree1d462116bd920fe7980aa283acfeb33afa557ce5
downloadaur-3ef5aec9ae343f39fdd25a08797cdf0054800914.tar.gz
Initial commit (verbatim from AUR3).
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD30
-rw-r--r--libarchive-depr-fix.patch13
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1f3ec02ea4b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = rdup
+ pkgdesc = Generates a file list suitable for making backups. Processing tool included.
+ pkgver = 1.1.14
+ pkgrel = 3
+ url = http://archive.miek.nl/projects/rdup
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = glib2
+ depends = pcre
+ depends = libarchive
+ depends = nettle
+ source = http://archive.miek.nl/projects/rdup/rdup-1.1.14.tar.bz2
+ source = libarchive-depr-fix.patch
+ sha1sums = 49dc7570122bfa362f36a26a2ffa8bfe8ad55182
+ sha1sums = 69cd5825f7ec196f3bf906565f373fde9275cfc8
+
+pkgname = rdup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..50d75b5f393
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Noel Maersk <veox-at-wemakethings-dot-net>
+# Contributor: Gergely Tamas <dice-at-mfa-dot-kfki-dot-hu>
+# Contributor: Jan Spakula bender02 at archlinux dot us
+
+pkgname=rdup
+pkgver=1.1.14
+pkgrel=3
+pkgdesc="Generates a file list suitable for making backups. Processing tool included."
+url="http://archive.miek.nl/projects/rdup"
+license=("GPL3")
+depends=('glib2' 'pcre' 'libarchive' 'nettle')
+arch=('i686' 'x86_64')
+source=(http://archive.miek.nl/projects/$pkgname/$pkgname-$pkgver.tar.bz2
+ libarchive-depr-fix.patch)
+sha1sums=('49dc7570122bfa362f36a26a2ffa8bfe8ad55182'
+ '69cd5825f7ec196f3bf906565f373fde9275cfc8')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p2 < "$srcdir/libarchive-depr-fix.patch"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make -j1
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libarchive-depr-fix.patch b/libarchive-depr-fix.patch
new file mode 100644
index 00000000000..dfefd183603
--- /dev/null
+++ b/libarchive-depr-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/rdup-1.1.14/rdup-tr.c b/rdup-1.1.14/rdup-tr.c
+index 2b7d05c..3b671fc 100644
+--- a/rdup-1.1.14/rdup-tr.c
++++ b/rdup-1.1.14/rdup-tr.c
+@@ -364,7 +364,7 @@ not_s_isreg:
+
+ if (opt_output != O_RDUP) {
+ archive_write_close(archive);
+- archive_write_finish(archive);
++ archive_write_free(archive);
+ }
+ g_free(readbuf);
+ g_free(buf);