diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /sys-apps/s390-tools | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'sys-apps/s390-tools')
| -rw-r--r-- | sys-apps/s390-tools/Manifest | 3 | ||||
| -rw-r--r-- | sys-apps/s390-tools/metadata.xml | 18 | ||||
| -rw-r--r-- | sys-apps/s390-tools/s390-tools-2.12.0-r1.ebuild | 70 | ||||
| -rw-r--r-- | sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild | 77 | ||||
| -rw-r--r-- | sys-apps/s390-tools/s390-tools-2.40.0-r1.ebuild | 88 |
5 files changed, 256 insertions, 0 deletions
diff --git a/sys-apps/s390-tools/Manifest b/sys-apps/s390-tools/Manifest new file mode 100644 index 000000000000..b0ce4529992d --- /dev/null +++ b/sys-apps/s390-tools/Manifest @@ -0,0 +1,3 @@ +DIST s390-tools-2.12.0.tar.gz 1186816 BLAKE2B bdf7975d236ec939539221ba548d67582836ae1ef8fab29ff19ac32596ba60686d41db47412bfe7a86d74a1728e3ee41356403ba21557cec4400a2aae98165df SHA512 4903ded5368966513e1090faca04482316870cf5fc53206d17ab98b821541e2836a016bd18cd1ca49ed6b5df0dff92dd1ed257ff712920a7aa3fd74e4a6bc6a0 +DIST s390-tools-2.27.0.tar.gz 1848002 BLAKE2B 5b71cffee4eefeb834eed4e34abc1d1c3e8d8df4e7862f0af5d0b1b26172060168059569f6ac27a0de1d28e0bf3155cd9d789098b12b8b11b69c4858d9def3a2 SHA512 8ec83718639d17fe7b1990f4e492f1e1bdd11e814b7838c921733eeccb212f417141042118eadf1e8db498e3ff2ce0c8d404189e436cefe17d9a3dacea22429f +DIST s390-tools-2.40.0.tar.gz 2279464 BLAKE2B 9aeb5316d36abb2317a1ffc4053f98d77b4964f7441c4170b28577860e517cf71f156fbdc47e482cefe53a9fabd8f1feff12015546d77b460c64840b57bfa2e1 SHA512 1943429581b280bf9ea370da3700a234d509837cb45b2354cdf79b38db87d2183010d18d9132defd77b9d8e11b7e002c447ffd7c912e20a50da4cb6877758c0e diff --git a/sys-apps/s390-tools/metadata.xml b/sys-apps/s390-tools/metadata.xml new file mode 100644 index 000000000000..866ff53809cd --- /dev/null +++ b/sys-apps/s390-tools/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>s390@gentoo.org</email> + </maintainer> + <use> + <flag name="cryptsetup">build the zkey-cryptsetup utility (requires USE=openssl)</flag> + <flag name="fuse">build cmsfs-fuse to read files stored on a z/VM CMS disk</flag> + <flag name="ncurses">build hyptop monitoring program</flag> + <flag name="openssl">build the zkey utility</flag> + <flag name="pfm">build the cpacfstats tool</flag> + <flag name="zlib">build the zgetdump and dump2tar utilities</flag> + </use> + <upstream> + <remote-id type="github">ibm-s390-tools/s390-tools</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-apps/s390-tools/s390-tools-2.12.0-r1.ebuild b/sys-apps/s390-tools/s390-tools-2.12.0-r1.ebuild new file mode 100644 index 000000000000..e663aab60f96 --- /dev/null +++ b/sys-apps/s390-tools/s390-tools-2.12.0-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs udev + +DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers" +HOMEPAGE="https://github.com/ibm-s390-tools/s390-tools" +SRC_URI="https://github.com/ibm-${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~s390" +IUSE="abi_s390_32 cryptsetup fuse ncurses openssl pfm snmp zlib" + +RDEPEND="fuse? ( sys-fs/fuse:0= ) + ncurses? ( sys-libs/ncurses:0= ) + openssl? ( + dev-libs/openssl:0= + cryptsetup? ( + >=sys-fs/cryptsetup-2.0.3:= + dev-libs/json-c:= + ) + ) + pfm? ( app-misc/pfm ) + snmp? ( net-analyzer/net-snmp ) + zlib? ( virtual/zlib:= )" +DEPEND="${RDEPEND}" +BDEPEND="app-admin/genromfs" + +src_prepare() { + default + sed -i -e 's/-lncurses/-lncurses -ltinfo/' "${S}"/hyptop/Makefile || die + + # zipl only builds on 64bit + if use abi_s390_32 ; then + sed -i -e 's/^TOOL_DIRS = zipl /TOOL_DIRS = /' "${S}"/Makefile || die + fi +} + +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) + export HAVE_OPENSSL=$(usex openssl 1 0) + export HAVE_CRYPTSETUP2=$(usex cryptsetup 1 0) + export HAVE_JSONC=$(usex cryptsetup 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 +} diff --git a/sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild b/sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild new file mode 100644 index 000000000000..e8b75b5bf595 --- /dev/null +++ b/sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs udev + +DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers" +HOMEPAGE="https://github.com/ibm-s390-tools/s390-tools" +SRC_URI="https://github.com/ibm-${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~s390" +IUSE="abi_s390_32 cryptsetup curl fuse ncurses openssl pfm snmp zlib" + +RDEPEND=" + curl? ( net-misc/curl:0= ) + fuse? ( sys-fs/fuse:3= ) + ncurses? ( sys-libs/ncurses:0= ) + openssl? ( + dev-libs/openssl:0= + cryptsetup? ( + >=sys-fs/cryptsetup-2.0.3:= + dev-libs/json-c:= + ) + ) + pfm? ( app-misc/pfm ) + snmp? ( net-analyzer/net-snmp ) + zlib? ( virtual/zlib:= )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-admin/genromfs + virtual/pkgconfig +" + +src_prepare() { + default + sed -i -e 's/-lncurses/-lncurses -ltinfo/' "${S}"/hyptop/Makefile || die + + # zipl only builds on 64bit + if use abi_s390_32 ; then + sed -i -e 's/^TOOL_DIRS = zipl /TOOL_DIRS = /' "${S}"/Makefile || die + fi +} + +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) + export HAVE_OPENSSL=$(usex openssl 1 0) + export HAVE_CRYPTSETUP2=$(usex cryptsetup 1 0) + export HAVE_JSONC=$(usex cryptsetup 1 0) + export HAVE_LIBCURL=$(usex curl 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 + keepdir /var/log/ts-shell +} diff --git a/sys-apps/s390-tools/s390-tools-2.40.0-r1.ebuild b/sys-apps/s390-tools/s390-tools-2.40.0-r1.ebuild new file mode 100644 index 000000000000..764ebecb6882 --- /dev/null +++ b/sys-apps/s390-tools/s390-tools-2.40.0-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs udev + +DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers" +HOMEPAGE="https://github.com/ibm-s390-tools/s390-tools" +SRC_URI="https://github.com/ibm-${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~s390" +IUSE="abi_s390_32 cryptsetup curl fuse ncurses openssl pfm snmp zlib" + +RDEPEND=" + curl? ( net-misc/curl ) + fuse? ( sys-fs/fuse:3= ) + ncurses? ( sys-libs/ncurses:= ) + openssl? ( + dev-libs/openssl:= + cryptsetup? ( + >=sys-fs/cryptsetup-2.0.3:= + dev-libs/json-c:= + ) + ) + pfm? ( dev-libs/libpfm:= ) + snmp? ( net-analyzer/net-snmp:= ) + zlib? ( virtual/zlib:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-admin/genromfs + virtual/pkgconfig +" + +src_prepare() { + default + sed -i -e 's/-lncurses/-lncurses -ltinfo/' "${S}"/hyptop/Makefile || die + + # zipl only builds on 64bit + if use abi_s390_32 ; then + sed -i -e 's/^TOOL_DIRS = zipl /TOOL_DIRS = /' "${S}"/Makefile || die + fi +} + +src_configure() { + # https://github.com/ibm-s390-linux/s390-tools/tree/master?tab=readme-ov-file#dependencies + export MAKEOPTS+=" V=1" + export HAVE_DRACUT=0 + export HAVE_CARGO=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) + export HAVE_OPENSSL=$(usex openssl 1 0) + export HAVE_CRYPTSETUP2=$(usex cryptsetup 1 0) + export HAVE_JSONC=$(usex cryptsetup 1 0) + # Yes, really. Half the code uses one, the other half the other. + export HAVE_CURL=$(usex curl 1 0) + export HAVE_LIBCURL=$(usex curl 1 0) + # These need checking, but disabled for now to avoid automagic + export HAVE_GLIB2=0 + export HAVE_LIBXML2=0 + export HAVE_SYSTEMD=0 + export HAVE_LIBUDEV=0 + export HAVE_LIBNL3=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 + keepdir /var/log/ts-shell +} |
