[arch-commits] Commit in snapper/repos/community-x86_64 (10 files)

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Sat May 7 08:43:06 UTC 2022


    Date: Saturday, May 7, 2022 @ 08:43:06
  Author: mtorromeo
Revision: 1196135

archrelease: copy trunk to community-x86_64

Added:
  snapper/repos/community-x86_64/PKGBUILD
    (from rev 1196134, snapper/trunk/PKGBUILD)
  snapper/repos/community-x86_64/conf-d.patch
    (from rev 1196134, snapper/trunk/conf-d.patch)
  snapper/repos/community-x86_64/cron-rename.patch
    (from rev 1196134, snapper/trunk/cron-rename.patch)
  snapper/repos/community-x86_64/drift-file-path.patch
    (from rev 1196134, snapper/trunk/drift-file-path.patch)
  snapper/repos/community-x86_64/usr-paths.patch
    (from rev 1196134, snapper/trunk/usr-paths.patch)
Deleted:
  snapper/repos/community-x86_64/PKGBUILD
  snapper/repos/community-x86_64/conf-d.patch
  snapper/repos/community-x86_64/cron-rename.patch
  snapper/repos/community-x86_64/drift-file-path.patch
  snapper/repos/community-x86_64/usr-paths.patch

-----------------------+
 PKGBUILD              |  118 ++++++++++++++++++++++++------------------------
 conf-d.patch          |   98 +++++++++++++++++++--------------------
 cron-rename.patch     |   28 +++++------
 drift-file-path.patch |   20 ++++----
 usr-paths.patch       |   24 ++++-----
 5 files changed, 144 insertions(+), 144 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-07 08:42:53 UTC (rev 1196134)
+++ PKGBUILD	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -1,59 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
-
-pkgname=snapper
-pkgver=0.10.1
-pkgrel=1
-pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
-arch=('x86_64')
-url="http://snapper.io"
-license=('GPL2')
-depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl' 'json-c')
-makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
-optdepends=('pam: pam_snapper')
-backup=('etc/conf.d/snapper')
-source=("https://github.com/openSUSE/snapper/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
-        "conf-d.patch"
-        "cron-rename.patch"
-        "drift-file-path.patch"
-        "usr-paths.patch")
-sha256sums=('125017eeaa4bf0f362d16db6ef9485b0bbe931bcafa8659a95c33b9512d9ff5e'
-            '267118a198583fc1ff10f376e108c0600844e0b1370e44ac4674b20332bff106'
-            '0e76f2aef9ac05d719e25c2d60e7eba4b533778a57fe98fd047f256c6845f65f'
-            '093c7993e466a0cf9c0794a971825f5f1b40047512857bc124ed0d63dbb306d6'
-            '710da7638a1c123a6985398a15cd7c03432fc3b2d781e2d7a20a1a52669eed95')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  patch -p1 -i "$srcdir/conf-d.patch"
-  patch -p1 -i "$srcdir/cron-rename.patch"
-  patch -p1 -i "$srcdir/drift-file-path.patch"
-  patch -p1 -i "$srcdir/usr-paths.patch"
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  aclocal
-  libtoolize --force --automake --copy
-  autoheader
-  automake --add-missing --copy
-  autoconf
-  ./configure --prefix=/usr \
-              --sbindir=/usr/bin \
-              --with-conf=/etc/conf.d \
-              --with-pam-security=/usr/lib/security \
-              --disable-zypp \
-              --disable-silent-rules
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-  install -Dm644 data/sysconfig.snapper \
-    "$pkgdir"/etc/conf.d/snapper
-
-  rm -rf "$pkgdir/usr/lib/snapper/testsuite/"
-}

Copied: snapper/repos/community-x86_64/PKGBUILD (from rev 1196134, snapper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -0,0 +1,59 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
+
+pkgname=snapper
+pkgver=0.10.2
+pkgrel=1
+pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
+arch=('x86_64')
+url="http://snapper.io"
+license=('GPL2')
+depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl' 'json-c')
+makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
+optdepends=('pam: pam_snapper')
+backup=('etc/conf.d/snapper')
+source=("https://github.com/openSUSE/snapper/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        "conf-d.patch"
+        "cron-rename.patch"
+        "drift-file-path.patch"
+        "usr-paths.patch")
+sha256sums=('85cfecebe5c5023abce8cb7f985be59e5a5159d2f8dd637f3cca46c17124d7aa'
+            '267118a198583fc1ff10f376e108c0600844e0b1370e44ac4674b20332bff106'
+            '0e76f2aef9ac05d719e25c2d60e7eba4b533778a57fe98fd047f256c6845f65f'
+            '093c7993e466a0cf9c0794a971825f5f1b40047512857bc124ed0d63dbb306d6'
+            '710da7638a1c123a6985398a15cd7c03432fc3b2d781e2d7a20a1a52669eed95')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "$srcdir/conf-d.patch"
+  patch -p1 -i "$srcdir/cron-rename.patch"
+  patch -p1 -i "$srcdir/drift-file-path.patch"
+  patch -p1 -i "$srcdir/usr-paths.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  aclocal
+  libtoolize --force --automake --copy
+  autoheader
+  automake --add-missing --copy
+  autoconf
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --with-conf=/etc/conf.d \
+              --with-pam-security=/usr/lib/security \
+              --disable-zypp \
+              --disable-silent-rules
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  install -Dm644 data/sysconfig.snapper \
+    "$pkgdir"/etc/conf.d/snapper
+
+  rm -rf "$pkgdir/usr/lib/snapper/testsuite/"
+}

