diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-25 17:01:43 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-25 17:01:43 +0000 |
commit | 4f0b04032334bdaab09c2fa6e3c90a4b6b80b098 (patch) | |
tree | 3eb1dae375da6b54198cc7f26d1c97e47dc36857 /sys-cluster/drbd | |
parent | Stable for PPC (bug #333431). (diff) | |
download | historical-4f0b04032334bdaab09c2fa6e3c90a4b6b80b098.tar.gz historical-4f0b04032334bdaab09c2fa6e3c90a4b6b80b098.tar.bz2 historical-4f0b04032334bdaab09c2fa6e3c90a4b6b80b098.zip |
Drop old.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-0.7.24-r1.ebuild | 62 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-0.7.25.ebuild | 62 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.11.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.12.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.13.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.14.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.6-r1.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.7.ebuild | 57 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.8.ebuild | 64 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.2.ebuild | 67 | ||||
-rwxr-xr-x | sys-cluster/drbd/files/drbd-0.7.rc | 82 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.0.8-missing-include.patch | 11 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.3.2-bitsperlong.h.patch | 35 |
14 files changed, 9 insertions, 726 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index 5cfca5897216..45cfa0ecf7b3 100644 --- a/sys-cluster/drbd/ChangeLog +++ b/sys-cluster/drbd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/drbd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.103 2010/08/13 07:18:17 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.104 2010/08/25 17:00:58 xarthisius Exp $ + + 25 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> + -drbd-0.7.24-r1.ebuild, -drbd-0.7.25.ebuild, -files/drbd-0.7.rc, + -drbd-8.0.6-r1.ebuild, -drbd-8.0.7.ebuild, -drbd-8.0.8.ebuild, + -files/drbd-8.0.8-missing-include.patch, -drbd-8.0.11.ebuild, + -drbd-8.0.12.ebuild, -drbd-8.0.13.ebuild, -drbd-8.0.14.ebuild, + -drbd-8.3.2.ebuild, -files/drbd-8.3.2-bitsperlong.h.patch: + Drop old. 13 Aug 2010; Christian Faulhammer <fauli@gentoo.org> drbd-8.3.8.1.ebuild: stable x86, bug 294880 diff --git a/sys-cluster/drbd/drbd-0.7.24-r1.ebuild b/sys-cluster/drbd/drbd-0.7.24-r1.ebuild deleted file mode 100644 index 95bb9147e2d6..000000000000 --- a/sys-cluster/drbd/drbd-0.7.24-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.24-r1.ebuild,v 1.4 2008/02/25 14:37:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 ~ppc 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || 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 - 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() { - 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/drbd-0.7.25.ebuild b/sys-cluster/drbd/drbd-0.7.25.ebuild deleted file mode 100644 index 524a63db19f1..000000000000 --- a/sys-cluster/drbd/drbd-0.7.25.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.25.ebuild,v 1.2 2008/02/25 14:37:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || 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 - 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() { - 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/drbd-8.0.11.ebuild b/sys-cluster/drbd/drbd-8.0.11.ebuild deleted file mode 100644 index e43cadfa5595..000000000000 --- a/sys-cluster/drbd/drbd-8.0.11.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.11.ebuild,v 1.3 2008/03/17 23:11:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.12.ebuild b/sys-cluster/drbd/drbd-8.0.12.ebuild deleted file mode 100644 index f92ccebd711d..000000000000 --- a/sys-cluster/drbd/drbd-8.0.12.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.12.ebuild,v 1.2 2008/05/31 15:47:01 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.13.ebuild b/sys-cluster/drbd/drbd-8.0.13.ebuild deleted file mode 100644 index b8fa0a05d190..000000000000 --- a/sys-cluster/drbd/drbd-8.0.13.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.13.ebuild,v 1.2 2008/11/12 22:42:53 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.14.ebuild b/sys-cluster/drbd/drbd-8.0.14.ebuild deleted file mode 100644 index 6b0b10043bff..000000000000 --- a/sys-cluster/drbd/drbd-8.0.14.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.14.ebuild,v 1.2 2009/02/10 22:52:06 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.6-r1.ebuild b/sys-cluster/drbd/drbd-8.0.6-r1.ebuild deleted file mode 100644 index 6f6a5291621e..000000000000 --- a/sys-cluster/drbd/drbd-8.0.6-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.6-r1.ebuild,v 1.4 2008/03/17 23:11:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.7.ebuild b/sys-cluster/drbd/drbd-8.0.7.ebuild deleted file mode 100644 index 2f80eb731b44..000000000000 --- a/sys-cluster/drbd/drbd-8.0.7.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.7.ebuild,v 1.4 2008/03/17 23:11:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.0.8.ebuild b/sys-cluster/drbd/drbd-8.0.8.ebuild deleted file mode 100644 index b4be501145d2..000000000000 --- a/sys-cluster/drbd/drbd-8.0.8.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0.8.ebuild,v 1.5 2008/03/17 23:11:30 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 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="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-missing-include.patch || die -} - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} 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/drbd-8.3.2.ebuild b/sys-cluster/drbd/drbd-8.3.2.ebuild deleted file mode 100644 index 273290663128..000000000000 --- a/sys-cluster/drbd/drbd-8.3.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.3.2.ebuild,v 1.2 2009/09/30 14:00:20 xmerlin Exp $ - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~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}/${PN}-${PV}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -IUSE="" - -DEPEND="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/drbd-8.3.2-bitsperlong.h.patch || die - - # disable udev detect / installation - sed -i -e 's/install: install-most install-udev-rules/install: install-most/g' scripts/Makefile || die -} - -src_compile() { - emake -j1 OPTFLAGS="${CFLAGS}" tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - insinto /etc/udev/rules.d - newins scripts/drbd.rules 65-drbd.rules || die - - # docs - dodoc README ChangeLog ROADMAP INSTALL - - # 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 -} - -pkg_postinst() { - 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/drbd-0.7.rc b/sys-cluster/drbd/files/drbd-0.7.rc deleted file mode 100755 index f5125f5b5074..000000000000 --- a/sys-cluster/drbd/files/drbd-0.7.rc +++ /dev/null @@ -1,82 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-0.7.rc,v 1.3 2010/08/02 04:42:36 xarthisius Exp $ - -opts="${opts} reload" - -DRBDADM="/sbin/drbdadm" -PROC_DRBD="/proc/drbd" -MODPROBE="modprobe" -RMMOD="rmmod" -UDEV_TIMEOUT=10 -ADD_MOD_PARAM="" - -depend() { - use logger - before heartbeat - after sshd - need net -} - - -load_module() { - if [ ! -f ${PROC_DRBD} ]; then - ${MODPROBE} -s drbd `${DRBDADM} sh-mod-parms` ${ADD_MOD_PARAM} &> /dev/null - fi - - # make sure udev has time to create the device files - RESOURCE=`${DRBDADM} sh-resources` || return 20 - RESOURCE=${RESOURCE%%\ *} - DEVICE=`${DRBDADM} sh-dev ${RESOURCE}` || return 20 - - while [ ! -e ${DEVICE} ] && [ ${UDEV_TIMEOUT} -gt 0 ] ; do - sleep 1 - UDEV_TIMEOUT=$(( ${UDEV_TIMEOUT}-1 )) - done -} - -start() { - ebegin "Starting DRBD" - load_module - ${DRBDADM} up all - eend $ret -} - -stop() { - ebegin "Stopping DRBD" - - # Check for mounted drbd devices - if ! grep -q '^/dev/drbd' /proc/mounts &>/dev/null; then - if [ -f ${PROC_DRBD} ]; then - ${DRBDADM} down all - if grep -q '^drbd' /proc/modules ; then - ${RMMOD} drbd - fi - fi - eend $? - else - einfo "drbd devices mounted, please umount them before trying to stop drbd!!!" - eend 1 - fi -} - -status() { - # NEEDS to be heartbeat friendly... - # so: put some "OK" in the output. - ebegin "Status of DRBD" - if [ -e ${PROC_DRBD} ]; then - echo "drbd driver OK; device status:" - cat "${PROC_DRBD}" - eend 0 - else - echo >&2 "drbd not loaded" - eend 3 - fi -} - -reload() { - ebegin "Reloading DRBD" - ${DRBDADM} adjust all - eend $? -} diff --git a/sys-cluster/drbd/files/drbd-8.0.8-missing-include.patch b/sys-cluster/drbd/files/drbd-8.0.8-missing-include.patch deleted file mode 100644 index d4437ec53c7b..000000000000 --- a/sys-cluster/drbd/files/drbd-8.0.8-missing-include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- drbd-8.0.8/drbd/linux/drbd.h.orig 2007-12-07 15:32:38.000000000 +0100 -+++ drbd-8.0.8/drbd/linux/drbd.h 2008-02-13 18:55:10.000000000 +0100 -@@ -27,6 +27,8 @@ - #define DRBD_H - #include <linux/drbd_config.h> - -+#include <asm/types.h> -+ - #ifdef __KERNEL__ - #include <linux/types.h> - #include <asm/byteorder.h> diff --git a/sys-cluster/drbd/files/drbd-8.3.2-bitsperlong.h.patch b/sys-cluster/drbd/files/drbd-8.3.2-bitsperlong.h.patch deleted file mode 100644 index 1a17b9b0f014..000000000000 --- a/sys-cluster/drbd/files/drbd-8.3.2-bitsperlong.h.patch +++ /dev/null @@ -1,35 +0,0 @@ -From: Lars Ellenberg <lars.ellenberg@linbit.com> -Date: Mon, 14 Sep 2009 11:33:26 +0000 (+0200) -Subject: compat: remove special -I$(KDIR)/include for drbdsetup -X-Git-Url: http://git.drbd.org/?p=drbd-8.3.git;a=commitdiff_plain;h=a6e36c389adb4485313191fd50405395fa3c1a74 - -compat: remove special -I$(KDIR)/include for drbdsetup - -Finally get rid of that special case hack. ---- - -diff --git a/user/Makefile b/user/Makefile -index 04cdcae..0143e09 100644 ---- a/user/Makefile -+++ b/user/Makefile -@@ -22,8 +22,6 @@ KDIR := /lib/modules/$(shell uname -r)/build - CC = gcc - OPTFLAGS = -O1 - CFLAGS = $(OPTFLAGS) -c -W -Wall -I../drbd --# for the netlink connector stuff <linux/connector.h>: --drbdsetup: CFLAGS += -I$(KDIR)/include - - drbdadm-obj = drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o \ - drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o \ -diff --git a/user/drbdsetup.c b/user/drbdsetup.c -index 4c3d132..d3b353d 100644 ---- a/user/drbdsetup.c -+++ b/user/drbdsetup.c -@@ -46,6 +46,7 @@ - #include <time.h> - - #define __bitwise /* Build-workaround for broken RHEL4 kernels (2.6.9_78.0.1) */ -+#include <linux/types.h> - #include <linux/netlink.h> - #include <linux/connector.h> - |