From 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 3 Dec 2024 02:07:18 +0000 Subject: gentoo auto-resync : 03:12:2024 - 02:07:18 --- app-backup/snapper/Manifest | 4 +- app-backup/snapper/snapper-0.11.1.ebuild | 90 -------------------------------- app-backup/snapper/snapper-0.12.0.ebuild | 90 ++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 92 deletions(-) delete mode 100644 app-backup/snapper/snapper-0.11.1.ebuild create mode 100644 app-backup/snapper/snapper-0.12.0.ebuild (limited to 'app-backup/snapper') diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest index 92d8b3e21d67..c30ce379e56a 100644 --- a/app-backup/snapper/Manifest +++ b/app-backup/snapper/Manifest @@ -1,9 +1,9 @@ AUX snapper-0.10.1-testsuite.patch 2525 BLAKE2B 0ece146356113d456ef0a56e46e76eae1f9509e3b454459499fa457119c75a9e5fecb85d5530caaab340cea7f4deba0f155ac9e31706ab3899372c45e381cf77 SHA512 e0e1a4ed7c9ef069bc0bc5449f784c2deda1ce6851e98ca6d04c03988361f00e06b6a4f347671ee905f496dba19f8dffa64e5bdcba89f547292fc9c8d276ecd7 AUX snapper-0.11.0-cron-confd.patch 424 BLAKE2B beb358e0405a680963fc5776dc2bdd6de36958c53579d4097dd43655a4e4abd1dba0eaeff789da435b7f6fd13993e2dca29f07dd0b29e9bfcb29fa31c3623848 SHA512 1ac7ed0de6be97219282bcff82ebb0c62a9ae1a8869fd8e1246dc06b20aac81e3f95d306198d29d69223226b4efd5b1f4555b3280935f09c1c374803236c1bee DIST snapper-0.11.0.tar.gz 445685 BLAKE2B 301e6d745d8d6d7acc6ca0c9fc431a0e46700aabd9882785bb2be38152693f9dbe897f85f6ad724c9529a0754b6146b53dda0a24141b386e59e7737855bc5da2 SHA512 fe86be4ceb1439b5be3fa61f5bc037bc51a5fe47451d0698851f83e2783d6c245ef8d40a33f79b03e8d1d8b63433743c35938ad7dca0747e0e1f650a5a766c40 -DIST snapper-0.11.1.tar.gz 450693 BLAKE2B 06c90cfdca71550e8dc8a246008a94bceb582f98dc4d56546592ae70ec69bd21f1f73ff1e41776f7eb5a02c42c382e05b771afa3fe583eb63486f640dc1d23d4 SHA512 0d7f6d9a012892c3ea0916cc92da5a6a435aa0a90067941f03b6e5a08adff54a7f3c52cc500cd28e7a7b496fb436c88db4399307cdd5518cfa54f2287e285993 DIST snapper-0.11.2.tar.gz 451240 BLAKE2B 08afbdb7808d16555ca476e2a4336b9ee7da7e368a8bba1f131b7413d60ce0c61cb8e6ebc14cfebf5184d426b39c2d042f450494dcd65de30627870407ec8652 SHA512 b418ff91c6ba655edebd600691e2a7c0bc277eb6e327d5c57d0e5b2e008ee859e82a7dc49f2b25003001f0e6e5fc69e611c843231160bbb4626867cfc4cf95e2 +DIST snapper-0.12.0.tar.gz 530406 BLAKE2B 575a1cf251c789c38f3cce623e6074dde4d195914f7b391f2a0d4f588e5ff90b47c56b1897cb9a6d6a7789ed6d5e3676cb9ac3719fa33e9dabdc26227ea5b1e2 SHA512 f022ce76633e3d64e2c3c825a9113b2f77d0e672188b4af644e37388cb3636b4878131917a734aab3b74e744b5e437d53657744df37ec53671442cef4e3bb873 EBUILD snapper-0.11.0.ebuild 2052 BLAKE2B 13fdc4dfc90e5413b187cb3445b23b68fb271595553277861d5807ca2d7f93cc2719e1418ff8349d253f175d23b85a92a1e1fe73eca35ffd8ebc9fac4cdae51c SHA512 6fbb43ca53e9bf3e40be32bc0c2257b17128f2a8d61219465586de48be1404ed964a5fc6a156c5db3025da1c078a9ac04caf41b7d1f078204ff75678f2bdac57 -EBUILD snapper-0.11.1.ebuild 2062 BLAKE2B bfa3c6823b4d131caf04b10283cc4e91d957c9f8fe6608af4489370d23ff7801d31cc09dbd3d51d451228341921a6db29c04f35ec9228a0bcfbc346011b2d093 SHA512 6251093935e6c75abfc666711596ad52a15fcc78d0bf6aa5b70492ca6fa6246406d06632772b45a5dea05bf20be31b1ca379cc91581510b2231ee4d2078cc596 EBUILD snapper-0.11.2.ebuild 2062 BLAKE2B bfa3c6823b4d131caf04b10283cc4e91d957c9f8fe6608af4489370d23ff7801d31cc09dbd3d51d451228341921a6db29c04f35ec9228a0bcfbc346011b2d093 SHA512 6251093935e6c75abfc666711596ad52a15fcc78d0bf6aa5b70492ca6fa6246406d06632772b45a5dea05bf20be31b1ca379cc91581510b2231ee4d2078cc596 +EBUILD snapper-0.12.0.ebuild 2062 BLAKE2B bfa3c6823b4d131caf04b10283cc4e91d957c9f8fe6608af4489370d23ff7801d31cc09dbd3d51d451228341921a6db29c04f35ec9228a0bcfbc346011b2d093 SHA512 6251093935e6c75abfc666711596ad52a15fcc78d0bf6aa5b70492ca6fa6246406d06632772b45a5dea05bf20be31b1ca379cc91581510b2231ee4d2078cc596 MISC metadata.xml 1331 BLAKE2B 891a27fbae2ed364a26952def66b3e9e62be7025580d7b89f559f284888efed53476f4a8f5bcd7209c3c4de8494913a05354059004ef6c3aa6c1829a3e093efb SHA512 add8dffdf453f079d09f06608cae732ce61e04a5fac1988afb0733c8d60a943efe054a4973e54ca1cf304ad3d3778fd8aa6b01fc16815a1f42f83048d58adb63 diff --git a/app-backup/snapper/snapper-0.11.1.ebuild b/app-backup/snapper/snapper-0.11.1.ebuild deleted file mode 100644 index 92c569f5b215..000000000000 --- a/app-backup/snapper/snapper-0.11.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 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}"/${PN}-0.11.0-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 " - elog "For more information, see man (8) snapper or" - elog "http://snapper.io/documentation.html and" - elog "https://wiki.gentoo.org/wiki/Snapper" -} diff --git a/app-backup/snapper/snapper-0.12.0.ebuild b/app-backup/snapper/snapper-0.12.0.ebuild new file mode 100644 index 000000000000..92c569f5b215 --- /dev/null +++ b/app-backup/snapper/snapper-0.12.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 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}"/${PN}-0.11.0-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 " + elog "For more information, see man (8) snapper or" + elog "http://snapper.io/documentation.html and" + elog "https://wiki.gentoo.org/wiki/Snapper" +} -- cgit v1.2.3