1 |
commit: 346ee121f5659aa58d5f5f47299173f11b5e781c |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 12 02:08:02 2019 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 12 02:15:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346ee121 |
7 |
|
8 |
app-backup/snapper: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
app-backup/snapper/snapper-0.5.6.ebuild | 77 --------------------------------- |
14 |
1 file changed, 77 deletions(-) |
15 |
|
16 |
diff --git a/app-backup/snapper/snapper-0.5.6.ebuild b/app-backup/snapper/snapper-0.5.6.ebuild |
17 |
deleted file mode 100644 |
18 |
index c2bd86dbdcb..00000000000 |
19 |
--- a/app-backup/snapper/snapper-0.5.6.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,77 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit systemd |
28 |
- |
29 |
-DESCRIPTION="Command-line program for btrfs and lvm snapshot management" |
30 |
-HOMEPAGE="http://snapper.io/" |
31 |
-SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 x86" |
36 |
-IUSE="lvm pam xattr" |
37 |
- |
38 |
-RDEPEND="dev-libs/boost:=[threads] |
39 |
- dev-libs/libxml2 |
40 |
- dev-libs/icu:= |
41 |
- sys-apps/acl |
42 |
- sys-apps/dbus |
43 |
- sys-apps/util-linux |
44 |
- >=sys-fs/btrfs-progs-3.17.1 |
45 |
- sys-libs/zlib |
46 |
- virtual/libintl |
47 |
- lvm? ( sys-fs/lvm2 ) |
48 |
- pam? ( sys-libs/pam ) |
49 |
- xattr? ( sys-apps/attr )" |
50 |
- |
51 |
-DEPEND="${RDEPEND} |
52 |
- sys-devel/gettext |
53 |
- virtual/pkgconfig" |
54 |
- |
55 |
-PATCHES=( |
56 |
- "${FILESDIR}"/cron-confd.patch |
57 |
-) |
58 |
- |
59 |
-src_prepare() { |
60 |
- default |
61 |
- |
62 |
- sed -e "s,/usr/lib/systemd/system,$(systemd_get_systemunitdir),g" \ |
63 |
- -i data/Makefile.* \ |
64 |
- || die "Failed to fix systemd services and timers installation path" |
65 |
-} |
66 |
- |
67 |
-src_configure() { |
68 |
- # ext4 code does not work anymore |
69 |
- # snapper does not build without btrfs |
70 |
- local myeconfargs=( |
71 |
- --with-conf="/etc/conf.d" |
72 |
- --docdir="/usr/share/doc/${PF}" |
73 |
- --disable-zypp |
74 |
- --enable-rollback |
75 |
- --disable-ext4 |
76 |
- --enable-btrfs |
77 |
- $(use_enable lvm) |
78 |
- $(use_enable pam) |
79 |
- $(use_enable xattr xattrs) |
80 |
- ) |
81 |
- |
82 |
- econf "${myeconfargs[@]}" |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- default |
87 |
- # Existing configuration file required to function |
88 |
- newconfd data/sysconfig.snapper snapper |
89 |
- find "${D}" -name '*.la' -delete || die |
90 |
-} |
91 |
- |
92 |
-pkg_postinst() { |
93 |
- elog "In order to use Snapper, you need to set up" |
94 |
- elog "at least one config first. To do this, run:" |
95 |
- elog "snapper create-config <subvolume>" |
96 |
- elog "For more information, see man (8) snapper or" |
97 |
- elog "http://snapper.io/documentation.html" |
98 |
-} |