[arch-commits] Commit in rsnapshot/repos (5 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:08:19 UTC 2018


    Date: Friday, November 9, 2018 @ 21:08:18
  Author: foutrelis
Revision: 404529

archrelease: copy trunk to community-staging-any

Added:
  rsnapshot/repos/community-staging-any/
  rsnapshot/repos/community-staging-any/0001-added-missing-back.patch
    (from rev 404528, rsnapshot/trunk/0001-added-missing-back.patch)
  rsnapshot/repos/community-staging-any/PKGBUILD
    (from rev 404528, rsnapshot/trunk/PKGBUILD)
  rsnapshot/repos/community-staging-any/pod-fix.patch
    (from rev 404528, rsnapshot/trunk/pod-fix.patch)
  rsnapshot/repos/community-staging-any/rsnapshot
    (from rev 404528, rsnapshot/trunk/rsnapshot)

-------------------------------+
 0001-added-missing-back.patch |   25 +++++++++++++++++++
 PKGBUILD                      |   51 ++++++++++++++++++++++++++++++++++++++++
 pod-fix.patch                 |   11 ++++++++
 rsnapshot                     |    4 +++
 4 files changed, 91 insertions(+)

Copied: rsnapshot/repos/community-staging-any/0001-added-missing-back.patch (from rev 404528, rsnapshot/trunk/0001-added-missing-back.patch)
===================================================================
--- community-staging-any/0001-added-missing-back.patch	                        (rev 0)
+++ community-staging-any/0001-added-missing-back.patch	2018-11-09 21:08:18 UTC (rev 404529)
@@ -0,0 +1,25 @@
+From f5d99185002284440947f8eac7b216ac77b4f2e4 Mon Sep 17 00:00:00 2001
+From: Steven Roberts <strobert at strobe.net>
+Date: Sun, 7 Jul 2013 19:07:14 -0700
+Subject: [PATCH] added missing =back.
+
+---
+ rsnapshot-program.pl | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/rsnapshot-program.pl b/rsnapshot-program.pl
+index 85972fd..95b7031 100755
+--- a/rsnapshot-program.pl
++++ b/rsnapshot-program.pl
+@@ -6609,6 +6609,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.
+ 
+-- 
+1.9.0
+

Copied: rsnapshot/repos/community-staging-any/PKGBUILD (from rev 404528, rsnapshot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 21:08:18 UTC (rev 404529)
@@ -0,0 +1,51 @@
+# Maintainer:
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Thorsten Tasch <tht at thorstentasch.de>
+# Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=rsnapshot
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="A remote filesystem snapshot utility"
+arch=('any')
+url="http://www.rsnapshot.org"
+license=('GPL')
+depends=('perl' 'rsync' 'openssh' 'perl-lchown')
+backup=('etc/rsnapshot.conf')
+source=("https://github.com/rsnapshot/rsnapshot/releases/download/$pkgver/${pkgname}-${pkgver}.tar.gz"
+        'rsnapshot'
+		'0001-added-missing-back.patch'
+		"pod-fix.patch")
+md5sums=('860382f19e38fc649f9447397b54e442'
+         '4cd16eaa51d58a652cffde945985e91c'
+         'a7075d9366eda5e699be86f7ffe8246e'
+         '0d889cbef6fddf8401611bc16ed63c5c')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -p1 -i "$srcdir/0001-added-missing-back.patch"
+	patch -p1 -i "$srcdir/pod-fix.patch"
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
+	sed -i 's:/usr/bin/pod2man:/usr/bin/core_perl/pod2man:' Makefile
+	make
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make test
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR=${pkgdir} install
+	install -Dm755 utils/rsnapreport.pl "$pkgdir/usr/bin/rsnapreport.pl"
+	mv ${pkgdir}/etc/rsnapshot.conf.default ${pkgdir}/etc/rsnapshot.conf
+	install -Dm644 ${srcdir}/rsnapshot ${pkgdir}/etc/logrotate.d/rsnapshot
+}

Copied: rsnapshot/repos/community-staging-any/pod-fix.patch (from rev 404528, rsnapshot/trunk/pod-fix.patch)
===================================================================
--- community-staging-any/pod-fix.patch	                        (rev 0)
+++ community-staging-any/pod-fix.patch	2018-11-09 21:08:18 UTC (rev 404529)
@@ -0,0 +1,11 @@
+--- a/rsnapshot-program.pl	2015-07-06 15:33:45.025758710 +0200
++++ b/rsnapshot-program.pl	2015-07-06 15:33:40.069069196 +0200
+@@ -7284,8 +7284,6 @@
+ 
+ =back
+ 
+-=back
+-
+ =head1 USAGE
+ 
+ B<rsnapshot> can be used by any user, but for system-wide backups

Copied: rsnapshot/repos/community-staging-any/rsnapshot (from rev 404528, rsnapshot/trunk/rsnapshot)
===================================================================
--- community-staging-any/rsnapshot	                        (rev 0)
+++ community-staging-any/rsnapshot	2018-11-09 21:08:18 UTC (rev 404529)
@@ -0,0 +1,4 @@
+/var/log/rsnapshot {
+   copytruncate
+   missingok
+}



More information about the arch-commits mailing list