From b08f486a7fbe45b8924fe3ce83e208174cb591e5 Mon Sep 17 00:00:00 2001 From: Christian Zoffoli Date: Sun, 12 Mar 2006 22:58:42 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.0.51.22-r3 --- sys-cluster/drbd/ChangeLog | 7 +- sys-cluster/drbd/Manifest | 10 +-- sys-cluster/drbd/drbd-0.7.17.ebuild | 81 +++++++++++++++++++++++ sys-cluster/drbd/files/digest-drbd-0.7.17 | 1 + 4 files changed, 94 insertions(+), 5 deletions(-) create mode 100644 sys-cluster/drbd/drbd-0.7.17.ebuild create mode 100644 sys-cluster/drbd/files/digest-drbd-0.7.17 diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index 6d5a008b8783..5ebf2ce52e81 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.38 2006/02/27 00:12:47 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.39 2006/03/12 22:58:42 xmerlin Exp $ + +*drbd-0.7.17 (13 Mar 2006) + + 13 Mar 2006; Christian Zoffoli +drbd-0.7.17.ebuild: + Version bump. *drbd-0.7.16 (27 Feb 2006) diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest index de3b9ba136ee..7c1c2601ca3c 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 4766f3bb9cf9d05eed8267f3caa34e7a ChangeLog 6823 +MD5 b2b87af39a24fd1532603c10ed7a9dab ChangeLog 6943 MD5 028f168b40983177f6460d8e579e5487 drbd-0.6.12-r1.ebuild 2147 MD5 c7bfc9090daaedc15842d7e368de655d drbd-0.7.10.ebuild 2153 MD5 f1646b59b26ce75ee21f4461d63a1328 drbd-0.7.11.ebuild 2158 @@ -9,6 +9,7 @@ MD5 d7ce4502d2e2f13699f429374e7615ab drbd-0.7.14.ebuild 2076 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 MD5 bee97436b18fa962a5009cc0b5ab7785 drbd-0.7.15.ebuild 2077 MD5 cb8d65ee63bc874a12bdbf5b572467f7 drbd-0.7.16.ebuild 2077 +MD5 1b54ebdcfafe3cafc133a3f3e03d4271 drbd-0.7.17.ebuild 2077 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 @@ -22,10 +23,11 @@ MD5 3c8f8e6ea02cda5bee2a5e3bc8731774 files/drbd-0.7-init 1627 MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 MD5 d94cde508a8950d7241a41bc15739a22 files/digest-drbd-0.7.15 63 MD5 149bd0bb3f9d149593bdb3476dee5d6f files/digest-drbd-0.7.16 63 +MD5 321a2f5814de043fcc03f5f34599c6ed files/digest-drbd-0.7.17 63 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFEAlKqgMUyd/cdjWsRAjFWAJ9zSDy9tYjg+uX3SGR9x1OgdZ/xQQCfel81 -VrfxhScSRZV46eG+2j0frwQ= -=sbbY +iD8DBQFEFLZ2gMUyd/cdjWsRArs4AKCBvlcUUVqbAl2qmi/E4juX73SvJACfUofU +1yPzPlcUtlJBDPJUbO3Uqro= +=RBR9 -----END PGP SIGNATURE----- diff --git a/sys-cluster/drbd/drbd-0.7.17.ebuild b/sys-cluster/drbd/drbd-0.7.17.ebuild new file mode 100644 index 000000000000..0490432041ee --- /dev/null +++ b/sys-cluster/drbd/drbd-0.7.17.ebuild @@ -0,0 +1,81 @@ +# 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-0.7.17.ebuild,v 1.1 2006/03/12 22:58:42 xmerlin Exp $ + +inherit eutils versionator linux-mod + +LICENSE="GPL-2" +KEYWORDS="~ppc ~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="" +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 "" + + 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 + 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.17 b/sys-cluster/drbd/files/digest-drbd-0.7.17 new file mode 100644 index 000000000000..977c999e842f --- /dev/null +++ b/sys-cluster/drbd/files/digest-drbd-0.7.17 @@ -0,0 +1 @@ +MD5 01441cd141b5b7b693b6b0cd61a2b8b1 drbd-0.7.17.tar.gz 286720 -- 2.26.2