Deleted: conf-d.patch
===================================================================
--- conf-d.patch	2022-05-07 08:42:53 UTC (rev 1196134)
+++ conf-d.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -1,49 +0,0 @@
-diff --git a/scripts/pam_snapper_userdel.sh b/scripts/pam_snapper_userdel.sh
-index 30be9be..1ffa63e 100755
---- a/scripts/pam_snapper_userdel.sh
-+++ b/scripts/pam_snapper_userdel.sh
-@@ -40,7 +40,7 @@ fi
- if [ ${DRYRUN} == 0 ] ; then
- 	# Delete the snapper configuration
- 	# This deletes $SNAPPERCFGDIR/home_${MYUSER}
--	# removes "home_${MYUSER}" from /etc/sysconfig/snapper
-+	# removes "home_${MYUSER}" from /etc/conf.d/snapper
- 	# and deletes all snapshots
- 	${CMD_SNAPPER} -c home_${MYUSER} delete-config
- 	# Delete the USER's home subvolume
-diff --git a/scripts/snapper-daily b/scripts/snapper-daily
-index 27e7a10..2ee7fff 100755
---- a/scripts/snapper-daily
-+++ b/scripts/snapper-daily
-@@ -9,10 +9,10 @@ export PATH
- 
- 
- #
--# get information from /etc/sysconfig/snapper
-+# get information from /etc/conf.d/snapper
- #
--if [ -f /etc/sysconfig/snapper ] ; then
--    . /etc/sysconfig/snapper
-+if [ -f /etc/conf.d/snapper ] ; then
-+    . /etc/conf.d/snapper
- fi
- 
- 
-diff --git a/scripts/snapper-hourly b/scripts/snapper-hourly
-index bc6cd4d..1ef49ff 100755
---- a/scripts/snapper-hourly
-+++ b/scripts/snapper-hourly
-@@ -9,10 +9,10 @@ export PATH
- 
- 
- #
--# get information from /etc/sysconfig/snapper
-+# get information from /etc/conf.d/snapper
- #
--if [ -f /etc/sysconfig/snapper ] ; then
--    . /etc/sysconfig/snapper
-+if [ -f /etc/conf.d/snapper ] ; then
-+    . /etc/conf.d/snapper
- fi
- 
- 

Copied: snapper/repos/community-x86_64/conf-d.patch (from rev 1196134, snapper/trunk/conf-d.patch)
===================================================================
--- conf-d.patch	                        (rev 0)
+++ conf-d.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -0,0 +1,49 @@
+diff --git a/scripts/pam_snapper_userdel.sh b/scripts/pam_snapper_userdel.sh
+index 30be9be..1ffa63e 100755
+--- a/scripts/pam_snapper_userdel.sh
++++ b/scripts/pam_snapper_userdel.sh
+@@ -40,7 +40,7 @@ fi
+ if [ ${DRYRUN} == 0 ] ; then
+ 	# Delete the snapper configuration
+ 	# This deletes $SNAPPERCFGDIR/home_${MYUSER}
+-	# removes "home_${MYUSER}" from /etc/sysconfig/snapper
++	# removes "home_${MYUSER}" from /etc/conf.d/snapper
+ 	# and deletes all snapshots
+ 	${CMD_SNAPPER} -c home_${MYUSER} delete-config
+ 	# Delete the USER's home subvolume
+diff --git a/scripts/snapper-daily b/scripts/snapper-daily
+index 27e7a10..2ee7fff 100755
+--- a/scripts/snapper-daily
++++ b/scripts/snapper-daily
+@@ -9,10 +9,10 @@ export PATH
+ 
+ 
+ #
+-# get information from /etc/sysconfig/snapper
++# get information from /etc/conf.d/snapper
+ #
+-if [ -f /etc/sysconfig/snapper ] ; then
+-    . /etc/sysconfig/snapper
++if [ -f /etc/conf.d/snapper ] ; then
++    . /etc/conf.d/snapper
+ fi
+ 
+ 
+diff --git a/scripts/snapper-hourly b/scripts/snapper-hourly
+index bc6cd4d..1ef49ff 100755
+--- a/scripts/snapper-hourly
++++ b/scripts/snapper-hourly
+@@ -9,10 +9,10 @@ export PATH
+ 
+ 
+ #
+-# get information from /etc/sysconfig/snapper
++# get information from /etc/conf.d/snapper
+ #
+-if [ -f /etc/sysconfig/snapper ] ; then
+-    . /etc/sysconfig/snapper
++if [ -f /etc/conf.d/snapper ] ; then
++    . /etc/conf.d/snapper
+ fi
+ 
+ 

