diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-05-10 16:26:15 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-05-10 16:26:15 +0000 |
commit | f425cf0a0ed371dd5143937602fbd5f187ae623c (patch) | |
tree | 0620c8d008c34bac75646ee37c3ef1ca7fdddda0 /sys-cluster/drbd | |
parent | Stable x86. (diff) | |
download | gentoo-2-f425cf0a0ed371dd5143937602fbd5f187ae623c.tar.gz gentoo-2-f425cf0a0ed371dd5143937602fbd5f187ae623c.tar.bz2 gentoo-2-f425cf0a0ed371dd5143937602fbd5f187ae623c.zip |
Version Bump, closed bug #132683.
(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 | 18 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-0.7.18.ebuild | 81 | ||||
-rw-r--r-- | sys-cluster/drbd/files/digest-drbd-0.7.18 | 1 |
4 files changed, 93 insertions, 14 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index 6c8b5b9af342..379b0c08e61e 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.40 2006/03/24 15:23:30 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.41 2006/05/10 16:26:15 xmerlin Exp $ + +*drbd-0.7.18 (10 May 2006) + + 10 May 2006; Christian Zoffoli <xmerlin@gentoo.org> +drbd-0.7.18.ebuild: + Version Bump, closed bug #132683. 24 Mar 2006; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.17.ebuild: Stable x86. diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest index 6933c1212016..0b722a59fcef 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,15 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 c3d2d04ab7c710527a23e6284ee10cd2 ChangeLog 7032 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 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 a8c16fe63891a0f9ed3f38dfb935c8d2 drbd-0.7.17.ebuild 2076 +MD5 7b701f7abd66b45338bcd2b77d453962 drbd-0.7.18.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 @@ -19,15 +16,10 @@ MD5 3959588a14b9fba5df432a29d00fa63f files/digest-drbd-0.6.12-r1 63 MD5 96f405e763a4e7f0735cedc0277c3703 files/digest-drbd-0.7.10 63 MD5 58cd0979a7f3222afae119b1c4f35939 files/digest-drbd-0.7.11 63 MD5 3e85c9a71ad19acd37dccb48d7b1da92 files/digest-drbd-0.7.14 63 -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) - -iD8DBQFEJB6zgMUyd/cdjWsRArzXAJ4nwClAa3lM0uEjQqj5jbBNeVVTOgCfSFdh -oWuG8C66fJT3shpQGMaoKcg= -=WT+R ------END PGP SIGNATURE----- +MD5 8f3348b9657b9e7c63c1e1afd8efbe83 files/digest-drbd-0.7.18 63 +MD5 3c8f8e6ea02cda5bee2a5e3bc8731774 files/drbd-0.7-init 1627 +MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 +MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 diff --git a/sys-cluster/drbd/drbd-0.7.18.ebuild b/sys-cluster/drbd/drbd-0.7.18.ebuild new file mode 100644 index 000000000000..b3999f4a3380 --- /dev/null +++ b/sys-cluster/drbd/drbd-0.7.18.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.18.ebuild,v 1.1 2006/05/10 16:26:15 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.18 b/sys-cluster/drbd/files/digest-drbd-0.7.18 new file mode 100644 index 000000000000..d369e1c78ce8 --- /dev/null +++ b/sys-cluster/drbd/files/digest-drbd-0.7.18 @@ -0,0 +1 @@ +MD5 baf00458ab32a440ab32e034bb26095e drbd-0.7.18.tar.gz 286720 |