* [gentoo-commits] gentoo-x86 commit in dev-util/oprofile: oprofile-0.9.7_rc1.ebuild ChangeLog metadata.xml oprofile-0.9.6-r1.ebuild
@ 2011-06-20 5:23 Peter Volkov (pva)
0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2011-06-20 5:23 UTC (permalink / raw
To: gentoo-commits
pva 11/06/20 05:23:29
Modified: ChangeLog metadata.xml
Added: oprofile-0.9.7_rc1.ebuild oprofile-0.9.6-r1.ebuild
Log:
Fixes privilege escalation with sudo (CVE-2011-1760), bug #366699 thank Tim Sammut for report. Bump release candidate: new qt4 gui added java support. Took maintaining.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Revision Changes Path
1.69 dev-util/oprofile/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?r1=1.68&r2=1.69
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- ChangeLog 18 Jun 2011 17:15:07 -0000 1.68
+++ ChangeLog 20 Jun 2011 05:23:29 -0000 1.69
@@ -1,6 +1,22 @@
# ChangeLog for dev-util/oprofile
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.68 2011/06/18 17:15:07 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.69 2011/06/20 05:23:29 pva Exp $
+
+*oprofile-0.9.7_rc1 (20 Jun 2011)
+*oprofile-0.9.6-r1 (20 Jun 2011)
+
+ 20 Jun 2011; Peter Volkov <pva@gentoo.org> +oprofile-0.9.6-r1.ebuild,
+ +files/oprofile-0.9.6-Add-argument-checking-for-numerical-arguments.patch,
+ +files/oprofile-0.9.6-Avoid-blindly-source-SETUP_FILE-with.patch,
+ +files/oprofile-0.9.6-Avoid-using-bash.patch,
+ +files/oprofile-0.9.6-Do-additional-checks-on-user-supplied-arguments.patch,
+ +files/oprofile-0.9.6-Ensure-that-save-only-saves-things-in-SESSION_DIR.patch
+ ,
+ +files/oprofile-0.9.6-Fix-opcontrol-status-to-show-accurate-information.patch
+ , +oprofile-0.9.7_rc1.ebuild, metadata.xml:
+ Fixes privilege escalation with sudo (CVE-2011-1760), bug #366699 thank Tim
+ Sammut for report. Bump release candidate: new qt4 gui added java support.
+ Took maintaining.
18 Jun 2011; Michał Januszewski <spock@gentoo.org> metadata.xml:
Reassigning to maintainer-needed.
1.4 dev-util/oprofile/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/metadata.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/metadata.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/metadata.xml?r1=1.3&r2=1.4
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/oprofile/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml 18 Jun 2011 17:15:07 -0000 1.3
+++ metadata.xml 20 Jun 2011 05:23:29 -0000 1.4
@@ -3,6 +3,6 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>pva@gentoo.org</email>
</maintainer>
</pkgmetadata>
1.1 dev-util/oprofile/oprofile-0.9.7_rc1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc1.ebuild?rev=1.1&content-type=text/plain
Index: oprofile-0.9.7_rc1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc1.ebuild,v 1.1 2011/06/20 05:23:29 pva Exp $
EAPI=2
inherit eutils linux-info java-pkg-opt-2
MY_P=${PN}-${PV/_/-}
DESCRIPTION="A transparent low-overhead system-wide profiler"
HOMEPAGE="http://oprofile.sourceforge.net"
SRC_URI="mirror://sourceforge/oprofile/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="java pch qt4"
DEPEND=">=dev-libs/popt-1.7-r1
>=sys-devel/binutils-2.14.90.0.6-r3
>=sys-libs/glibc-2.3.2-r1
qt4? ( x11-libs/qt-gui[qt3support] )
java? ( >=virtual/jdk-1.5 )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-info_pkg_setup
if ! linux_config_exists || ! linux_chkconfig_present OPROFILE; then
elog "In order for oprofile to work, you need to configure your kernel"
elog "with CONFIG_OPROFILE set to 'm' or 'y'."
fi
# Required for JIT support, see README_PACKAGERS
enewgroup oprofile
enewuser oprofile -1 -1 -1 oprofile
#sed -i -e "s/depmod -a/:/g" Makefile.in
use java && java-pkg_init
}
src_configure() {
econf \
--with-kernel-support \
$(use_with qt4 x) \
$(use_enable qt4 gui qt4) \
$(use_enable pch) \
$(use_with java java ${JAVA_HOME})
}
src_install() {
make DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install || die
dodoc ChangeLog* README TODO
dodir /etc/env.d
echo "LDPATH=${PREFIX}/usr/$(get_libdir)/oprofile" > "${D}"/etc/env.d/10${PN} || die "env.d failed"
}
pkg_postinst() {
echo
elog "Now load the oprofile module by running:"
elog " # opcontrol --init"
elog "Then read manpages and this html doc:"
elog " /usr/share/doc/${PF}/oprofile.html"
echo
}
1.1 dev-util/oprofile/oprofile-0.9.6-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.6-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.6-r1.ebuild?rev=1.1&content-type=text/plain
Index: oprofile-0.9.6-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.6-r1.ebuild,v 1.1 2011/06/20 05:23:29 pva Exp $
EAPI=4
inherit eutils linux-info
DESCRIPTION="A transparent low-overhead system-wide profiler"
HOMEPAGE="http://oprofile.sourceforge.net"
SRC_URI="mirror://sourceforge/oprofile/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=">=dev-libs/popt-1.7-r1
>=sys-devel/binutils-2.14.90.0.6-r3
>=sys-libs/glibc-2.3.2-r1"
RDEPEND="${DEPEND}"
pkg_setup() {
linux-info_pkg_setup
if ! linux_config_exists || ! linux_chkconfig_present OPROFILE; then
elog "In order for oprofile to work, you need to configure your kernel"
elog "with CONFIG_OPROFILE set to 'm' or 'y'."
fi
}
src_prepare() {
epatch "${FILESDIR}/${P}-mutable.patch"
epatch "${FILESDIR}/${P}-Ensure-that-save-only-saves-things-in-SESSION_DIR.patch"
epatch "${FILESDIR}/${P}-Fix-opcontrol-status-to-show-accurate-information.patch"
epatch "${FILESDIR}/${P}-Avoid-blindly-source-SETUP_FILE-with.patch"
epatch "${FILESDIR}/${P}-Add-argument-checking-for-numerical-arguments.patch"
epatch "${FILESDIR}/${P}-Avoid-using-bash.patch"
epatch "${FILESDIR}/${P}-Do-additional-checks-on-user-supplied-arguments.patch"
}
src_configure() {
local myconf="--with-qt-dir=/void --with-x"
case ${KV_FULL} in
2.2.*|2.4.*) myconf="${myconf} --with-linux=${KV_DIR}";;
2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";;
*) die "Kernel version '${KV_FULL}' not supported";;
esac
econf ${myconf}
}
src_compile() {
local mymake=""
sed -i -e "s,depmod -a,:,g" Makefile
emake ${mymake} || die
}
src_install() {
local myinst=""
myinst="${myinst} MODINSTALLDIR=${ED}/lib/modules/${KV_FULL}"
make DESTDIR="${D}" ${myinst} htmldir="/usr/share/doc/${PF}" install
dodoc ChangeLog* README TODO
}
pkg_postinst() {
if [[ ${ROOT} == / ]] ; then
[[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
fi
echo
elog "Now load the oprofile module by running:"
elog " # opcontrol --init"
elog "Then read manpages and this html doc:"
elog " /usr/share/doc/${PF}/oprofile.html"
echo
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-20 5:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 5:23 [gentoo-commits] gentoo-x86 commit in dev-util/oprofile: oprofile-0.9.7_rc1.ebuild ChangeLog metadata.xml oprofile-0.9.6-r1.ebuild Peter Volkov (pva)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox