[arch-commits] Commit in snapper/repos (12 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Jan 20 10:07:17 UTC 2015
Date: Tuesday, January 20, 2015 @ 11:07:17
Author: mtorromeo
Revision: 126296
archrelease: copy trunk to community-i686, community-x86_64
Added:
snapper/repos/community-i686/PKGBUILD
(from rev 126295, snapper/trunk/PKGBUILD)
snapper/repos/community-x86_64/PKGBUILD
(from rev 126295, snapper/trunk/PKGBUILD)
Deleted:
snapper/repos/community-i686/PKGBUILD
snapper/repos/community-i686/cleanup.service
snapper/repos/community-i686/cleanup.timer
snapper/repos/community-i686/timeline.service
snapper/repos/community-i686/timeline.timer
snapper/repos/community-x86_64/PKGBUILD
snapper/repos/community-x86_64/cleanup.service
snapper/repos/community-x86_64/cleanup.timer
snapper/repos/community-x86_64/timeline.service
snapper/repos/community-x86_64/timeline.timer
-----------------------------------+
/PKGBUILD | 158 ++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 86 -------------------
community-i686/cleanup.service | 9 --
community-i686/cleanup.timer | 12 --
community-i686/timeline.service | 9 --
community-i686/timeline.timer | 12 --
community-x86_64/PKGBUILD | 86 -------------------
community-x86_64/cleanup.service | 9 --
community-x86_64/cleanup.timer | 12 --
community-x86_64/timeline.service | 9 --
community-x86_64/timeline.timer | 12 --
11 files changed, 158 insertions(+), 256 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-i686/PKGBUILD 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,86 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
-
-pkgname=snapper
-pkgver=0.2.4
-pkgrel=2
-pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
-arch=('i686' 'x86_64')
-url="http://snapper.io"
-license=('GPL2')
-depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl')
-makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
-optdepends=('pam: pam_snapper')
-backup=('etc/conf.d/snapper')
-source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2"
- cleanup.timer
- cleanup.service
- timeline.timer
- timeline.service)
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # fix for btrfs-progs 3.16
- sed 's/BTRFS_LIB_VERSION (100)/BTRFS_LIB_VERSION (101)/g' -i snapper/Btrfs.cc
-
- # boost fixlets - Arch doesn't use -mt suffix
- sed -e 's at lboost_thread-mt@lboost_thread at g' \
- -e 's at lboost_system-mt@lboost_system at g' \
- -i snapper/Makefile.am
-
- # cron names
- sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
-
- # fix sysconf dir
- sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
-
- # fix pam plugin install location
- sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
-
- # all in /usr/bin
- sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
-
- # NTP drift file location
- sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
-
- # man pages sysconfig location
- sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
-}
-
-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 \
- --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
- install -Dm755 client/.libs/systemd-helper "$pkgdir"/usr/lib/snapper/systemd-helper
-
- rm -f "$pkgdir"/etc/snapper/zypp-plugin.conf
- rm -f "$pkgdir"/usr/share/man/man*/snapper-zypp-plugin.*.gz
-
- for unit in {cleanup,timeline}.{timer,service}; do
- install -Dm644 "$srcdir"/$unit "$pkgdir"/usr/lib/systemd/system/snapper-$unit
- done
-}
-
-sha256sums=('8fc70b8e7a39dc3249ce9141e2c5f0623bb80f8e4150a543d8ed04d2ad27f399'
- '7c0a695b4d70b3d6aa25789b478ceca86ac3dab6f678045df4907b2c020341f9'
- 'd2f2571e92ffe612529d69a96bd725b4bd040fc36043d98dc1e09b6efcb65894'
- 'b62f61261e45587a38bcbe6468b8932259740984151db1636d299ddafbe3f7a9'
- 'fb01465a6ba7c202c5b1aecb92b99bfcbcd7cdceb0448d84224a108481805bd5')
Copied: snapper/repos/community-i686/PKGBUILD (from rev 126295, snapper/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-20 10:07:17 UTC (rev 126296)
@@ -0,0 +1,79 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
+
+pkgname=snapper
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
+arch=('i686' 'x86_64')
+url="http://snapper.io"
+license=('GPL2')
+depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl')
+makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
+optdepends=('pam: pam_snapper')
+backup=('etc/conf.d/snapper')
+source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2")
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # boost fixlets - Arch doesn't use -mt suffix
+ sed -e 's at lboost_thread-mt@lboost_thread at g' \
+ -e 's at lboost_system-mt@lboost_system at g' \
+ -i snapper/Makefile.am
+
+ # cron names
+ sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
+
+ # fix sysconf dir
+ sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
+
+ # fix pam plugin install location
+ sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
+
+ # all in /usr/bin
+ sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
+
+ # NTP drift file location
+ sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
+
+ # man pages sysconfig location
+ sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
+}
+
+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 \
+ --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
+ install -Dm755 client/.libs/systemd-helper \
+ "$pkgdir"/usr/lib/snapper/systemd-helper
+
+ rm -f "$pkgdir"/etc/snapper/zypp-plugin.conf
+ rm -f "$pkgdir"/usr/share/man/man*/snapper-zypp-plugin.*.gz
+
+ cd data
+ for unit in {cleanup,timeline}.{timer,service}; do
+ install -Dm644 $unit \
+ "$pkgdir"/usr/lib/systemd/system/snapper-$unit
+ done
+}
+
+sha256sums=('48bf3c3d409ab58ee06db77390a64889c44593ed824463fbfe707aa31d6831ea')
Deleted: community-i686/cleanup.service
===================================================================
--- community-i686/cleanup.service 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-i686/cleanup.service 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,9 +0,0 @@
-
-[Unit]
-Description=Daily Cleanup of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Service]
-Type=simple
-ExecStart=/usr/lib/snapper/systemd-helper --cleanup
-
Deleted: community-i686/cleanup.timer
===================================================================
--- community-i686/cleanup.timer 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-i686/cleanup.timer 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,12 +0,0 @@
-
-[Unit]
-Description=Daily Cleanup of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Timer]
-OnBootSec=10m
-OnUnitActiveSec=1d
-
-[Install]
-WantedBy=basic.target
-
Deleted: community-i686/timeline.service
===================================================================
--- community-i686/timeline.service 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-i686/timeline.service 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,9 +0,0 @@
-
-[Unit]
-Description=Timeline of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Service]
-Type=simple
-ExecStart=/usr/lib/snapper/systemd-helper --timeline
-
Deleted: community-i686/timeline.timer
===================================================================
--- community-i686/timeline.timer 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-i686/timeline.timer 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,12 +0,0 @@
-
-[Unit]
-Description=Timeline of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Timer]
-OnCalendar=hourly
-Persistent=true
-
-[Install]
-WantedBy=basic.target
-
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-x86_64/PKGBUILD 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,86 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
-
-pkgname=snapper
-pkgver=0.2.4
-pkgrel=2
-pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
-arch=('i686' 'x86_64')
-url="http://snapper.io"
-license=('GPL2')
-depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl')
-makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
-optdepends=('pam: pam_snapper')
-backup=('etc/conf.d/snapper')
-source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2"
- cleanup.timer
- cleanup.service
- timeline.timer
- timeline.service)
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # fix for btrfs-progs 3.16
- sed 's/BTRFS_LIB_VERSION (100)/BTRFS_LIB_VERSION (101)/g' -i snapper/Btrfs.cc
-
- # boost fixlets - Arch doesn't use -mt suffix
- sed -e 's at lboost_thread-mt@lboost_thread at g' \
- -e 's at lboost_system-mt@lboost_system at g' \
- -i snapper/Makefile.am
-
- # cron names
- sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
-
- # fix sysconf dir
- sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
-
- # fix pam plugin install location
- sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
-
- # all in /usr/bin
- sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
-
- # NTP drift file location
- sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
-
- # man pages sysconfig location
- sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
-}
-
-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 \
- --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
- install -Dm755 client/.libs/systemd-helper "$pkgdir"/usr/lib/snapper/systemd-helper
-
- rm -f "$pkgdir"/etc/snapper/zypp-plugin.conf
- rm -f "$pkgdir"/usr/share/man/man*/snapper-zypp-plugin.*.gz
-
- for unit in {cleanup,timeline}.{timer,service}; do
- install -Dm644 "$srcdir"/$unit "$pkgdir"/usr/lib/systemd/system/snapper-$unit
- done
-}
-
-sha256sums=('8fc70b8e7a39dc3249ce9141e2c5f0623bb80f8e4150a543d8ed04d2ad27f399'
- '7c0a695b4d70b3d6aa25789b478ceca86ac3dab6f678045df4907b2c020341f9'
- 'd2f2571e92ffe612529d69a96bd725b4bd040fc36043d98dc1e09b6efcb65894'
- 'b62f61261e45587a38bcbe6468b8932259740984151db1636d299ddafbe3f7a9'
- 'fb01465a6ba7c202c5b1aecb92b99bfcbcd7cdceb0448d84224a108481805bd5')
Copied: snapper/repos/community-x86_64/PKGBUILD (from rev 126295, snapper/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-01-20 10:07:17 UTC (rev 126296)
@@ -0,0 +1,79 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
+
+pkgname=snapper
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
+arch=('i686' 'x86_64')
+url="http://snapper.io"
+license=('GPL2')
+depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl')
+makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
+optdepends=('pam: pam_snapper')
+backup=('etc/conf.d/snapper')
+source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2")
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # boost fixlets - Arch doesn't use -mt suffix
+ sed -e 's at lboost_thread-mt@lboost_thread at g' \
+ -e 's at lboost_system-mt@lboost_system at g' \
+ -i snapper/Makefile.am
+
+ # cron names
+ sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
+
+ # fix sysconf dir
+ sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
+
+ # fix pam plugin install location
+ sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
+
+ # all in /usr/bin
+ sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
+
+ # NTP drift file location
+ sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
+
+ # man pages sysconfig location
+ sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
+}
+
+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 \
+ --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
+ install -Dm755 client/.libs/systemd-helper \
+ "$pkgdir"/usr/lib/snapper/systemd-helper
+
+ rm -f "$pkgdir"/etc/snapper/zypp-plugin.conf
+ rm -f "$pkgdir"/usr/share/man/man*/snapper-zypp-plugin.*.gz
+
+ cd data
+ for unit in {cleanup,timeline}.{timer,service}; do
+ install -Dm644 $unit \
+ "$pkgdir"/usr/lib/systemd/system/snapper-$unit
+ done
+}
+
+sha256sums=('48bf3c3d409ab58ee06db77390a64889c44593ed824463fbfe707aa31d6831ea')
Deleted: community-x86_64/cleanup.service
===================================================================
--- community-x86_64/cleanup.service 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-x86_64/cleanup.service 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,9 +0,0 @@
-
-[Unit]
-Description=Daily Cleanup of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Service]
-Type=simple
-ExecStart=/usr/lib/snapper/systemd-helper --cleanup
-
Deleted: community-x86_64/cleanup.timer
===================================================================
--- community-x86_64/cleanup.timer 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-x86_64/cleanup.timer 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,12 +0,0 @@
-
-[Unit]
-Description=Daily Cleanup of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Timer]
-OnBootSec=10m
-OnUnitActiveSec=1d
-
-[Install]
-WantedBy=basic.target
-
Deleted: community-x86_64/timeline.service
===================================================================
--- community-x86_64/timeline.service 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-x86_64/timeline.service 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,9 +0,0 @@
-
-[Unit]
-Description=Timeline of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Service]
-Type=simple
-ExecStart=/usr/lib/snapper/systemd-helper --timeline
-
Deleted: community-x86_64/timeline.timer
===================================================================
--- community-x86_64/timeline.timer 2015-01-20 10:06:24 UTC (rev 126295)
+++ community-x86_64/timeline.timer 2015-01-20 10:07:17 UTC (rev 126296)
@@ -1,12 +0,0 @@
-
-[Unit]
-Description=Timeline of Snapper Snapshots
-Documentation=man:snapper(8) man:snapper-configs(5)
-
-[Timer]
-OnCalendar=hourly
-Persistent=true
-
-[Install]
-WantedBy=basic.target
-
More information about the arch-commits
mailing list