1 |
commit: ef2829d1ac400892265dab27dd486e5a8710c740 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 11 02:24:03 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 11 02:24:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2829d1 |
7 |
|
8 |
app-backup/dar: bump to 2.6.13 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-backup/dar/Manifest | 1 + |
14 |
app-backup/dar/dar-2.6.13.ebuild | 102 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 103 insertions(+) |
16 |
|
17 |
diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest |
18 |
index af1161313c2..06d961225b2 100644 |
19 |
--- a/app-backup/dar/Manifest |
20 |
+++ b/app-backup/dar/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST dar-2.5.11.tar.gz 1891928 BLAKE2B 536cccca2533f7ddbc8b95972fe00e9c87a404481e6afbd7aa3634c00598403c18950eb876aefe71a818c3bf4df75bff5f3904dc69bd1d75880f6c8a349911a5 SHA512 36b90218a34ac7f41ce9ca0a2167cfb2fd243b23b8e84350153e8804f0faabf87291b4e4b061533bcb0ca079f087c074eeaa12a54ee8084dd386a072ac503847 |
23 |
DIST dar-2.6.10.tar.gz 2140424 BLAKE2B 840a7a3d33825658be541157468a15bc3a3082083a35c426ecbab1cd2e8026e0a4d15671a33472068e1256878d1f60d414c2c069a3223ab5050756b13c887b69 SHA512 2fceafba6c6851c5dd11c0d1a3fda8aeddac16f39cf0051027b178703a5e821fb769c42624063d8722d80ea62bb735f3b0c6c39538c1c939234df49d6b757428 |
24 |
+DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c |
25 |
|
26 |
diff --git a/app-backup/dar/dar-2.6.13.ebuild b/app-backup/dar/dar-2.6.13.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4924de9b8a3 |
29 |
--- /dev/null |
30 |
+++ b/app-backup/dar/dar-2.6.13.ebuild |
31 |
@@ -0,0 +1,102 @@ |
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 static static-libs xattr" |
47 |
+ |
48 |
+RESTRICT="test" # need to be run as root |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=sys-libs/zlib-1.2.3:= |
52 |
+ !static? ( |
53 |
+ app-arch/bzip2:= |
54 |
+ app-arch/xz-utils:= |
55 |
+ sys-libs/libcap |
56 |
+ curl? ( net-misc/curl ) |
57 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
58 |
+ gpg? ( app-crypt/gpgme ) |
59 |
+ lzo? ( dev-libs/lzo:= ) |
60 |
+ xattr? ( sys-apps/attr:= ) |
61 |
+ )" |
62 |
+ |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ static? ( |
66 |
+ app-arch/bzip2[static-libs] |
67 |
+ app-arch/xz-utils[static-libs] |
68 |
+ sys-libs/libcap[static-libs] |
69 |
+ sys-libs/zlib[static-libs] |
70 |
+ curl? ( net-misc/curl[static-libs] ) |
71 |
+ lzo? ( dev-libs/lzo[static-libs] ) |
72 |
+ xattr? ( sys-apps/attr[static-libs] ) |
73 |
+ ) |
74 |
+" |
75 |
+BDEPEND=" |
76 |
+ nls? ( |
77 |
+ sys-devel/gettext |
78 |
+ virtual/libintl |
79 |
+ ) |
80 |
+ doc? ( app-doc/doxygen ) |
81 |
+" |
82 |
+ |
83 |
+REQUIRED_USE="?? ( dar32 dar64 ) |
84 |
+ gpg? ( gcrypt )" |
85 |
+ |
86 |
+src_configure() { |
87 |
+ # configure.ac is totally funked up regarding the AC_ARG_ENABLE |
88 |
+ # logic. |
89 |
+ # For example "--enable-dar-static" causes configure to DISABLE |
90 |
+ # static builds of dar. |
91 |
+ # Do _not_ use $(use_enable) until you have verified that the |
92 |
+ # logic has been fixed by upstream. |
93 |
+ local myconf=( |
94 |
+ --disable-python-binding |
95 |
+ --disable-upx |
96 |
+ $(usex curl '' --disable-libcurl-linking) |
97 |
+ $(usex dar32 --enable-mode=32 '') |
98 |
+ $(usex dar64 --enable-mode=64 '') |
99 |
+ $(usex doc '' --disable-build-html) |
100 |
+ #$(usex examples --enable-examples '') |
101 |
+ $(usex gcrypt '' --disable-libgcrypt-linking) |
102 |
+ $(usex gpg '' --disable-gpgme-linking) |
103 |
+ $(usex lzo '' --disable-liblzo2-linking) |
104 |
+ $(usex nls '' --disable-nls) |
105 |
+ #$(usex rsync '' --disable-librsync-linking) |
106 |
+ $(usex xattr '' --disable-ea-support) |
107 |
+ ) |
108 |
+ |
109 |
+ # Bug 103741 |
110 |
+ filter-flags -fomit-frame-pointer |
111 |
+ |
112 |
+ if ! use static ; then |
113 |
+ myconf+=( --disable-dar-static ) |
114 |
+ if ! use static-libs ; then |
115 |
+ myconf+=( --disable-static ) |
116 |
+ fi |
117 |
+ fi |
118 |
+ |
119 |
+ econf "${myconf[@]}" |
120 |
+} |
121 |
+ |
122 |
+src_install() { |
123 |
+ emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install |
124 |
+ |
125 |
+ local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
126 |
+ einstalldocs |
127 |
+ |
128 |
+ find "${ED}" -name '*.la' -delete || die |
129 |
+ |
130 |
+ if ! use static-libs ; then |
131 |
+ find "${ED}" -name '*.a' -delete || die |
132 |
+ fi |
133 |
+} |