mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-backup/snapper: drop 0.12.0-r1
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
d98d97e437
commit
0bfa95bfdd
@ -1,4 +1,3 @@
|
||||
DIST snapper-0.12.0.tar.gz 530406 BLAKE2B 575a1cf251c789c38f3cce623e6074dde4d195914f7b391f2a0d4f588e5ff90b47c56b1897cb9a6d6a7789ed6d5e3676cb9ac3719fa33e9dabdc26227ea5b1e2 SHA512 f022ce76633e3d64e2c3c825a9113b2f77d0e672188b4af644e37388cb3636b4878131917a734aab3b74e744b5e437d53657744df37ec53671442cef4e3bb873
|
||||
DIST snapper-0.12.1.tar.gz 536687 BLAKE2B 1fbc8a99848016974db82c3993cd22fe402fba49ab128919e291704f602447c3d5b63f9681eff038e4bfbf89da8e5516516b22e8d93ca637ecca89c33ce89df6 SHA512 be7e227c7b7935d9be25ada77b758e654102881b8b7886fca312a9be990fbf701db774bfcccde4a05b9e1c0b31aa7f757a7a94a254c49fd54ba7a1395b3a6716
|
||||
DIST snapper-0.12.2.tar.gz 543425 BLAKE2B bc88fa28629e3d04ecd243c577838ed151dcc96457f15b4c5900d534565201726c040d03a1f2cbfd22fc29ed219462e8cc5e93f158def66079150df6c4e366a6 SHA512 7c422db43296c74edb629dcc0936ca335c440922c8f21701b07515069ec3ef79023d8a78875d0953480ecea1bf5284a50ff39a1778e56f42b8fa2c46ce3e8bfa
|
||||
DIST snapper-0.13.0.tar.gz 553212 BLAKE2B 2ccbdb1e872d53ac7137607fc0fb910a1e26c5829460804e41b1d65d105b39d0892fe799f096161ae354292d0d7041054615206389e0c42f8e1555843989aae4 SHA512 86553647c29a911676f963caa656a43b2b3d6ffb846514e1bfe8b88aedfbe2fca50631f1dba8ecc5332dc18929e1f6029747348590fc124873c093e0f70fe62a
|
||||
|
||||
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2025 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 <subvolume>"
|
||||
elog "For more information, see man (8) snapper or"
|
||||
elog "http://snapper.io/documentation.html and"
|
||||
elog "https://wiki.gentoo.org/wiki/Snapper"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user