diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2013-03-15 10:19:56 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2013-03-15 10:19:56 +0000 |
commit | 4bc45c82de73a48221de3e96d0330b70e36ccf99 (patch) | |
tree | 09a9b963fe083199eca17216017c8e61d0f85bf8 /sys-cluster | |
parent | remove old (diff) | |
download | historical-4bc45c82de73a48221de3e96d0330b70e36ccf99.tar.gz historical-4bc45c82de73a48221de3e96d0330b70e36ccf99.tar.bz2 historical-4bc45c82de73a48221de3e96d0330b70e36ccf99.zip |
version bump
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/pacemaker-gui/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/pacemaker-gui/Manifest | 11 | ||||
-rw-r--r-- | sys-cluster/pacemaker-gui/files/pacemaker-mgmt-query-node-uuid.patch | 13 | ||||
-rw-r--r-- | sys-cluster/pacemaker-gui/pacemaker-gui-2.1.2.ebuild | 91 |
4 files changed, 119 insertions, 6 deletions
diff --git a/sys-cluster/pacemaker-gui/ChangeLog b/sys-cluster/pacemaker-gui/ChangeLog index 45c08545d238..6e1c596e850d 100644 --- a/sys-cluster/pacemaker-gui/ChangeLog +++ b/sys-cluster/pacemaker-gui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/pacemaker-gui -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/ChangeLog,v 1.7 2012/11/23 11:05:57 ultrabug Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/ChangeLog,v 1.8 2013/03/15 10:19:47 ultrabug Exp $ + +*pacemaker-gui-2.1.2 (15 Mar 2013) + + 15 Mar 2013; Ultrabug <ultrabug@gentoo.org> +pacemaker-gui-2.1.2.ebuild, + +files/pacemaker-mgmt-query-node-uuid.patch: + Version bump supports newer pacemaker versions 23 Nov 2012; Ultrabug <ultrabug@gentoo.org> pacemaker-gui-2.1.1.ebuild: Does not work with >=pacemaker-1.1.8 diff --git a/sys-cluster/pacemaker-gui/Manifest b/sys-cluster/pacemaker-gui/Manifest index 6f8b17fc015b..598fc411d72f 100644 --- a/sys-cluster/pacemaker-gui/Manifest +++ b/sys-cluster/pacemaker-gui/Manifest @@ -2,14 +2,17 @@ Hash: SHA256 AUX pacemaker-gui-2.1.1-doc.patch 421 SHA256 5f42694bc0e007be7677cd2a5a9ac0dc046e43be6888e7da9c5f33f5a8ade3e2 SHA512 2a49cfb393c531200915a02f7c4d4a69dfc5130a9eb7661cbd048c25dae263291aa13323feb9c8ed0249c611a88ed2c6d66b56785bb3c79e421c7e98a6d5a18e WHIRLPOOL b149cf152a8ead929795a23f481bcd153422e1597097bdff0607271fe2543e26d69fa68558a5294ea995069da8ccc95d1e569d35c337f1cade2e026ae681c64f +AUX pacemaker-mgmt-query-node-uuid.patch 533 SHA256 5632ed448acb44c13f45a229c529af89ffacd37ec8432593e06df265171d1140 SHA512 6a914135fd685a476b6f71b8bdb52825c1a844c8e2a622c31ac5978aa59049968ce3eade72766678c60cd7c66d30cd0f900ac2f25172dd7f988bbba203d67e5f WHIRLPOOL 7710166873d5ceaf6390d6594ec056bbde73870e14d19e5f5aa17b47393bb29e907c79808ced3708d3cca3482f9dc9547213a697e25c0e83cc3d6d6397092960 DIST pacemaker-gui-2.1.1.tar.gz 394443 SHA256 62609ef13591502ce8b7d67702eb2d2b89fada8cd8556a1d2a8f9754a8de1211 SHA512 5b14ad4c87c52f13befa163fbf77e2cbb47e0c161cba909a90686872cfd4fbae994aeece077473c6ba486091d53e23971c86934e040fab8fc99a795259e33e7a WHIRLPOOL b8d5b106dd5f306755a23ac63c3f489405de2bc44c67d7ef9fc1dcbd64a424fbe2045217563e093ebafcee97e2cb3b53d93c57702acd42443d41bf2c6fedee21 +DIST pacemaker-gui-2.1.2.tar.gz 398311 SHA256 9c431916a186c027fe714b46acf84f017440ed120cdca174cf244cd946fbfac3 SHA512 7d1bffbe6478a250452ce692371f2e47d6cba11eaa2a7684e99cf2befdb32662c092d0e6b59973fe076ed9ce640082fd4ebb3e7b7cd8730cfa697af82dfdf06f WHIRLPOOL 3f2913a283d9a2ef18153d10f477348e15c292a19070173dec761e0f5aee2999c7395476e237e6d5690efdc29d9157de4a0d6ef2280b46f7c8895057b3850428 EBUILD pacemaker-gui-2.1.1.ebuild 2034 SHA256 7f4bdede253b5146646aa9f6951a9aefcdb3f8f1cd370bdb2ce8347541b836bd SHA512 efea95a12ed152e4598eae74e4f9fcaa03398ac439d272eec66dff93d317cc350b38220c3841f681d545e39e98edaaa248b8a60bda21f28101d287ca5b084085 WHIRLPOOL 58564672544a3ab1c4ecd68accf92c3328514db61e924fa1ca08ce29ee420884c9e98f394fd89804421600b39721782254ab1f3c0560311d6a0900716a58f368 -MISC ChangeLog 1784 SHA256 4f49ea8481e566342b35d5696be8c8b3a56dd17c479ef2b1679d31dcc701f898 SHA512 7b652bf924affab32879339d4bf8fa11bd10e9a59874ff34655f0bf5c9891e47e5c8617cff1f5b356375c3c91ac703fb1c8a5d7fc9803422fcae11f5341b4348 WHIRLPOOL cb5964ea72f46e0e485528372a7bb18a7c6340cecd849db245ccb0b204d6ddd85494aad0fb5ddca0d5cde2c604f60c197c67ce77905b836f8b15d06d38c507a1 +EBUILD pacemaker-gui-2.1.2.ebuild 2182 SHA256 c73b93385fcb69582dd6029654c054176444cd6f43a26228c03394db1eec7c45 SHA512 4f138a0ba48d867cab38e66a47f16c5a316939630c489038b504e3233cc9bc020c71c767a6baf253efbd99437b92a12d7e832b0da05fef7705ac12db530898f5 WHIRLPOOL eb571c4630ac61d34997e97060db9c0fc0552fac5a4a631acc7602d52fe40bd2211b648559325ffca490783fdaec553956374dabefe514f93bd0ac1ba40be955 +MISC ChangeLog 1992 SHA256 59b54c53fee9e7901f066c6a4f11871469c31ac67087fe5a31d280ea1352fafb SHA512 8cdc3855952feeb2c36753a87b7449a1d78b2a450ead60829fb124e63dc194e2b593feb65d8cdbba8a5996b1f68fd1875fca51d7abaa5ba9c03a6c3d0f28e540 WHIRLPOOL a72e839061ba70a4273c8e3808f3f26c2ad05664b38a003cfce61dceb95dd73b6d06f60c4d6c1780f09701e0b70a7a78efeaafd9f2f21217f41d1f4f7312f47a MISC metadata.xml 429 SHA256 aa528f0fc82c129c23cc4339f3701b0265388d40a3e8f907f4fdddd452d829e0 SHA512 626c99d13d67c664378cff8a924282a360dbd4d843b34e40e244040569828c89b97ec16c5f90d2c9f0c2687bee3d28f6f4ef9f9e54495095c959ef6c9ea96e43 WHIRLPOOL 0d94cfad997a0eeaed78884814e1dac53ca9a938c9bf16c1435a66a9aedcb5d9a36b0a588db4dddc1361abcdac400a43291a7da5db3f7243e9a17dae3783fe42 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlCvWJoACgkQKiQSS7ZY+hNWJAEAnzRVL9ov91TD7MvXJYkC6Ycs -Quw3J/qoS6Uh8XDPOe0A/RCAua3ba2Y5WURpem0e/5ROuBaWjs9jQLOWAZZDeFlK -=SDyu +iF4EAREIAAYFAlFC9ckACgkQKiQSS7ZY+hN7nAEAyK46RbJYX4pzKbj/JUTiSG9F +WsqnOijevPn1X65FIH4BAJAhgUhbjZuDfg0M8xjbuig4Zp02nf2HchNhuqGr4+0a +=1QTZ -----END PGP SIGNATURE----- diff --git a/sys-cluster/pacemaker-gui/files/pacemaker-mgmt-query-node-uuid.patch b/sys-cluster/pacemaker-gui/files/pacemaker-mgmt-query-node-uuid.patch new file mode 100644 index 000000000000..72d1ff5d183d --- /dev/null +++ b/sys-cluster/pacemaker-gui/files/pacemaker-mgmt-query-node-uuid.patch @@ -0,0 +1,13 @@ +diff --git a/mgmt/daemon/mgmt_crm.c b/mgmt/daemon/mgmt_crm.c +index 9e5140c..3b5ff36 100644 +--- a/mgmt/daemon/mgmt_crm.c ++++ b/mgmt/daemon/mgmt_crm.c +@@ -1602,7 +1602,7 @@ on_cleanup_rsc(char* argv[], int argc) + delete_lrm_rsc(crmd_channel, argv[1], argv[2]); + refresh_lrm(crmd_channel, NULL); + +- rc = query_node_uuid(cib_conn, argv[1], &dest_node); ++ rc = query_node_uuid(cib_conn, argv[1], &dest_node, NULL); + if (rc != 0) { + mgmt_log(LOG_WARNING, "Could not map uname=%s to a UUID: %s\n", + argv[1], pcmk_strerror(rc)); diff --git a/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.2.ebuild b/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.2.ebuild new file mode 100644 index 000000000000..9af32d363239 --- /dev/null +++ b/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.2.ebuild,v 1.1 2013/03/15 10:19:47 ultrabug Exp $ + +EAPI=4 +PYTHON_DEPEND="2" +MY_P="pacemaker-mgmt-${PV}" +MY_TREE="3c95739" + +inherit python base autotools + +DESCRIPTION="Pacemaker python GUI and management daemon" +HOMEPAGE="http://hg.clusterlabs.org/pacemaker/pygui/" +SRC_URI="https://github.com/gao-yan/pacemaker-mgmt/tarball/${MY_P} -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="-gtk heartbeat nls snmp static-libs" + +CDEPEND=" + app-arch/bzip2 + dev-libs/glib:2 + dev-libs/libxslt + dev-libs/openssl + net-libs/gnutls + sys-apps/util-linux + sys-cluster/cluster-glue + >=sys-cluster/pacemaker-1.1 + heartbeat? ( sys-cluster/pacemaker[heartbeat] ) + gtk? ( + dev-python/pygtk + ) + sys-libs/ncurses + sys-libs/pam + sys-libs/zlib" +RDEPEND="${CDEPEND} + sys-devel/libtool" +DEPEND="${CDEPEND} + gtk? ( dev-lang/swig ) + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + )" + +S="${WORKDIR}/gao-yan-pacemaker-mgmt-${MY_TREE}" + +PATCHES=( + "${FILESDIR}/${PN}-2.1.1-doc.patch" +) + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + base_src_prepare + # FIXME upstream said they will find a way to avoid this patch + if has_version ">sys-cluster/pacemaker-1.1.8"; then + epatch "${FILESDIR}"/pacemaker-mgmt-query-node-uuid.patch + fi + eautoreconf +} + +src_configure() { + local myopts="" + use heartbeat || myopts="--with-ais-support" + econf $(use_with heartbeat heartbeat-support) \ + $(use_enable snmp) \ + $(use_enable nls) \ + $(use_enable gtk mgmt-client) \ + $(use_enable static-libs static) \ + ${myopts} \ + --disable-fatal-warnings +} + +src_install() { + base_src_install + use static-libs || find "${D}"/usr/$(get_libdir)/ -name "*.la" -delete + dodoc README doc/AUTHORS || die +} + +pkg_postinst() { + elog "IMPORTANT: To have the mgmtd daemon started with your cluster," + elog "you must add this directive in /etc/corosync/service.d/pacemaker :" + elog "" + elog "use_mgmtd: 1" + elog "" + elog "NB: To access the GUI, your user must be part of the 'haclient' group" +} |