diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-25 16:35:34 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-25 16:35:34 +0000 |
commit | daeae5227b2e4935d3c236d4752200330ef0cedb (patch) | |
tree | f6219016975c773d9371ec4bffbc2292a8d46b93 /sys-cluster/drbd-kernel | |
parent | EAPI=2; respect LDFLAGS (bug #334457) (diff) | |
download | gentoo-2-daeae5227b2e4935d3c236d4752200330ef0cedb.tar.gz gentoo-2-daeae5227b2e4935d3c236d4752200330ef0cedb.tar.bz2 gentoo-2-daeae5227b2e4935d3c236d4752200330ef0cedb.zip |
Version bump wrt bug 334157. Thanks to Michael Williams <williams.2694@osu.edu> for report and ebuild.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/drbd-kernel')
-rw-r--r-- | sys-cluster/drbd-kernel/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild | 46 |
2 files changed, 54 insertions, 1 deletions
diff --git a/sys-cluster/drbd-kernel/ChangeLog b/sys-cluster/drbd-kernel/ChangeLog index d3f853c7ce95..09dc7ba9c565 100644 --- a/sys-cluster/drbd-kernel/ChangeLog +++ b/sys-cluster/drbd-kernel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-cluster/drbd-kernel # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.22 2010/08/13 07:20:14 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.23 2010/08/25 16:35:34 xarthisius Exp $ + +*drbd-kernel-8.3.8.1 (25 Aug 2010) + + 25 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> + +drbd-kernel-8.3.8.1.ebuild: + Version bump wrt bug 334157. Thanks to Michael Williams + <williams.2694@osu.edu> for report and ebuild. 13 Aug 2010; Christian Faulhammer <fauli@gentoo.org> drbd-kernel-8.3.6.ebuild: diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild new file mode 100644 index 000000000000..7f4184d129ff --- /dev/null +++ b/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild,v 1.1 2010/08/25 16:35:34 xarthisius Exp $ + +EAPI="2" + +inherit eutils versionator linux-mod + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +MY_PN=${PN/-kernel/} +MY_P=${MY_PN}-${PV} +MY_MAJ_PV=$(get_version_component_range 1-2 ${PV}) + +HOMEPAGE="http://www.drbd.org" +DESCRIPTION="mirror/replicate block-devices across a network-connection" +SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${MY_PN}-${PV}.tar.gz" + +IUSE="" +DEPEND="virtual/linux-sources" +RDEPEND="" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if ! kernel_is 2 6; then + die "Unsupported kernel, drbd-${PV} needs kernel 2.6.x ." + fi + + MODULE_NAMES="drbd(block:${S}/drbd)" + BUILD_TARGETS="default" + CONFIG_CHECK="CONNECTOR" + CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it." + linux-mod_pkg_setup + BUILD_PARAMS="-j1 KDIR=${KV_DIR} O=${KV_OUT_DIR}" +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "" + einfo "Please remember to re-emerge drbd-kernel when you upgrade your kernel!" + einfo "" +} |