summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-08-20 17:45:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-08-20 17:45:33 +0000
commit61a8c4be1145f346220c88a5d6168f16cbfe1cd9 (patch)
treef5590026c2a89cf15908ac2be1167a475e104624 /sys-cluster
parentarm/s390/sh stable (diff)
downloadgentoo-2-61a8c4be1145f346220c88a5d6168f16cbfe1cd9.tar.gz
gentoo-2-61a8c4be1145f346220c88a5d6168f16cbfe1cd9.tar.bz2
gentoo-2-61a8c4be1145f346220c88a5d6168f16cbfe1cd9.zip
clean out old, dep-broken ebuilds
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/gnbd/ChangeLog8
-rw-r--r--sys-cluster/gnbd/files/gnbd-client-1.0x.conf5
-rwxr-xr-xsys-cluster/gnbd/files/gnbd-client-1.0x.rc102
-rw-r--r--sys-cluster/gnbd/files/gnbd-srv-1.0x.conf5
-rwxr-xr-xsys-cluster/gnbd/files/gnbd-srv-1.0x.rc81
-rw-r--r--sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild57
-rw-r--r--sys-cluster/gnbd/gnbd-1.03.00.ebuild46
-rw-r--r--sys-cluster/gnbd/gnbd-1.04.00.ebuild46
8 files changed, 7 insertions, 343 deletions
diff --git a/sys-cluster/gnbd/ChangeLog b/sys-cluster/gnbd/ChangeLog
index 79d6d76a08f5..93291fc6cca5 100644
--- a/sys-cluster/gnbd/ChangeLog
+++ b/sys-cluster/gnbd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/gnbd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/ChangeLog,v 1.25 2008/03/23 16:39:50 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/ChangeLog,v 1.26 2008/08/20 17:45:32 mr_bones_ Exp $
+
+ 20 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/gnbd-client-1.0x.conf, -files/gnbd-srv-1.0x.conf,
+ -files/gnbd-client-1.0x.rc, -files/gnbd-srv-1.0x.rc,
+ -gnbd-1.02.00-r1.ebuild, -gnbd-1.03.00.ebuild, -gnbd-1.04.00.ebuild:
+ clean out old, dep-broken ebuilds
*gnbd-2.02.00-r1 (23 Mar 2008)
diff --git a/sys-cluster/gnbd/files/gnbd-client-1.0x.conf b/sys-cluster/gnbd/files/gnbd-client-1.0x.conf
deleted file mode 100644
index 77590695b69f..000000000000
--- a/sys-cluster/gnbd/files/gnbd-client-1.0x.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-client-1.0x.conf,v 1.1 2008/03/17 16:59:57 xmerlin Exp $
-
-GNBD_CLIENT_OPTS=""
diff --git a/sys-cluster/gnbd/files/gnbd-client-1.0x.rc b/sys-cluster/gnbd/files/gnbd-client-1.0x.rc
deleted file mode 100755
index e14cc30bf829..000000000000
--- a/sys-cluster/gnbd/files/gnbd-client-1.0x.rc
+++ /dev/null
@@ -1,102 +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/gnbd/files/gnbd-client-1.0x.rc,v 1.1 2008/03/17 16:59:57 xmerlin Exp $
-
-depend() {
- use dns logger
- need net
- need fenced
- after gnbd-srv
-}
-
-load_modules() {
- local module modules
- modules=$1
-
- for module in ${modules}; do
- ebegin "Loading ${module} kernel module"
- modprobe ${module}
- eend $? "Failed to load ${module} kernel module"
- done
-}
-
-unload_modules() {
- local module modules
- modules=$1
-
- for module in ${modules}; do
- ebegin "Unloading ${module} kernel module"
- modprobe -r ${module}
- eend $? "Failed to unload ${module} kernel module"
- done
-}
-
-
-start() {
- if [ ! -f /etc/gnbdtab ] ; then
- eerror "Please create /etc/gnbdtab"
- eerror "Sample conf: /etc/gnbdtab"
- return 1
- fi
-
- load_modules gnbd
-
- GNBD=`cat /etc/gnbdtab | egrep '^import'`
- if [ -n "$GNBD" ] ; then
- ebegin "Importing all GNBDs devices"
- einfo "$(awk '/^import/ { print "--> server:", $2 }' /etc/gnbdtab )"
- cat /etc/gnbdtab | awk '/^import/ { print "-i", $2 }' | xargs -l gnbd_import ${GNBD_CLIENT_OPTS} > /dev/null
- eend $? "Failed to import gnbd devices"
- fi
-}
-
-stop() {
-
- # umount manually mounted gfs filesystems
- local sig retry
- local remaining="$(awk '$3 ~ /gfs/ && $1 ~ /\/dev\/gnbd\// { if ($2 != "/") print $2 }' /proc/mounts | sort -r)"
-
- if [ -z "${remaining}" ]
- then
- ebegin "Unmounting GFS filesystems (GNBDs imported devices)"
- eend 0
- else
- sig=
- retry=3
- while [ -n "${remaining}" -a "${retry}" -gt 0 ]
- do
- if [ "${retry}" -lt 3 ]
- then
- ebegin "Unmounting GFS filesystems (retry)"
- umount ${remaining} &>/dev/null
- eend $? "Failed to unmount GFS filesystems this retry"
- else
- ebegin "Unmounting GFS filesystems"
- umount ${remaining} &>/dev/null
- eend $? "Failed to unmount GFS filesystems"
- fi
- remaining="$(awk '$3 ~ /gfs/ && $1 ~ /\/dev\/gnbd\// { if ($2 != "/") print $2 }' /proc/mounts | sort -r)"
- [ -z "${remaining}" ] && break
- /bin/fuser -k -m ${sig} ${remaining} &>/dev/null
- sleep 5
- retry=$((${retry} -1))
- sig=-9
- done
- fi
-
- local GNBD_MONITOR_PROC
-
- ebegin "Unimporting all GNBDs devices"
- gnbd_import -q -R &> /dev/null
- eend $?
-
- GNBD_MONITOR_PROC="$(pgrep gnbd_clusterd)"
- if [ -n "${GNBD_MONITOR_PROC}" ]; then
- ebegin "Stopping gnbd_monitor"
- killall gnbd_monitor &> /dev/null
- eend $?
- fi
-
- unload_modules gnbd
-}
diff --git a/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf b/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf
deleted file mode 100644
index f6cabbce3ca6..000000000000
--- a/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-srv-1.0x.conf,v 1.1 2008/03/17 16:59:57 xmerlin Exp $
-
-GNBD_SRV_OPTS=""
diff --git a/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc b/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc
deleted file mode 100755
index b057ef3e329a..000000000000
--- a/sys-cluster/gnbd/files/gnbd-srv-1.0x.rc
+++ /dev/null
@@ -1,81 +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/gnbd/files/gnbd-srv-1.0x.rc,v 1.1 2008/03/17 16:59:57 xmerlin Exp $
-
-depend() {
- use dns logger
- need net
- need fenced
-}
-
-GNBD_SRV_TIMEOUT=5
-
-start() {
- local GNBD
-
- if [ ! -f /etc/gnbdtab ] ; then
- eerror "Please create /etc/gnbdtab"
- eerror "Sample conf: /etc/gnbdtab"
- return 1
- fi
-
- ebegin "Loading needed kernel modules for gnbd"
- modprobe gnbd
- eend $? "Failed to load needed kernel modules for gnbd"
-
- ebegin "Starting gnbd_serv"
- start-stop-daemon --start --quiet --exec /sbin/gnbd_serv -- -q
- eend $? "Failed to start gnbd_serv"
-
- GNBD=`cat /etc/gnbdtab | egrep '^export'`
- if [ -n "$GNBD" ] ; then
- ebegin "Exporting all GNBDs devices"
- einfo "$(awk '/^export/ { print "--> device:", $4, "as", $3 }' /etc/gnbdtab )"
- cat /etc/gnbdtab | awk '/^export/ { print "-d", $4, "-e", $3 }' | xargs -l gnbd_export ${GNBD_SRV_OPTS} > /dev/null
- eend $? "Failed to export gnbd devices"
- fi
-}
-
-stop() {
-
- local GNBD_SRV_PROCS GNBD_CLUSTERD_PROC
-
- ebegin "Unexporting all GNBDs devices"
- gnbd_export -q -R &> /dev/null
- eend $?
-
- if [ "$?" -ne 0 ]
- then
- ewend 1 "Failed to unexport all gnbd devices"
- else
- eend 0
-
- fi
-
- ebegin "Stopping gnbd_serv"
-
- GNBD_SRV_PROCS="$(pgrep gnbd_serv)"
- while [ -n "${GNBD_SRV_PROCS}" ] && [ ${GNBD_SRV_TIMEOUT} -gt 0 ] ; do
- gnbd_serv -k &> /dev/null
- sleep 1
- GNBD_SRV_TIMEOUT=$(( ${GNBD_SRV_TIMEOUT}-1 ))
- GNBD_SRV_PROCS="$(pgrep gnbd_serv)"
- done
-
- if [ -n "${GNBD_SRV_PROCS}" ]; then
- gnbd_serv -K &> /dev/null
- fi
- eend $? "Failed to stop gnbd_serv"
-
- GNBD_CLUSTERD_PROC="$(pgrep gnbd_clusterd)"
- if [ -n "${GNBD_CLUSTERD_PROC}" ]; then
- ebegin "Stopping gnbd_clusterd"
- killall gnbd_clusterd &> /dev/null
- eend $?
- fi
-
- ebegin "Unloading gnbd kernel module"
- modprobe -r gnbd
- eend $? "Failed to unload gnbd kernel module"
-}
diff --git a/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild b/sys-cluster/gnbd/gnbd-1.02.00-r1.ebuild
deleted file mode 100644
index da34c6f647e7..000000000000
--- a/sys-cluster/gnbd/gnbd-1.02.00-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/gnbd/gnbd-1.02.00-r1.ebuild,v 1.6 2008/03/17 16:59:56 xmerlin Exp $
-
-inherit eutils
-
-CLUSTER_RELEASE="1.02.00"
-MY_P="cluster-${CLUSTER_RELEASE}"
-CVS_RELEASE="20060713"
-
-DESCRIPTION="GFS Network Block Devices"
-HOMEPAGE="http://sources.redhat.com/cluster/"
-SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz
- mirror://gentoo/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz
- http://dev.gentoo.org/~xmerlin/gfs/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE=""
-
-DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}*
- =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}*
- <sys-fs/sysfsutils-2.0.0"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}/${PN}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die
-}
-
-src_compile() {
- ./configure || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install problem"
-
- newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die
- newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die
-
- doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die
- doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die
-
- insinto /etc
- doins "${FILESDIR}"/gnbdtab
-
- if $(has_version sys-fs/devfsd ) ; then
- insinto /etc/devfs.d/
- newins "${FILESDIR}"/gnbd.devfs gnbd
- fi
-}
diff --git a/sys-cluster/gnbd/gnbd-1.03.00.ebuild b/sys-cluster/gnbd/gnbd-1.03.00.ebuild
deleted file mode 100644
index 8bcb7ee64938..000000000000
--- a/sys-cluster/gnbd/gnbd-1.03.00.ebuild
+++ /dev/null
@@ -1,46 +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/gnbd/gnbd-1.03.00.ebuild,v 1.6 2008/03/17 16:59:56 xmerlin Exp $
-
-CLUSTER_RELEASE="1.03.00"
-MY_P="cluster-${CLUSTER_RELEASE}"
-
-DESCRIPTION="GFS Network Block Devices"
-HOMEPAGE="http://sources.redhat.com/cluster/"
-SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE=""
-
-DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}*
- =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}*
- <sys-fs/sysfsutils-2.0.0"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}/${PN}"
-
-src_compile() {
- ./configure || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install problem"
-
- newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die
- newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die
-
- doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die
- doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die
-
- insinto /etc
- doins "${FILESDIR}"/gnbdtab
-
- if $(has_version sys-fs/devfsd ) ; then
- insinto /etc/devfs.d/
- newins "${FILESDIR}"/gnbd.devfs gnbd
- fi
-}
diff --git a/sys-cluster/gnbd/gnbd-1.04.00.ebuild b/sys-cluster/gnbd/gnbd-1.04.00.ebuild
deleted file mode 100644
index b41c6ad7efa2..000000000000
--- a/sys-cluster/gnbd/gnbd-1.04.00.ebuild
+++ /dev/null
@@ -1,46 +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/gnbd/gnbd-1.04.00.ebuild,v 1.2 2008/03/17 16:59:56 xmerlin Exp $
-
-CLUSTER_RELEASE="1.04.00"
-MY_P="cluster-${CLUSTER_RELEASE}"
-
-DESCRIPTION="GFS Network Block Devices"
-HOMEPAGE="http://sources.redhat.com/cluster/"
-SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND="=sys-cluster/magma-${CLUSTER_RELEASE}*
- =sys-cluster/gnbd-headers-${CLUSTER_RELEASE}*
- <sys-fs/sysfsutils-2.0.0"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}/${PN}"
-
-src_compile() {
- ./configure || die "configure problem"
- emake || die "compile problem"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install problem"
-
- newinitd "${FILESDIR}"/${PN}-client-1.0x.rc ${PN}-client || die
- newinitd "${FILESDIR}"/${PN}-srv-1.0x.rc ${PN}-srv || die
-
- doconfd "${FILESDIR}"/${PN}-client-1.0x.conf || die
- doconfd "${FILESDIR}"/${PN}-srv-1.0x.conf || die
-
- insinto /etc
- doins "${FILESDIR}"/gnbdtab
-
- if $(has_version sys-fs/devfsd ) ; then
- insinto /etc/devfs.d/
- newins "${FILESDIR}"/gnbd.devfs gnbd
- fi
-}