commit: 61f71fc4ba94367becfdaa9b11497d5444271403 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Sep 23 23:25:51 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 23 23:25:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f71fc4
sys-apps/ipmiutil: drop 3.1.8 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/ipmiutil/Manifest | 1 - sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch | 20 ------ sys-apps/ipmiutil/ipmiutil-3.1.8.ebuild | 81 ---------------------- 3 files changed, 102 deletions(-) diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index d0c8eb29fdbf..dbfacc86ff5a 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -1,2 +1 @@ -DIST ipmiutil-3.1.8.tar.gz 1841037 BLAKE2B 69139fc2b82a701657c5fec6aa928a0ee2d7874a8ebc26631eca438f298e8bddd3afb578462979eb24cd51bd816263f13e9f38fec8b5d6fa4fcefb2519a652c9 SHA512 77a01be420d8362ddce2b2b2bd44ee53a70812b29b3dd7bc5add6429f0e43a48905ca0401e1855f2cca5e69086605eb7b84e2f4bf9cf33251934acc0fe51346f DIST ipmiutil-3.1.9.tar.gz 1876478 BLAKE2B ddbd4d91d1d09fd9a7d4f7a3f9358787cab1baf3e2f34e43b4ebf44843d9ccc8d8b241b030d0f62a4b183ac4642c6676b304a51b8c6611f69d475dd19c1d3181 SHA512 3c9f60669dd6769dc64977c99d68fc0a0838993fb5ef3d8b1b1026b6daf6e6bfbe8738f3dd120b116fc663c84bafe6ed93420a92fecf57a17785d283b415d9c7 diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch deleted file mode 100644 index 7ef804bc11d3..000000000000 --- a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ipmiutil-3.1.7/configure.ac -+++ ipmiutil-3.1.7/configure.ac -@@ -170,7 +170,7 @@ - LANPLUS_CRYPTO="" - LANPLUS_SAM="no" - LD_SAMX="" -- CFLAGS="-O2" -+ #CFLAGS="-O2" - SUBDIR_S="scripts util" - if test "x$cross_compiling" = "xyes"; then - # cross-compiling, so link with -static (e.g. Android ARM) -@@ -363,7 +363,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-3.1.8.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.8.ebuild deleted file mode 100644 index ea429e9dfd34..000000000000 --- a/sys-apps/ipmiutil/ipmiutil-3.1.8.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -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 ~ppc x86" -IUSE="static-libs" - -RDEPEND=">=dev-libs/openssl-1:0=" -DEPEND="${RDEPEND} - virtual/os-headers" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1.7-flags.patch - "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch - "${FILESDIR}"/${PN}-3.1.8-fix-configure.patch -) - -src_prepare() { - default - - # Fix hardcoded CFLAGS - sed -i \ - -e 's|-O2 -g|$(CFLAGS)|g' \ - -e 's|-g -O2|$(CFLAGS)|g' \ - util/Makefile.am* || die - # The configure script makes some guarded and some blind calls to rpm & - # rpmbuild, that trigger sandbox warnings if rpm is installed in Gentoo. - sed -r -i -e 's/which rpm/false &/' configure.ac || die - sed -r -i -e 's/`(rpm|rpmbuild)/`false \1/' configure.ac || die - - # Don't compress man pages - sed '/gzip -nf/d' -i doc/Makefile.am || die - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-systemd - --enable-sha256 - --enable-lanplus - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - # Ugly 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. - # Yup, still needed in 3.18 - pushd lib/lanplus &>/dev/null || die - emake - 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 - # TODO: ship OpenRC systems for non-systemd? - rm -r "${ED}"/etc/init.d || die 'remove initscripts failed' - - # --disable-static has no effect - if ! use static-libs ; then - find "${ED}" -type f -name '*.a' -delete || die - fi - - keepdir /var/lib/ipmiutil -}