aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'main/rsnapshot')
-rw-r--r--main/rsnapshot/APKBUILD55
-rw-r--r--main/rsnapshot/pod2man.patch12
2 files changed, 67 insertions, 0 deletions
diff --git a/main/rsnapshot/APKBUILD b/main/rsnapshot/APKBUILD
new file mode 100644
index 0000000000..987397a331
--- /dev/null
+++ b/main/rsnapshot/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=rsnapshot
+pkgver=1.3.1
+pkgrel=0
+pkgdesc="Local and remote filesystem snapshot utility"
+url="http://www.rsnapshot.org/"
+arch="noarch"
+license="GPLv2+"
+depends="perl rsync openssh-client"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.rsnapshot.org/downloads/rsnapshot-$pkgver.tar.gz
+ pod2man.patch
+ "
+
+_builddir="$srcdir"/rsnapshot-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="588f92995dcf60a6ea6df8d94a017e7e rsnapshot-1.3.1.tar.gz
+68b98f99b705788362eecd1257909fcb pod2man.patch"
+sha256sums="94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e rsnapshot-1.3.1.tar.gz
+974daf6554c74c70c4b91a9ca38181420d59001b86d1ef63a1ea494615b36d44 pod2man.patch"
+sha512sums="a74ad0a21d213dd2e05cb577a47c491af90d8994df8f5a154195515345da438ac9c0d72b563aa02314883a0b3bb86e3c23f8b530a7078c2b55a9547a2d666c10 rsnapshot-1.3.1.tar.gz
+1953c8c48bfbc7a0400ae61b616301d176490ef507366f23d8280a620fa9a62d5c67415bd32e978382fc540f09975b115c2a61e3e71cdc9b27fb4227f0923671 pod2man.patch"
diff --git a/main/rsnapshot/pod2man.patch b/main/rsnapshot/pod2man.patch
new file mode 100644
index 0000000000..d9ec257082
--- /dev/null
+++ b/main/rsnapshot/pod2man.patch
@@ -0,0 +1,12 @@
+diff -up rsnapshot-1.3.1/rsnapshot-program.pl.pod2man rsnapshot-1.3.1/rsnapshot-program.pl
+--- rsnapshot-1.3.1/rsnapshot-program.pl.pod2man 2013-07-06 00:39:44.500520483 -0700
++++ rsnapshot-1.3.1/rsnapshot-program.pl 2013-07-06 00:43:17.696767540 -0700
+@@ -6666,6 +6666,8 @@ additional disk space will be taken up.
+
+ =back
+
++=back
++
+ Remember that tabs must separate all elements, and that
+ there must be a trailing slash on the end of every directory.
+