commit 4005ae5cfd0ca21923a50935d9f290c5c907c181f89f8fe977339af660999398 Author: Adrian Schröter Date: Sat May 4 00:42:31 2024 +0200 Sync from SUSE:SLFO:Main snapper revision ab91895488e7b15b46ccda5e4f933d9f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/debian.tar.gz b/debian.tar.gz new file mode 100644 index 0000000..fef1b6f --- /dev/null +++ b/debian.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28f08acdc054cd81f1883828280aeb197adbe0384dd8e559cd3f516cd4e9727d +size 3615 diff --git a/snapper-0.10.5.tar.xz b/snapper-0.10.5.tar.xz new file mode 100644 index 0000000..f810b15 --- /dev/null +++ b/snapper-0.10.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:601ccecb523d888ca4d7f529253af6dabfa431f738d6a9dcaa81af30463966de +size 532900 diff --git a/snapper-Debian_10.0.dsc b/snapper-Debian_10.0.dsc new file mode 100644 index 0000000..8f991da --- /dev/null +++ b/snapper-Debian_10.0.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-Debian_11.0.dsc b/snapper-Debian_11.0.dsc new file mode 100644 index 0000000..8f991da --- /dev/null +++ b/snapper-Debian_11.0.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-Debian_12.0.dsc b/snapper-Debian_12.0.dsc new file mode 100644 index 0000000..8f991da --- /dev/null +++ b/snapper-Debian_12.0.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-Debian_Unstable.dsc b/snapper-Debian_Unstable.dsc new file mode 100644 index 0000000..8f991da --- /dev/null +++ b/snapper-Debian_Unstable.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-Raspbian_10.dsc b/snapper-Raspbian_10.dsc new file mode 100644 index 0000000..3a19794 --- /dev/null +++ b/snapper-Raspbian_10.dsc @@ -0,0 +1,13 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: diff --git a/snapper-Raspbian_11.dsc b/snapper-Raspbian_11.dsc new file mode 100644 index 0000000..3a19794 --- /dev/null +++ b/snapper-Raspbian_11.dsc @@ -0,0 +1,13 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: diff --git a/snapper-xUbuntu_18.04.dsc b/snapper-xUbuntu_18.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_18.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_18.10.dsc b/snapper-xUbuntu_18.10.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_18.10.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_19.04.dsc b/snapper-xUbuntu_19.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_19.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_19.10.dsc b/snapper-xUbuntu_19.10.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_19.10.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_20.04.dsc b/snapper-xUbuntu_20.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_20.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_20.10.dsc b/snapper-xUbuntu_20.10.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_20.10.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_21.04.dsc b/snapper-xUbuntu_21.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_21.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_21.10.dsc b/snapper-xUbuntu_21.10.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_21.10.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_22.04.dsc b/snapper-xUbuntu_22.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_22.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_22.10.dsc b/snapper-xUbuntu_22.10.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_22.10.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper-xUbuntu_23.04.dsc b/snapper-xUbuntu_23.04.dsc new file mode 100644 index 0000000..efc5237 --- /dev/null +++ b/snapper-xUbuntu_23.04.dsc @@ -0,0 +1,14 @@ +Format: 1.0 +Source: snapper +Version: 0.10.5-1 +Binary: snapper +Maintainer: Arvin Schnell +Architecture: any +Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, language-pack-en, language-pack-de, language-pack-fr, ncurses-dev +# +# The 'Files' line is generated during 'make package': +# Files: +# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz +# +Files: +1f732c06764a15916a09a45c14f6f10b 532900 snapper-0.10.5.tar.xz diff --git a/snapper.changes b/snapper.changes new file mode 100644 index 0000000..9996455 --- /dev/null +++ b/snapper.changes @@ -0,0 +1,1295 @@ +------------------------------------------------------------------- +Wed Jul 12 09:03:42 CEST 2023 - aschnell@suse.com + +- document disadvantage of using network users and order services + after nss-user-lookup (gh#openSUSE/snapper#823) + +------------------------------------------------------------------- +Fri Jun 16 15:38:59 CEST 2023 - aschnell@suse.com + +- improved responsiveness of snapperd when a btrfs quota rescan + is running (see bsc#1211459) + +------------------------------------------------------------------- +Tue Jun 13 12:08:55 CEST 2023 - aschnell@suse.com + +- update qgroup in config info in snapperd when running setup-quota +- improved waiting for btrfs quota rescan (see bsc #1211459) + +------------------------------------------------------------------- +Fri Apr 21 09:47:57 CEST 2023 - aschnell@suse.com + +- fixed deleting configs (bsc#1210716) +- version 0.10.5 + +------------------------------------------------------------------- +Wed Apr 19 09:19:04 CEST 2023 - aschnell@suse.com + +- allow to show read-only state in list output and allow to + change read-only state (gh#openSUSE/snapper#804) +- support read-only options for LVM +- allow to set a snapshot as default (gh#openSUSE/snapper#803) + +------------------------------------------------------------------- +Thu Apr 13 09:25:42 CEST 2023 - aschnell@suse.com + +- avoid stale btrfs qgroups on transactional systems (bsc#1210151) + +------------------------------------------------------------------- +Wed Apr 12 13:32:34 CEST 2023 - aschnell@suse.com + +- fixed error message (gh#openSUSE/snapper#801) + +------------------------------------------------------------------- +Fri Mar 31 09:15:31 CEST 2023 - aschnell@suse.com + +- use xz compression instead of bzip2 for source tar + (gh#openSUSE/snapper#277) + +------------------------------------------------------------------- +Tue Mar 21 08:51:05 CET 2023 - aschnell@suse.com + +- enable SELinux (and allow to disable via conditional build) + (bsc#1209515) +- avoid some extra checks if SELinux is compile-time disabled + +------------------------------------------------------------------- +Thu Feb 23 11:14:58 CET 2023 - aschnell@suse.com + +- wait for existing btrfs quota rescans to finish (bsc#1206814) + +------------------------------------------------------------------- +Mon Feb 06 10:43:33 CET 2023 - aschnell@suse.com + +- fix use of does_subvolume_exist() (bsc#1207901) + +------------------------------------------------------------------- +Wed Jan 25 12:25:23 CET 2023 - aschnell@suse.com + +- suppress debug logging in zypp-plugin per default + +------------------------------------------------------------------- +Tue Jan 24 10:56:29 CET 2023 - aschnell@suse.com + +- enable SELinux on Fedora and RHEL (gh#openSUSE/snapper#772) + +------------------------------------------------------------------- +Thu Jan 19 12:00:00 PM CET 2023 - David Sterba + +- Use libbtrfsutil implementation for BtrfsUtil::get_subvolume + +------------------------------------------------------------------- +Thu Jan 12 12:00:00 PM CET 2023 - David Sterba + +- Add build support for libbtrfsutil +- Use libbtrfsutil implementation for the following methods: + - check if a subvolume exists + - create subvolume, snapshot + - subvolume read-only check + - delete subvolume + - set/get default subvolume + - filesystem sync + +------------------------------------------------------------------- +Tue Dec 27 13:20:38 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check + (boo#1206798) + +------------------------------------------------------------------- +Thu Dec 22 09:03:33 CET 2022 - aschnell@suse.com + +- call generic plugins before and after the action + +------------------------------------------------------------------- +Mon Dec 05 08:13:07 CET 2022 - aschnell@suse.com + +- fix build with upcoming SELinux +- version 0.10.4 + +------------------------------------------------------------------- +Tue Nov 15 13:24:47 CET 2022 - aschnell@suse.com + +- fix build with upcoming boost 1.81 + +------------------------------------------------------------------- +Tue Aug 30 10:35:28 UTC 2022 - Stefan Schubert + +- Moved logrotate files from user specific directory /etc/logrotate.d + to vendor specific directory /usr/etc/logrotate.d. +- version 0.10.3 + +------------------------------------------------------------------- +Thu Jun 02 13:01:49 CEST 2022 - lnussel@suse.com + +- added generic plugin support (gh#openSUSE/snapper#727) + +------------------------------------------------------------------- +Tue May 03 08:46:28 CEST 2022 - aschnell@suse.com + +- fixed error handling when reading configs + (gh#openSUSE/snapper#715) +- version 0.10.2 + +------------------------------------------------------------------- +Thu Apr 21 09:35:06 CEST 2022 - aschnell@suse.com + +- compress file lists using gzip +- version 0.10.1 + +------------------------------------------------------------------- +Mon Mar 21 17:29:07 CET 2022 - aschnell@suse.com + +- transfer filelist by pipe instead of DBus message to avoid + exceeding allowed DBus message size +- version 0.10.0 + +------------------------------------------------------------------- +Wed Nov 24 14:20:38 CET 2021 - aschnell@suse.com + +- added bash completion provided by community + +------------------------------------------------------------------- +Tue Sep 21 13:30:29 CEST 2021 - aschnell@suse.com + +- look for most configuration files in /etc/snapper and + /usr/share/snapper (bsc#1189601) +- version 0.9.1 + +------------------------------------------------------------------- +Wed Jun 16 11:50:49 CEST 2021 - aschnell@suse.com + +- added configure option for location of PAM module + (gh#openSUSE/snapper#659) + +------------------------------------------------------------------- +Mon May 17 08:39:58 CEST 2021 - aschnell@suse.com + +- fixed systemd sandboxing (bsc#1186095) + +------------------------------------------------------------------- +Tue May 11 10:01:30 CEST 2021 - aschnell@suse.com + +- fixed systemd sandboxing (gh#openSUSE/snapper#651) + +------------------------------------------------------------------- +Tue May 04 08:35:28 CEST 2021 - aschnell@suse.com + +- fixed systemd sandboxing (bsc#1185596) + +------------------------------------------------------------------- +Wed Apr 28 10:17:14 CEST 2021 - aschnell@suse.com + +- added systemd sandboxing for services + +------------------------------------------------------------------- +Mon Apr 19 09:56:40 CEST 2021 - aschnell@suse.com + +- fix build on 32 bit musl systems (gh#openSUSE/snapper#644) + +------------------------------------------------------------------- +Fri Apr 09 15:23:14 CEST 2021 - aschnell@suse.com + +- improved error handling (see gh#openSUSE/snapper#626) +- version 0.9.0 + +------------------------------------------------------------------- +Thu Apr 08 14:05:19 CEST 2021 - aschnell@suse.com + +- move org.opensuse.Snapper.conf from /etc to /usr (bsc#1183398 and + gh#openSUSE/snapper#492) +- run boot.service iff root config exists (gh#openSUSE/snapper#630) + +------------------------------------------------------------------- +Wed Apr 07 10:24:33 CEST 2021 - aschnell@suse.com + +- avoid redundant quota rescans for same btrfs (see + gh#openSUSE/snapper#507) +- allow absolute sizes for SPACE_LIMIT and FREE_LIMIT + (gh#openSUSE/snapper#507) + +------------------------------------------------------------------- +Fri Mar 19 10:30:06 CET 2021 - aschnell@suse.com + +- fixed creating root config (root prefix handling) + (gh#openSUSE/snapper#627) +- version 0.8.16 + +------------------------------------------------------------------- +Wed Mar 10 09:53:11 CET 2021 - aschnell@suse.com + +- updated translations (bsc#1149754) + +------------------------------------------------------------------- +Mon Jan 25 11:29:45 CET 2021 - aschnell@suse.com + +- fixed testsuite for equal-date (gh#openSUSE/snapper#526) + +------------------------------------------------------------------- +Thu Dec 17 12:20:59 CET 2020 - aschnell@suse.com + +- added option to abbreviate columns in table (see + gh#openSUSE/snapper#268) +- version 0.8.15 + +------------------------------------------------------------------- +Fri Dec 04 10:05:05 CET 2020 - aschnell@suse.com + +- in systemd-helper continue with other configs if one config is + broken (gh#openSUSE/snapper#495) + +------------------------------------------------------------------- +Thu Dec 03 10:12:04 CET 2020 - aschnell@suse.com + +- fixed compilation with --disable-btrfs (gh#openSUSE/snapper#505) + +------------------------------------------------------------------- +Tue Nov 24 11:58:44 CET 2020 - aschnell@suse.com + +- do not override passwd after getpwuid_r et.al. calls + (gh#openSUSE/snapper#589) + +------------------------------------------------------------------- +Thu Nov 19 11:49:29 CET 2020 - aschnell@suse.com + +- state in man-pages that ext4 support is discontinued + (gh#openSUSE/snapper#331) + +------------------------------------------------------------------- +Wed Nov 18 12:13:56 CET 2020 - aschnell@suse.com + +- use C++11 regexes instead of own regcomp/regexec wrapper class + (see gh#openSUSE/snapper#583) + +------------------------------------------------------------------- +Tue Sep 22 09:17:28 CEST 2020 - aschnell@suse.com + +- added option to cleanup to make requested free space available + (jsc#SLE-15765) +- version 0.8.14 + +------------------------------------------------------------------- +Fri Sep 04 19:10:26 CEST 2020 - aschnell@suse.com + +- package new snapperd.service file on Debian based distributions + (gh#openSUSE/snapper#557) + +------------------------------------------------------------------- +Tue Sep 01 09:50:00 CEST 2020 - lnussel@suse.com + +- activate snapperd using systemd service + +------------------------------------------------------------------- +Mon Aug 31 17:18:14 CEST 2020 - aschnell@suse.com + +- fix LVM setup for volume groups and logical volumes with one + character long names (gh#openSUSE/snapper#465) + +------------------------------------------------------------------- +Fri Aug 28 11:06:23 CEST 2020 - aschnell@suse.com + +- improved error messages for wrong command line options and + arguments (bsc#1150156) + +------------------------------------------------------------------- +Thu Aug 27 12:04:44 CEST 2020 - aschnell@suse.com + +- call fsync after writing snapshot info file (bsc#1078336) +- version 0.8.13 + +------------------------------------------------------------------- +Thu Jul 23 11:52:31 CEST 2020 - aschnell@suse.com + +- fixed error when using mksubvolume to create /tmp (bsc#1174401) +- version 0.8.12 + +------------------------------------------------------------------- +Mon Jul 13 11:29:13 CEST 2020 - aschnell@suse.com + +- added error handing for failed ambit detection (bsc#1174038) +- version 0.8.11 + +------------------------------------------------------------------- +Tue Jun 16 18:31:47 CEST 2020 - aschnell@suse.com + +- special rollback for transactional server (bsc#1172273) +- version 0.8.10 + +------------------------------------------------------------------- +Mon Apr 06 16:22:29 CEST 2020 - aschnell@suse.com + +- updated translations (bsc#1149754) +- generate dsc file for Ubuntu 19.10 + +------------------------------------------------------------------- +Thu Jan 16 13:01:15 UTC 2020 - Martin Vidner + +- Fix "Snapper is not creating the post snapshot" (bsc#1160938) +- Fix `make clean; make check` failing in zypp-plugin (bsc#1160891) +- version 0.8.9 + +------------------------------------------------------------------- +Wed Jan 8 09:33:56 UTC 2020 - Martin Vidner + +- Add a "writeble copy" description to the 2nd snapshot + of a rollback (Hrotkó Gábor). +- Fix the previous version to build on Debian, Ubuntu, and old GCC + (bsc#1160306). +- version 0.8.8 + +------------------------------------------------------------------- +Fri Dec 6 10:12:42 UTC 2019 - Martin Vidner + +- snapper-zypp-plugin subpackage rewritten from Python to C++ + (jsc#SLE-10500) +- added integration tests in snapper-testsuite subpackage +- version 0.8.7 + +------------------------------------------------------------------- +Wed Oct 23 13:00:36 UTC 2019 - José Iván López González + +- add --machine-readable option for CSV and JSON outputs. +- add --columns option for selecting columns in the commands list, + list-configs and get-config. +- bsc#1149322 +- version 0.8.6 + +------------------------------------------------------------------- +Tue Oct 15 12:42:39 UTC 2019 - Martin Vidner + +- allow trailing comments in configuration files (bsc#1005342) +- version 0.8.5 + +------------------------------------------------------------------- +Tue Oct 15 11:06:51 CEST 2019 - aschnell@suse.com + +- allow to make snapshot from other snapshot that the current one + (jsc#SLE-7333) +- version 0.8.4 + +------------------------------------------------------------------- +Fri Aug 30 17:29:34 CET 2019 - iforster@suse.com + +- reusing existing subvolumes on mksubvolume run + (bsc#1138725, bsc#1126900, gh#openSUSE/snapper#236) + +------------------------------------------------------------------- +Tue Mar 26 10:15:55 CET 2019 - aschnell@suse.com + +- fixed seg.fault during rollback if the previous default subvolume + is missing in the snapshot list (bsc#1130273) +- version 0.8.3 + +------------------------------------------------------------------- +Tue Jan 22 11:05:01 CET 2019 - aschnell@suse.com + +- adapted to libbtrfs changes to resurrect special btrfs directory + comparison (bsc#1111414) +- version 0.8.2 + +------------------------------------------------------------------- +Fri Jan 18 10:45:54 CET 2019 - aschnell@suse.com + +- avoid deadlock for special btrfs directory comparison + (bsc#1049574) + +------------------------------------------------------------------- +Wed Nov 21 18:59:09 CET 2018 - gergo@borus.hu + +- validate snapshot id corresponding to the default subvolume + before using it for the current config (gh#openSUSE/snapper#449) +- version 0.8.1 + +------------------------------------------------------------------- +Mon Oct 29 10:38:59 CET 2018 - aschnell@suse.com + +- extended space aware cleanup algorithm to ensure minimal + free space for btrfs (within known ranges) (fate#325774) +- version 0.8.0 + +------------------------------------------------------------------- +Mon Oct 22 09:52:01 CEST 2018 - aschnell@suse.com + +- fixed querying default and active snapshot if compiled without + rollback support (gh#openSUSE/snapper#442) +- version 0.7.2 + +------------------------------------------------------------------- +Tue Oct 16 14:00:56 CEST 2018 - aschnell@suse.com + +- disallow to delete special (for btrfs currently mounted and next + to be mounted) snapshots (fate#326479) +- version 0.7.1 + +------------------------------------------------------------------- +Thu Oct 11 11:10:11 CEST 2018 - aschnell@suse.com + +- mark active and default btrfs subvolume in list output + (fate#326479) +- reorder columns in snapper list output (fate#326479) +- version 0.7.0 + +------------------------------------------------------------------- +Fri Oct 05 12:07:53 CEST 2018 - aschnell@suse.com + +- right align used space in table output +- version 0.6.1 + +------------------------------------------------------------------- +Tue Oct 02 09:56:59 CEST 2018 - aschnell@suse.com + +- show used space (exclusive space of btrfs qgroup) for each + snapshot (fate#323843) +- version 0.6.0 + +------------------------------------------------------------------- +Fri Sep 14 12:13:05 CEST 2018 - aschnell@suse.com + +- avoid setenv after fork (bsc#1107587) + +------------------------------------------------------------------- +Mon Jul 23 20:52:26 CEST 2018 - aschnell@suse.com + +- fixed logging during shutdown of snapperd to avoid core dumps + (bsc#1096401 and others) +- version 0.5.6 + +------------------------------------------------------------------- +Mon May 28 10:44:49 CEST 2018 - aschnell@suse.com + +- merged (gh#openSUSE/snapper#409) to build with boost 1.67.0 + (bsc#1096208) +- version 0.5.5 + +------------------------------------------------------------------- +Thu May 10 11:43:53 UTC 2018 - jsrain@suse.cz + +- move warning in case of non-UTF8 locale to man page (bsc#1092103) + +------------------------------------------------------------------- +Fri Apr 20 14:19:29 CEST 2018 - aschnell@suse.com + +- soften error handling if setting locale fails due to broken + system setup (bsc#1085832) + +------------------------------------------------------------------- +Mon Jan 29 11:32:56 CET 2018 - aschnell@suse.com + +- create subvolume instead of snapshot for initial system + (bsc#1077240) +- version 0.5.4 + +------------------------------------------------------------------- +Fri Jan 26 14:36:20 CET 2018 - aschnell@suse.com + +- improved error handling for systemd services + (gh#openSUSE/snapper#382) + +------------------------------------------------------------------- +Wed Jan 10 14:33:11 CET 2018 - aschnell@suse.com + +- use python3 instead of python2 (bsc#1070324) + +------------------------------------------------------------------- +Wed Dec 6 16:49:06 CET 2017 - kukuk@suse.de + +- Switched from cron to systemd timers (spec file based + distributions) (fate#324529) +- version 0.5.3 + +------------------------------------------------------------------- +Thu Nov 23 13:51:45 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- +Wed Sep 6 09:53:12 CEST 2017 - aschnell@suse.com + +- fix compilation with boost 1.65.0 (gh#openSUSE/snapper#354) + (bsc#1061262) +- version 0.5.2 + +------------------------------------------------------------------- +Thu Aug 3 18:12:17 UTC 2017 - lslezak@suse.com + +- fixed table formatting for non-ACSII characters (bsc#1051901) + (::mbrtowc behavior has been changed in glibc-2.22) +- version 0.5.1 + +------------------------------------------------------------------- +Tue May 09 13:52:46 CEST 2017 - aschnell@suse.com + +- set cleanup algorithm for rollback snapshots (fate#321773) +- version 0.5.0 + +------------------------------------------------------------------- +Thu Apr 20 10:22:57 CEST 2017 - aschnell@suse.com + +- generate build file for Ubuntu 17.04 +- version 0.4.5 + +------------------------------------------------------------------- +Wed Mar 22 16:47:56 CET 2017 - aschnell@suse.com + +- remove read-only mount option for new fstab entry in mksubvolume + (bsc#1030257) +- version 0.4.4 + +------------------------------------------------------------------- +Thu Feb 02 19:07:40 CET 2017 - aschnell@suse.com + +- deal with CaaSP btrfs setup where certain subvolumes are + read-only (bsc#1018302 and bsc#1018095) +- version 0.4.3 + +------------------------------------------------------------------- +Thu Feb 02 14:49:59 CET 2017 - aschnell@suse.com + +- build SLE12 versions with quota support again (bsc#1021370) +- version 0.4.2 + +------------------------------------------------------------------- +Wed Dec 21 10:29:57 CET 2016 - aschnell@suse.com + +- fixed --root option (bsc#1016633) +- version 0.4.1 + +------------------------------------------------------------------- +Thu Dec 15 21:36:23 CET 2016 - aschnell@suse.com + +- support option --no-dbus for all snapper commands (fate#319404, + fate#321049) +- version 0.4.0 + +------------------------------------------------------------------- +Fri Nov 04 16:28:49 CET 2016 - aschnell@suse.com + +- catch exception if setting default subvolume fails (bsc#1008544) + +------------------------------------------------------------------- +Wed Nov 02 22:17:16 CET 2016 - aschnell@suse.com + +- fixed use of getpwuid_r, getpwnam_r and getgrnam_r + +------------------------------------------------------------------- +Tue Aug 09 21:53:02 CEST 2016 - aschnell@suse.com + +- merged patch to fix order of object destruction on shutdown + (gh#openSUSE/snapper#258) + +------------------------------------------------------------------- +Mon Aug 08 14:40:32 CEST 2016 - aschnell@suse.com + +- better messages for some btrfs quota errors + (gh#openSUSE/snapper#257) + +------------------------------------------------------------------- +Tue Aug 02 09:46:52 CEST 2016 - aschnell@suse.com + +- merged SELinux support from Red Hat (disabled at compile-time + per default) (gh#openSUSE/snapper#239) +- version 0.3.3 + +------------------------------------------------------------------- +Mon Apr 18 12:20:51 CEST 2016 - aschnell@suse.com + +- reverted some changes done accidentally to default-config (see + fate#312751) +- version 0.3.2 + +------------------------------------------------------------------- +Mon Apr 11 15:45:05 CEST 2016 - shundhammer@suse.de + +- make sure 'component' string is not destroyed prematurely + (bsc#940154) +- version 0.3.1 + +------------------------------------------------------------------- +Wed Apr 06 15:41:49 CEST 2016 - aschnell@suse.com + +- implemented space aware cleanup algorithms (fate#312751) +- version 0.3.0 + +------------------------------------------------------------------- +Thu Mar 31 16:00:54 CEST 2016 - aschnell@suse.com + +- allow to setup quota (for fate#312751) + +------------------------------------------------------------------- +Fri Dec 18 15:41:16 CET 2015 - aschnell@suse.com + +- improved error message (see bsc#956606) + +------------------------------------------------------------------- +Mon Dec 14 16:25:32 UTC 2015 - lslezak@suse.cz + +- Allow rollback only for the root file system (bsc#954445) +- version 0.2.10 + +------------------------------------------------------------------- +Wed Oct 14 13:52:10 CEST 2015 - aschnell@suse.com + +- added conditional compilation of installation-helper + (gh#openSUSE/snapper#202) + +------------------------------------------------------------------- +Tue Sep 22 16:51:23 CEST 2015 - aschnell@suse.com + +- updated translations + +------------------------------------------------------------------- +Tue Sep 22 14:55:10 CEST 2015 - shundhammer@suse.de + +- Call script /usr/lib/snapper/plugins/rollback if present upon + rollback (fate#319108) +- version 0.2.9 + +------------------------------------------------------------------- + +Tue Sep 22 12:20:28 CEST 2015 - aschnell@suse.com + +- added program to create btrfs subvolume suitable for systems + supporting rollback (bsc#944120) + +------------------------------------------------------------------- +Mon Aug 31 16:26:51 CEST 2015 - aschnell@suse.com + +- improved error reporting (bsc#940046) + +------------------------------------------------------------------- +Wed Aug 26 11:58:24 CEST 2015 - aschnell@suse.de + +- allow to disable zypp plugin via environment variable (see + fate#319316) +- version 0.2.8 + +------------------------------------------------------------------- +Tue Jul 07 12:49:16 CEST 2015 - aschnell@suse.de + +- extended snapper-configs man-page + +------------------------------------------------------------------- +Mon Jun 29 14:52:31 CEST 2015 - aschnell@suse.de + +- allow to set cleanup algorithm for snapshots created by helper + programs + +------------------------------------------------------------------- +Tue Jun 02 14:55:07 CEST 2015 - aschnell@suse.de + +- added error message for invalid locale setting (see bsc#933241) + +------------------------------------------------------------------- +Mon May 25 11:41:59 UTC 2015 - jreidinger@suse.com + +- allow list-configs command to work on different root + (for fate#317900) + +------------------------------------------------------------------- +Fri May 22 07:15:24 UTC 2015 - igonzalezsosa@suse.com + +- Version 0.2.7 + +------------------------------------------------------------------- +Mon May 18 14:38:17 UTC 2015 - igonzalezsosa@suse.com + +- added a helper to create snapshots without D-Bus + during system installation/upgrade (fate#317973) + +------------------------------------------------------------------- +Tue May 05 14:08:03 CEST 2015 - aschnell@suse.de + +- added option --sync to delete command (fate#317066) + +------------------------------------------------------------------- +Tue Apr 14 17:58:17 CEST 2015 - aschnell@suse.de + +- added option --input to diff command +- sort files according to locale + +------------------------------------------------------------------- +Tue Mar 03 10:22:28 CET 2015 - aschnell@suse.de + +- allow to set userdata for snapshots created by helper programs + +------------------------------------------------------------------- +Mon Mar 02 17:30:06 CET 2015 - aschnell@suse.de + +- install systemd unit files and helper (see + gh#openSUSE/snapper#154) + +------------------------------------------------------------------- +Tue Feb 24 11:48:12 CET 2015 - aschnell@suse.de + +- drop -mt decoration from boost libraries (see + http://www.boost.org/users/history/version_1_40_0.html) + +------------------------------------------------------------------- +Fri Feb 20 14:10:01 CET 2015 - aschnell@suse.de + +- added comments in helper program + +------------------------------------------------------------------- +Mon Feb 16 12:01:03 CET 2015 - aschnell@suse.de + +- added helper to support installation into subvolume (fate#318392) +- added root-prefix parameter for config functions +- pass single struct instead of many values to create and modify + snapshot functions +- removed deprecated functions +- version 0.2.6 + +------------------------------------------------------------------- +Tue Jan 27 12:31:45 CET 2015 - aschnell@suse.de + +- use C++11 chrono::steady_clock + +------------------------------------------------------------------- +Mon Jan 19 12:42:13 CET 2015 - aschnell@suse.de + +- stricter dbus string escaping (see bsc#913238) +- implemented dbus string escaping in pam_snapper +- version 0.2.5 + +------------------------------------------------------------------- +Mon Jan 12 12:19:30 CET 2015 - aschnell@suse.de + +- fixed compilation with clang + +------------------------------------------------------------------- +Mon Dec 15 15:14:39 CET 2014 - aschnell@suse.de + +- ignore everything in .snapshots not matching a number + +------------------------------------------------------------------- +Fri Dec 12 10:34:37 CET 2014 - aschnell@suse.de + +- improved error messages (bsc#889928 and bsc#903834) + +------------------------------------------------------------------- +Thu Dec 11 17:58:14 CET 2014 - aschnell@suse.de + +- support weekly snapshots in cleanup algorithm (see + gh#openSUSE/snapper#135) + +------------------------------------------------------------------- +Thu Oct 23 12:05:12 CEST 2014 - aschnell@suse.de + +- use boost unit test framework and automake check feature + +------------------------------------------------------------------- +Fri Oct 10 12:15:36 CEST 2014 - aschnell@suse.de + +- improved fadvise usage + +------------------------------------------------------------------- +Fri Oct 3 01:05:01 CEST 2014 - dsterba@suse.cz + +- add option --all-configs to snapper client, list snapshots from + all accessible configs + +------------------------------------------------------------------- +Thu Oct 02 14:46:37 CEST 2014 - aschnell@suse.de + +- allow to specify command for comparing file + +------------------------------------------------------------------- +Mon Sep 29 11:55:37 CEST 2014 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Wed Sep 24 15:29:51 CEST 2014 - aschnell@suse.de + +- resolved some code issues found by code analysis + +------------------------------------------------------------------- +Wed Aug 27 17:55:32 CEST 2014 - dsterba@suse.cz + +- conditional check for libbtrfs API version +- version 0.2.4 + +------------------------------------------------------------------- +Thu Aug 14 14:15:21 CEST 2014 - aschnell@suse.de + +- cleanup after failed create-config (bnc#863578) + +------------------------------------------------------------------- +Thu Jul 31 15:38:16 CEST 2014 - aschnell@suse.de + +- also handle primary group of user when checking permissions + (see gh#openSUSE/snapper#100) +- show id of user if username cannot be detected + +------------------------------------------------------------------- +Fri Jul 25 12:38:33 CEST 2014 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Tue Jul 22 10:26:09 CEST 2014 - aschnell@suse.de + +- disable support for qgroup (see bug#887046) + +------------------------------------------------------------------- +Fri Jul 04 11:02:06 CEST 2014 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Thu Jul 03 10:45:35 CEST 2014 - aschnell@suse.de + +- fixed pam_snapper_pamconfig.sh script (bnc#885604) + +------------------------------------------------------------------- +Mon Jun 30 15:43:56 CEST 2014 - aschnell@suse.de + +- make rollback command print verbose messages + +------------------------------------------------------------------- +Mon Jun 30 14:44:25 CEST 2014 - aschnell@suse.de + +- allow to add snapshots to qgroup (prototype for fate#312751) + +------------------------------------------------------------------- +Mon Jun 23 09:19:03 CEST 2014 - aschnell@suse.de + +- fixed DBus introspection data +- version 0.2.3 + +------------------------------------------------------------------- +Mon Jun 02 14:54:29 CEST 2014 - aschnell@suse.de + +- added aliases for some snapper commands + +------------------------------------------------------------------- +Tue May 27 11:36:21 CEST 2014 - aschnell@suse.de + +- allow to display dates and times in UTC and ISO format + +------------------------------------------------------------------- +Tue May 20 16:24:10 CEST 2014 - aschnell@suse.de + +- extended documentation about "number" cleanup algorithm + (bnc#878009) + +------------------------------------------------------------------- +Mon May 05 12:27:17 CEST 2014 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Thu Apr 17 15:00:25 CEST 2014 - aschnell@suse.de + +- fixed parent of snapshot generated by rollback + +------------------------------------------------------------------- +Thu Apr 10 10:17:49 CEST 2014 - aschnell@suse.de + +- added rollback support (fate#317062) +- version 0.2.2 + +------------------------------------------------------------------- +Thu Apr 03 17:49:12 CEST 2014 - aschnell@suse.de + +- fixed execution of grub plugin (bnc#871880) + +------------------------------------------------------------------- +Tue Apr 01 20:04:33 CEST 2014 - aschnell@suse.de + +- allow to add snapshots subvolume to fstab (for fate#317062) + +------------------------------------------------------------------- +Mon Mar 03 17:20:41 CET 2014 - aschnell@suse.de + +- fixed empty-pre-post cleanup algorithm + +------------------------------------------------------------------- +Fri Feb 28 11:47:22 CET 2014 - aschnell@suse.de + +- fixed setting setuid bit during undochange (bnc#862964) + +------------------------------------------------------------------- +Thu Feb 20 15:04:30 CET 2014 - aschnell@suse.de + +- fixed segmentation fault with DBus (bnc#860119) + +------------------------------------------------------------------- +Thu Feb 20 14:18:01 CET 2014 - aschnell@suse.de + +- updated zypp-plugin.conf (bnc#864841) + +------------------------------------------------------------------- +Tue Feb 11 14:08:06 CET 2014 - aschnell@suse.de + +- sync ACL at startup (bnc#863073) + +------------------------------------------------------------------- +Wed Feb 05 10:50:25 CET 2014 - aschnell@suse.de + +- fixed execution of grub scripts +- version 0.2.1 + +------------------------------------------------------------------- +Wed Jan 29 11:09:45 CET 2014 - aschnell@suse.de + +- allow to sync ALLOW_USERS and ALLOW_GROUPS to ACL of .snapshots + directory (see bnc#860116) +- version 0.2.0 + +------------------------------------------------------------------- +Fri Jan 24 10:01:35 CET 2014 - aschnell@suse.de + +- removed grub-snapper-plugin subpackage (fate#316232) + +------------------------------------------------------------------- +Fri Dec 13 16:10:42 CET 2013 - aschnell@suse.de + +- tag subpackages containing only Python plugins as noarch + +------------------------------------------------------------------- +Mon Nov 25 11:38:43 CET 2013 - aschnell@suse.de + +- allow to configure snapshotting from zypp-plugin depending on + package list (fate#316203) +- version 0.1.8 + +------------------------------------------------------------------- +Mon Oct 21 10:24:43 CEST 2013 - aschnell@suse.de + +- fixed inconsistency with default value for BACKGROUND_COMPARISON + +------------------------------------------------------------------- +Thu Oct 17 10:17:59 CEST 2013 - aschnell@suse.de + +- extended number cleanup algorithm to privilege important + snapshots (fate#316233) + +------------------------------------------------------------------- +Tue Oct 15 16:28:15 CEST 2013 - aschnell@suse.de + +- added grub-snapper-plugin subpackage for writing extra snapshot + metadata for grub2 (fate#316232) + +------------------------------------------------------------------- +Tue Oct 01 15:46:19 CEST 2013 - aschnell@suse.de + +- restrict permissions on .snapshots subvolume (bnc#843219) +- version 0.1.7 + +------------------------------------------------------------------- +Mon Sep 30 14:20:22 CEST 2013 - aschnell@suse.de + +- merged support for handling inactive LVM LVs from oniko + +------------------------------------------------------------------- +Fri Sep 06 16:02:47 CEST 2013 - aschnell@suse.de + +- added option --no-dbus to snapper tool +- version 0.1.6 + +------------------------------------------------------------------- +Thu Jul 25 14:40:31 CEST 2013 - aschnell@suse.de + +- allow to change config via DBus and with command line tool + +------------------------------------------------------------------- +Tue Jul 09 14:00:16 CEST 2013 - aschnell@suse.de + +- added manpage describing snapper configs +- optimize timeline cleanup algorithm for only sporadic running + systems +- version 0.1.5 + +------------------------------------------------------------------- +Mon Jul 08 16:18:10 CEST 2013 - aschnell@suse.de + +- document filters and use fnmatch with FNM_LEADING_DIR + +------------------------------------------------------------------- +Tue Jun 25 09:09:20 CEST 2013 - aschnell@suse.de + +- also call initgroups in pam_snapper (bnc#815383) + +------------------------------------------------------------------- +Fri Jun 21 15:50:22 CEST 2013 - aschnell@suse.de + +- allow whitespace in ALLOW_USERS and ALLOW_GROUPS + +------------------------------------------------------------------- +Fri May 31 17:35:33 CEST 2013 - aschnell@suse.de + +- fixed xattrs reading for certain block/character devices + +------------------------------------------------------------------- +Thu May 02 15:11:17 CEST 2013 - aschnell@suse.de + +- added PAM module from mge +- version 0.1.4 + +------------------------------------------------------------------- +Tue Apr 16 16:52:29 CEST 2013 - aschnell@suse.de + +- merged xattr support from oniko +- version 0.1.3 + +------------------------------------------------------------------- +Thu Feb 28 18:39:19 CET 2013 - aschnell@suse.de + +- added filters for lvm + +------------------------------------------------------------------- +Mon Feb 25 10:54:32 CET 2013 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Fri Feb 22 11:49:23 CET 2013 - aschnell@suse.de + +- use sendfile system-call instead of read/write loop + +------------------------------------------------------------------- +Thu Feb 21 14:23:55 CET 2013 - aschnell@suse.de + +- removed obsolete calls to renice and ionice in cron scripts + (bnc#804355) + +------------------------------------------------------------------- +Thu Feb 07 18:13:26 CET 2013 - aschnell@suse.de + +- zypp-plugin requires dbus-1-python + +------------------------------------------------------------------- +Wed Feb 06 10:27:57 CET 2013 - aschnell@suse.de + +- fixed compatibility issue with boost 1.52 + +------------------------------------------------------------------- +Mon Feb 04 14:00:45 CET 2013 - aschnell@suse.de + +- use btrfs send ioctl for snapshot comparison (fate #311399) +- version 0.1.2 + +------------------------------------------------------------------- +Thu Jan 24 14:32:02 CET 2013 - aschnell@suse.de + +- fixed type of time_t in DBus protocol + +------------------------------------------------------------------- +Mon Nov 26 12:40:54 CET 2012 - aschnell@suse.de + +- implemented use-counter for mounts of snapshots +- updated translations + +------------------------------------------------------------------- +Wed Nov 21 11:55:28 CET 2012 - aschnell@suse.de + +- handle userdata in zypp plugin (fate #312521) + +------------------------------------------------------------------- +Mon Nov 12 15:37:25 CET 2012 - aschnell@suse.de + +- reject create-config on non-thin LVM volumes +- version 0.1.1 + +------------------------------------------------------------------- +Thu Oct 18 15:11:49 CEST 2012 - aschnell@suse.de + +- .snapshots is not required to have group root if it is not + group-writable + +------------------------------------------------------------------- +Mon Oct 15 10:40:07 CEST 2012 - aschnell@suse.de + +- merged dbus branch (fate #313010 and fate #313042) + - allows non-root user to use snapper + - record user id during snapshot creation + - run background comparisons sequential + - use ioctl instead of btrfs program + - disable ext4 support + - removed Python bindings +- version 0.1.0 + +------------------------------------------------------------------- +Wed Aug 22 18:43:47 CEST 2012 - aschnell@suse.de + +- fixed segmentation fault for unknown fstype +- version 0.0.14 + +------------------------------------------------------------------- +Tue Aug 14 12:03:50 CEST 2012 - aschnell@suse.de + +- fixed logging during program termination + +------------------------------------------------------------------- +Wed Jul 25 10:44:38 CEST 2012 - aschnell@suse.de + +- take mount options from original filesystem when mounting + snapshots +- version 0.0.13 + +------------------------------------------------------------------- +Tue Jul 24 14:35:44 CEST 2012 - aschnell@suse.de + +- added experimental support for LVM thin-provisioned snapshots +- version 0.0.12 + +------------------------------------------------------------------- +Tue Jun 12 10:07:08 CEST 2012 - aschnell@suse.de + +- removed blocxx (fate #313242) +- version 0.0.11 + +------------------------------------------------------------------- +Thu Mar 15 10:56:40 CET 2012 - aschnell@suse.de + +- added missing includes for gcc 4.7 + +------------------------------------------------------------------- +Tue Mar 06 11:37:34 CET 2012 - aschnell@suse.de + +- allow to disable background comparison (bnc#726122) +- version 0.0.10 + +------------------------------------------------------------------- +Fri Mar 02 16:25:26 CET 2012 - aschnell@suse.de + +- added option --command to snapper create +- version 0.0.9 + +------------------------------------------------------------------- +Fri Feb 24 19:21:15 CET 2012 - aschnell@suse.de + +- allow to compile without blocxx + +------------------------------------------------------------------- +Fri Dec 23 15:33:12 CET 2011 - aschnell@suse.de + +- allow to delete a configuration + +------------------------------------------------------------------- +Thu Nov 24 14:09:15 CET 2011 - aschnell@suse.de + +- package Python bindings +- version 0.0.8 + +------------------------------------------------------------------- +Sat Nov 19 20:46:08 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Fri Nov 11 11:20:03 CET 2011 - aschnell@suse.de + +- moved supplements btrfsprogs from libsnapper to snapper + (bnc#729859) + +------------------------------------------------------------------- +Fri Oct 21 11:34:27 CEST 2011 - aschnell@suse.de + +- create read-only btrfs snapshots + +------------------------------------------------------------------- +Wed Oct 12 15:12:41 CEST 2011 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Fri Oct 07 15:42:40 CEST 2011 - aschnell@suse.de + +- check iterator in findPre + +------------------------------------------------------------------- +Thu Sep 22 16:28:53 CEST 2011 - aschnell@suse.de + +- do not log output of diff command + +------------------------------------------------------------------- +Tue Sep 20 11:05:47 CEST 2011 - aschnell@suse.de + +- improved error handling (bnc#718914) + +------------------------------------------------------------------- +Thu Sep 15 16:44:26 CEST 2011 - aschnell@suse.de + +- added userdata to snapshots + +------------------------------------------------------------------- +Fri Sep 02 10:27:46 CEST 2011 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Wed Aug 31 15:44:42 CEST 2011 - aschnell@suse.de + +- renamed snapper command diff to status and contentdiff to diff + +------------------------------------------------------------------- +Mon Aug 29 16:17:11 CEST 2011 - aschnell@suse.de + +- improved manpage (bnc #710858) + +------------------------------------------------------------------- +Thu Aug 11 12:09:19 CEST 2011 - aschnell@suse.de + +- improvements to command-line interface + +------------------------------------------------------------------- +Thu Aug 04 20:51:59 CEST 2011 - aschnell@suse.de + +- added experimental ext4 support + +------------------------------------------------------------------- +Mon Aug 01 14:42:16 CEST 2011 - aschnell@suse.de + +- preparations for supporting multiple filesystem types +- version 0.0.7 + +------------------------------------------------------------------- +Mon Aug 01 12:34:40 CEST 2011 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Sat Jul 30 16:15:42 CEST 2011 - aschnell@suse.de + +- added missing shell quoting + +------------------------------------------------------------------- +Tue Jun 28 11:46:28 CEST 2011 - aschnell@suse.de + +- added snapper-zypp-plugin subpackage (fate #308626) + +------------------------------------------------------------------- +Fri Jun 17 11:02:48 CEST 2011 - aschnell@suse.de + +- updated translations + +------------------------------------------------------------------- +Thu Jun 09 17:52:41 CEST 2011 - aschnell@suse.de + +- added man-page + +------------------------------------------------------------------- +Mon Jun 06 15:01:13 CEST 2011 - aschnell@suse.de + +- place snapshots in .snapshots directory +- version 0.0.6 + +------------------------------------------------------------------- +Wed Apr 06 16:44:43 CEST 2011 - aschnell@suse.de + +- simplified setup +- version 0.0.5 + +------------------------------------------------------------------- +Mon Apr 04 14:20:43 CEST 2011 - aschnell@suse.de + +- allow to ignore files during snapshot comparison + +------------------------------------------------------------------- +Mon Jan 10 14:55:25 CET 2011 - aschnell@suse.de + +- started development (fate #303699) +- version 0.0.1 diff --git a/snapper.spec b/snapper.spec new file mode 100644 index 0000000..2c86cd5 --- /dev/null +++ b/snapper.spec @@ -0,0 +1,376 @@ +# +# spec file for package snapper +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + +# Location for PAM module +%if 0%{?suse_version} >= 1550 +%define pam_security_dir %{_libdir}/security +%else +%define pam_security_dir /%{_lib}/security +%endif + +# Optionally build without SELinux support +%bcond_without selinux + +# Optionally build with test coverage reporting +%bcond_with coverage + +Name: snapper +Version: 0.10.5 +Release: 0 +Summary: Tool for filesystem snapshot management +License: GPL-2.0-only +Group: System/Packages +URL: http://snapper.io/ +Source: snapper-%{version}.tar.xz +%if 0%{?suse_version} +BuildRequires: libboost_system-devel +BuildRequires: libboost_test-devel +BuildRequires: libboost_thread-devel +%else +BuildRequires: boost-devel +%endif +BuildRequires: e2fsprogs-devel +BuildRequires: gcc-c++ +BuildRequires: libacl-devel +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: ncurses-devel +%if 0%{?suse_version} +BuildRequires: libbtrfs-devel +%endif +%if 0%{?suse_version} >= 1550 +BuildRequires: libbtrfsutil-devel +%endif +%if 0%{?suse_version} +BuildRequires: libmount-devel >= 2.24 +%endif +%if 0%{?fedora_version} +BuildRequires: pkgconfig +BuildRequires: systemd +%else +BuildRequires: pkg-config +%endif +%if 0%{?fedora_version} || 0%{?centos_version} +BuildRequires: glibc-langpack-de +BuildRequires: glibc-langpack-en +BuildRequires: glibc-langpack-fr +%else +BuildRequires: glibc-locale +%endif +%if ! 0%{?mandriva_version} +%if 0%{?fedora_version} +BuildRequires: dbus-devel +BuildRequires: docbook-style-xsl +%else +BuildRequires: dbus-1-devel +BuildRequires: docbook-xsl-stylesheets +%endif +BuildRequires: libxslt +%else +BuildRequires: docbook-dtd45-xml +BuildRequires: docbook-xsl +BuildRequires: libdbus-1-devel +BuildRequires: xsltproc +%endif +%if 0%{?suse_version} +BuildRequires: libzypp(plugin:commit) +%endif +BuildRequires: pam-devel +%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version} +BuildRequires: json-c-devel +%else +BuildRequires: libjson-c-devel +%endif +%if %{with selinux} +BuildRequires: libselinux-devel +%endif +BuildRequires: zlib-devel +%if %{with coverage} +BuildRequires: lcov +%endif +Requires: diffutils +Requires: libsnapper7 = %version +Requires: systemd +%if 0%{?suse_version} +Recommends: logrotate +Recommends: snapper-zypp-plugin +Supplements: btrfsprogs +%endif + +%description +This package contains snapper, a tool for filesystem snapshot management. + +%prep +%setup -q + +%build +%if %{with coverage} +# optimized code may confuse the coverage measurement, turn it off +# -fPIC is mysteriously needed on Fedora. +export CFLAGS="-g3 -fPIC" +export CXXFLAGS="-g3 -fPIC" +%else +export CFLAGS="%{optflags} -DNDEBUG" +export CXXFLAGS="%{optflags} -DNDEBUG" +%endif + +autoreconf -fvi +%configure \ + --docdir="%{_defaultdocdir}/snapper" \ + %{?with_coverage:--enable-coverage} \ + --with-pam-security="%{pam_security_dir}" \ +%if ! 0%{?suse_version} + --disable-rollback \ + --disable-btrfs-quota \ +%endif + %{?with_selinux:--enable-selinux} \ + --disable-silent-rules --disable-ext4 +make %{?_smp_mflags} + +%install +%make_install +rm -f "%{buildroot}/%{_libdir}"/*.la "%{buildroot}/%{pam_security_dir}/pam_snapper.la" +rm -f %{buildroot}/etc/cron.hourly/suse.de-snapper +rm -f %{buildroot}/etc/cron.daily/suse.de-snapper + +%if 0%{?suse_version} +install -D -m 644 data/sysconfig.snapper "%{buildroot}%{_fillupdir}/sysconfig.snapper" +%else +install -D -m 644 data/sysconfig.snapper "%{buildroot}/etc/sysconfig/snapper" +%endif + +# move logrotate files from /etc/logrotate.d to /usr/etc/logrotate.d +%if 0%{?suse_version} > 1500 +mkdir -p %{buildroot}%{_distconfdir}/logrotate.d +mv %{buildroot}/%{_sysconfdir}/logrotate.d/snapper %{buildroot}%{_distconfdir}/logrotate.d +%endif + +%{find_lang} snapper + +%check +make %{?_smp_mflags} check VERBOSE=1 + +%pre +%if 0%{?suse_version} +%service_add_pre snapper-boot.service snapper-boot.timer snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service snapper-timeline.timer snapperd.service +%endif +%if 0%{?suse_version} > 1500 +# Migration from /etc/logrotate.d to /usr/etc/logrotate.d +test -f /etc/logrotate.d/snapper.rpmsave && mv -v /etc/logrotate.d/snapper.rpmsave /etc/logrotate.d/snapper.rpmsave.old ||: +%endif + +%post +%if 0%{?suse_version} +# special hack, since the macros were added much later than +# the systemd timer +if [ -f /etc/cron.hourly/suse.de-snapper ]; then + systemctl preset snapper-timeline.timer || : + systemctl is-enabled -q snapper-timeline.timer && systemctl start snapper-timeline.timer || : +fi +if [ -f /etc/cron.daily/suse.de-snapper ]; then + systemctl preset snapper-cleanup.timer || : + systemctl is-enabled -q snapper-cleanup.timer && systemctl start snapper-cleanup.timer || : +fi +%service_add_post snapper-boot.service snapper-boot.timer snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service snapper-timeline.timer snapperd.service +%endif + +%if 0%{?suse_version} > 1500 +%posttrans +# Migration from /etc/logrotate.d to /usr/etc/logrotate.d +test -f /etc/logrotate.d/snapper.rpmsave && mv -v /etc/logrotate.d/snapper.rpmsave /etc/logrotate.d/snapper ||: +%endif + +%preun +%if 0%{?suse_version} +%service_del_preun snapper-boot.service snapper-boot.timer snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service snapper-timeline.timer snapperd.service +%endif + +%postun +%if 0%{?suse_version} +%service_del_postun snapper-boot.service snapper-boot.timer snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service snapper-timeline.timer snapperd.service +%endif + +%files -f snapper.lang +%defattr(-,root,root) +%{_bindir}/snapper +%{_sbindir}/snapperd +%if 0%{?suse_version} +%{_sbindir}/mksubvolume +%endif +%dir %{_prefix}/lib/snapper +%{_prefix}/lib/snapper/*-helper +%{_mandir}/*/snapper.8* +%{_mandir}/*/snapperd.8* +%{_mandir}/*/snapper-configs.5* +%if 0%{?suse_version} +%doc %{_mandir}/*/mksubvolume.8* +%endif +%if 0%{?suse_version} > 1500 +%{_distconfdir}/logrotate.d/snapper +%else +%config(noreplace) %{_sysconfdir}/logrotate.d/snapper +%endif +%{_unitdir}/snapper*.* +%if 0%{?suse_version} <= 1500 +%dir %{_datadir}/dbus-1/system.d +%endif +%{_datadir}/dbus-1/system.d/org.opensuse.Snapper.conf +%{_datadir}/dbus-1/system-services/org.opensuse.Snapper.service +%{_datadir}/bash-completion +%{_datadir}/zsh + +%package -n libsnapper7 +Summary: Library for filesystem snapshot management +Group: System/Libraries +Requires: util-linux +%if 0%{?suse_version} +PreReq: %fillup_prereq +%endif +# expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3... +Obsoletes: %(echo `seq -s " " -f "libsnapper%.f" $((7 - 1))`) + +%description -n libsnapper7 +This package contains libsnapper, a library for filesystem snapshot management. + +%files -n libsnapper7 +%license %{_defaultdocdir}/snapper/COPYING +%doc %dir %{_defaultdocdir}/snapper +%doc %{_defaultdocdir}/snapper/AUTHORS +%{_libdir}/libsnapper.so.* +%dir %{_sysconfdir}/snapper +%dir %{_sysconfdir}/snapper/configs +%dir %{_datadir}/snapper +%dir %{_datadir}/snapper/config-templates +%{_datadir}/snapper/config-templates/default +%dir %{_datadir}/snapper/filters +%{_datadir}/snapper/filters/*.txt +%if 0%{?suse_version} +%{_fillupdir}/sysconfig.snapper +%else +%config(noreplace) %{_sysconfdir}/sysconfig/snapper +%endif + +%pre -n libsnapper7 +# Migration from /etc/snapper to /usr/share/snapper +for i in config-templates/default filters/base.txt filters/lvm.txt filters/x11.txt ; do + test -f /etc/snapper/${i}.rpmsave && mv -v /etc/snapper/${i}.rpmsave /etc/snapper/${i}.rpmsave.old ||: +done + +%posttrans -n libsnapper7 +# Migration from /etc/snapper to /usr/share/snapper +for i in config-templates/default filters/base.txt filters/lvm.txt filters/x11.txt ; do + test -f /etc/snapper/${i}.rpmsave && mv -v /etc/snapper/${i}.rpmsave /etc/snapper/${i} ||: +done + +%post -n libsnapper7 +/sbin/ldconfig +%if 0%{?suse_version} +%{fillup_only -n snapper} +%endif + +%postun -n libsnapper7 -p /sbin/ldconfig + +%package -n libsnapper-devel +%if 0%{?suse_version} +Requires: libboost_headers-devel +%else +Requires: boost-devel +%endif +Requires: gcc-c++ +Requires: libacl-devel +Requires: libsnapper7 = %version +Requires: libstdc++-devel +Requires: libxml2-devel +%if 0%{?suse_version} +Requires: libbtrfs-devel +%endif +%if 0%{?suse_version} +Requires: libmount-devel >= 2.24 +%endif +Summary: Header files and documentation for libsnapper +Group: Development/Languages/C and C++ + +%description -n libsnapper-devel +This package contains header files and documentation for developing with +libsnapper. + +%files -n libsnapper-devel +%{_libdir}/libsnapper.so +%{_includedir}/snapper + +%package -n snapper-zypp-plugin +Requires: snapper = %version +Requires: libzypp(plugin:commit) = 1 +Summary: A zypp commit plugin for calling snapper +Group: System/Packages + +%description -n snapper-zypp-plugin +This package contains a plugin for zypp that makes filesystem snapshots with +snapper during commits. + +%files -n snapper-zypp-plugin +%{_datadir}/snapper/zypp-plugin.conf +/usr/lib/zypp/plugins/commit/snapper-zypp-plugin +%doc %{_mandir}/*/snapper-zypp-plugin.8* +%doc %{_mandir}/*/snapper-zypp-plugin.conf.5* + +%pre -n snapper-zypp-plugin +# Migration from /etc/snapper to /usr/share/snapper +for i in zypp-plugin.conf ; do + test -f /etc/snapper/${i}.rpmsave && mv -v /etc/snapper/${i}.rpmsave /etc/snapper/${i}.rpmsave.old ||: +done + +%posttrans -n snapper-zypp-plugin +# Migration from /etc/snapper to /usr/share/snapper +for i in zypp-plugin.conf ; do + test -f /etc/snapper/${i}.rpmsave && mv -v /etc/snapper/${i}.rpmsave /etc/snapper/${i} ||: +done + +%package -n pam_snapper +Requires: pam +Requires: snapper = %version +Summary: PAM module for calling snapper +Group: System/Packages + +%description -n pam_snapper +A PAM module for calling snapper during user login and logout. + +%files -n pam_snapper +/%{pam_security_dir}/pam_snapper.so +%dir /usr/lib/pam_snapper +/usr/lib/pam_snapper/*.sh +%doc %{_mandir}/*/pam_snapper.8* + +%package testsuite +Summary: Integration tests for snapper +Group: System/Packages + +%description testsuite +Tests to be run in a scratch machine to test that snapper operates as expected. + +%files testsuite +%dir %{_libdir}/snapper +%dir %{_libdir}/snapper/testsuite +%{_libdir}/snapper/testsuite/* + +%changelog