diff options
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 5 | ||||
-rw-r--r-- | sys-cluster/drbd/Manifest | 12 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-0.7.10.ebuild | 11 |
3 files changed, 13 insertions, 15 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index 51025330ad1a..6315d4a50ef2 100644 --- a/sys-cluster/drbd/ChangeLog +++ b/sys-cluster/drbd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-cluster/drbd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.25 2005/03/01 12:11:40 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.26 2005/03/02 18:33:25 xmerlin Exp $ + + 02 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.10.ebuild: + fixed compilation with 2.4 kernels (closed bug #83803) 01 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> files/drbd-0.7-init: improved init script (now it works better with udev) diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest index fdb75b22f90d..65816f068ed5 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,10 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 9e6fb6eb0b45d5e0031d1912882bc9b5 ChangeLog 4997 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 MD5 1f4fc97c6b0ebe088c103071f8bcad82 drbd-0.6.12-r1.ebuild 2150 -MD5 eab6050c845e26de3b97f2d43ab141ec drbd-0.7.10.ebuild 2045 +MD5 3aae87554262577962d5d53122a6c907 drbd-0.7.10.ebuild 2212 MD5 463c9c89c7d3f156fc5581070abce14d files/0.6.12-conf.d 69 MD5 4ab78154d6a32d13d416f9915ad4bc28 files/0.6.12-init 701 MD5 7416c44daab264a36cc8c5a2c35e757f files/0.6.12-scripts-Makefile.patch 1072 @@ -14,10 +11,3 @@ MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675 MD5 e33214ec0e90e010d12ce520b048d44a files/drbd-0.7-init 1595 MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 MD5 96f405e763a4e7f0735cedc0277c3703 files/digest-drbd-0.7.10 63 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCJFwEgMUyd/cdjWsRAtrYAJ9VXsECr5pLp/3LKobTmS+HCZtztACfaACl -d85uFAGIk7qr3Bz/Hv9rG98= -=LwNb ------END PGP SIGNATURE----- diff --git a/sys-cluster/drbd/drbd-0.7.10.ebuild b/sys-cluster/drbd/drbd-0.7.10.ebuild index 2fa491fa09de..be2b3111959d 100644 --- a/sys-cluster/drbd/drbd-0.7.10.ebuild +++ b/sys-cluster/drbd/drbd-0.7.10.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.10.ebuild,v 1.2 2005/02/22 02:05:28 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.10.ebuild,v 1.3 2005/03/02 18:33:25 xmerlin Exp $ -inherit eutils versionator linux-mod +inherit eutils versionator linux-mod check-kernel LICENSE="GPL-2" KEYWORDS="x86" @@ -36,7 +36,12 @@ src_compile() { einfo "Please don't use XFS with drbd (see drbd mailing list archives)" einfo "" - emake KDIR=${KERNEL_DIR} || die "compile problem" + if is_2_5_kernel || is_2_6_kernel; then + emake KDIR=${KERNEL_DIR} || die "compile problem" + else + cp -R /usr/src/linux-${KV} ${WORKDIR} + emake KDIR=/${WORKDIR}/linux-${KV} || die "compile problem" + fi } src_install() { |