1 |
commit: 4ecd140cfb873103d1b0eda0d8bc5b8810b9c841 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 09:52:20 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 09:52:39 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecd140c |
7 |
|
8 |
sys-apps/sg3_utils: Bump to version 1.42 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
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.42.ebuild | 44 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/sg3_utils/Manifest b/sys-apps/sg3_utils/Manifest |
18 |
index 73bfecd..1528a69 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.40.tgz 1179730 SHA256 44a9ecfd3af018fa9f3586067a8fa5f4874451c3d773d74436d262a7e530ee83 SHA512 cf4909c46d509ea7c1c8930d81df2b20ce56c56092830f017e69fa4ce7eddb395ae1d17f51657d8dfb539fdd78229223e54e0db2d61d2612d23313cd6846043a WHIRLPOOL d092fdd6ab46da73cda9bf2b0a85dc468bb222a443ca20e8d2f55ad91ed83b8a523fbd4946cd2e40874a56673085629227996f1f5e686273c8d2d44093797687 |
23 |
DIST sg3_utils-1.41.tgz 1194212 SHA256 c4e2893c36df1ee5b07840ab7c22129544f5dc8a55f7cc8815c9cd8e44ec31c0 SHA512 ceca778a2f4d16dd341dd47cc1d92df5bc85d7f75d75e6b7c1a99c31e03e98103a18abf624880172e162bd0b751f760f0e919cbbb989303a9e1fbe9ff3eb1f46 WHIRLPOOL 9476f0f180879f1386b824b367314648d616b6925ff7b735760f25de6e086e38efa0eb12dd8fb9f9305eb367f7d8c2053ceabc83fc6270492357abce25de9784 |
24 |
+DIST sg3_utils-1.42.tgz 1219231 SHA256 1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3 SHA512 d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad WHIRLPOOL 7cf34461312c55031b317b18defb69b57190ca22e83a162e957e213c658f6cb990675ec60b78849da40f54679027fa27f0c809be568fb1bdd31a8498c8b8665f |
25 |
|
26 |
diff --git a/sys-apps/sg3_utils/sg3_utils-1.42.ebuild b/sys-apps/sg3_utils/sg3_utils-1.42.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..081198b |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/sg3_utils/sg3_utils-1.42.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit eutils multilib |
39 |
+ |
40 |
+DESCRIPTION="Apps for querying the sg SCSI interface" |
41 |
+HOMEPAGE="http://sg.danny.cz/sg/" |
42 |
+SRC_URI="http://sg.danny.cz/sg/p/${P}.tgz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
47 |
+IUSE="static-libs" |
48 |
+ |
49 |
+DEPEND="sys-devel/libtool" |
50 |
+RDEPEND="" |
51 |
+PDEPEND=">=sys-apps/rescan-scsi-bus-1.24" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ epatch "${FILESDIR}"/${PN}-1.26-stdint.patch |
55 |
+} |
56 |
+ |
57 |
+src_configure() { |
58 |
+ econf $(use_enable static-libs static) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ dodoc COVERAGE doc/README examples/*.txt |
64 |
+ newdoc scripts/README README.scripts |
65 |
+ |
66 |
+ # Better fix for bug 231089; some packages look for sgutils2 |
67 |
+ local path lib |
68 |
+ path="/usr/$(get_libdir)" |
69 |
+ for lib in "${ED}"${path}/libsgutils2.*; do |
70 |
+ lib=${lib##*/} |
71 |
+ dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" |
72 |
+ done |
73 |
+ |
74 |
+ prune_libtool_files |
75 |
+} |