summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-11-03 18:43:14 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-11-03 18:43:14 +0000
commit5a974a1e72edcb3a4dfd1d8d809c934c3ec9d339 (patch)
treecd448aea9b451c02f77561c35dfbfc83d6978780 /sys-cluster
parentInherit elisp instead of elisp-common; restore src_compile. (diff)
downloadgentoo-2-5a974a1e72edcb3a4dfd1d8d809c934c3ec9d339.tar.gz
gentoo-2-5a974a1e72edcb3a4dfd1d8d809c934c3ec9d339.tar.bz2
gentoo-2-5a974a1e72edcb3a4dfd1d8d809c934c3ec9d339.zip
Version bump.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd-kernel/ChangeLog8
-rw-r--r--sys-cluster/drbd-kernel/drbd-kernel-8.0.7.ebuild52
-rw-r--r--sys-cluster/drbd-kernel/files/digest-drbd-kernel-8.0.73
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-cluster/drbd-kernel/ChangeLog b/sys-cluster/drbd-kernel/ChangeLog
index 203a4537b942..2e69092df3c4 100644
--- a/sys-cluster/drbd-kernel/ChangeLog
+++ b/sys-cluster/drbd-kernel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/drbd-kernel
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.3 2007/10/25 09:25:46 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.4 2007/11/03 18:43:13 xmerlin Exp $
+
+*drbd-kernel-8.0.7 (03 Nov 2007)
+
+ 03 Nov 2007; Christian Zoffoli <xmerlin@gentoo.org>
+ +drbd-kernel-8.0.7.ebuild:
+ Version bump.
*drbd-kernel-0.7.25 (25 Oct 2007)
diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.0.7.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.0.7.ebuild
new file mode 100644
index 000000000000..0a119e068e37
--- /dev/null
+++ b/sys-cluster/drbd-kernel/drbd-kernel-8.0.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 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.7.ebuild,v 1.1 2007/11/03 18:43:13 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/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