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 0ED3F139085 for ; Fri, 30 Dec 2016 19:51:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70BABE0C36; Fri, 30 Dec 2016 19:51:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D783E0C35 for ; Fri, 30 Dec 2016 19:51:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FF373416C0 for ; Fri, 30 Dec 2016 19:51:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAB5624F3 for ; Fri, 30 Dec 2016 19:51:38 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1483126919.8ecdd9ddcb6e868eebfaaba49222811494dfa46b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ipmiutil/Manifest sys-apps/ipmiutil/ipmiutil-3.0.1.ebuild X-VCS-Directories: sys-apps/ipmiutil/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 8ecdd9ddcb6e868eebfaaba49222811494dfa46b X-VCS-Branch: master Date: Fri, 30 Dec 2016 19:51:38 +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-Archives-Salt: 5e3e011a-81b0-482d-9fa5-6e4664ffe31d X-Archives-Hash: 63974ac26f077c340adf00d6afe7b808 commit: 8ecdd9ddcb6e868eebfaaba49222811494dfa46b Author: Lars Wendler gentoo org> AuthorDate: Fri Dec 30 19:41:59 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Dec 30 19:41:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ecdd9dd sys-apps/ipmiutil: Bump to version 3.0.1 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-apps/ipmiutil/Manifest | 1 + sys-apps/ipmiutil/ipmiutil-3.0.1.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 4736875..947c8da 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -1,3 +1,4 @@ DIST ipmiutil-2.8.5.tar.gz 1615967 SHA256 6846e6621b9df23b1ed37662c075381dbb082f3e719803c9ef8784dd3154439c SHA512 42a0c50c88bfcfd49da0a1dc4b603eaf07eff041f2401a31421ea8e880b19cfb6ff3f33ceaf5ef044e16e58236390ff32420139ae683f9633b1c06631bc799c3 WHIRLPOOL 6ba37e1c59e28acca89f029ccfb179b5d285d1913930a0670a1c78ebd2f23e4e52910b75cb860d3f704fc9affbfa35ad0d4203a1b32794a957fbd13291e14f66 DIST ipmiutil-2.9.9.tar.gz 1679262 SHA256 beace08386a002c6a4bbbf894bda9899ea34fae4c2181c89f29fb1fa136925f6 SHA512 d20dc9f373bfebfb1c8496b4935c8f1bfecf2c4755a6a482af7c72b90d738a798e99a653b125ea3fcde584a973f735cc61403844549da2c34318ba33863de3e3 WHIRLPOOL b6c3af362b3856bfc990bc697d127ff12f14a6d6985eeb5d1f0be8c603215383b65ae7a003a798203663ad1a2167cae96a49eff67fa3214c2dd1572bcd697b1d DIST ipmiutil-3.0.0.tar.gz 1681271 SHA256 7d57c1fd0d15518dcb13fa94842761d3309c09dec2679ccc382e600377352865 SHA512 102d510569f0f8878f05b54b51f544eb7bc25ec4b21b4b4661c29d8c9241714a535cb8031cd7f39e434dd2304df02b73a238e05fe9a7d22062ca5aacd5077aad WHIRLPOOL ecbf0cff9f8a17fd48957cc0a8b72f9e01a3568b64ab49ce804cc922060632aec1c400c77bd2b245948217ffcd53fa3790a17fa8fa5fca71d4f5a9475c81c9f5 +DIST ipmiutil-3.0.1.tar.gz 1686749 SHA256 762cbd40cc17f81512ca94a622bc01bd122c92215880407e906356c0b3da309d SHA512 edd4eff0410a3a394b815dd4c968931ad1159ec010c8595065056687837c0b0466ac8387b24e2765c6676b392c7f5329837e114e7a5a2733a99efb90e2b22634 WHIRLPOOL bbb0bdfea8569fb8188dd4447519e78f3073d9f405f94bf15f6210572a8e89d41c26bdd13a418e4dc0ad2524cd0a5842d55ff01800216445b8302fc8fd9a9a80 diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.1.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.1.ebuild new file mode 100644 index 00000000..550e5d5 --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools systemd + +DESCRIPTION="IPMI Management Utilities" +HOMEPAGE="http://ipmiutil.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +RDEPEND=">=dev-libs/openssl-1:0" +DEPEND="${RDEPEND} + virtual/os-headers" + +PATCHES=( + "${FILESDIR}"/${PN}-2.9.8-flags.patch + "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch +) + +src_prepare() { + default + + sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die + + eautoreconf +} + +src_configure() { + econf --disable-systemd --enable-sha256 +} + +src_compile() { + # Ulgy workaround. Upstream is misusing the make system here + # and it doesn't even work. + # Please check on each bump if this workaround is still required. + pushd lib/lanplus &>/dev/null || die + emake || die "emake lanplus failed" + cp libipmi_lanplus.a .. || die + popd &>/dev/null || die + + emake +} + +src_install() { + emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install + dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide + + # Init scripts are only for Fedora + rm -r "${ED}"/etc/init.d || die 'remove initscripts failed' +}