summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 01:09:22 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-01-21 01:09:22 +0000
commitb454a300bad869953c073644fade1f3c2d79c522 (patch)
tree385777d08e2e5eda3198ee94112dee3aa13d4609 /sys-cluster/drbd
parentMarked ppc (diff)
downloadgentoo-2-b454a300bad869953c073644fade1f3c2d79c522.tar.gz
gentoo-2-b454a300bad869953c073644fade1f3c2d79c522.tar.bz2
gentoo-2-b454a300bad869953c073644fade1f3c2d79c522.zip
added ebuild for 0.7.8, renamed a patch (used by 0.7.7 and 0.7.8)
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r--sys-cluster/drbd/ChangeLog10
-rw-r--r--sys-cluster/drbd/Manifest24
-rw-r--r--sys-cluster/drbd/drbd-0.6.12-r1.ebuild4
-rw-r--r--sys-cluster/drbd/drbd-0.7.7.ebuild4
-rw-r--r--sys-cluster/drbd/drbd-0.7.8.ebuild75
-rw-r--r--sys-cluster/drbd/files/digest-drbd-0.7.81
-rw-r--r--sys-cluster/drbd/files/drbd-0.7-module-Makefile.patch (renamed from sys-cluster/drbd/files/drbd-0.7.7-module-Makefile.patch)0
7 files changed, 97 insertions, 21 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index b352ae60ae4b..7bc9387f6df3 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,14 @@
# 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.9 2005/01/14 01:53:51 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.10 2005/01/21 01:09:22 xmerlin Exp $
+
+*drbd-0.7.8 (21 Jan 2005)
+
+ 21 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org>
+ +files/drbd-0.7-module-Makefile.patch,
+ -files/drbd-0.7.7-module-Makefile.patch, drbd-0.7.7.ebuild,
+ +drbd-0.7.8.ebuild:
+ added ebuild for 0.7.8, renamed a patch (used by 0.7.7 and 0.7.8)
*drbd-0.7.7 (13 Jan 2005)
diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest
index 3d07e582345c..59618a1f28b6 100644
--- a/sys-cluster/drbd/Manifest
+++ b/sys-cluster/drbd/Manifest
@@ -1,23 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7cbf68c3a26d57d2b3082e28dcb43e44 drbd-0.7.7.ebuild 1828
-MD5 8221ca6b8fa8639e09eedc9b2deba9c8 drbd-0.6.12-r1.ebuild 2100
-MD5 e0f16955053110f7679b3718dc861563 ChangeLog 2304
+MD5 6351909cc6325795ecafa316b33db5eb ChangeLog 2579
MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
+MD5 fc75a9df7454b241fb86fc4b7563d778 drbd-0.7.7.ebuild 1842
+MD5 69a6815e95d71ce723dae24520319782 drbd-0.6.12-r1.ebuild 2100
+MD5 fc75a9df7454b241fb86fc4b7563d778 drbd-0.7.8.ebuild 1842
MD5 463c9c89c7d3f156fc5581070abce14d files/0.6.12-conf.d 69
-MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7.7-module-Makefile.patch 948
MD5 4ab78154d6a32d13d416f9915ad4bc28 files/0.6.12-init 701
-MD5 965d3d560fe5fee18c3fdd1bec9748fd files/digest-drbd-0.7.7 62
-MD5 a977b79c0da39dcb625d9aeb8287d60e files/drbd-0.7-init 1189
MD5 7416c44daab264a36cc8c5a2c35e757f files/0.6.12-scripts-Makefile.patch 1072
MD5 52dc2e272f064349f8f70277159d4a5f files/0.6.12-module-Makefile.patch 776
MD5 3959588a14b9fba5df432a29d00fa63f files/digest-drbd-0.6.12-r1 63
MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB6k+OI1lqEGTUzyQRAgPPAJ43AvmKHvHpy36RWJGqHCVXBfLjZQCfRIpH
-JEr7eM8SofzEiXxw2xVLreE=
-=Iacq
------END PGP SIGNATURE-----
+MD5 a977b79c0da39dcb625d9aeb8287d60e files/drbd-0.7-init 1189
+MD5 965d3d560fe5fee18c3fdd1bec9748fd files/digest-drbd-0.7.7 62
+MD5 4f71ba1c534aebcc1f20da6afd4d10f7 files/digest-drbd-0.7.8 62
+MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948
diff --git a/sys-cluster/drbd/drbd-0.6.12-r1.ebuild b/sys-cluster/drbd/drbd-0.6.12-r1.ebuild
index e3e7921811e3..4c1f8a873ce3 100644
--- a/sys-cluster/drbd/drbd-0.6.12-r1.ebuild
+++ b/sys-cluster/drbd/drbd-0.6.12-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.6.12-r1.ebuild,v 1.3 2004/09/20 20:50:52 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.6.12-r1.ebuild,v 1.4 2005/01/21 01:09:22 xmerlin Exp $
inherit eutils
diff --git a/sys-cluster/drbd/drbd-0.7.7.ebuild b/sys-cluster/drbd/drbd-0.7.7.ebuild
index ca2d50c3fe3e..bd59bac96e99 100644
--- a/sys-cluster/drbd/drbd-0.7.7.ebuild
+++ b/sys-cluster/drbd/drbd-0.7.7.ebuild
@@ -1,6 +1,6 @@
# 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.7.ebuild,v 1.1 2005/01/14 01:53:51 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.7.ebuild,v 1.2 2005/01/21 01:09:22 xmerlin Exp $
inherit eutils versionator linux-mod
@@ -21,7 +21,7 @@ SLOT="0"
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${P}-module-Makefile.patch || die
+ epatch ${FILESDIR}/${PN}-${MY_MAJ_PV}-module-Makefile.patch || die
}
src_compile() {
diff --git a/sys-cluster/drbd/drbd-0.7.8.ebuild b/sys-cluster/drbd/drbd-0.7.8.ebuild
new file mode 100644
index 000000000000..0dd42f6fd17c
--- /dev/null
+++ b/sys-cluster/drbd/drbd-0.7.8.ebuild
@@ -0,0 +1,75 @@
+# 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.8.ebuild,v 1.1 2005/01/21 01:09:22 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=">=sys-cluster/heartbeat-1.0.4"
+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 ""
+
+ emake KDIR=${KERNEL_DIR} || die
+}
+
+src_install() {
+ make PREFIX=${D} install
+
+ # 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
+}
+
+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.8 b/sys-cluster/drbd/files/digest-drbd-0.7.8
new file mode 100644
index 000000000000..93cde7cac660
--- /dev/null
+++ b/sys-cluster/drbd/files/digest-drbd-0.7.8
@@ -0,0 +1 @@
+MD5 566a4ce765706c66718150bd802b05ed drbd-0.7.8.tar.gz 277231
diff --git a/sys-cluster/drbd/files/drbd-0.7.7-module-Makefile.patch b/sys-cluster/drbd/files/drbd-0.7-module-Makefile.patch
index ebb5a6695376..ebb5a6695376 100644
--- a/sys-cluster/drbd/files/drbd-0.7.7-module-Makefile.patch
+++ b/sys-cluster/drbd/files/drbd-0.7-module-Makefile.patch