diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-06-04 14:39:29 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-06-04 14:39:29 +0000 |
commit | b3100738d6c9e0e0dd0c1b488a84bf7c509b69a0 (patch) | |
tree | 308cd1b17133ae053e003c431afd6313ba213af0 /sys-cluster/drbd | |
parent | app-admin/eselect-oodict out of mask. (diff) | |
download | gentoo-2-b3100738d6c9e0e0dd0c1b488a84bf7c509b69a0.tar.gz gentoo-2-b3100738d6c9e0e0dd0c1b488a84bf7c509b69a0.tar.bz2 gentoo-2-b3100738d6c9e0e0dd0c1b488a84bf7c509b69a0.zip |
Version bump.
(Portage version: 2203-svn)
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/drbd/Manifest | 14 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0_pre3.ebuild | 83 | ||||
-rw-r--r-- | sys-cluster/drbd/files/digest-drbd-8.0_pre3 | 1 |
4 files changed, 93 insertions, 12 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index 8f1aa27bfb82..e8bbd70ec408 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.45 2006/05/27 13:20:20 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.46 2006/06/04 14:39:29 xmerlin Exp $ + +*drbd-8.0_pre3 (04 Jun 2006) + + 04 Jun 2006; Christian Zoffoli <xmerlin@gentoo.org> +drbd-8.0_pre3.ebuild: + Version bump. *drbd-0.7.19 (27 May 2006) diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest index abf2cff0cfe1..359533d57700 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,12 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 130820e3d682559b7176fec8eee751f9 ChangeLog 7806 +MD5 472f707f4cd3d26c870468ec19994853 ChangeLog 7930 MD5 028f168b40983177f6460d8e579e5487 drbd-0.6.12-r1.ebuild 2147 MD5 f23e21a3827cbddf8887ce6fd26b0321 drbd-0.7.11.ebuild 2120 MD5 07099ae5c85612ce7fd90dfc99698c5d drbd-0.7.17.ebuild 2038 MD5 1ebbf2d53a34cbe5e3c6a56c09fe4933 drbd-0.7.18.ebuild 2038 MD5 9bf690601dba230e454d7f8cfa5efeaf drbd-0.7.19.ebuild 1930 +MD5 62766ab15c2634d4b679709c85e92f59 drbd-8.0_pre3.ebuild 2053 MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675 MD5 463c9c89c7d3f156fc5581070abce14d files/0.6.12-conf.d 69 MD5 4ab78154d6a32d13d416f9915ad4bc28 files/0.6.12-init 701 @@ -17,13 +15,7 @@ MD5 58cd0979a7f3222afae119b1c4f35939 files/digest-drbd-0.7.11 63 MD5 321a2f5814de043fcc03f5f34599c6ed files/digest-drbd-0.7.17 63 MD5 8f3348b9657b9e7c63c1e1afd8efbe83 files/digest-drbd-0.7.18 63 MD5 5d6f5827ab2226e265c9f8349d4de960 files/digest-drbd-0.7.19 63 +MD5 5985c0630131bb98f8fb42f3b23fa3b3 files/digest-drbd-8.0_pre3 64 MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 MD5 a14de7575636de014d1338331c965fc3 files/drbd-0.7.rc 1625 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEeGFVgMUyd/cdjWsRAiz9AJ9InkoEOVjBdg2ewWsnBgPzsZ2UfgCfYPVX -x65W9gK9Tn4tuEOUQyN94Yg= -=gEnI ------END PGP SIGNATURE----- diff --git a/sys-cluster/drbd/drbd-8.0_pre3.ebuild b/sys-cluster/drbd/drbd-8.0_pre3.ebuild new file mode 100644 index 000000000000..31f57b088be7 --- /dev/null +++ b/sys-cluster/drbd/drbd-8.0_pre3.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_pre3.ebuild,v 1.1 2006/06/04 14:39:29 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_pre3 b/sys-cluster/drbd/files/digest-drbd-8.0_pre3 new file mode 100644 index 000000000000..9531d084dc53 --- /dev/null +++ b/sys-cluster/drbd/files/digest-drbd-8.0_pre3 @@ -0,0 +1 @@ +MD5 816784fb0bbf391345c65e1637798307 drbd-8.0pre3.tar.gz 337920 |