diff options
author | Sam James <sam@gentoo.org> | 2023-09-24 00:11:59 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-24 00:11:59 +0100 |
commit | d3c0bb9583f39ebb8810b2e334bfdbd7c01ab991 (patch) | |
tree | 6fd890b213e796af5e9ba2e388fed933f683ca7a /sys-apps | |
parent | sys-apps/ipmitool: remove erroneous launchpad upstream metadata (diff) | |
download | gentoo-d3c0bb9583f39ebb8810b2e334bfdbd7c01ab991.tar.gz gentoo-d3c0bb9583f39ebb8810b2e334bfdbd7c01ab991.tar.bz2 gentoo-d3c0bb9583f39ebb8810b2e334bfdbd7c01ab991.zip |
sys-apps/ipmitool: update HOMEPAGE, SRC_URI
* Update HOMEPAGE to codeberg (see e.g. https://www.phoronix.com/news/ipmitool-GitHub-Suspended
and the sourceforge project page)
* Style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ipmitool/ipmitool-1.8.19.ebuild | 64 |
1 files changed, 34 insertions, 30 deletions
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}" ) |