diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-07 07:43:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-07 07:45:47 +0000 |
commit | 0d8dea4e30f7a30b61f0789d52b2e9e950b9df38 (patch) | |
tree | fa7753dd4215000b6051ef9b961c6a75a9247d21 /testing | |
parent | 65a07ab983a4379abb7d52e000e9fefb8a5ddef3 (diff) | |
download | aports-0d8dea4e30f7a30b61f0789d52b2e9e950b9df38.tar.bz2 aports-0d8dea4e30f7a30b61f0789d52b2e9e950b9df38.tar.xz |
testing/rsnapshot: new aport
Local and remote filesystem snapshot utility
http://www.rsnapshot.org/
ref #2869
Diffstat (limited to 'testing')
-rw-r--r-- | testing/rsnapshot/APKBUILD | 55 | ||||
-rw-r--r-- | testing/rsnapshot/pod2man.patch | 12 |
2 files changed, 67 insertions, 0 deletions
diff --git a/testing/rsnapshot/APKBUILD b/testing/rsnapshot/APKBUILD new file mode 100644 index 0000000000..987397a331 --- /dev/null +++ b/testing/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/testing/rsnapshot/pod2man.patch b/testing/rsnapshot/pod2man.patch new file mode 100644 index 0000000000..d9ec257082 --- /dev/null +++ b/testing/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. + |