Date: Sunday, April 23, 2023 @ 10:18:41
  Author: bluewind
Revision: 1448377

archrelease: copy trunk to community-testing-any

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

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

Copied: rsnapshot/repos/community-testing-any/0001-added-missing-back.patch 
(from rev 1448376, rsnapshot/trunk/0001-added-missing-back.patch)
===================================================================
--- community-testing-any/0001-added-missing-back.patch                         
(rev 0)
+++ community-testing-any/0001-added-missing-back.patch 2023-04-23 10:18:41 UTC 
(rev 1448377)
@@ -0,0 +1,25 @@
+From f5d99185002284440947f8eac7b216ac77b4f2e4 Mon Sep 17 00:00:00 2001
+From: Steven Roberts <[email protected]>
+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-testing-any/PKGBUILD (from rev 1448376, 
rsnapshot/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2023-04-23 10:18:41 UTC (rev 1448377)
@@ -0,0 +1,56 @@
+# Maintainer:
+# Contributor: Geoffroy Carrier <[email protected]>
+# Contributor: Thorsten Tasch <[email protected]>
+# Contributor: JJDaNiMoTh <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=rsnapshot
+pkgver=1.4.5
+pkgrel=1
+pkgdesc="A remote filesystem snapshot utility"
+arch=('any')
+url="https://www.rsnapshot.org";
+license=('GPL')
+depends=('perl' 'rsync' 'openssh' 'perl-lchown')
+backup=('etc/rsnapshot.conf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rsnapshot/rsnapshot/archive/$pkgver.tar.gz";
+        'rsnapshot'
+               '0001-added-missing-back.patch'
+               "pod-fix.patch")
+sha256sums=('8ef500e2eaee85a37fb8000f73b3b1325569fcfe940a7e8ea66a8f243cb289a3'
+            'ab98a605b8c8fe3d99dcd6c5d74ec3bc3c19dcf95766290ae697594fa881122f'
+            '8b89cb048b5b52b2fe748ec14e9d092e79fc2bd24e9cd5c0877bac535466cc8e'
+            '9f89badd3c3dbea6c03883ae269f7759b869a3c981eff699353dce7d19becb47')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+
+       patch -p1 -i "$srcdir/0001-added-missing-back.patch"
+       patch -p1 -i "$srcdir/pod-fix.patch"
+
+       # SSH testing requires a local SSH daemon with a specific user and won't
+       # work reliably on different build hosts.
+       rm t/ssh_args/ssh_args.t.in
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./autogen.sh
+       ./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-testing-any/pod-fix.patch (from rev 1448376, 
rsnapshot/trunk/pod-fix.patch)
===================================================================
--- community-testing-any/pod-fix.patch                         (rev 0)
+++ community-testing-any/pod-fix.patch 2023-04-23 10:18:41 UTC (rev 1448377)
@@ -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-testing-any/rsnapshot (from rev 1448376, 
rsnapshot/trunk/rsnapshot)
===================================================================
--- community-testing-any/rsnapshot                             (rev 0)
+++ community-testing-any/rsnapshot     2023-04-23 10:18:41 UTC (rev 1448377)
@@ -0,0 +1,4 @@
+/var/log/rsnapshot {
+   copytruncate
+   missingok
+}

Reply via email to