bircoph 15/02/11 04:45:41 Modified: metadata.xml ChangeLog Added: opensm-3.3.17-r1.ebuild Removed: opensm-3.3.17.ebuild Log: Fix bugs 387623, 531980, 533676. Signed-off-by: Andrew Savchenko <birc...@gentoo.org> (Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
Revision Changes Path 1.2 sys-infiniband/opensm/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/metadata.xml?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/metadata.xml?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/metadata.xml?r1=1.1&r2=1.2 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/metadata.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- metadata.xml 30 Jun 2011 22:04:54 -0000 1.1 +++ metadata.xml 11 Feb 2015 04:45:41 -0000 1.2 @@ -7,4 +7,7 @@ Administrator. Such a software entity is required to run for in order to initialize the InfiniBand hardware (at least one per each InfiniBand subnet). </longdescription> +<use> + <flag name="tools">Install ssld extra tool</flag> +</use> </pkgmetadata> 1.7 sys-infiniband/opensm/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/ChangeLog?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/ChangeLog?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/ChangeLog?r1=1.6&r2=1.7 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ChangeLog 16 Apr 2014 08:22:28 -0000 1.6 +++ ChangeLog 11 Feb 2015 04:45:41 -0000 1.7 @@ -1,6 +1,17 @@ # ChangeLog for sys-infiniband/opensm -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/ChangeLog,v 1.6 2014/04/16 08:22:28 alexxy Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/ChangeLog,v 1.7 2015/02/11 04:45:41 bircoph Exp $ + +*opensm-3.3.17-r1 (11 Feb 2015) + + 11 Feb 2015; Andrew Savchenko <birc...@gentoo.org> -opensm-3.3.17.ebuild, + +opensm-3.3.17-r1.ebuild, +files/opensm-3.3.17-norpm.patch, + +files/opensm-3.3.17-sldd.patch, +files/opensm.conf.d, files/opensm.init.d, + +files/sldd.conf.d, +files/sldd.init.d, metadata.xml: + Use OSM_OPTIONS in both conf.d and init.d, wrt bug 387623. + Disable rpm calls, this fixes sandbox violation if rpm is + installed, wrt bug 531980. + Add option to install sldd daemon, wrt bug 533676. *opensm-3.3.17 (16 Apr 2014) 1.1 sys-infiniband/opensm/opensm-3.3.17-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild?rev=1.1&content-type=text/plain Index: opensm-3.3.17-r1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild,v 1.1 2015/02/11 04:45:41 bircoph Exp $ EAPI="5" OFED_VER="3.12" OFED_RC="1" OFED_RC_VER="1" OFED_SUFFIX="1" inherit autotools eutils openib DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB" KEYWORDS="~amd64 ~x86 ~amd64-linux" IUSE="tools" DEPEND=" sys-infiniband/libibmad:${SLOT} sys-infiniband/libibumad:${SLOT}" RDEPEND="$DEPEND tools? ( net-misc/iputils net-misc/openssh )" block_other_ofed_versions src_prepare() { epatch "${FILESDIR}/${P}-norpm.patch" epatch "${FILESDIR}/${P}-sldd.patch" eautoreconf } src_configure() { econf \ --enable-perf-mgr \ --enable-default-event-plugin \ --with-osmv="openib" } src_install() { default newconfd "${FILESDIR}/opensm.conf.d" opensm newinitd "${FILESDIR}/opensm.init.d" opensm insinto /etc/logrotate.d newins "${S}/scripts/opensm.logrotate" opensm # we dont nee this int script rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed" if use tools; then dosbin scripts/sldd.sh newconfd "${FILESDIR}/sldd.conf.d" sldd newinitd "${FILESDIR}/sldd.init.d" sldd fi } pkg_postinst() { einfo "To automatically configure the infiniband subnet manager on boot," einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:" einfo "\`rc-update add opensm default\`" }