diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-10-10 22:43:32 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-10-10 23:12:14 +0200 |
commit | 1321b3eb37d329148c3c85972ddcd1cacd8bf904 (patch) | |
tree | 26e6b9b92b084bb9215d8b430ff8f2d50600e340 /sys-apps/sg3_utils | |
parent | net-misc/slimrat: Proxied maintainer retired (diff) | |
download | gentoo-1321b3eb37d329148c3c85972ddcd1cacd8bf904.tar.gz gentoo-1321b3eb37d329148c3c85972ddcd1cacd8bf904.tar.bz2 gentoo-1321b3eb37d329148c3c85972ddcd1cacd8bf904.zip |
sys-apps/sg3_utils: Bump to v1.43
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'sys-apps/sg3_utils')
-rw-r--r-- | sys-apps/sg3_utils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/sg3_utils/sg3_utils-1.43.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/sg3_utils/Manifest b/sys-apps/sg3_utils/Manifest index 1528a69475a0..bfad03ca05ac 100644 --- a/sys-apps/sg3_utils/Manifest +++ b/sys-apps/sg3_utils/Manifest @@ -1,3 +1,4 @@ DIST sg3_utils-1.40.tgz 1179730 SHA256 44a9ecfd3af018fa9f3586067a8fa5f4874451c3d773d74436d262a7e530ee83 SHA512 cf4909c46d509ea7c1c8930d81df2b20ce56c56092830f017e69fa4ce7eddb395ae1d17f51657d8dfb539fdd78229223e54e0db2d61d2612d23313cd6846043a WHIRLPOOL d092fdd6ab46da73cda9bf2b0a85dc468bb222a443ca20e8d2f55ad91ed83b8a523fbd4946cd2e40874a56673085629227996f1f5e686273c8d2d44093797687 DIST sg3_utils-1.41.tgz 1194212 SHA256 c4e2893c36df1ee5b07840ab7c22129544f5dc8a55f7cc8815c9cd8e44ec31c0 SHA512 ceca778a2f4d16dd341dd47cc1d92df5bc85d7f75d75e6b7c1a99c31e03e98103a18abf624880172e162bd0b751f760f0e919cbbb989303a9e1fbe9ff3eb1f46 WHIRLPOOL 9476f0f180879f1386b824b367314648d616b6925ff7b735760f25de6e086e38efa0eb12dd8fb9f9305eb367f7d8c2053ceabc83fc6270492357abce25de9784 DIST sg3_utils-1.42.tgz 1219231 SHA256 1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3 SHA512 d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad WHIRLPOOL 7cf34461312c55031b317b18defb69b57190ca22e83a162e957e213c658f6cb990675ec60b78849da40f54679027fa27f0c809be568fb1bdd31a8498c8b8665f +DIST sg3_utils-1.43.tar.gz 1180760 SHA256 cbb88682f11169fd234109843381785ffaeea4f94627620e57dcf26ad1361482 SHA512 5f2eea6f61300e288ce32ca613179a944de34576fd6e596c4c3aa6cc2c0ef397cf5bfd2c148b737f678aac0c574321994525486430ea14ae8e7cb1c02184636f WHIRLPOOL b6c822115b1e24810b60d1e903aa72f6e6047e0fe7b479f4730737dc72434dfc818cad666c33837b6f4d398dc9d2a34c233c2860d4210b53b71c367c5d3ee768 diff --git a/sys-apps/sg3_utils/sg3_utils-1.43.ebuild b/sys-apps/sg3_utils/sg3_utils-1.43.ebuild new file mode 100644 index 000000000000..78f997750df5 --- /dev/null +++ b/sys-apps/sg3_utils/sg3_utils-1.43.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="Apps for querying the sg SCSI interface" +HOMEPAGE="http://sg.danny.cz/sg/" +SRC_URI="https://github.com/hreinecke/sg3_utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="static-libs" + +DEPEND="sys-devel/libtool" +RDEPEND="" +PDEPEND=">=sys-apps/rescan-scsi-bus-1.24" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.26-stdint.patch #580236 + epatch "${FILESDIR}"/${PN}-1.42-sysmacros.patch #580236 +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + dodoc COVERAGE doc/README examples/*.txt + newdoc scripts/README README.scripts + + # Better fix for bug 231089; some packages look for sgutils2 + local path lib + path="/usr/$(get_libdir)" + for lib in "${ED}"${path}/libsgutils2.*; do + lib=${lib##*/} + dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" + done + + prune_libtool_files +} |