* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/, sys-cluster/resource-agents/files/
@ 2016-11-03 12:39 Sergey Popov
0 siblings, 0 replies; 4+ messages in thread
From: Sergey Popov @ 2016-11-03 12:39 UTC (permalink / raw
To: gentoo-commits
commit: 24b0bc25c7844cc26b11eb62b9462706e3e69a7e
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 3 12:39:20 2016 +0000
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Thu Nov 3 12:39:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b0bc25
sys-cluster/resource-agents: restore 1.0.4-r1 for hppa only
sys-cluster/resource-agents/files/1.0.3-docs.patch | 31 +++++++++++
.../files/1.0.3-respect_cflags.patch | 11 ++++
.../resource-agents/files/1.0.4-dosymlinks.patch | 25 +++++++++
.../resource-agents-1.0.4-r1.ebuild | 62 ++++++++++++++++++++++
4 files changed, 129 insertions(+)
diff --git a/sys-cluster/resource-agents/files/1.0.3-docs.patch b/sys-cluster/resource-agents/files/1.0.3-docs.patch
new file mode 100644
index 00000000..c406939
--- /dev/null
+++ b/sys-cluster/resource-agents/files/1.0.3-docs.patch
@@ -0,0 +1,31 @@
+--- configure.in
++++ configure.in
+@@ -481,10 +481,12 @@
+ AC_DEFINE_UNQUOTED(POWEROFF_CMD, "$POWEROFF_CMD", path to the poweroff command)
+ AC_DEFINE_UNQUOTED(POWEROFF_OPTIONS, "$POWEROFF_OPTIONS", poweroff options)
+
+-AC_PATH_PROGS(XSLTPROC, xsltproc)
+-AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
+-if test "x$XSLTPROC" = "x"; then
+- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
+-fi
++AC_ARG_ENABLE([doc],
++ AS_HELP_STRING([--enable-doc],[Build documentation]))
++
++AS_IF([test "x$enable_doc" = "xyes"], [
++ AC_PATH_PROGS(XSLTPROC, xsltproc)
++])
++AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
+ AC_SUBST(XSLTPROC)
+
+--- doc/Makefile.am
++++ doc/Makefile.am 2010-06-20 22:04:12.649433890 +0000
+@@ -18,7 +18,7 @@
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ #
+
+-STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current
++STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets/
+ MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl
+ HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl
+ FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl
diff --git a/sys-cluster/resource-agents/files/1.0.3-respect_cflags.patch b/sys-cluster/resource-agents/files/1.0.3-respect_cflags.patch
new file mode 100644
index 00000000..e22603a
--- /dev/null
+++ b/sys-cluster/resource-agents/files/1.0.3-respect_cflags.patch
@@ -0,0 +1,11 @@
+--- configure.in
++++ configure.in
+@@ -646,8 +646,6 @@
+ CFLAGS="$CFLAGS -g"
+ enable_fatal_warnings=no
+ else
+- CFLAGS="$CFLAGS -ggdb3 -O0"
+-
+ # We had to eliminate -Wnested-externs because of libtool changes
+ # Also remove -Waggregate-return because we use one libnet
+ # call which returns a struct
diff --git a/sys-cluster/resource-agents/files/1.0.4-dosymlinks.patch b/sys-cluster/resource-agents/files/1.0.4-dosymlinks.patch
new file mode 100644
index 00000000..3fe17fc
--- /dev/null
+++ b/sys-cluster/resource-agents/files/1.0.4-dosymlinks.patch
@@ -0,0 +1,25 @@
+--- a/configure.in 2011-02-28 11:51:26.198614376 +0100
++++ b/configure.in 2011-02-28 11:59:10.201953304 +0100
+@@ -79,6 +79,7 @@
+ dnl ===============================================
+ dnl Helpers
+ dnl ===============================================
++AC_PROG_LN_S
+ cc_supports_flag() {
+ local CFLAGS="$@"
+ AC_MSG_CHECKING(whether $CC supports "$@")
+--- a/Makefile.am 2011-02-28 11:51:26.188614089 +0100
++++ b/Makefile.am 2011-02-28 13:36:15.860697714 +0100
+@@ -24,6 +24,12 @@
+ install-exec-local:
+ $(INSTALL) -d -m 1755 $(DESTDIR)$(HA_RSCTMPDIR)
+
++ $(LN_S) ../../lib/heartbeat/ocf-binaries $(DESTDIR)${OCF_RA_DIR}/heartbeat/.ocf-binaries
++ $(LN_S) ../../lib/heartbeat/ocf-directories $(DESTDIR)${OCF_RA_DIR}/heartbeat/.ocf-directories
++ $(LN_S) ../../lib/heartbeat/ocf-returncodes $(DESTDIR)${OCF_RA_DIR}/heartbeat/.ocf-returncodes
++ $(LN_S) ../../lib/heartbeat/ocf-shellfuncs $(DESTDIR)${OCF_RA_DIR}/heartbeat/.ocf-shellfuncs
++
++
+ dist-clean-local:
+ rm -f autoconf automake autoheader $(TARFILE)
+
diff --git a/sys-cluster/resource-agents/resource-agents-1.0.4-r1.ebuild b/sys-cluster/resource-agents/resource-agents-1.0.4-r1.ebuild
new file mode 100644
index 00000000..7ed2c40
--- /dev/null
+++ b/sys-cluster/resource-agents/resource-agents-1.0.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+MY_P="${P/resource-}"
+inherit autotools multilib eutils base
+
+DESCRIPTION="Resources pack for Heartbeat / Pacemaker"
+HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents"
+SRC_URI="http://hg.linux-ha.org/agents/archive/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="hppa"
+IUSE="doc libnet"
+
+DEPEND="sys-apps/iproute2
+ sys-cluster/cluster-glue
+ !<sys-cluster/heartbeat-3.0
+ libnet? ( net-libs/libnet:1.1 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/Cluster-Resource-Agents-${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/1.0.3-docs.patch"
+ "${FILESDIR}/1.0.3-respect_cflags.patch"
+ "${FILESDIR}/1.0.4-dosymlinks.patch"
+)
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-fatal-warnings \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --with-ocf-root=/usr/$(get_libdir)/ocf \
+ $(use_enable doc) \
+ $(use_enable libnet)
+}
+
+src_install() {
+ base_src_install
+ rm -rf "${D}"/etc/init.d/ldirectord || die
+}
+
+pkg_postinst() {
+ elog "To use Resource Agents installed in /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."
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/, sys-cluster/resource-agents/files/
@ 2020-10-21 12:59 Alexys Jacob
0 siblings, 0 replies; 4+ messages in thread
From: Alexys Jacob @ 2020-10-21 12:59 UTC (permalink / raw
To: gentoo-commits
commit: c3d0132cd059c773f7ae33f2dc013b31dab371cb
Author: Timo Rothenpieler <btbn <AT> btbn <DOT> de>
AuthorDate: Fri Jul 24 19:22:28 2020 +0000
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Wed Oct 21 12:58:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d0132c
sys-cluster/resource-agents: bump for 4.6.1
Signed-off-by: Timo Rothenpieler <btbn <AT> btbn.de>
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
sys-cluster/resource-agents/Manifest | 1 +
.../resource-agents/files/4.6.1-configure.patch | 31 +++++++++++
.../resource-agents/resource-agents-4.6.1.ebuild | 61 ++++++++++++++++++++++
3 files changed, 93 insertions(+)
diff --git a/sys-cluster/resource-agents/Manifest b/sys-cluster/resource-agents/Manifest
index 425405b7fa7..ab38975e5ff 100644
--- a/sys-cluster/resource-agents/Manifest
+++ b/sys-cluster/resource-agents/Manifest
@@ -1,2 +1,3 @@
DIST resource-agents-3.9.6.tar.gz 617790 BLAKE2B a158743dca379dd4bbc9fe1cf784bca3f7cee1f930e9867734fae86ae8c8b39942b5b9a244f3a3efdbbcdb2cdc3718714062d0e7954645bca5f0eb1a4fd7ca38 SHA512 b4ca8b8cc3e09508847af3f1cf50cef946f374eae4ee7903700ba49ef7a3357b1ceaa26dca0616feaa79fb290713f18939dda42ee92a5a7bca2fab807fc77901
DIST resource-agents-4.0.1.tar.gz 659123 BLAKE2B 47b976db2db2f82b2f5c300dbaa0e794d16f91425aa7641c18915cc2cc499af00a49d9990085ac069602d1bf6b8cf1ff5b477236254d16d15a0c48c6649a0350 SHA512 9c92bca7775e3c47c6463587fd7eea89f019997cfab0361ef37ee97192604d3b3d0dcd1cb70f774e01689b803dc856af170bd10e86a9d4824597293c264735d5
+DIST resource-agents-4.6.1.tar.gz 799688 BLAKE2B a276dbd17d6b91926f2a040d847e2ca499fe36cf30a0413d2bdffccd3bd8cbe7022ab29244524d5f7f6b91c7513a56b40de5f4bb425e65d4f83710445da91231 SHA512 ccd4a86b5a4da636248badfb81808fa4c96f08dbce9dc8d9322b594cb6028f74b33fd9cacdbee65f49ca05f7dca04671e247f64b767df5cd0b7d19539f52ad5e
diff --git a/sys-cluster/resource-agents/files/4.6.1-configure.patch b/sys-cluster/resource-agents/files/4.6.1-configure.patch
new file mode 100644
index 00000000000..5764fb6a520
--- /dev/null
+++ b/sys-cluster/resource-agents/files/4.6.1-configure.patch
@@ -0,0 +1,31 @@
+diff -Naur resource-agents-4.6.1.orig/configure.ac resource-agents-4.6.1/configure.ac
+--- resource-agents-4.6.1.orig/configure.ac 2020-07-13 20:19:50.531288513 +0200
++++ resource-agents-4.6.1/configure.ac 2020-07-13 20:22:23.558906321 +0200
+@@ -487,11 +487,13 @@
+ if test x"${BASH_SHELL}" = x""; then
+ AC_MSG_ERROR(You need bash installed in order to build ${PACKAGE})
+ fi
+-AC_PATH_PROGS(XSLTPROC, xsltproc)
+-AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
+-if test "x$XSLTPROC" = "x"; then
+- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
+-fi
++
++AC_ARG_ENABLE([doc],
++ AS_HELP_STRING([--enable-doc],[Build documentation]))
++AS_IF([test "x$enable_doc" = "xyes"], [
++ AC_PATH_PROGS(XSLTPROC, xsltproc)
++])
++AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
+ AC_SUBST(XSLTPROC)
+ AC_PATH_PROGS(XMLCATALOG, xmlcatalog)
+ AC_PATH_PROGS(SSH, ssh, /usr/bin/ssh)
+@@ -859,8 +861,6 @@
+ CFLAGS="$CFLAGS -g"
+ enable_fatal_warnings=no
+ else
+- CFLAGS="$CFLAGS -ggdb3"
+-
+ # We had to eliminate -Wnested-externs because of libtool changes
+ # Also remove -Waggregate-return because we use one libnet
+ # call which returns a struct
diff --git a/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild b/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild
new file mode 100644
index 00000000000..2b930764a87
--- /dev/null
+++ b/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/resource-}"
+inherit autotools eutils multilib
+
+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"
+
+RDEPEND="sys-apps/iproute2
+ >=sys-cluster/cluster-glue-1.0.12-r1
+ libnet? ( net-libs/libnet:1.1 )"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )"
+
+PATCHES=(
+ "${FILESDIR}/4.6.1-configure.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ 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 "${D}/usr/$(get_libdir)/ocf/resource.d/redhat" || die
+ rm -rf "${D}"/etc/init.d/ || die
+ rm -rf "${D}"{,/var}/run || die
+ use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
+}
+
+pkg_postinst() {
+ elog "To use Resource Agents installed in /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."
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/, sys-cluster/resource-agents/files/
@ 2022-09-15 15:10 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2022-09-15 15:10 UTC (permalink / raw
To: gentoo-commits
commit: 8a48904b58d22fb52eb240ceb42a89088952b59d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 14:36:54 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 15:10:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a48904b
sys-cluster/resource-agents: drop 3.9.6, 4.0.1
Closes: https://bugs.gentoo.org/867568
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sys-cluster/resource-agents/Manifest | 2 -
.../resource-agents/files/3.9.4-configure.patch | 30 -----------
.../resource-agents/resource-agents-3.9.6.ebuild | 59 ----------------------
.../resource-agents/resource-agents-4.0.1.ebuild | 59 ----------------------
4 files changed, 150 deletions(-)
diff --git a/sys-cluster/resource-agents/Manifest b/sys-cluster/resource-agents/Manifest
index ab38975e5ff3..ed88231ec603 100644
--- a/sys-cluster/resource-agents/Manifest
+++ b/sys-cluster/resource-agents/Manifest
@@ -1,3 +1 @@
-DIST resource-agents-3.9.6.tar.gz 617790 BLAKE2B a158743dca379dd4bbc9fe1cf784bca3f7cee1f930e9867734fae86ae8c8b39942b5b9a244f3a3efdbbcdb2cdc3718714062d0e7954645bca5f0eb1a4fd7ca38 SHA512 b4ca8b8cc3e09508847af3f1cf50cef946f374eae4ee7903700ba49ef7a3357b1ceaa26dca0616feaa79fb290713f18939dda42ee92a5a7bca2fab807fc77901
-DIST resource-agents-4.0.1.tar.gz 659123 BLAKE2B 47b976db2db2f82b2f5c300dbaa0e794d16f91425aa7641c18915cc2cc499af00a49d9990085ac069602d1bf6b8cf1ff5b477236254d16d15a0c48c6649a0350 SHA512 9c92bca7775e3c47c6463587fd7eea89f019997cfab0361ef37ee97192604d3b3d0dcd1cb70f774e01689b803dc856af170bd10e86a9d4824597293c264735d5
DIST resource-agents-4.6.1.tar.gz 799688 BLAKE2B a276dbd17d6b91926f2a040d847e2ca499fe36cf30a0413d2bdffccd3bd8cbe7022ab29244524d5f7f6b91c7513a56b40de5f4bb425e65d4f83710445da91231 SHA512 ccd4a86b5a4da636248badfb81808fa4c96f08dbce9dc8d9322b594cb6028f74b33fd9cacdbee65f49ca05f7dca04671e247f64b767df5cd0b7d19539f52ad5e
diff --git a/sys-cluster/resource-agents/files/3.9.4-configure.patch b/sys-cluster/resource-agents/files/3.9.4-configure.patch
deleted file mode 100644
index bb2f7bec62a4..000000000000
--- a/sys-cluster/resource-agents/files/3.9.4-configure.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/configure.ac 2013-01-18 13:14:54.492191322 +0100
-+++ b/configure.ac 2013-01-18 13:17:17.559551891 +0100
-@@ -557,11 +557,13 @@
- AC_DEFINE_UNQUOTED(POWEROFF_CMD, "$POWEROFF_CMD", path to the poweroff command)
- AC_DEFINE_UNQUOTED(POWEROFF_OPTIONS, "$POWEROFF_OPTIONS", poweroff options)
-
--AC_PATH_PROGS(XSLTPROC, xsltproc)
--AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
--if test "x$XSLTPROC" = "x"; then
-- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
--fi
-+AC_ARG_ENABLE([doc],
-+ AS_HELP_STRING([--enable-doc],[Build documentation]))
-+
-+AS_IF([test "x$enable_doc" = "xyes"], [
-+ AC_PATH_PROGS(XSLTPROC, xsltproc)
-+])
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
- AC_SUBST(XSLTPROC)
-
- AC_PATH_PROGS(POD2MAN, pod2man)
-@@ -732,8 +734,6 @@
- CFLAGS="$CFLAGS -g"
- enable_fatal_warnings=no
- else
-- CFLAGS="$CFLAGS -ggdb3"
--
- # We had to eliminate -Wnested-externs because of libtool changes
- # Also remove -Waggregate-return because we use one libnet
- # call which returns a struct
diff --git a/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild b/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild
deleted file mode 100644
index 89bc9fa4d7b0..000000000000
--- a/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/resource-}"
-inherit autotools multilib
-
-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"
-
-RDEPEND="sys-apps/iproute2
- sys-cluster/cluster-glue
- libnet? ( net-libs/libnet:1.1 )"
-DEPEND="${RDEPEND}
- doc? (
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- )"
-
-PATCHES=(
- "${FILESDIR}/3.9.4-configure.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- --localstatedir=/var \
- --with-ocf-root=/usr/$(get_libdir)/ocf \
- $(use_enable doc) \
- $(use_enable libnet)
-}
-
-src_install() {
- default
- rm -rf "${D}"/etc/init.d/ || die
- rm -rf "${D}"/var/run || die
- use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
-}
-
-pkg_postinst() {
- elog "To use Resource Agents installed in /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."
-}
diff --git a/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild b/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild
deleted file mode 100644
index f8331aad9177..000000000000
--- a/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/resource-}"
-inherit autotools multilib
-
-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"
-
-RDEPEND="sys-apps/iproute2
- sys-cluster/cluster-glue
- libnet? ( net-libs/libnet:1.1 )"
-DEPEND="${RDEPEND}
- doc? (
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- )"
-
-PATCHES=(
- "${FILESDIR}/3.9.4-configure.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- --localstatedir=/var \
- --with-ocf-root=/usr/$(get_libdir)/ocf \
- $(use_enable doc) \
- $(use_enable libnet)
-}
-
-src_install() {
- default
- rm -rf "${D}"/etc/init.d/ || die
- rm -rf "${D}"/var/run || die
- use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
-}
-
-pkg_postinst() {
- elog "To use Resource Agents installed in /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."
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/, sys-cluster/resource-agents/files/
@ 2024-10-23 15:56 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-10-23 15:56 UTC (permalink / raw
To: gentoo-commits
commit: 6ef7c118e6bd643563b84815136aaaf9d2dabc95
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 15:54:47 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 15:55:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef7c118
sys-cluster/resource-agents: fix build w/ autoconf-2.72
Closes: https://bugs.gentoo.org/920743
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../resource-agents/files/4.6.1-autoconf-2.72.patch | 20 ++++++++++++++++++++
.../resource-agents/resource-agents-4.12.0.ebuild | 3 ++-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch b/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch
new file mode 100644
index 000000000000..0ac63a216ff6
--- /dev/null
+++ b/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/920743
+https://github.com/ClusterLabs/resource-agents/pull/1908
+
+From a97a00c37d8a15ee3a8d11ac00281626f55790b3 Mon Sep 17 00:00:00 2001
+From: Oyvind Albrigtsen <oalbrigt@redhat.com>
+Date: Mon, 8 Jan 2024 15:07:19 +0100
+Subject: [PATCH] configure: fix "C preprocessor "gcc -E" fails sanity check"
+ error caused by autoconf 2.72
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -81,6 +81,7 @@ fi
+ AC_PROG_CC dnl Can force other with environment variable "CC".
+ AM_PROG_CC_C_O
+ AC_PROG_CC_STDC
++AC_PROG_CPP
+ AC_PROG_AWK
+ AC_PROG_LN_S
+ AC_PROG_INSTALL
+
diff --git a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild
index 186c37a1b914..c7e69e2cf201 100644
--- a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild
+++ b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,6 +32,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/4.6.1-configure.patch"
+ "${FILESDIR}/4.6.1-autoconf-2.72.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-23 15:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-15 15:10 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/, sys-cluster/resource-agents/files/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2024-10-23 15:56 Sam James
2020-10-21 12:59 Alexys Jacob
2016-11-03 12:39 Sergey Popov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox