summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2008-11-14 12:08:04 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2008-11-14 12:08:04 +0000
commit3d789a14be0807cd607985aba3b735a54f6892d4 (patch)
tree3668d62e07cba5fb1029549f2f4730069d40edef
parentVersion bump. (diff)
downloadgentoo-2-3d789a14be0807cd607985aba3b735a54f6892d4.tar.gz
gentoo-2-3d789a14be0807cd607985aba3b735a54f6892d4.tar.bz2
gentoo-2-3d789a14be0807cd607985aba3b735a54f6892d4.zip
Version bump.
(Portage version: 2.1.4.4)
-rw-r--r--sys-cluster/drbd/ChangeLog7
-rw-r--r--sys-cluster/drbd/drbd-8.0.14.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 8d9666264290..e769f12d5b07 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/drbd
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.90 2008/11/12 22:42:53 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.91 2008/11/14 12:08:04 xmerlin Exp $
+
+*drbd-8.0.14 (14 Nov 2008)
+
+ 14 Nov 2008; Christian Zoffoli <xmerlin@gentoo.org> +drbd-8.0.14.ebuild:
+ Version bump.
12 Nov 2008; Christian Zoffoli <xmerlin@gentoo.org> drbd-8.0.13.ebuild:
Stable on x86 and amd64.
diff --git a/sys-cluster/drbd/drbd-8.0.14.ebuild b/sys-cluster/drbd/drbd-8.0.14.ebuild
new file mode 100644
index 000000000000..94bc252eba40
--- /dev/null
+++ b/sys-cluster/drbd/drbd-8.0.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.14.ebuild,v 1.1 2008/11/14 12:08:04 xmerlin Exp $
+
+inherit eutils versionator
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~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=""
+RDEPEND=""
+PDEPEND="~sys-cluster/drbd-kernel-${PV}"
+
+SLOT="0"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_compile() {
+ emake -j1 tools || die "compile problem"
+}
+
+src_install() {
+ emake PREFIX="${D}" install-tools || die "install problem"
+
+ # gentoo-ish init-script
+ newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die
+
+ # docs
+ dodoc README ChangeLog ROADMAP INSTALL
+
+ # 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
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Please copy and gunzip the configuration file"
+ einfo "drbd.conf from /usr/share/doc/${PF} 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 ""
+}