public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/files/, sys-apps/ipmiutil/
Date: Mon, 25 Apr 2016 09:26:05 +0000 (UTC)	[thread overview]
Message-ID: <1461576358.8f3cc623e46d92e0722f2bd8b9b6ee4978f59860.polynomial-c@gentoo> (raw)

commit:     8f3cc623e46d92e0722f2bd8b9b6ee4978f59860
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 09:24:39 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 09:25:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3cc623

sys-apps/ipmiutil: Bump to version 2.9.8 (bug #539198).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/ipmiutil/Manifest                         |  1 +
 sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch | 20 ++++++++
 sys-apps/ipmiutil/ipmiutil-2.9.8.ebuild            | 57 ++++++++++++++++++++++
 3 files changed, 78 insertions(+)

diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
index a1480d8..d730ef6 100644
--- a/sys-apps/ipmiutil/Manifest
+++ b/sys-apps/ipmiutil/Manifest
@@ -2,3 +2,4 @@ DIST ipmiutil-2.7.7.tar.gz 1506067 SHA256 f899f04106c6098db3acadbbf19ee9c25a44d5
 DIST ipmiutil-2.8.2.tar.gz 1591876 SHA256 16f2181745030ae1e7110bf0c780760d4b2de0a47f9945c9a52314e4ef520988 SHA512 8af7e81065859eadb15530aed7a533fcb16e46d4adfa57f281bf0aa057b8e2bd520999a73f31fe3fc7f1eb2b617483078ad368772c89bbc30941aadb6be0ecc8 WHIRLPOOL 2343cde4c6c7525bcfd4a9c5454452f7d15f9ccaacf435c6f236b9f026f71319290ff0704cfde423be0609982bbfb5c850b310e7aefbe70dead609f68822ce86
 DIST ipmiutil-2.8.5.tar.gz 1615967 SHA256 6846e6621b9df23b1ed37662c075381dbb082f3e719803c9ef8784dd3154439c SHA512 42a0c50c88bfcfd49da0a1dc4b603eaf07eff041f2401a31421ea8e880b19cfb6ff3f33ceaf5ef044e16e58236390ff32420139ae683f9633b1c06631bc799c3 WHIRLPOOL 6ba37e1c59e28acca89f029ccfb179b5d285d1913930a0670a1c78ebd2f23e4e52910b75cb860d3f704fc9affbfa35ad0d4203a1b32794a957fbd13291e14f66
 DIST ipmiutil-2.9.3.tar.gz 1685718 SHA256 476c23997eba136553bfcbf3606337ffe020671aa8830695ff9d172bc9ed9eb7 SHA512 86d543dbc9ae684e288330e92f8f9b289f2c57311b10de0f2be0797ae7b939cbcd3c2c62f7c80eae5cb89d5ff2d721891619c18dff40ef03b9c870cd26bf6338 WHIRLPOOL 3231fb87e7a608924cb6613688b66292af3a767d3659a0611f22820ed872ec25551a40d74548b5221cc4f588f998c79c3d8cc18c7f4b7b40927139d073499460
+DIST ipmiutil-2.9.8.tar.gz 1680094 SHA256 860741ced328c4bc5137cade51e168f3dea6ca447d8a195bfb6ac93c7f75dd18 SHA512 582c455c57d157fa61906af33224f777ca9208df4d47c12f0e9cba23f5a0d1f71504ce7b18e558ba6b509b2c8aa3599b482a84283b602010baadb37549ee181d WHIRLPOOL 6db549c6e16f0fea0c4d3ed92674580ee8d0a38279e34669504288fb486002a4f4c31d88a193051d7f92505ec63aac2fbbef41af3bbbfc48180e91e94e720468

diff --git a/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch b/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch
new file mode 100644
index 0000000..ee99174
--- /dev/null
+++ b/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch
@@ -0,0 +1,20 @@
+--- ipmiutil-2.9.8/configure.ac
++++ ipmiutil-2.9.8/configure.ac
+@@ -162,7 +162,7 @@
+ 	LANPLUS_CRYPTO=""
+ 	LANPLUS_SAM="no"
+ 	LD_SAMX=""
+-	CFLAGS="-O2"
++	#CFLAGS="-O2"
+         SUBDIR_S="doc scripts util"
+ 	if test "x$cross_compiling" = "xyes"; then
+ 	   # cross-compiling, so link with -static (e.g. Android ARM)
+@@ -334,7 +334,7 @@
+ 	fi
+ 	rm -f $tmpc $tmpo >/dev/null 2>&1
+ 	echo $ECHO_N "checking compile fortify flags ... $ECHO_C"
+-	cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
++	#cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+ 	echo "int main() { alloca(100); return(1); }" >$tmpc
+ 	$CC -o $tmpo $cfhard $tmpc  >/dev/null 2>&1
+ 	if test $? -ne 0 ; then

diff --git a/sys-apps/ipmiutil/ipmiutil-2.9.8.ebuild b/sys-apps/ipmiutil/ipmiutil-2.9.8.ebuild
new file mode 100644
index 0000000..a916822
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-2.9.8.ebuild
@@ -0,0 +1,57 @@
+# 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
+
+	# Very ugly hack. Breaks make's jobserver
+	# Should be fixed in a better way.
+	#"${FILESDIR}"/${PN}-2.9.8-lanplus.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
+
+	rm -r "${ED}"/etc/init.d || die 'remove initscripts failed' # These are only for Fedora
+}


             reply	other threads:[~2016-04-25  9:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  9:26 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-24 18:18 [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/files/, sys-apps/ipmiutil/ Vadim Misbakh-Soloviov
2020-09-17 13:52 Lars Wendler
2022-08-17 16:21 Matt Turner
2023-09-23 23:26 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461576358.8f3cc623e46d92e0722f2bd8b9b6ee4978f59860.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox