diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-08-29 21:40:46 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-08-29 21:40:46 +0000 |
commit | b2abf874ade9762e1807da0a3bfa311dba66a67b (patch) | |
tree | c20dad52565c3c51ee2651d344cce9bab4560c68 /sys-cluster/drbd | |
parent | Stable on hppa. (diff) | |
download | historical-b2abf874ade9762e1807da0a3bfa311dba66a67b.tar.gz historical-b2abf874ade9762e1807da0a3bfa311dba66a67b.tar.bz2 historical-b2abf874ade9762e1807da0a3bfa311dba66a67b.zip |
added drbd-0.7.12 to portage.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/drbd/Manifest | 20 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-0.7.12.ebuild | 83 | ||||
-rw-r--r-- | sys-cluster/drbd/files/digest-drbd-0.7.12 | 1 |
4 files changed, 106 insertions, 5 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index c0b2ac461106..10b317afaa99 100644 --- a/sys-cluster/drbd/ChangeLog +++ b/sys-cluster/drbd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/drbd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.32 2005/06/17 09:23:26 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.33 2005/08/29 21:40:46 xmerlin Exp $ + +*drbd-0.7.12 (29 Aug 2005) + + 29 Aug 2005; Christian Zoffoli <xmerlin@gentoo.org> +drbd-0.7.12.ebuild: + added drbd-0.7.12 to portage. 17 Jun 2005; David Holm <dholm@gentoo.org> drbd-0.7.11.ebuild: Added to ~ppc. diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest index ca3441152c4d..665a50fa05fc 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,15 +1,27 @@ -MD5 9ebee06accad9b3c123aee23a72c0068 ChangeLog 5876 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1ddee6e25d035ef5e05fd1f0dd5cbf6d ChangeLog 6014 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 MD5 1f4fc97c6b0ebe088c103071f8bcad82 drbd-0.6.12-r1.ebuild 2150 MD5 aa48416c4e37c69eb8b8091659b2a7b4 drbd-0.7.10.ebuild 2153 MD5 93f80771f919420c83ad70b0ba78c88f drbd-0.7.11.ebuild 2157 -MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675 -MD5 52dc2e272f064349f8f70277159d4a5f files/0.6.12-module-Makefile.patch 776 -MD5 7416c44daab264a36cc8c5a2c35e757f files/0.6.12-scripts-Makefile.patch 1072 +MD5 49d1136bf34fc8aaf1c502886b81ed1a drbd-0.7.12.ebuild 2159 MD5 463c9c89c7d3f156fc5581070abce14d files/0.6.12-conf.d 69 MD5 4ab78154d6a32d13d416f9915ad4bc28 files/0.6.12-init 701 +MD5 7416c44daab264a36cc8c5a2c35e757f files/0.6.12-scripts-Makefile.patch 1072 +MD5 52dc2e272f064349f8f70277159d4a5f files/0.6.12-module-Makefile.patch 776 MD5 3959588a14b9fba5df432a29d00fa63f files/digest-drbd-0.6.12-r1 63 +MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675 MD5 3c8f8e6ea02cda5bee2a5e3bc8731774 files/drbd-0.7-init 1627 MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 MD5 96f405e763a4e7f0735cedc0277c3703 files/digest-drbd-0.7.10 63 MD5 58cd0979a7f3222afae119b1c4f35939 files/digest-drbd-0.7.11 63 +MD5 dcc9d6800aecb83eff0ae29983c1faf2 files/digest-drbd-0.7.12 63 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFDE4IFgMUyd/cdjWsRAk8bAJ9w5NhuU0f+7NOUnl0biuIjnA9mCwCeLIl5 +jCk9mwBIIEq4nstXDNAxAqs= +=IVwI +-----END PGP SIGNATURE----- diff --git a/sys-cluster/drbd/drbd-0.7.12.ebuild b/sys-cluster/drbd/drbd-0.7.12.ebuild new file mode 100644 index 000000000000..76e3df2bdc61 --- /dev/null +++ b/sys-cluster/drbd/drbd-0.7.12.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.12.ebuild,v 1.1 2005/08/29 21:40:46 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 "" + einfo "Please don't use XFS with drbd (see drbd mailing list archives)" + 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.12 b/sys-cluster/drbd/files/digest-drbd-0.7.12 new file mode 100644 index 000000000000..927d1993bef8 --- /dev/null +++ b/sys-cluster/drbd/files/digest-drbd-0.7.12 @@ -0,0 +1 @@ +MD5 5f24871be9ff319f9a86ca8a609d0657 drbd-0.7.12.tar.gz 286720 |