summaryrefslogtreecommitdiff
path: root/app-backup/snapper
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-04 04:53:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-04 04:53:47 +0000
commitd074d0ba59e3121dba0c27c4a18f1e481f67b62a (patch)
treeacee0c96401da7cf239aa11858cb707d4e5ce930 /app-backup/snapper
parenta8594a52da11d6e6e42aec90d9658f5fda35a77c (diff)
gentoo auto-resync : 04:12:2023 - 04:53:47
Diffstat (limited to 'app-backup/snapper')
-rw-r--r--app-backup/snapper/Manifest4
-rw-r--r--app-backup/snapper/snapper-0.10.6.ebuild2
-rw-r--r--app-backup/snapper/snapper-0.10.7.ebuild90
3 files changed, 94 insertions, 2 deletions
diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 7c8de9cdf2f9..004069180c7e 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -4,7 +4,9 @@ AUX snapper-0.10.3-boost-1.81.patch 505 BLAKE2B 51111b4a6738efd7b9604c54dbb5754d
DIST snapper-0.10.3.tar.gz 409277 BLAKE2B bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e SHA512 74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef SHA512 e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235
DIST snapper-0.10.6.tar.gz 423867 BLAKE2B a7d0f8c62c60c0d03bf108a8c0692dd209f170cf8227512cbc3b80eb9f58ecca845aa585859032bc6582d67e4c6ff15b75443a9ee9291d1b970efec15513571f SHA512 6eedfb9408260331f042f0a429a1104136cb88dac450f320641b0941cd06faf52f67cad2397cf4122f919876bb994455da0cfd3bb099f82217050e07b4c77d2e
+DIST snapper-0.10.7.tar.gz 428482 BLAKE2B 43c48d978296901f6584cef258ec3723de97b1d6b4b4a5b6bc39649f28b3300919616c65b8fcdb97b3ebcab08d04e4583713eef146721367de24513e80113b45 SHA512 bf098c941735b60554ff0711fa43b30ef3634e01178f5ee8ad44c65b757c3366bd5bf568cef3a787b2ddcc2fc63090056109250480e6bd360ebf27a8343373b8
EBUILD snapper-0.10.3.ebuild 2083 BLAKE2B 78d21c76ce6f1cc5e2e852a4c9d0ec89d7f408e508abe0822614980b3407c9cd6cdd4f584e71e1009a3fc3b7e8f65195188a068672b443d8912e4b137879aca7 SHA512 994e79d4db8a382919a22088bfb7c79a2793d73a62be1bd12c6dcd1c30fe68149a054306cc002fdad356005d50bd5865700122f27ede96d4df5bdd5d269b0a85
EBUILD snapper-0.10.5-r1.ebuild 2039 BLAKE2B f86263297ef14cd8a0ff5ab243dbf6c9ed8488ce3909863b7f918faf8ec8d94aefe94b701c374d24d6f8a168e14c06159b457467e440008525fd3b9e927a11a7 SHA512 39c725b5937065d0a2e846ae5113cb5bfd65dd5ddf3c6e1201561c7fbf2015271589d07940d10aec63ed329dcba567813e28c1a74e5580bbf2e9daf7ccf6669f
-EBUILD snapper-0.10.6.ebuild 2049 BLAKE2B 795e6947da7d2d2c68d24e612ce442fdec03c22584c1d4b85a8d36413b2e555ca4719c6223591cf92e441c15b6069cd29bd869519c99b2f23d54fd0fbb4225e0 SHA512 101ad55fd0be1fa87923bb57114280e626cf84ac22c0a7056f002276b71061e2ad0b3573e9d56dd500bff4b419a180a6c9c70b6be7d44340953f863249dfe93b
+EBUILD snapper-0.10.6.ebuild 2048 BLAKE2B bdc7584e5052fbff6dd97b9c0e05d60d6ef3ee31b65342f91bb2558df128aee6f9cc7df0582fc31d20fac5947c42f483a50bfef3845c90ea55b5b281c1f34f6d SHA512 596d97e097e25a8b5bc51ed7a521939d11fed45cc8386d12e1545aa4e96486fa35de36f297ffa912bd9ce6bef9ce0b35439657b9ed1561f832290e46aeaff465
+EBUILD snapper-0.10.7.ebuild 2049 BLAKE2B 795e6947da7d2d2c68d24e612ce442fdec03c22584c1d4b85a8d36413b2e555ca4719c6223591cf92e441c15b6069cd29bd869519c99b2f23d54fd0fbb4225e0 SHA512 101ad55fd0be1fa87923bb57114280e626cf84ac22c0a7056f002276b71061e2ad0b3573e9d56dd500bff4b419a180a6c9c70b6be7d44340953f863249dfe93b
MISC metadata.xml 1331 BLAKE2B 891a27fbae2ed364a26952def66b3e9e62be7025580d7b89f559f284888efed53476f4a8f5bcd7209c3c4de8494913a05354059004ef6c3aa6c1829a3e093efb SHA512 add8dffdf453f079d09f06608cae732ce61e04a5fac1988afb0733c8d60a943efe054a4973e54ca1cf304ad3d3778fd8aa6b01fc16815a1f42f83048d58adb63
diff --git a/app-backup/snapper/snapper-0.10.6.ebuild b/app-backup/snapper/snapper-0.10.6.ebuild
index 9d04eeeb2e14..3a8fa554b747 100644
--- a/app-backup/snapper/snapper-0.10.6.ebuild
+++ b/app-backup/snapper/snapper-0.10.6.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
IUSE="lvm pam test systemd xattr"
RESTRICT="test"
diff --git a/app-backup/snapper/snapper-0.10.7.ebuild b/app-backup/snapper/snapper-0.10.7.ebuild
new file mode 100644
index 000000000000..9d04eeeb2e14
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.7.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/"
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="lvm pam test systemd xattr"
+RESTRICT="test"
+
+BDEPEND="app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+RDEPEND="dev-libs/boost:=
+ dev-libs/json-c:=
+ dev-libs/libxml2
+ dev-libs/icu:=
+ sys-apps/acl
+ sys-apps/dbus
+ sys-apps/util-linux
+ >=sys-fs/btrfs-progs-3.17.1
+ sys-libs/zlib
+ virtual/libintl
+ lvm? ( sys-fs/lvm2 )
+ pam? ( sys-libs/pam )
+ xattr? ( sys-apps/attr )"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/cron-confd.patch
+ "${FILESDIR}"/${PN}-0.10.1-testsuite.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e "s,/usr/lib/systemd/system,$(systemd_get_systemunitdir),g" \
+ -i data/Makefile.* \
+ || die "Failed to fix systemd services and timers installation path"
+ eautoreconf
+}
+
+src_configure() {
+ # ext4 code does not work anymore
+ # snapper does not build without btrfs
+ local myeconfargs=(
+ --disable-silent-rules
+ --with-conf="/etc/conf.d"
+ --enable-zypp
+ --enable-rollback
+ --enable-btrfs-quota
+ --disable-ext4
+ --enable-btrfs
+ --enable-doc
+ $(use_enable lvm)
+ $(use_enable pam)
+ $(use_enable test tests)
+ $(use_enable systemd)
+ $(use_enable xattr xattrs)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ # Existing configuration file required to function
+ keepdir /etc/snapper/configs
+ newconfd data/sysconfig.snapper snapper
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ elog "In order to use Snapper, you need to set up"
+ elog "at least one config first. To do this, run:"
+ elog "snapper create-config <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html and"
+ elog "https://wiki.gentoo.org/wiki/Snapper"
+}