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