* [gentoo-commits] gentoo-x86 commit in sys-fs/evms: metadata.xml ChangeLog evms-2.5.5-r13.ebuild evms-2.5.5-r12.ebuild
@ 2011-10-18 17:16 Maciej Mrozowski (reavertm)
0 siblings, 0 replies; only message in thread
From: Maciej Mrozowski (reavertm) @ 2011-10-18 17:16 UTC (permalink / raw
To: gentoo-commits
reavertm 11/10/18 17:16:12
Modified: metadata.xml ChangeLog
Added: evms-2.5.5-r13.ebuild
Removed: evms-2.5.5-r12.ebuild
Log:
Remove hartbeat-{1,2} support, bug 387543
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Revision Changes Path
1.9 sys-fs/evms/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/metadata.xml?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/metadata.xml?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/metadata.xml?r1=1.8&r2=1.9
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/evms/metadata.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- metadata.xml 24 Sep 2011 10:37:22 -0000 1.8
+++ metadata.xml 18 Oct 2011 17:16:11 -0000 1.9
@@ -1,14 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
<pkgmetadata>
<maintainer>
<email>reavertm@gentoo.org</email>
<name>Maciej Mrozowski</name>
</maintainer>
<longdescription>evms is a volume management system written by IBM, it's open source</longdescription>
- <use>
- <flag name='hb'>Enable support for heartbeat-1</flag>
- <flag name='hb2'>Enable support for heartbeat-2</flag>
- </use>
</pkgmetadata>
1.104 sys-fs/evms/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/ChangeLog?rev=1.104&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/ChangeLog?rev=1.104&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/ChangeLog?r1=1.103&r2=1.104
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- ChangeLog 8 Jul 2011 10:00:27 -0000 1.103
+++ ChangeLog 18 Oct 2011 17:16:11 -0000 1.104
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/evms
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.103 2011/07/08 10:00:27 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.104 2011/10/18 17:16:11 reavertm Exp $
+
+*evms-2.5.5-r13 (18 Oct 2011)
+
+ 18 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> -evms-2.5.5-r12.ebuild,
+ +evms-2.5.5-r13.ebuild, metadata.xml:
+ Remove hartbeat-{1,2} support, bug 387543
08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> evms-2.5.5-r12.ebuild:
Convert from "hasq" to "has".
1.1 sys-fs/evms/evms-2.5.5-r13.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/evms-2.5.5-r13.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/evms/evms-2.5.5-r13.ebuild?rev=1.1&content-type=text/plain
Index: evms-2.5.5-r13.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.5-r13.ebuild,v 1.1 2011/10/18 17:16:11 reavertm Exp $
EAPI=4
inherit autotools-utils flag-o-matic toolchain-funcs linux-info
PATCHVER="${PV}-3"
DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
HOMEPAGE="http://www.sourceforge.net/projects/evms"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://gentoo/${PN}-patches-${PATCHVER}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="ncurses nls"
# sys-apps/util-linux: libuuid
# sys-libs/readline: evms cli
RDEPEND="
sys-apps/util-linux
sys-libs/readline
|| (
sys-fs/device-mapper
>=sys-fs/lvm2-2.02.45
)
ncurses? (
>=dev-libs/glib-2.12.4-r1
sys-libs/ncurses
)
"
DEPEND="${RDEPEND}
ncurses? ( dev-util/pkgconfig )
"
# While the test-concept holds, many of them fail due to unknown reasons.
# Since upstream is almost dead, we have to ignore that for now.
RESTRICT="test"
AUTOTOOLS_IN_SOURCE_BUILD=1
pkg_setup() {
get_running_version
if [[ ${KV_MAJOR} -eq 2 ]]; then
if [[ ${KV_PATCH} -lt 19 ]] || [[ ${KV_MINOR} -eq 4 ]]; then
ewarn "This revision of EVMS may not work correctly with kernels prior to 2.6.19 when"
ewarn "using snapshots due to API changes. Please update your kernel or use EVMS 2.5.5-r9."
ebeep 5
fi
fi
}
src_prepare() {
EPATCH_SOURCE="${WORKDIR}/patches"
EPATCH_SUFFIX="patch"
epatch
autotools-utils_src_prepare
eautoreconf
}
src_configure() {
# Bug #54856
# filter-flags "-fstack-protector"
replace-flags -O3 -O2
replace-flags -Os -O2
myeconfargs+=(
--disable-ha
--disable-hb2
--disable-gui
--enable-cli
--without-debug
$(use_enable ncurses text-mode)
$(use_enable nls)
)
autotools-utils_src_configure
}
src_install() {
DOCS=(ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY)
autotools-utils_src_install
# Remove static libs
find "${D}" -name '*.a' -exec rm -f {} + || die
# the kernel patches may come handy for people compiling their own kernel
docinto kernel/2.4
dodoc kernel/2.4/*
docinto kernel/2.6
dodoc kernel/2.6/*
}
src_test() {
if [[ -z ${EVMS_TEST_VOLUME} ]] ; then
eerror "This is a volume manager and it therefore needs a volume"
eerror "for testing. You have to define EVMS_TEST_VOLUME as"
eerror "a volume evms can operate on."
eerror "Example: export EVMS_TEST_VOLUME=sda"
eerror "Note: The volume-name can not be a symlink."
eerror "WARNING: EVMS WILL DESTROY EVERYTHING ON IT."
einfo "If you don't have an empty disk, you can use the loopback-device:"
einfo "- Create a large file using dd (this creates a 4GB file):"
einfo " dd if=/dev/zero of=/tmp/evms_test_file bs=1M count=4096"
einfo "- Activate a loop device on this file:"
einfo " losetup /dev/loop0 /tmp/evms_test_file"
einfo "- export EVMS_TEST_VOLUME=loop0"
einfo "The disk has to be at least 4GB!"
einfo "To deactivate the loop-device afterwards:"
einfo "- losetup -d /dev/loop0"
has userpriv ${FEATURES} && ewarn "These tests have to run as root. Disable userpriv!"
die "need test-volume"
fi
if has userpriv ${FEATURES} ; then
eerror "These tests need root privileges. Disable userpriv!"
die "userpriv is not supported"
fi
einfo "Disabling sandbox for:"
einfo " - /dev/${EVMS_TEST_VOLUME}"
addwrite /dev/${EVMS_TEST_VOLUME}
einfo " - /dev/evms"
addwrite /dev/evms
einfo " - /var/lock/evms-engine"
addwrite /var/lock/evms-engine
cd "${S}/tests/suite"
PATH="${S}/ui/cli:${S}/tests:/sbin:/usr/sbin:${PATH}" ./run_tests ${EVMS_TEST_VOLUME} || die "tests failed"
}
pkg_postinst() {
elog "This version of EVMS is meant for data migration and"
elog "disk maintenance only. Auto-activating EVMS volumes (i.e. for booting"
elog "purpose) is no longer supported."
elog "Please use this package to migrate to LVM2"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-18 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18 17:16 [gentoo-commits] gentoo-x86 commit in sys-fs/evms: metadata.xml ChangeLog evms-2.5.5-r13.ebuild evms-2.5.5-r12.ebuild Maciej Mrozowski (reavertm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox