1 |
commit: f64668d3cea0c4dd47f715dcb70f01166116b408 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 4 08:49:50 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 08:49:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64668d3 |
7 |
|
8 |
sys-apps/sg3_utils: Bump to version 1.45 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/sg3_utils/Manifest | 1 + |
14 |
sys-apps/sg3_utils/sg3_utils-1.45.ebuild | 43 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/sg3_utils/Manifest b/sys-apps/sg3_utils/Manifest |
18 |
index ad410ad62b3..bbe164d0663 100644 |
19 |
--- a/sys-apps/sg3_utils/Manifest |
20 |
+++ b/sys-apps/sg3_utils/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST sg3_utils-1.42.tgz 1219231 BLAKE2B dd9ea2c324cb6f4c0ce770c90b7980da5e998bddc3a2be43a0aa9bea88dfe34291d0f58b393b2a5ac680c05dc673802ec9fae1ead37107bc49fa33bc7c4df503 SHA512 d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad |
23 |
DIST sg3_utils-1.44.tar.xz 922152 BLAKE2B 8596ef78fbb7ade5a969f485b0f4ff63863dc8a5ff58fe630cffa91900ba9946b47ddf857346aa3904da8502afa4928f54baf99428344d2e561a90e52c8533ed SHA512 4f4d5536ebed62f2c81c55741043d9ac3f4610a4dd6ef2e3125f041afd57aae03a32c2affe84a960c9f61fb6f84784bc901c756a8c36c1bc97082fa61e73ae8d |
24 |
+DIST sg3_utils-1.45.tar.xz 989864 BLAKE2B 2d0a9e0edf514c8c7a566798f8087fc27d15d31cc8df39073dd97cff569da396b24236e0c231781625379b2ecefe7c99716d5d9c7dc104b15e150cb4e3c43e75 SHA512 fa25dedc447154d33937248a856af9a7ef380dda282a681d465a57d7dfc24b6c0409fa06aabf8cc28ba191e91db80fed0757b45212eddf713855574b48a97868 |
25 |
|
26 |
diff --git a/sys-apps/sg3_utils/sg3_utils-1.45.ebuild b/sys-apps/sg3_utils/sg3_utils-1.45.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e26f49ce241 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/sg3_utils/sg3_utils-1.45.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit multilib |
38 |
+ |
39 |
+DESCRIPTION="Apps for querying the sg SCSI interface" |
40 |
+HOMEPAGE="http://sg.danny.cz/sg/" |
41 |
+#SRC_URI="https://github.com/hreinecke/sg3_utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+SRC_URI="http://sg.danny.cz/sg/p/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
47 |
+IUSE="static-libs" |
48 |
+ |
49 |
+DEPEND="sys-devel/libtool" |
50 |
+RDEPEND="!sys-apps/rescan-scsi-bus" |
51 |
+ |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}"/${PN}-1.26-stdint.patch #580236 |
54 |
+) |
55 |
+ |
56 |
+src_configure() { |
57 |
+ econf $(use_enable static-libs static) |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ default |
62 |
+ dodoc COVERAGE doc/README examples/*.txt |
63 |
+ newdoc scripts/README README.scripts |
64 |
+ |
65 |
+ # Better fix for bug 231089; some packages look for sgutils2 |
66 |
+ local path lib |
67 |
+ path="/usr/$(get_libdir)" |
68 |
+ for lib in "${ED}/"${path}/libsgutils2.*; do |
69 |
+ lib=${lib##*/} |
70 |
+ dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" |
71 |
+ done |
72 |
+ |
73 |
+ find "${ED}" -type f -name "*.la" -delete || die |
74 |
+} |