summaryrefslogtreecommitdiff
path: root/sys-apps/ipmiutil
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/ipmiutil
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r--sys-apps/ipmiutil/Manifest9
-rw-r--r--sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch20
-rw-r--r--sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch11
-rw-r--r--sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild55
-rw-r--r--sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild55
-rw-r--r--sys-apps/ipmiutil/metadata.xml11
6 files changed, 161 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
new file mode 100644
index 000000000000..13f4c26ba8de
--- /dev/null
+++ b/sys-apps/ipmiutil/Manifest
@@ -0,0 +1,9 @@
+AUX ipmiutil-2.9.8-flags.patch 712 SHA256 5b217269c9d408a925679e131f95cbec9ad1c37863d7125145f0f03387b94124 SHA512 3caf226020e1fffc6c45cb549a066a034a58165415d5e325445f949042c1ac756b61949c78c30d0172983d95264a0ee2c9f829f1f5c8395e8fa1a48025f87dc2 WHIRLPOOL 0f901c692467a5029eef7283871f50cca1a28713096837f8f33dd9e317bde47ae2b8789b996dd8557e04e3f38aeb29c7df781311857ebb8bb230f17d492e1e21
+AUX ipmiutil-2.9.9-lib_symlink.patch 468 SHA256 323598c787dabc5f7075530b793e797aa0b5fedcc3fce27eae4fdd165c0d8b51 SHA512 35912b578b3e61e899f97d2fc6cd6352ac04da638c64c252aa71138d9b7fd1b1de474f2702febfb85ab3f5371971be7a1922a1c6bbe5960c04be2b9171f0e75e WHIRLPOOL a33baf521b540571fd2d10fa7cae388b5fb453c674864d459379ce1b22dfcfe03f061eb637c8b6e503d43aa53d3b312619437aae5471fa50030ad1f67a621764
+DIST ipmiutil-3.0.6.tar.gz 1692679 SHA256 36e04aa874255638be30a8a64443dde5cb002b456a2c1b7858d7669123ff77b7 SHA512 0c47246b7aa6a060091745d36e33aae07e7907dcad5fefb1759aac62adf48316915ce5818d2f9241e24b73be13e54fbb57046234a69c60ce56f41a933915580f WHIRLPOOL 5f8bbd35153667a1da3b62a1bad97a6f88a056c093878d1965bdaa80cbd8fc492805ea7acf92b8184d014b93fe8c38e4cd786e26a6e5c17e514c109568fcacc3
+DIST ipmiutil-3.0.7.tar.gz 1694854 SHA256 defc2fad88c184d953b5e37c42a95b0b14ed9772c097b00471e157be3e23542f SHA512 26a0c805f2c49102eee44052814a6f7af67c74082489e70b058bd4350526a65aad1e1352e33b12e1afeae5e9e96fd2eb361fc6a112d38782dee58f95c3e2a13b WHIRLPOOL c1f27992b95d8c6f76288ac35148c7c3ca7e72413adce44676e56c6dc50d1b9441c9a76d3f5d818d8767d11230d9341e2cc58c57c18ade271865a4784e3e8d0c
+EBUILD ipmiutil-3.0.6.ebuild 1334 SHA256 baefa7be4ffccda923f8002e634ab4e0803178156a05ee6f021823158b3d0d80 SHA512 a565e97bf6a0875a50033736a8172527f3a745e0ad45ff3d44eb985576e0d597585261bfbce779d552a6d0589ceadf6c453abcb9864e0ecac2867b9ceeacc18c WHIRLPOOL 7d5f42ca6373b6e1a4150f3ee19ff025010b8ae21c8ed664063f3b01a7f819180e7be14844e2acd1e006fb8262c7706de8b1ea3c5d6ba20f4b593cbdd582a0d3
+EBUILD ipmiutil-3.0.7.ebuild 1336 SHA256 6a432ec028bfbdfa5ae7c973c84a896b04dcbb446c42edc06d1da6a84c3ff96b SHA512 4893b8f52d6e3f4502394f39ce7d622575d73c247315c8752aa6924972e98086e6332bf58c3c2797cbd71b5e1fdc2920ddfe2304401d9d822006343f2cc053be WHIRLPOOL c611aaa6abded5b74f0596412c040fae349da9b0b74bfd4840971e5e2d0fb7174a258da811bb2dd9ca4be82c85cff2f3893726d0637da10711ea6c1238eeb019
+MISC ChangeLog 4286 SHA256 391251458ef847b8ccf6279e4c7b840d113bb40cdde4657dd63aee247744a18f SHA512 8151bd399314bcdf3f493347e6e5b41b83d5d7f434ae0bce37d4408a73f939e02328d2d742afdb22861b6e71270e1cef8758326387c0f43a17308fb8b9e03015 WHIRLPOOL 40637ac59c4acd190596b35ff82624aee3bcf1e19dfc494a33a06df6f3c71d810369db651defbff51194c0c2a2f5b22678b10a0389833f08c783633bd3f773b0
+MISC ChangeLog-2015 4083 SHA256 93ad6cd7f11edea8d16272793a4596e4a7870abb84aaf85fd05598ba8bccb921 SHA512 e74b32ed308730b63edb5d4e2f57d345885ee216d5a7bb58e7c194d32e9c7de0e218f40c9a8429a1b35771a09a970bdcac380bda3113807b47eabfa21b2652f4 WHIRLPOOL 8a3ea5d9438db71fbfa7673ee141621bbe0b3f5b428c8608eda41cd3863a4f43de33b45a1f6ef2e2c86e510d92a72f19aa1cebbf4b83b9a94fb9a666c4d71aba
+MISC metadata.xml 337 SHA256 e4c15ab71280a8d8e6a9cfd3ebc198560a9cc2d8ca8fd6ee8f84934a7f581134 SHA512 85f9992b8c7fddbffe99cba761637a897e7ba68f70762f882c039c6492feefefa6bd1ca38fbc73d0a214d04ddb07f5f0ea2106552e4133736d4594e43fae4845 WHIRLPOOL 8d547e14f49666f268966fb3f38c84c980561a12b3cc8d6626b1c1e8a20053663f5f66f1ed3362e2282d8f4ce58688d09eba237f06a77e0255928cb30d5e0e22
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 000000000000..ee9917406207
--- /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/files/ipmiutil-2.9.9-lib_symlink.patch b/sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch
new file mode 100644
index 000000000000..6581a4492af2
--- /dev/null
+++ b/sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch
@@ -0,0 +1,11 @@
+--- ipmiutil-2.9.9/util/Makefile.am
++++ ipmiutil-2.9.9/util/Makefile.am
+@@ -199,7 +199,7 @@
+ @INS_LIB@ cp -f $(DEV_LIB) $(DESTDIR)$(LIBDIR)
+ @INS_LIB@ if [ "x$(SHRLINK)" != "x" ]; then \
+ @INS_LIB@ cp -f $(SHRLINK) $(DESTDIR)$(LIBDIR) ; \
+- @INS_LIB@ cd $(DESTDIR); ln -sf $(LIBDIR)/$(SHRLINK) $(DESTDIR)$(LIBDIR)/$(SHR_BLIB); \
++ @INS_LIB@ cd $(DESTDIR); ln -sf $(SHRLINK) $(DESTDIR)$(LIBDIR)/$(SHR_BLIB); \
+ @INS_LIB@ fi
+
+ clean-generic:
diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild
new file mode 100644
index 000000000000..e157b5eb274c
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+ sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || 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'
+}
diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild
new file mode 100644
index 000000000000..9f90df500d29
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+ sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || 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'
+}
diff --git a/sys-apps/ipmiutil/metadata.xml b/sys-apps/ipmiutil/metadata.xml
new file mode 100644
index 000000000000..8626cad24f54
--- /dev/null
+++ b/sys-apps/ipmiutil/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sysadmin@gentoo.org</email>
+ <name>Gentoo Sysadmin Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ipmiutil</remote-id>
+ </upstream>
+</pkgmetadata>