* [gentoo-commits] gentoo-x86 commit in sys-fs/multipath-tools: ChangeLog multipath-tools-0.4.9-r2.ebuild
@ 2011-06-03 21:35 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-06-03 21:35 UTC (permalink / raw
To: gentoo-commits
vapier 11/06/03 21:35:00
Modified: ChangeLog
Added: multipath-tools-0.4.9-r2.ebuild
Log:
Rewrite new init.d script that lacks proc checking bugs #368765 by Samuel BAUER.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Revision Changes Path
1.36 sys-fs/multipath-tools/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?r1=1.35&r2=1.36
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog 28 Nov 2010 21:34:59 -0000 1.35
+++ ChangeLog 3 Jun 2011 21:35:00 -0000 1.36
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/multipath-tools
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.35 2010/11/28 21:34:59 radhermit Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.36 2011/06/03 21:35:00 vapier Exp $
+
+*multipath-tools-0.4.9-r2 (03 Jun 2011)
+
+ 03 Jun 2011; Mike Frysinger <vapier@gentoo.org>
+ +multipath-tools-0.4.9-r2.ebuild, +files/multipath.rc:
+ Rewrite new init.d script that lacks proc checking bugs #368765 by Samuel
+ BAUER.
*multipath-tools-0.4.9-r1 (28 Nov 2010)
1.1 sys-fs/multipath-tools/multipath-tools-0.4.9-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r2.ebuild?rev=1.1&content-type=text/plain
Index: multipath-tools-0.4.9-r2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r2.ebuild,v 1.1 2011/06/03 21:35:00 vapier Exp $
EAPI="2"
inherit eutils toolchain-funcs
DESCRIPTION="Device mapper target autoconfig"
HOMEPAGE="http://christophe.varoqui.free.fr/"
SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND="|| (
>=sys-fs/lvm2-2.02.45
>=sys-fs/device-mapper-1.00.19-r1
)
>=sys-fs/udev-124
sys-fs/sysfsutils
dev-libs/libaio
!<sys-apps/baselayout-2"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.4.9-build.patch
epatch "${FILESDIR}"/${PN}-0.4.9-buffer-overflows.patch
epatch "${FILESDIR}"/${PN}-0.4.8-kparted-ext-partitions.patch
}
src_compile() {
emake CC="$(tc-getCC)" || die
}
src_install() {
dodir /sbin /usr/share/man/man8
emake DESTDIR="${D}" install || die
insinto /etc
newins "${S}"/multipath.conf.annotated multipath.conf
fperms 644 /etc/udev/rules.d/65-multipath.rules
fperms 644 /etc/udev/rules.d/66-kpartx.rules
newinitd "${FILESDIR}"/rc-multipathd multipathd || die
newinitd "${FILESDIR}"/multipath.rc multipath || die
dodoc multipath.conf.* AUTHOR ChangeLog FAQ README TODO
docinto kpartx
dodoc kpartx/ChangeLog kpartx/README
}
pkg_preinst() {
# The dev.d script was previously wrong and is now removed (the udev rules
# file does the job instead), but it won't be removed from live systems due
# to cfgprotect.
# This should help out a little...
if [[ -e ${ROOT}/etc/dev.d/block/multipath.dev ]] ; then
mkdir -p "${D}"/etc/dev.d/block
echo "# Please delete this file. It is obsoleted by /etc/udev/rules.d/65-multipath.rules" \
> "${D}"/etc/dev.d/block/multipath.dev
fi
}
pkg_postinst() {
elog "If you need multipath on your system, you must"
elog "add 'multipath' into your boot runlevel!"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-03 21:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 21:35 [gentoo-commits] gentoo-x86 commit in sys-fs/multipath-tools: ChangeLog multipath-tools-0.4.9-r2.ebuild Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox