From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A4831381F3 for ; Tue, 1 Dec 2020 20:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4384AE0880; Tue, 1 Dec 2020 20:59:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D725E0880 for ; Tue, 1 Dec 2020 20:59:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E44DB3410E3 for ; Tue, 1 Dec 2020 20:59:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B2C91D8 for ; Tue, 1 Dec 2020 20:58:59 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1606856329.561501c045105fee223be56936cf2ed5b9fad96c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smcipmitool/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smcipmitool/smcipmitool-2.24.0.201007-r1.ebuild X-VCS-Directories: sys-apps/smcipmitool/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 561501c045105fee223be56936cf2ed5b9fad96c X-VCS-Branch: master Date: Tue, 1 Dec 2020 20:58:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19b8afaf-625b-4fa5-b67f-7d80e2bdaf22 X-Archives-Hash: 44e94025263a36acf32f16cf917e1993 commit: 561501c045105fee223be56936cf2ed5b9fad96c Author: Conrad Kostecki gentoo org> AuthorDate: Tue Dec 1 20:05:37 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Dec 1 20:58:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561501c0 sys-apps/smcipmitool: don't install 32bit libs Closes: https://bugs.gentoo.org/757930 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> .../smcipmitool-2.24.0.201007-r1.ebuild | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/sys-apps/smcipmitool/smcipmitool-2.24.0.201007-r1.ebuild b/sys-apps/smcipmitool/smcipmitool-2.24.0.201007-r1.ebuild new file mode 100644 index 00000000000..585fc347333 --- /dev/null +++ b/sys-apps/smcipmitool/smcipmitool-2.24.0.201007-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 prefix + +MY_DATE="$(ver_cut 4)" +MY_PN="SMCIPMITool" +MY_PN_SRC_URI="SMCIPMItool" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="An out-of-band utility for interfacing with SuperBlade and IPMI devices via CLI" +HOMEPAGE="https://www.supermicro.com/" +SRC_URI="https://www.supermicro.com/wftp/utility/${MY_PN_SRC_URI}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz" + +LICENSE="supermicro" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + net-misc/stunnel + sys-libs/ncurses-compat:5 + virtual/jre:1.8 +" + +RESTRICT="bindist mirror" + +DIR="/usr/share/${PN}" +QA_PREBUILT="usr/lib*" + +src_unpack() { + unpack ${A} + mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64 ${P} || die +} + +src_prepare() { + default + + # Don't use their scary launchers + rm -v lax.jar || die +} + +src_compile() { + : +} + +src_install() { + java-pkg_dojar *.jar + java-pkg_doso *64.so + + local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash) + java-pkg_dolauncher smcipmitool-ikvm --jar iKVM.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool-jviewersmc --jar JViewerSMC.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool-jviewerx9 --jar JViewerX9.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool --jar SMCIPMITool.jar -pre "${pre}" + + exeinto "${DIR}"/jre/bin + newexe $(prefixify_ro "${FILESDIR}"/fake-java.bash) java + + insinto "${DIR}"/lib/BMCSecurity + doins BMCSecurity/*.{crt,key,pem,txt} + + insinto "${DIR}"/lib/BMCSecurity/linux + doins BMCSecurity/linux/stunnel.conf + + dosym ../../../../../bin/stunnel "${DIR}"/lib/BMCSecurity/linux/stunnel32 + dosym ../../../../../bin/stunnel "${DIR}"/lib/BMCSecurity/linux/stunnel64 + + local DOCS=( + "jcurses.README" + "ReleaseNotes.txt" + "SMCIPMITool_User_Guide.pdf" + ) + + einstalldocs +}