summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-06-16 23:35:05 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-06-16 23:35:05 +0000
commit744a4b0b4b478762bf53fd8d026f61938782ece8 (patch)
tree23aed82044abab3c468cefba2e90ed2762da866a /sys-cluster/drbd
parentVersion bump. (diff)
downloadgentoo-2-744a4b0b4b478762bf53fd8d026f61938782ece8.tar.gz
gentoo-2-744a4b0b4b478762bf53fd8d026f61938782ece8.tar.bz2
gentoo-2-744a4b0b4b478762bf53fd8d026f61938782ece8.zip
drbd-0.7.11 added to portage.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r--sys-cluster/drbd/ChangeLog7
-rw-r--r--sys-cluster/drbd/Manifest12
-rw-r--r--sys-cluster/drbd/drbd-0.7.11.ebuild83
-rw-r--r--sys-cluster/drbd/files/digest-drbd-0.7.111
4 files changed, 92 insertions, 11 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 63947d0481b4..6a08ae1c8cc5 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,11 @@
# 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.30 2005/06/14 09:34:21 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.31 2005/06/16 23:35:05 xmerlin Exp $
+
+*drbd-0.7.11 (17 Jun 2005)
+
+ 17 Jun 2005; Christian Zoffoli <xmerlin@gentoo.org> +drbd-0.7.11.ebuild:
+ drbd-0.7.11 added to portage.
14 Jun 2005; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.10.ebuild:
removed heartbeat runtime dependency. Closed bug #95660.
diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest
index 4cfe2c101bdb..9847f8a1badd 100644
--- a/sys-cluster/drbd/Manifest
+++ b/sys-cluster/drbd/Manifest
@@ -1,10 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 ea6e0566783ec39ba008ee1790790445 ChangeLog 5659
MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
MD5 1f4fc97c6b0ebe088c103071f8bcad82 drbd-0.6.12-r1.ebuild 2150
MD5 aa48416c4e37c69eb8b8091659b2a7b4 drbd-0.7.10.ebuild 2153
+MD5 fbd0cd9be72f95a7e6aec3e5e0419009 drbd-0.7.11.ebuild 2056
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 +12,4 @@ MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675
MD5 3c8f8e6ea02cda5bee2a5e3bc8731774 files/drbd-0.7-init 1627
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.4.1 (GNU/Linux)
-
-iD8DBQFCrqSugMUyd/cdjWsRAoelAJ9cE7fXM9MtNsaBWypV6cV0sw5LdwCfQnMY
-W15Cos8Lu8nCFP6ZBmXSWOY=
-=B2CH
------END PGP SIGNATURE-----
+MD5 58cd0979a7f3222afae119b1c4f35939 files/digest-drbd-0.7.11 63
diff --git a/sys-cluster/drbd/drbd-0.7.11.ebuild b/sys-cluster/drbd/drbd-0.7.11.ebuild
new file mode 100644
index 000000000000..3b3b2651087b
--- /dev/null
+++ b/sys-cluster/drbd/drbd-0.7.11.ebuild
@@ -0,0 +1,83 @@
+# 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.11.ebuild,v 1.1 2005/06/16 23:35:05 xmerlin Exp $
+
+inherit eutils versionator linux-mod
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+MY_MAJ_PV="$(get_version_component_range 1-2 ${PV})"
+DESCRIPTION="mirror/replicate block-devices across a network-connection"
+SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${P}.tar.gz"
+HOMEPAGE="http://www.drbd.org"
+
+IUSE=""
+
+DEPEND="virtual/linux-sources"
+RDEPEND=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-${MY_MAJ_PV}-module-Makefile.patch || die
+}
+
+src_compile() {
+ check_KV
+ set_arch_to_kernel
+
+ einfo ""
+ einfo "Your kernel-sources in /usr/src/linux-${KV} must be properly configured"
+ #einfo "and match the currently running kernel version ${KV}"
+ einfo "If otherwise -> build will fail."
+ einfo ""
+ einfo "Please don't use XFS with drbd (see drbd mailing list archives)"
+ einfo ""
+
+ if kernel_is 2 6; 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() {
+ make PREFIX=${D} install || die "install problem"
+
+ # gentoo-ish init-script
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/drbd-0.7-init drbd || die
+
+ # needed by drbd startup script
+ #keepdir /var/lib/drbd
+
+ # docs
+ dodoc README ChangeLog COPYING
+ dodoc documentation/NFS-Server-README.txt
+
+ # we put drbd.conf into docs
+ # it doesnt make sense to install a default conf in /etc
+ # put it to the docs
+ rm -f ${D}/etc/drbd.conf
+ dodoc scripts/drbd.conf || die
+ dodoc upgrade_0.6.x_to_0.7.0.txt upgrade_0.7.0_to_0.7.1.txt || die
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "Please remember to re-emerge drbd when you upgrade your kernel!"
+ einfo ""
+ einfo "Please copy and gunzip the configuration file"
+ einfo "from /usr/share/doc/${PF}/drbd.conf.gz to /etc"
+ einfo "and edit it to your needs. Helpful commands:"
+ einfo "man 5 drbd.conf"
+ einfo "man 8 drbdsetup"
+ einfo "man 8 drbdadm"
+ einfo ""
+}
diff --git a/sys-cluster/drbd/files/digest-drbd-0.7.11 b/sys-cluster/drbd/files/digest-drbd-0.7.11
new file mode 100644
index 000000000000..6777416521ca
--- /dev/null
+++ b/sys-cluster/drbd/files/digest-drbd-0.7.11
@@ -0,0 +1 @@
+MD5 0e6d9b1ab34751772e0aa1a81e9b6185 drbd-0.7.11.tar.gz 278694