1 |
commit: 1afa741660774282a4de6b176da17f42a8f9664f |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 27 09:22:10 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 17:49:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afa7416 |
7 |
|
8 |
app-backup/dar: add v2.7.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22419 |
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
app-backup/dar/Manifest | 1 + |
16 |
app-backup/dar/dar-2.7.2.ebuild | 91 +++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 92 insertions(+) |
18 |
|
19 |
diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest |
20 |
index 840ba71b665..79390a742e9 100644 |
21 |
--- a/app-backup/dar/Manifest |
22 |
+++ b/app-backup/dar/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST dar-2.7.1.tar.gz 2290659 BLAKE2B 89fa7ac208eb3009f5151f27022a7a449bb204cb035f320e33ff642588b5ab0389c2ed33b71b7a7c6240d205877073f26a04f0164ce05bb370db3bc3faf25fda SHA512 404e3281b2c420088623e4c6ba262d2a7a44848986e43d4c71aff77104395f1178445d560849a73e0dbacce6b8014df2bb20bc33471ae2d07d897bb6ad577bcc |
25 |
+DIST dar-2.7.2.tar.gz 2294187 BLAKE2B 6422f40aea9fe07195359d9e8d5a947fe20d1ec4d6bd866eb8e9240c153d069b5df75018c25b9e8ce6b7acbf4ce4259b50b0768cd391d8b9b1c7be72f03a56b6 SHA512 7e41adc0102806c07d644da41960b1e5bcb6b7872e6a5789506c1f2a001ffb4e3607cae6f76ccc2339d90cf4387b7645e9de6dbc4eed1306827a46e4b7c9d09d |
26 |
|
27 |
diff --git a/app-backup/dar/dar-2.7.2.ebuild b/app-backup/dar/dar-2.7.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..30d87e46927 |
30 |
--- /dev/null |
31 |
+++ b/app-backup/dar/dar-2.7.2.ebuild |
32 |
@@ -0,0 +1,91 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="A full featured backup tool, aimed for disks" |
41 |
+HOMEPAGE="http://dar.linux.free.fr/" |
42 |
+SRC_URI="mirror://sourceforge/dar/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux" |
47 |
+IUSE="argon2 curl dar32 dar64 doc gcrypt gpg lz4 lzo nls rsync threads xattr" |
48 |
+ |
49 |
+REQUIRED_USE="?? ( dar32 dar64 ) |
50 |
+ gpg? ( gcrypt )" |
51 |
+ |
52 |
+RESTRICT="test" # need to be run as root |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ app-arch/bzip2:= |
56 |
+ app-arch/xz-utils |
57 |
+ app-arch/zstd:= |
58 |
+ sys-libs/libcap |
59 |
+ >=sys-libs/zlib-1.2.3:= |
60 |
+ argon2? ( app-crypt/argon2:= ) |
61 |
+ curl? ( net-misc/curl ) |
62 |
+ gcrypt? ( |
63 |
+ dev-libs/libgcrypt:0= |
64 |
+ dev-libs/libgpg-error |
65 |
+ ) |
66 |
+ gpg? ( app-crypt/gpgme:1= ) |
67 |
+ lz4? ( app-arch/lz4:= ) |
68 |
+ lzo? ( dev-libs/lzo:2 ) |
69 |
+ nls? ( virtual/libintl ) |
70 |
+ rsync? ( net-libs/librsync:= ) |
71 |
+ threads? ( dev-libs/libthreadar ) |
72 |
+ xattr? ( sys-apps/attr ) |
73 |
+" |
74 |
+ |
75 |
+DEPEND="${RDEPEND}" |
76 |
+ |
77 |
+BDEPEND=" |
78 |
+ doc? ( app-doc/doxygen ) |
79 |
+ nls? ( sys-devel/gettext ) |
80 |
+" |
81 |
+ |
82 |
+src_configure() { |
83 |
+ # configure.ac is totally funked up regarding the AC_ARG_ENABLE |
84 |
+ # logic. |
85 |
+ # For example "--enable-dar-static" causes configure to DISABLE |
86 |
+ # static builds of dar. |
87 |
+ # Do _not_ use $(use_enable) until you have verified that the |
88 |
+ # logic has been fixed by upstream. |
89 |
+ local myconf=( |
90 |
+ --disable-dar-static |
91 |
+ --disable-python-binding |
92 |
+ --disable-upx |
93 |
+ $(usev !argon2 --disable-libargon2-linking) |
94 |
+ $(usev !curl --disable-libcurl-linking) |
95 |
+ $(usev dar32 --enable-mode=32) |
96 |
+ $(usev dar64 --enable-mode=64) |
97 |
+ $(usev !doc --disable-build-html) |
98 |
+ $(usev !gcrypt --disable-libgcrypt-linking) |
99 |
+ $(usev !gpg --disable-gpgme-linking) |
100 |
+ $(usev !lz4 --disable-liblz4-linking) |
101 |
+ $(usev !lzo --disable-liblzo2-linking) |
102 |
+ $(usev !nls --disable-nls) |
103 |
+ $(usev !rsync --disable-librsync-linking) |
104 |
+ $(usev !threads --disable-threadar) |
105 |
+ $(usev !xattr --disable-ea-support) |
106 |
+ ) |
107 |
+ |
108 |
+ # Bug 103741 |
109 |
+ filter-flags -fomit-frame-pointer |
110 |
+ |
111 |
+ econf "${myconf[@]}" |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install |
116 |
+ |
117 |
+ einstalldocs |
118 |
+ |
119 |
+ find "${ED}" -name "*.la" -delete || die |
120 |
+ |
121 |
+ # Bug 729150 |
122 |
+ rm "${ED}/usr/share/doc/${PF}/html/samples/MyBackup.sh.tar.gz" || die |
123 |
+} |