# 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 <xmerlin@gentoo.org> +drbd-0.7.17.ebuild:
+ Version bump.
*drbd-0.7.16 (27 Feb 2006)
-----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
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
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-----
--- /dev/null
+# 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 ""
+}