summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r--sys-cluster/drbd/ChangeLog7
-rw-r--r--sys-cluster/drbd/Manifest10
-rw-r--r--sys-cluster/drbd/drbd-0.7.9.ebuild76
-rw-r--r--sys-cluster/drbd/files/digest-drbd-0.7.91
4 files changed, 89 insertions, 5 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 1ec33a855762..f9debc17a2e1 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.15 2005/01/25 14:38:58 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.16 2005/01/25 16:46:54 xmerlin Exp $
+
+*drbd-0.7.9 (25 Jan 2005)
+
+ 25 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> +drbd-0.7.9.ebuild:
+ official 0.7.9 release with bio patch merged
25 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.8-r1.ebuild,
drbd-0.7.8.ebuild:
diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest
index 101bc6f8092e..d68d1f6071d0 100644
--- a/sys-cluster/drbd/Manifest
+++ b/sys-cluster/drbd/Manifest
@@ -1,11 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 6d5994c4576a46b3fa3ad74d9f598752 ChangeLog 3427
+MD5 f5525810938d94f0e22c072e3e6b8e47 ChangeLog 3576
MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
MD5 b149aaae0a018b3d665b28b7c8ac2b41 drbd-0.6.12-r1.ebuild 2136
MD5 0233bd13d2b42295fc5940d84b0b03ba drbd-0.7.8.ebuild 1962
MD5 47a164a35240c60680aaa5899c138422 drbd-0.7.8-r1.ebuild 2021
+MD5 7c5ef99ced8f33863725ba000560c655 drbd-0.7.9.ebuild 1962
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
@@ -17,10 +18,11 @@ MD5 4f71ba1c534aebcc1f20da6afd4d10f7 files/digest-drbd-0.7.8 62
MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948
MD5 b46416329e2a7fe113723dc825e3250e files/drbd-0.7-bio.patch 6699
MD5 4f71ba1c534aebcc1f20da6afd4d10f7 files/digest-drbd-0.7.8-r1 62
+MD5 d90c0b05f1d6b0d03aa540b0afc34701 files/digest-drbd-0.7.9 62
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFB9q3WgMUyd/cdjWsRAnp1AJ9qM4qpZ/sRi3IQVT8IREXlCLJEzQCdFJkB
-fQlpn81gZwxLnsZOg3J2+Z0=
-=zDah
+iD8DBQFB9sxegMUyd/cdjWsRArqzAJ4ttxMaTq8ELn+sp2YCG82abWr9OQCdEuqZ
+JtDsr4u2dgaajX+Q2Jn7MxI=
+=K0t+
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/drbd/drbd-0.7.9.ebuild b/sys-cluster/drbd/drbd-0.7.9.ebuild
new file mode 100644
index 000000000000..661ef2ba18fb
--- /dev/null
+++ b/sys-cluster/drbd/drbd-0.7.9.ebuild
@@ -0,0 +1,76 @@
+# 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.9.ebuild,v 1.1 2005/01/25 16:46:55 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 "compile problem"
+}
+
+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.9 b/sys-cluster/drbd/files/digest-drbd-0.7.9
new file mode 100644
index 000000000000..de157e0b4cdb
--- /dev/null
+++ b/sys-cluster/drbd/files/digest-drbd-0.7.9
@@ -0,0 +1 @@
+MD5 d7b227064b171a8b488aee6a481731f5 drbd-0.7.9.tar.gz 277353