Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 906148 Details for
Bug 941681
sys-cluster/resource-agents-4.12.0 ocf-root revert bugfix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
resource-agents-4.12.0-r1.ebuild with bugfix 720420 reverted
resource-agents-4.12.0-r1.ebuild.txt (text/plain), 2.29 KB, created by
Christian R
on 2024-10-17 07:19:50 UTC
(
hide
)
Description:
resource-agents-4.12.0-r1.ebuild with bugfix 720420 reverted
Filename:
MIME Type:
Creator:
Christian R
Created:
2024-10-17 07:19:50 UTC
Size:
2.29 KB
patch
obsolete
># Copyright 1999-2023 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=8 > >MY_P="${P/resource-}" >inherit autotools tmpfiles > >DESCRIPTION="Resources pack for Heartbeat / Pacemaker" >HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents" >SRC_URI="https://github.com/ClusterLabs/resource-agents/archive/v${PV}.tar.gz -> ${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ~hppa x86" >IUSE="doc libnet rgmanager systemd" > >RDEPEND=" > sys-apps/iproute2 > >=sys-cluster/cluster-glue-1.0.12-r1 > libnet? ( net-libs/libnet:1.1 ) > systemd? ( sys-apps/systemd ) >" >DEPEND="${RDEPEND}" >BDEPEND=" > doc? ( > dev-libs/libxml2 > dev-libs/libxslt > app-text/docbook-xsl-stylesheets > ) >" > >PATCHES=( > "${FILESDIR}/4.6.1-configure.patch" >) > >src_prepare() { > default > eautoreconf >} > >src_configure() { > # TODO: fix systemd automagic > # --with-ocf-root needs to be /usr/lib, see bug #720420. > # with pacemaker 2.1.2 we can remove this fix and use get_libdir > econf \ > --disable-fatal-warnings \ > --localstatedir=/var \ > --with-ocf-root=/usr/$(get_libdir)/ocf \ > --with-rsctmpdir=/run/resource-agents \ > $(use_enable doc) \ > $(use_enable libnet) >} > >src_install() { > default > > rm -rf "${ED}/usr/lib/ocf/resource.d/redhat" || die > rm -rf "${ED}"/etc/init.d/ || die > rm -rf "${ED}"{,/var}/run || die > > use rgmanager || rm -rf "${ED}"/usr/share/cluster/ "${ED}"/var/ > > if ! use systemd ; then > newtmpfiles - resource-agents.conf <<-EOF || die > d /var/run/resource-agents 1755 root root > EOF > fi >} > >pkg_postinst() { > tmpfiles_process resource-agents.conf > > elog "To use Resource Agents installed in ${EROOT}/usr/$(get_libdir)/ocf/resource.d" > elog "you have to emerge required runtime dependencies manually." > elog "" > elog "Description and dependencies of all Agents can be found on" > elog "http://www.linux-ha.org/wiki/Resource_Agents" > elog "or in the documentation of this package." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 941681
: 906148