Deleted: cron-rename.patch
===================================================================
--- cron-rename.patch	2022-05-07 08:42:53 UTC (rev 1196134)
+++ cron-rename.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -1,14 +0,0 @@
-diff --git a/scripts/Makefile.am b/scripts/Makefile.am
-index 506f74a..407382c 100644
---- a/scripts/Makefile.am
-+++ b/scripts/Makefile.am
-@@ -17,7 +17,7 @@ endif
- EXTRA_DIST = snapper-hourly snapper-daily bash-completion.bash $(pam_snapper_SCRIPTS)
- 
- install-data-local:
--	install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/suse.de-snapper
--	install -D snapper-daily $(DESTDIR)/etc/cron.daily/suse.de-snapper
-+	install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/snapper
-+	install -D snapper-daily $(DESTDIR)/etc/cron.daily/snapper
- 	install -D --mode a+r,u+w bash-completion.bash $(DESTDIR)/usr/share/bash-completion/completions/snapper
- 

Copied: snapper/repos/community-x86_64/cron-rename.patch (from rev 1196134, snapper/trunk/cron-rename.patch)
===================================================================
--- cron-rename.patch	                        (rev 0)
+++ cron-rename.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -0,0 +1,14 @@
+diff --git a/scripts/Makefile.am b/scripts/Makefile.am
+index 506f74a..407382c 100644
+--- a/scripts/Makefile.am
++++ b/scripts/Makefile.am
+@@ -17,7 +17,7 @@ endif
+ EXTRA_DIST = snapper-hourly snapper-daily bash-completion.bash $(pam_snapper_SCRIPTS)
+ 
+ install-data-local:
+-	install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/suse.de-snapper
+-	install -D snapper-daily $(DESTDIR)/etc/cron.daily/suse.de-snapper
++	install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/snapper
++	install -D snapper-daily $(DESTDIR)/etc/cron.daily/snapper
+ 	install -D --mode a+r,u+w bash-completion.bash $(DESTDIR)/usr/share/bash-completion/completions/snapper
+ 

Deleted: drift-file-path.patch
===================================================================
--- drift-file-path.patch	2022-05-07 08:42:53 UTC (rev 1196134)
+++ drift-file-path.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -1,10 +0,0 @@
-diff --git a/data/base.txt b/data/base.txt
-index c75fde9..e1d5303 100644
---- a/data/base.txt
-+++ b/data/base.txt
-@@ -2,4 +2,4 @@
- /etc/mtab
- /var/lib/logrotate.status
- /var/lib/misc/random-seed
--/var/lib/ntp/drift/ntp.drift
-+/var/lib/ntp/ntp.drift

Copied: snapper/repos/community-x86_64/drift-file-path.patch (from rev 1196134, snapper/trunk/drift-file-path.patch)
===================================================================
--- drift-file-path.patch	                        (rev 0)
+++ drift-file-path.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -0,0 +1,10 @@
+diff --git a/data/base.txt b/data/base.txt
+index c75fde9..e1d5303 100644
+--- a/data/base.txt
++++ b/data/base.txt
+@@ -2,4 +2,4 @@
+ /etc/mtab
+ /var/lib/logrotate.status
+ /var/lib/misc/random-seed
+-/var/lib/ntp/drift/ntp.drift
++/var/lib/ntp/ntp.drift

Deleted: usr-paths.patch
===================================================================
--- usr-paths.patch	2022-05-07 08:42:53 UTC (rev 1196134)
+++ usr-paths.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -1,12 +0,0 @@
-diff --git a/data/org.opensuse.Snapper.service b/data/org.opensuse.Snapper.service
-index 39d7333..6c49474 100644
---- a/data/org.opensuse.Snapper.service
-+++ b/data/org.opensuse.Snapper.service
-@@ -1,5 +1,5 @@
- # DBus service activation config
- [D-BUS Service]
- Name=org.opensuse.Snapper
--Exec=/usr/sbin/snapperd
-+Exec=/usr/bin/snapperd
- User=root
- 

Copied: snapper/repos/community-x86_64/usr-paths.patch (from rev 1196134, snapper/trunk/usr-paths.patch)
===================================================================
--- usr-paths.patch	                        (rev 0)
+++ usr-paths.patch	2022-05-07 08:43:06 UTC (rev 1196135)
@@ -0,0 +1,12 @@
+diff --git a/data/org.opensuse.Snapper.service b/data/org.opensuse.Snapper.service
+index 39d7333..6c49474 100644
+--- a/data/org.opensuse.Snapper.service
++++ b/data/org.opensuse.Snapper.service
+@@ -1,5 +1,5 @@
+ # DBus service activation config
+ [D-BUS Service]
+ Name=org.opensuse.Snapper
+-Exec=/usr/sbin/snapperd
++Exec=/usr/bin/snapperd
+ User=root
+ 



More information about the arch-commits mailing list