* [gentoo-commits] gentoo-x86 commit in sys-fs/dmraid: metadata.xml ChangeLog dmraid-1.0.0_rc16-r3.ebuild
@ 2010-12-15 17:25 Thomas Sachau (tommy)
0 siblings, 0 replies; only message in thread
From: Thomas Sachau (tommy) @ 2010-12-15 17:25 UTC (permalink / raw
To: gentoo-commits
tommy 10/12/15 17:25:09
Modified: metadata.xml ChangeLog
Added: dmraid-1.0.0_rc16-r3.ebuild
Log:
proxy commit: Revision bump, fixes bug 347712
(Portage version: 2.2.0_alpha7-r1/cvs/Linux x86_64)
Revision Changes Path
1.10 sys-fs/dmraid/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/metadata.xml?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/metadata.xml?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/metadata.xml?r1=1.9&r2=1.10
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/dmraid/metadata.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- metadata.xml 18 Sep 2009 14:49:12 -0000 1.9
+++ metadata.xml 15 Dec 2010 17:25:09 -0000 1.10
@@ -2,6 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
+ <use>
+ <flag name='dietlibc'>Compile against <pkg>dev-libs/dietlibc</pkg></flag>
+ <flag name='intel_led'>Enable Intel LED support</flag>
+ <flag name='klibc'>Compile against <pkg>dev-libs/klibc</pkg></flag>
+ <flag name='led'>Enable LED support</flag>
+ <flag name='mini'>Create a minimal binary suitable for early boot environments</flag>
+ </use>
<maintainer>
<email>ian@aerobiology.ca</email>
<name>Ian Stakenvicius</name>
1.24 sys-fs/dmraid/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/ChangeLog?r1=1.23&r2=1.24
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog 17 Aug 2010 19:47:55 -0000 1.23
+++ ChangeLog 15 Dec 2010 17:25:09 -0000 1.24
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/dmraid
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.23 2010/08/17 19:47:55 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.24 2010/12/15 17:25:09 tommy Exp $
+
+*dmraid-1.0.0_rc16-r3 (15 Dec 2010)
+
+ 15 Dec 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +dmraid-1.0.0_rc16-r3.ebuild,
+ +files/dmraid-1.0.0_rc16-static-build-fixes.patch:
+ proxy commit: Revision bump, fixes bug 347712
*dmraid-1.0.0_rc16-r2 (17 Aug 2010)
1.1 sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild?rev=1.1&content-type=text/plain
Index: dmraid-1.0.0_rc16-r3.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild,v 1.1 2010/12/15 17:25:09 tommy Exp $
EAPI="2"
inherit autotools linux-info flag-o-matic
MY_PV=${PV/_/.}-3
DESCRIPTION="Device-mapper RAID tool and library"
HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/"
SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="dietlibc intel_led klibc led mini static"
RDEPEND="|| ( >=sys-fs/lvm2-2.02.45
sys-fs/device-mapper )
klibc? ( dev-libs/klibc )
dietlibc? ( dev-libs/dietlibc )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${PN}/${MY_PV}/${PN}
pkg_setup() {
if kernel_is lt 2 6 ; then
ewarn "You are using a kernel < 2.6"
ewarn "DMraid uses recently introduced Device-Mapper features."
ewarn "These might be unavailable in the kernel you are running now."
fi
}
src_prepare() {
epatch "${FILESDIR}"/${P}-undo-p-rename.patch \
"${FILESDIR}"/${P}-return-all-sets.patch \
"${FILESDIR}"/${P}-static-build-fixes.patch
# pkg_check_modules is not in aclocal.m4 by default, and eautoreconf doesnt add it
elog "Appending pkg.m4 from system to aclocal.m4"
cat "${ROOT}"/usr/share/aclocal/pkg.m4 >>"${S}"/aclocal.m4 || die "Could not append pkg.m4"
eautoreconf
elog "Creating prepatched source archive for use with Genkernel"
# archive the patched source for use with genkernel
cd "${WORKDIR}"
mkdir -p "tmp/${PN}"
cp -a "${PN}/${MY_PV}/${PN}" "tmp/${PN}"
mv "tmp/${PN}/${PN}" "tmp/${PN}/${MY_PV}"
cd tmp
tar -jcf ${PN}-${MY_PV}-prepatched.tar.bz2 ${PN} || die
mv ${PN}-${MY_PV}-prepatched.tar.bz2 ..
}
src_configure() {
local mylibc
if use klibc && use dietlibc; then
ewarn "Cannot compile against both klibc and dietlibc -- choosing klibc."
mylibc="--enable-klibc --disable-dietlibc"
else
mylibc="$(use_enable klibc) $(use_enable dietlibc)"
fi
econf --with-usrlibdir='${prefix}'/$(get_libdir) \
$(use_enable static static_link) \
$(use_enable mini) \
$(use_enable led) \
$(use_enable intel_led) \
${mylibc}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGELOG README TODO KNOWN_BUGS doc/* || die "dodoc failed"
insinto /usr/share/${PN}
doins "${WORKDIR}"/${PN}-${MY_PV}-prepatched.tar.bz2 || die
}
pkg_postinst() {
elog "For booting Gentoo from Device-Mapper RAID you can use Genkernel."
elog " "
elog "Genkernel will generate the kernel and the initrd with a statically "
elog "linked dmraid binary (its own version which may not be the same as this version):"
elog "\t emerge -av sys-kernel/genkernel"
elog "\t genkernel --dmraid all"
elog " "
elog "If you would rather use this version of DMRAID with Genkernel, update the following"
elog "in /etc/genkernel.conf:"
elog "\t DMRAID_VER=\"${MY_PV}\""
elog "\t DMRAID_SRCTAR=\"/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2\""
elog " "
ewarn "DMRAID should be safe to use, but no warranties can be given"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-15 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 17:25 [gentoo-commits] gentoo-x86 commit in sys-fs/dmraid: metadata.xml ChangeLog dmraid-1.0.0_rc16-r3.ebuild Thomas Sachau (tommy)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox