diff options
Diffstat (limited to 'sys-cluster/drbd-kernel')
10 files changed, 91 insertions, 2 deletions
diff --git a/sys-cluster/drbd-kernel/ChangeLog b/sys-cluster/drbd-kernel/ChangeLog index eed4ec249ceb..3f0e8d0cfda7 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.7 2008/01/24 13:13:43 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.8 2008/02/13 18:11:26 xmerlin Exp $ + +*drbd-kernel-8.0.11 (13 Feb 2008) + + 13 Feb 2008; Christian Zoffoli <xmerlin@gentoo.org> + +files/drbd-8.0.8-missing-include.patch, drbd-kernel-8.0.8.ebuild, + +drbd-kernel-8.0.11.ebuild: + Added missing include to 8.0.8, version bump. 24 Jan 2008; Christian Zoffoli <xmerlin@gentoo.org> drbd-kernel-8.0.8.ebuild: diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.0.11.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.0.11.ebuild new file mode 100644 index 000000000000..cc1745bcf487 --- /dev/null +++ b/sys-cluster/drbd-kernel/drbd-kernel-8.0.11.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 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.0.11.ebuild,v 1.1 2008/02/13 18:11:26 xmerlin Exp $ + +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-8.0.x 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=${KERNEL_DIR} O=${KBUILD_OUTPUT}" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-8.0.0-scripts.adjust_drbd_config_h.sh.patch || die +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "" + einfo "Please remember to re-emerge drbd when you upgrade your kernel!" + einfo "" +} diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.0.8.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.0.8.ebuild index d19b65653ad5..72dccf8d4441 100644 --- a/sys-cluster/drbd-kernel/drbd-kernel-8.0.8.ebuild +++ b/sys-cluster/drbd-kernel/drbd-kernel-8.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 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.0.8.ebuild,v 1.2 2008/01/24 13:13:43 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.0.8.ebuild,v 1.3 2008/02/13 18:11:26 xmerlin Exp $ inherit eutils versionator linux-mod @@ -41,6 +41,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${PN}-8.0.0-scripts.adjust_drbd_config_h.sh.patch || die + epatch "${FILESDIR}"/${P/-kernel/}-missing-include.patch || die } pkg_postinst() { diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.24 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.24 new file mode 100644 index 000000000000..a3e1dde9a2c6 --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.24 @@ -0,0 +1,3 @@ +MD5 b2c7335514a355b874a634dc12b22522 drbd-0.7.24.tar.gz 292132 +RMD160 3f8e5540e1040ec30926c1f7e114c56c499151e2 drbd-0.7.24.tar.gz 292132 +SHA256 bdeec861bdab2b9a43eda2da743f3e7fd3974126d589f853ed2b22e1f27da5e4 drbd-0.7.24.tar.gz 292132 diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.25 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.25 new file mode 100644 index 000000000000..364eb131f001 --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-0.7.25 @@ -0,0 +1,3 @@ +MD5 9db298c97306d7d0fe6d0cdbdf695cf6 drbd-0.7.25.tar.gz 287737 +RMD160 992eaf67114d027f7f2891d35e96dc939e9f60a2 drbd-0.7.25.tar.gz 287737 +SHA256 1ad7c91416026b70afc92bcbe64df16f685807f5608ff52ab52a5201935ccd6e drbd-0.7.25.tar.gz 287737 diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.11 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.11 new file mode 100644 index 000000000000..ee0034d6876b --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.11 @@ -0,0 +1,3 @@ +MD5 3ba0394fbedf92482946e73e7a6c60af drbd-8.0.11.tar.gz 319026 +RMD160 19c202a6b00862b4482f395fca1538763fcf65f8 drbd-8.0.11.tar.gz 319026 +SHA256 5afb3d867be54ed833b7a1c7b149ae7ea93465aead7d2be68f0753bf4da7feac drbd-8.0.11.tar.gz 319026 diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.6 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.6 new file mode 100644 index 000000000000..490d2a638f64 --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.6 @@ -0,0 +1,3 @@ +MD5 a91dd9b9526e087507e21521c10c5828 drbd-8.0.6.tar.gz 495421 +RMD160 7b920592d2d74e897cc904fbbfa010a088ad62ec drbd-8.0.6.tar.gz 495421 +SHA256 f08eb9a1fade6a089fefd5652d394f516531857890e83757f67ec54144ae50a2 drbd-8.0.6.tar.gz 495421 diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.7 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.7 new file mode 100644 index 000000000000..5bf9eeead550 --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.7 @@ -0,0 +1,3 @@ +MD5 923bd04a0ab76ef899d119d4561d078a drbd-8.0.7.tar.gz 492060 +RMD160 b33876f4a3b84a91c066de297481945103f25071 drbd-8.0.7.tar.gz 492060 +SHA256 8530c82df5586f08494e8b48be228954d32fedcaf5d63628ba89f9b4dcf34319 drbd-8.0.7.tar.gz 492060 diff --git a/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.8 b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.8 new file mode 100644 index 000000000000..fb9c87ae54f3 --- /dev/null +++ b/sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.8 @@ -0,0 +1,3 @@ +MD5 21219291e258965fbb45abe155492e02 drbd-8.0.8.tar.gz 488329 +RMD160 82b826deb7ca19051194f9109ee93609b900ade8 drbd-8.0.8.tar.gz 488329 +SHA256 8ec6627c08af648798f3a449331496a5a9d73dad9372a9cd40053b0e82999b44 drbd-8.0.8.tar.gz 488329 diff --git a/sys-cluster/drbd-kernel/files/drbd-8.0.8-missing-include.patch b/sys-cluster/drbd-kernel/files/drbd-8.0.8-missing-include.patch new file mode 100644 index 000000000000..d4437ec53c7b --- /dev/null +++ b/sys-cluster/drbd-kernel/files/drbd-8.0.8-missing-include.patch @@ -0,0 +1,11 @@ +--- drbd-8.0.8/drbd/linux/drbd.h.orig 2007-12-07 15:32:38.000000000 +0100 ++++ drbd-8.0.8/drbd/linux/drbd.h 2008-02-13 18:55:10.000000000 +0100 +@@ -27,6 +27,8 @@ + #define DRBD_H + #include <linux/drbd_config.h> + ++#include <asm/types.h> ++ + #ifdef __KERNEL__ + #include <linux/types.h> + #include <asm/byteorder.h> |