summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2006-10-14 11:27:42 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2006-10-14 11:27:42 +0000
commit23b9872fdd6d358c70b081e2141f160f6f17b2b4 (patch)
treed62bd001afa09c345764298d708f2ae1c44803ee /sys-cluster
parentUse kde.eclass admindir updating. (diff)
downloadgentoo-2-23b9872fdd6d358c70b081e2141f160f6f17b2b4.tar.gz
gentoo-2-23b9872fdd6d358c70b081e2141f160f6f17b2b4.tar.bz2
gentoo-2-23b9872fdd6d358c70b081e2141f160f6f17b2b4.zip
Version bump.
(Portage version: 2.1-r1)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd/ChangeLog7
-rw-r--r--sys-cluster/drbd/drbd-8.0_pre5.ebuild83
-rw-r--r--sys-cluster/drbd/files/digest-drbd-8.0_pre53
3 files changed, 92 insertions, 1 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 32492cbf6a6e..14cb375e5d51 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/drbd
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.51 2006/08/24 19:07:11 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.52 2006/10/14 11:27:42 xmerlin Exp $
+
+*drbd-8.0_pre5 (14 Oct 2006)
+
+ 14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> +drbd-8.0_pre5.ebuild:
+ Version bump.
24 Aug 2006; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.21.ebuild:
Stable x86.
diff --git a/sys-cluster/drbd/drbd-8.0_pre5.ebuild b/sys-cluster/drbd/drbd-8.0_pre5.ebuild
new file mode 100644
index 000000000000..aa1fbd776108
--- /dev/null
+++ b/sys-cluster/drbd/drbd-8.0_pre5.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0_pre5.ebuild,v 1.1 2006/10/14 11:27:42 xmerlin Exp $
+
+inherit eutils versionator linux-mod
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+MY_PV="${PV/_/}"
+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}/${PN}-${MY_PV}.tar.gz"
+HOMEPAGE="http://www.drbd.org"
+
+IUSE=""
+
+DEPEND="virtual/linux-sources"
+RDEPEND=""
+SLOT="0"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+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 "If otherwise -> build will fail."
+ 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
+ newinitd ${FILESDIR}/${PN}-0.7.rc ${PN} || die
+
+ # needed by drbd startup script
+ #keepdir /var/lib/drbd
+
+ # docs
+ dodoc README ChangeLog COPYING ROADMAP INSTALL
+ #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*.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 "man 8 drbddisk"
+ einfo "man 8 drbdmeta"
+ einfo ""
+}
diff --git a/sys-cluster/drbd/files/digest-drbd-8.0_pre5 b/sys-cluster/drbd/files/digest-drbd-8.0_pre5
new file mode 100644
index 000000000000..7aa6b6b67406
--- /dev/null
+++ b/sys-cluster/drbd/files/digest-drbd-8.0_pre5
@@ -0,0 +1,3 @@
+MD5 3a10583e412bed5a215b3ef10b766ec9 drbd-8.0pre5.tar.gz 460800
+RMD160 31a49fbfa55511891746c5c790653ce2ca30d0be drbd-8.0pre5.tar.gz 460800
+SHA256 4dfecf5ef33761f1ae2b23f4f1b582357c8e8c60f7579fe30570e291035ba489 drbd-8.0pre5.tar.gz 460800