diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
commit | fcf991edcc1b310199e4e829a3706bc1c267d1db (patch) | |
tree | 50f02cb76c2666dbe78d927799c034715582c9cd /sys-apps | |
parent | 3c246ed172bd795a519ba659ba32c9e91f6bedde (diff) |
gentoo auto-resync : 24:09:2023 - 05:21:45
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 49676 -> 49691 bytes | |||
-rw-r--r-- | sys-apps/ipmitool/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/ipmitool/ipmitool-1.8.19-r1.ebuild | 155 | ||||
-rw-r--r-- | sys-apps/ipmitool/ipmitool-1.8.19.ebuild | 64 | ||||
-rw-r--r-- | sys-apps/ipmitool/metadata.xml | 1 | ||||
-rw-r--r-- | sys-apps/ipmiutil/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch | 20 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.1.8.ebuild | 81 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild | 2 |
9 files changed, 194 insertions, 139 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex 627c95c90d09..91a4db15f9d6 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/ipmitool/Manifest b/sys-apps/ipmitool/Manifest index 1701e5766fcc..8bde44b4cca2 100644 --- a/sys-apps/ipmitool/Manifest +++ b/sys-apps/ipmitool/Manifest @@ -10,5 +10,6 @@ AUX ipmitool-1.8.19-nvidia-iana.patch 1243 BLAKE2B 9e97ece902caa6f222fd23d5f1be7 AUX log_bmc.initd 570 BLAKE2B 7b21b7888f386953c001a635fa4d1fd3b79a1eb9920fc6cefe6770231d67989d47f172e783416d12feb399e882e2fe74b26fdef162fafb85cd686ec83d414d01 SHA512 2d5b62ee5f694629e8f5c4c2d1fcdf7a3d42078f488e43cd1b34193619918ea7429da2bcb236b9216cfabaf94d8c5224b99194023a8db626884c4c766f15136a DIST enterprise-numbers-1.8.19.xz 1500100 BLAKE2B 15c21792bf46220c5908ecf4f0ddafe2fdf13a1799c054a0cb0cb647e7f489768855c4c25fba8a4408505ff0cf02d1a43408d5c4de557b1b30fe8abb477a7926 SHA512 e88cb459a9c8a3172770bcfefbec0a7ad7d65395063c8c0173fce776ea0beb7ad9f3610e636dfbd71d0af8c952c2b9bc6c25c815daa4ab281bed983cbe2ebcc4 DIST ipmitool-1.8.19.tar.gz 641383 BLAKE2B e1db12bb7301cb4b551f87fbfcd405b3597a1f32c45447b2b239d9d43a2cdbe213ee5408291d50801035cc80e28078fb3a778ab28335665bc3316798c13ea1fc SHA512 2d91706e9feba4b2ce4808eca087b81b842c4292a5840830001919c06ec8babd8f8761b74bb9dcf8fbc7765f028a5b1a192a3c1b643f2adaa157fed6fb0d1ee3 -EBUILD ipmitool-1.8.19.ebuild 4154 BLAKE2B 28ed926f091b2a0729aa21613ec843fde0f545c206315feab67de7c6cc806a7b630dc43fb9e173163e1259dd7318471271b530e245203afcb408eedebaba0273 SHA512 7b0e10c584def8b8496f6dc374718b8ce53b09e43c2e3aec4110310dd56634874551ff1bf4af82055251c702d8410b5b84e25fc61c3a0a86a9adb869cf57e865 -MISC metadata.xml 693 BLAKE2B 7a0cab3772eb4ebc0529b22ab7fa21eae882da4b652fe67c3abfc8e25b1f5a6d14a52089ec676a17a0a925436675ec80409cde8d2554c4f6dce50c4afc736b14 SHA512 8a2ace6c302db4437e6903899edf87aa005f47c5e84969e4d846f67e97a027bda05fced0ca2b1a8a09f12ed5be3ce9bdabfc1b75643c2a9435ba706a452eb055 +EBUILD ipmitool-1.8.19-r1.ebuild 4222 BLAKE2B 6d4cf04e4d14de793c0e3f45e0d9c3a62ba77469861adc699817634269ca62dbef3534bbf1151bce105d30bdce36eb37eb9d448ccae12d807aff28e3424e706b SHA512 9b1a6f916fb5d21fada8fb5108eed9480513beb783349c3a5a7af1d67be768ff5808867f001d4d42d51d45cad93d6d2e3f07a095d028958ad9b770928d9fa526 +EBUILD ipmitool-1.8.19.ebuild 4140 BLAKE2B 0cb661e658ee58de67521734b2ecd7dff3bbd116ea4f6ec8e8146c15cde65917393eced7f7810bfb0f669d3b43647b4dbddb6f0587f19166225ddf800451942c SHA512 a1075af789dd559416d480603c34456b4ab12318eef99921768bcba22028b932007db11d2ff95402a8c608e4514026686d3d29e6fb3f17cbb961d6593594dfe5 +MISC metadata.xml 642 BLAKE2B 577ef5707198e8d5d3bb022a8287a825c4e4f3ed1e3941316622604ea3aa3fd5e53d5c7874ed682dc98617ec96cb963be0cbb785e8438429be3cb17089a66494 SHA512 8b47c396b98021e12a91ca328637770a1a3dffd050d9daa689dd1ce9867e668c52f8e2347fba086aa045dfa80c8cb755d40126a41d5f2d340fb954d9eb73a629 diff --git a/sys-apps/ipmitool/ipmitool-1.8.19-r1.ebuild b/sys-apps/ipmitool/ipmitool-1.8.19-r1.ebuild new file mode 100644 index 000000000000..6c2e4e526b97 --- /dev/null +++ b/sys-apps/ipmitool/ipmitool-1.8.19-r1.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Utility for controlling IPMI enabled devices" +HOMEPAGE="https://codeberg.org/IPMITool/ipmitool" + +COMMIT_ID= +if [[ -n "${COMMIT_ID}" ]]; then + SRC_URI="https://github.com/ipmitool/ipmitool/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_ID}" +else + MY_P="${PN^^}_${PV//./_}" + SRC_URI="https://github.com/ipmitool/ipmitool/archive/refs/tags/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_P}" +fi + +# to generate: `make enterprise-numbers` from git checkout of release tag +SRC_URI+=" + https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/enterprise-numbers-${PV}.xz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="openbmc openipmi static" + +RDEPEND=" + dev-libs/openssl:= + sys-libs/readline:= + openbmc? ( sys-apps/systemd:= ) +" +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-2.69-r5 + virtual/os-headers + openipmi? ( sys-libs/openipmi ) +" +#freeipmi? ( sys-libs/freeipmi ) +# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi ) +# but it doesn't actually need either. + +PATCHES=( + "${FILESDIR}/${P}-missing-func-decl.patch" + # yoinked out of debian's patchset, previously carried in a SRC_URI + # tarball + "${FILESDIR}/${P}-fix-buffer-overflow.patch" + "${FILESDIR}/${P}-CVE-2011-4339.patch" + "${FILESDIR}/${P}-manpage-longlines.patch" + "${FILESDIR}/${P}-nvidia-iana.patch" +) + +src_prepare() { + default + + # Gentoo chooses to install ipmitool in /usr/sbin + # Where RedHat chooses /usr/bin + sed -i -e \ + 's,/usr/bin/ipmitool,/usr/sbin/ipmitool,g' \ + "${S}"/contrib/* \ + || die "sed bindir failed" + + eautoreconf + + # If this file is not present, then ipmitool will try to download it during make install! + cp -al "${WORKDIR}/enterprise-numbers-${PV}" "${S}/enterprise-numbers" \ + || die "Could not place IANA enterprise-numbers" +} + +src_configure() { + # bug #863587 + filter-lto + append-flags -fno-strict-aliasing + + # - LIPMI and BMC are the Solaris libs + # - OpenIPMI is unconditionally enabled in the configure as there is compat + # code that is used if the library itself is not available + # - FreeIPMI does build now, but is disabled until the other arches keyword it + # `use_enable freeipmi intf-free` \ + # - --enable-ipmievd is now unconditional + local econfargs=( + $(use_enable static) + --enable-ipmishell + --enable-intf-lan + --enable-intf-usb + $(use_enable openbmc intf-dbus) + --enable-intf-lanplus + --enable-intf-open + --enable-intf-serial + --disable-intf-bmc + --disable-intf-dummy + --disable-intf-free + --disable-intf-imb + --disable-intf-lipmi + --disable-internal-md5 + --with-kerneldir=/usr + --bindir=/usr/sbin + --runstatedir=/run + CFLAGS="${CFLAGS}" + ) + + econf "${econfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" PACKAGE="${PF}" install + into /usr + + newinitd "${FILESDIR}/ipmievd.initd" ipmievd + newconfd "${FILESDIR}/ipmievd.confd" ipmievd + + # From debian, less configurable than OpenRC + systemd_dounit "${FILESDIR}/ipmievd.service" + + dosbin contrib/bmclanconf + + exeinto /usr/libexec + doexe contrib/log_bmc.sh + newinitd "${FILESDIR}/log_bmc.initd" log_bmc + + # contrib/exchange-bmc-os-info.init.redhat + # contrib/exchange-bmc-os-info.service.redhat + # contrib/exchange-bmc-os-info.sysconf + exeinto /usr/libexec + newexe contrib/exchange-bmc-os-info.init.redhat exchange-bmc-os-info + + insinto /etc/sysconfig + newins contrib/exchange-bmc-os-info.sysconf exchange-bmc-os-info + + systemd_newunit contrib/exchange-bmc-os-info.service.redhat exchange-bmc-os-info.service + newinitd "${FILESDIR}/exchange-bmc-os-info.initd" exchange-bmc-os-info + + # contrib/bmc-snmp-proxy + # contrib/bmc-snmp-proxy.service + # contrib/bmc-snmp-proxy.sysconf + exeinto /usr/libexec + doexe contrib/bmc-snmp-proxy + + insinto /etc/sysconfig + newins contrib/bmc-snmp-proxy.sysconf bmc-snmp-proxy + + systemd_dounit contrib/bmc-snmp-proxy.service + # TODO: initd for bmc-snmp-proxy + + insinto "/usr/share/${PN}" + doins contrib/oem_ibm_sel_map + + cd "${S}/contrib" + + docinto contrib + dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README +} diff --git a/sys-apps/ipmitool/ipmitool-1.8.19.ebuild b/sys-apps/ipmitool/ipmitool-1.8.19.ebuild index 6e5a899d9aa5..6e5efa1a400d 100644 --- a/sys-apps/ipmitool/ipmitool-1.8.19.ebuild +++ b/sys-apps/ipmitool/ipmitool-1.8.19.ebuild @@ -6,35 +6,40 @@ EAPI=8 inherit autotools systemd DESCRIPTION="Utility for controlling IPMI enabled devices" -HOMEPAGE="https://github.com/ipmitool/ipmitool" +HOMEPAGE="https://codeberg.org/IPMITool/ipmitool" COMMIT_ID= if [[ -n "${COMMIT_ID}" ]]; then - SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/ipmitool/ipmitool/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT_ID}" else MY_P="${PN^^}_${PV//./_}" - SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_P}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/ipmitool/ipmitool/archive/refs/tags/${MY_P}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${MY_P}" fi # to generate: `make enterprise-numbers` from git checkout of release tag SRC_URI+=" - https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/enterprise-numbers-${PV}.xz" + https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/enterprise-numbers-${PV}.xz +" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv x86" IUSE="openbmc openipmi static" -RDEPEND="dev-libs/openssl:0= - sys-libs/readline:0= - openbmc? ( sys-apps/systemd:0= )" -DEPEND="${RDEPEND} +RDEPEND=" + dev-libs/openssl:= + sys-libs/readline:= + openbmc? ( sys-apps/systemd:= ) +" +DEPEND=" + ${RDEPEND} >=sys-devel/autoconf-2.69-r5 virtual/os-headers - openipmi? ( sys-libs/openipmi )" - #freeipmi? ( sys-libs/freeipmi ) + openipmi? ( sys-libs/openipmi ) +" +#freeipmi? ( sys-libs/freeipmi ) # ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi ) # but it doesn't actually need either. @@ -69,28 +74,27 @@ src_configure() { # - LIPMI and BMC are the Solaris libs # - OpenIPMI is unconditionally enabled in the configure as there is compat # code that is used if the library itself is not available - # FreeIPMI does build now, but is disabled until the other arches keyword it + # - FreeIPMI does build now, but is disabled until the other arches keyword it # `use_enable freeipmi intf-free` \ - # --enable-ipmievd is now unconditional - + # - --enable-ipmievd is now unconditional local econfargs=( - $(use_enable static) \ - --enable-ipmishell \ - --enable-intf-lan \ - --enable-intf-usb \ - $(use_enable openbmc intf-dbus) \ - --enable-intf-lanplus \ - --enable-intf-open \ - --enable-intf-serial \ - --disable-intf-bmc \ - --disable-intf-dummy \ - --disable-intf-free \ - --disable-intf-imb \ - --disable-intf-lipmi \ - --disable-internal-md5 \ - --with-kerneldir=/usr \ - --bindir=/usr/sbin \ - --runstatedir=/run \ + $(use_enable static) + --enable-ipmishell + --enable-intf-lan + --enable-intf-usb + $(use_enable openbmc intf-dbus) + --enable-intf-lanplus + --enable-intf-open + --enable-intf-serial + --disable-intf-bmc + --disable-intf-dummy + --disable-intf-free + --disable-intf-imb + --disable-intf-lipmi + --disable-internal-md5 + --with-kerneldir=/usr + --bindir=/usr/sbin + --runstatedir=/run CFLAGS="${CFLAGS}" ) diff --git a/sys-apps/ipmitool/metadata.xml b/sys-apps/ipmitool/metadata.xml index 5a7c948d8055..4fca0ad7d1e7 100644 --- a/sys-apps/ipmitool/metadata.xml +++ b/sys-apps/ipmitool/metadata.xml @@ -12,7 +12,6 @@ </use> <upstream> <remote-id type="sourceforge">ipmitool</remote-id> - <remote-id type="launchpad">ubuntu</remote-id> <remote-id type="github">ipmitool/ipmitool</remote-id> </upstream> </pkgmetadata> diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 2e6e8b861c4b..2a28e0439036 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -1,8 +1,5 @@ AUX ipmiutil-2.9.9-lib_symlink.patch 468 BLAKE2B d24e4e0183f46a3a97b9a9db754b4948446eda7504d81b3854cf8ae65eebdc2f279272ecf09736ff2966dfd477219e19a900cce8665f865bc22a8674ea863f2b SHA512 35912b578b3e61e899f97d2fc6cd6352ac04da638c64c252aa71138d9b7fd1b1de474f2702febfb85ab3f5371971be7a1922a1c6bbe5960c04be2b9171f0e75e -AUX ipmiutil-3.1.7-flags.patch 708 BLAKE2B 70b96d8de3221d11757ff54957be2153540da78edef549a627983e745064d503d38cd3b95c5640445c1c6ca8cf208d43781e486e1df481a409636dc8d6c4c9f4 SHA512 f0f34b10c65e3ddab56ef757085dcfbaceb1a8b745d8be72e0630fdf7b6da3fadd37f08a9eee814c140419b1e9dda9937690dac67b3f506f36f622076c8119bf AUX ipmiutil-3.1.8-fix-configure.patch 5520 BLAKE2B 62a2f71824c37015e9b5999acaa06780a9e398b4ba74461cb963375c497c0c18e5cbb4b5188aaa5d34521ac0a2153835fda38ffe80a1414d85ecc96da49d114e SHA512 13e58b8516ade13d907462b0eca9ce639ea486740992e1d2f348f17a9ed8deadd1ca7ab0fb2c725e5721f7840119fc5e9b134a8eb842d661d81041f39dd1f6cc -DIST ipmiutil-3.1.8.tar.gz 1841037 BLAKE2B 69139fc2b82a701657c5fec6aa928a0ee2d7874a8ebc26631eca438f298e8bddd3afb578462979eb24cd51bd816263f13e9f38fec8b5d6fa4fcefb2519a652c9 SHA512 77a01be420d8362ddce2b2b2bd44ee53a70812b29b3dd7bc5add6429f0e43a48905ca0401e1855f2cca5e69086605eb7b84e2f4bf9cf33251934acc0fe51346f DIST ipmiutil-3.1.9.tar.gz 1876478 BLAKE2B ddbd4d91d1d09fd9a7d4f7a3f9358787cab1baf3e2f34e43b4ebf44843d9ccc8d8b241b030d0f62a4b183ac4642c6676b304a51b8c6611f69d475dd19c1d3181 SHA512 3c9f60669dd6769dc64977c99d68fc0a0838993fb5ef3d8b1b1026b6daf6e6bfbe8738f3dd120b116fc663c84bafe6ed93420a92fecf57a17785d283b415d9c7 -EBUILD ipmiutil-3.1.8.ebuild 1959 BLAKE2B af7c0b6e8ba708259118543d4656da5315dec288915a514e971f8fafa1039b18e1663ccaa520411a68f79090b51a7f102762254a2787b66cb4c036ad3af27d7f SHA512 d0e29b3f3193b3fda36baeb9f5c48dceed26dccc49fcd5cfc377e61ca6890d5dadc07a4015e88027e5d727c36cb280c23f4851d5dcb390f998ee95001182f991 -EBUILD ipmiutil-3.1.9.ebuild 2068 BLAKE2B ddf8a57a821c77d7455bc4d33af9ab0167dd28ccdb5126d1adfc576c3e6a255306b1ee879bcb567e38370c4da45c83ac45822f98ff912db7eedaba2add6d90a4 SHA512 df33f776470dcabe2f7a366c4197534292bc0603d0d4e3215901b0f6856cebd8e0618757b0b622bec23b6997e1dfcd4d974ef563a430c8b6476f39371a52bec5 +EBUILD ipmiutil-3.1.9.ebuild 2069 BLAKE2B 2ac82550fe8ed6e808baa44e7f123a60afd2eacfe8ebd8d31f4b66b0496900cb0ceccae3ff281c54e44785a73f444a7b3f2e8b63cd6a4eb5ca2e82981f6da0e5 SHA512 bca06b835aefa9a1771eece8f05312bd39798cd80713bd38c65f88cd61fad517663a6c835c8fcf2cca8b5814f0f56a0f18a62b8b017f272e07ca0b013466af6f MISC metadata.xml 395 BLAKE2B bbc505300e1bb4a974b8c5f19c43fe9cbfe4300c31a5174adad799cac0d2507e231845ab8f586ca427538b67ad45012aec660692f1a4a134af4e7615467b0ee0 SHA512 170e9a7718037935d373ad84c37f7c87764e30fdb1c2860fa3021021f91dd94adb2d3acb4adfc5cea8d64a7e612340a2286c5a4748f91ed32d603b9c306f3513 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 -} diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild index f1b7b588b3cf..ce6d19a65aa6 100644 --- a/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild +++ b/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit autotools systemd DESCRIPTION="IPMI Management Utilities" -HOMEPAGE="http://ipmiutil.sourceforge.net/" +HOMEPAGE="https://ipmiutil.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" |