summaryrefslogtreecommitdiff
path: root/sys-apps/s390-tools
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/s390-tools')
-rw-r--r--sys-apps/s390-tools/Manifest5
-rw-r--r--sys-apps/s390-tools/s390-tools-1.36.1-r1.ebuild55
-rw-r--r--sys-apps/s390-tools/s390-tools-1.36.1.ebuild2
-rw-r--r--sys-apps/s390-tools/s390-tools-2.2.0.ebuild51
4 files changed, 111 insertions, 2 deletions
diff --git a/sys-apps/s390-tools/Manifest b/sys-apps/s390-tools/Manifest
index f5a78f940d3c..7643de095fe9 100644
--- a/sys-apps/s390-tools/Manifest
+++ b/sys-apps/s390-tools/Manifest
@@ -3,6 +3,9 @@ DIST e2fsprogs-1.41.3.tar.gz 4365234 BLAKE2B 44875ed5890d6f7a690efc5148edc39b454
DIST linux-2.6.27.tar.bz2 50355835 BLAKE2B 7f3a20b510e1127894871e7eabad13fd8b26888110a6cf0b64348667299ba3f7a8018995b0ed41d3a7bc32e802e0db2093e35ae4f889022d04fc911952140e0f SHA512 fcafcea4148e15ffacb57e4eef731d8a2655bba15c6445a84f7345579bd6b6b9a68ad1a44a58f78e78a619efd84ce79c63ce3de3931ae7857af647a06ac052e2
DIST s390-tools-1.23.1.tar.bz2 625295 BLAKE2B 657ca9394468605ed26b9e4eb24239971076cd741837913109745598c25ffc4fc024c22af376f1da4f3236da3df31da93ccfdd6766e61dc3c004153913b0abca SHA512 c1f0fe79cfcbf6217e1aba74172e7644eee25f8886b70885e8558ad48342d6b41b35cefd398c3f5ff430d382ea6103b93ed8f666f0038d4f5abc3c3bc787d0eb
DIST s390-tools-1.36.1.tar.bz2 827505 BLAKE2B 5774062699331c6d5958fef44f6cbb048e05aecc190c2519a29dc9c43b0d0d000d8be8183a447eb81b7affbf236edc21105bfe6a689e23b2f519feea0700b9f0 SHA512 83b3456bce8af0d5e1f6a1b96335809a21b676b2371ca101e5f588a18e0de65b8e15a9a973a7dcc2cad800341ecf5997e8230a68b9670751cdf1d6f8d59be22c
+DIST s390-tools-2.2.0.tar.gz 1047199 BLAKE2B d23cfb277d341b4fe73ca92eba0a7bf49420d3303737d871979a93814d1c0cb53884a6fae78453fe69d4a8a8e35923fe9bf2433a412578f8d7696c9defd8570a SHA512 f029b92f18f95b49e189a4f5ad78c02ee629e630a93a8bbfe6966030fe8aaf069e86582d77213d68b447300b73317e4dbcb228df5ff0795a2785f6735087ceab
EBUILD s390-tools-1.23.1.ebuild 1513 BLAKE2B 54188774b4956580d9a44c39012eeb9a0d56f8a729c9fc764a39383b33fdb61967943d728befcb97b74e89e133df8ebf224f4e53cd97376f82f3616c52ada1d7 SHA512 244e154909692e5c910925364da070800e18785a28785882299bc545ffab1c1a68de4328119e1d71ed616bd8ea8eef101d60dd6ac5934baa871fdbb624ffa796
-EBUILD s390-tools-1.36.1.ebuild 1232 BLAKE2B e0c56f28b374361770ea7f59553a50f222f54bf0ab56ba5af68647684ba6ba0687dfd822e3e5572e5f589b9e3e361cdc1f792dfece665b6d89610474eb0393d2 SHA512 4f640a57f79ca19c5734478bc97c0894bc73b7adf2938c14a3a33723fc8e5088ff9a0e38360ea103ecef6846e4826b9451a5974b0a75d5a7aaab160bc19226a2
+EBUILD s390-tools-1.36.1-r1.ebuild 1383 BLAKE2B 11ea38013015a94b1ed796276dc667423406cb56fbcc01afed2320ad004893ed6964f4acfb0d37d3dd93d456b156305c808be875720592f3aab526e84f7d47da SHA512 40b6b7e50f68f57e044b54b9b4425433aab715267f2652426b037452f94af6a3636da64628681469878962c1340cfc2c3851fe37104aea83410810cec58b498c
+EBUILD s390-tools-1.36.1.ebuild 1231 BLAKE2B df788b16365ddb10b105490ae3f1a08774d44641db5e843188ca3f8432a3225af5811d7399e607cdc4d5fd0424da088cdb40bbd54815d938c2b93debafb8330c SHA512 bbe4770cdb572b7d515a8eb0bb90820bbe6f1e72ddf73bbb96a12d60cb2cbfd0fd28ef6089707ae4a62f0d6fb7c6b3e5d990a4f66fdff58e1625ba0b869e237d
+EBUILD s390-tools-2.2.0.ebuild 1238 BLAKE2B 00808526cc323eab063ddb459b15a249d6547afbd99749868d00651c3ce02a5c9fca989c5348c062656486ebd8dcef476ed187d36569c834ab15a78daef48fd8 SHA512 505e06e0021ced5049f99bc7e39112387f24dff3928d4d70ecf22bab0b0fbeb3a495b7beff1b7110de204e99ed5b1509988f0eb29eb3a1c1c6c5640086180caf
MISC metadata.xml 795 BLAKE2B 27e39c453bd207d7cac8a38d5422735a0a581e7b72000452b98f406b00e2c2e7287abb2be992ada611f645b8f7a97c497d905278017b4862193475a34654c810 SHA512 23cd50f27b3b968621713e813ca1a822afccd90beb2f5641344ddc7abd2418d153d86309b690d0d1a84c51b47bc92e57a253a0bdeb34f22b5883a26035a53074
diff --git a/sys-apps/s390-tools/s390-tools-1.36.1-r1.ebuild b/sys-apps/s390-tools/s390-tools-1.36.1-r1.ebuild
new file mode 100644
index 000000000000..b77f1f4fe47d
--- /dev/null
+++ b/sys-apps/s390-tools/s390-tools-1.36.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs udev
+
+DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers"
+HOMEPAGE="http://www.ibm.com/developerworks/linux/linux390/s390-tools.html"
+SRC_URI="http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/ht_src/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* s390"
+IUSE="fuse ncurses pfm snmp zlib"
+
+RDEPEND="fuse? ( sys-fs/fuse )
+ ncurses? ( sys-libs/ncurses:0= )
+ pfm? ( app-misc/pfm )
+ snmp? ( net-analyzer/net-snmp )
+ zlib? ( sys-libs/zlib )
+ >=sys-apps/util-linux-2.30"
+DEPEND="${RDEPEND}
+ dev-util/indent
+ app-admin/genromfs"
+
+src_configure() {
+ export MAKEOPTS+=" V=1"
+ export HAVE_DRACUT=0
+ export HAVE_FUSE=$(usex fuse 1 0)
+ export HAVE_NCURSES=$(usex ncurses 1 0)
+ export HAVE_SNMP=$(usex snmp 1 0)
+ export HAVE_PFM=$(usex pfm 1 0)
+ export HAVE_ZLIB=$(usex zlib 1 0)
+ tc-export AR BUILD_CC CC CXX LD NM OBJCOPY
+}
+
+src_compile() {
+ emake \
+ AR="${AR}" \
+ HOSTCC="${BUILD_CC}" \
+ CC="${CC}" LINK="${CC}" \
+ CXX="${CXX}" LINKXX="${CXX}" \
+ LD="${LD}" \
+ NM="${NM}" \
+ OBJCOPY="${OBJCOPY}"
+}
+
+src_install() {
+ default
+ udev_dorules etc/udev/rules.d/*.rules
+
+ # The chmem tool has moved to util-linux.
+ rm "${ED}"/usr/sbin/{ch,ls}mem "${ED}"/usr/share/man/man8/{ch,ls}mem.8* || die
+}
diff --git a/sys-apps/s390-tools/s390-tools-1.36.1.ebuild b/sys-apps/s390-tools/s390-tools-1.36.1.ebuild
index 5d8da04de42c..51d00f78707b 100644
--- a/sys-apps/s390-tools/s390-tools-1.36.1.ebuild
+++ b/sys-apps/s390-tools/s390-tools-1.36.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/ht_src/$
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="-* ~s390"
+KEYWORDS="-* s390"
IUSE="fuse ncurses pfm snmp zlib"
RDEPEND="fuse? ( sys-fs/fuse )
diff --git a/sys-apps/s390-tools/s390-tools-2.2.0.ebuild b/sys-apps/s390-tools/s390-tools-2.2.0.ebuild
new file mode 100644
index 000000000000..72f09e63dfbe
--- /dev/null
+++ b/sys-apps/s390-tools/s390-tools-2.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs udev
+
+DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers"
+HOMEPAGE="https://www.ibm.com/developerworks/linux/linux390/s390-tools.html"
+SRC_URI="https://github.com/ibm-s390-tools/s390-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="-* ~s390"
+IUSE="fuse ncurses pfm snmp zlib"
+
+RDEPEND="fuse? ( sys-fs/fuse:= )
+ ncurses? ( sys-libs/ncurses:0= )
+ pfm? ( app-misc/pfm )
+ snmp? ( net-analyzer/net-snmp )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ dev-util/indent
+ app-admin/genromfs"
+
+src_configure() {
+ export MAKEOPTS+=" V=1"
+ export HAVE_DRACUT=0
+ export HAVE_FUSE=$(usex fuse 1 0)
+ export HAVE_NCURSES=$(usex ncurses 1 0)
+ export HAVE_SNMP=$(usex snmp 1 0)
+ export HAVE_PFM=$(usex pfm 1 0)
+ export HAVE_ZLIB=$(usex zlib 1 0)
+ tc-export AR BUILD_CC CC CXX LD NM OBJCOPY
+}
+
+src_compile() {
+ emake \
+ AR="${AR}" \
+ HOSTCC="${BUILD_CC}" \
+ CC="${CC}" LINK="${CC}" \
+ CXX="${CXX}" LINKXX="${CXX}" \
+ LD="${LD}" \
+ NM="${NM}" \
+ OBJCOPY="${OBJCOPY}"
+}
+
+src_install() {
+ default
+ udev_dorules etc/udev/rules.d/*.rules
+}