summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-06-05 12:53:10 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-06-05 12:54:01 +0200
commitc9f2b5857528ac6e5ed019bfee610b01493c79b0 (patch)
treec169fa59b14e7da528129621f6b2c8183b98cad0 /sys-block
parentsys-apps/ethtool: Removed old (diff)
downloadgentoo-c9f2b5857528ac6e5ed019bfee610b01493c79b0.tar.gz
gentoo-c9f2b5857528ac6e5ed019bfee610b01493c79b0.tar.bz2
gentoo-c9f2b5857528ac6e5ed019bfee610b01493c79b0.zip
sys-block/di: Bump to version 4.48
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/di/Manifest1
-rw-r--r--sys-block/di/di-4.48.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index fb991b1f080f..38416d843817 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1,3 +1,4 @@
DIST di-4.47.2.tar.gz 221092 BLAKE2B eb5d0471cf1594160e552a770eb73912fd701e1904665b8201b9813f2b630f201f9a0af781df71e4ca754800c31d6d35f79009bcb041e2ffdcbaaebc506651cb SHA512 1468d42fe7cb6041d763f66e39bc9834f45d80e754a043dd5dc3db44aead86ffaff59e8de5b6e7d19ecc5c76cc2a280598232b550067665f48a370bf4e112fd7
DIST di-4.47.3.tar.gz 221113 BLAKE2B 9e5d07a5839f107186b6010c6429b4b30f94da3a365b04e916af0f919c0a46746e8e854f6445e6b3927b600235ffef92b216cdab48a80c37b40c6f05c6de899e SHA512 d97a99a720181bbd9f5de2c9a97b099e332df6ffbba8f59130dec19a85846339fef4a2db08f84561722262552e087619c8a181e7de1c3b5744b17312f84bab59
DIST di-4.47.tar.gz 250479 BLAKE2B 64156867ab31c448dfc428331a54900a54df4689f851f86f6b8e33403b2f0b785aadd8140576bc75f03ed675cf31fffe15d577b477e5d07a4e678bf625f46f49 SHA512 6bb004a9230dd59174c59b823a80ccc9b237a08947ac15502a805cf95e8803c05ac4e8c2282164130db2e23e8f521bf16c30f2c0996c96a9612d139d66df89f5
+DIST di-4.48.tar.gz 222454 BLAKE2B 763e535e4e57c3805758dea8f7f05e75ff3d2acf9926619b8d45619bcef6157e9bd1b91a647efcee1728dbf2593ce91b934f77f24bb004d3ef546ad58e8434ee SHA512 942e71b7afbf2a4d3ef56cc2844bfbbe1a2001eee750b99951743f43b05c7bf692a59586f9efc228321ea3f91265211d71a4acc2e49e61efd15bcbaf41f98eb6
diff --git a/sys-block/di/di-4.48.ebuild b/sys-block/di/di-4.48.ebuild
new file mode 100644
index 000000000000..7ff47b4545fc
--- /dev/null
+++ b/sys-block/di/di-4.48.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Disk Information Utility"
+HOMEPAGE="https://gentoo.com/di/"
+SRC_URI="https://gentoo.com/di/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RESTRICT="test" #405205, #405471
+
+BDEPEND="nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.33-build.patch
+)
+
+src_configure() {
+ emake checkbuild
+ emake -C C config.h
+}
+
+src_compile() {
+ emake prefix=/usr CC="$(tc-getCC)" NLS=$(usex nls T F)
+}
+
+src_install() {
+ emake install prefix="${D}/usr"
+ # default symlink is broken
+ dosym di /usr/bin/mi
+ dodoc README.txt
+}