diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-10-08 09:03:35 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-10-08 09:03:35 +0000 |
commit | d42c8a8176857bc31740da406e0d1eda96472314 (patch) | |
tree | a9a3b65135b5bd84d2a64552d5500428e9ea5871 /sys-fs/ocfs2-tools | |
parent | Remove packages slated for QA removal today. (diff) | |
download | historical-d42c8a8176857bc31740da406e0d1eda96472314.tar.gz historical-d42c8a8176857bc31740da406e0d1eda96472314.tar.bz2 historical-d42c8a8176857bc31740da406e0d1eda96472314.zip |
Remove packages slated for QA removal today.
Diffstat (limited to 'sys-fs/ocfs2-tools')
-rw-r--r-- | sys-fs/ocfs2-tools/ChangeLog | 23 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/Manifest | 17 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/files/INSTALL.GENTOO | 109 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/files/ocfs2.conf | 6 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/files/ocfs2.init | 100 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/metadata.xml | 5 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild | 78 |
7 files changed, 0 insertions, 338 deletions
diff --git a/sys-fs/ocfs2-tools/ChangeLog b/sys-fs/ocfs2-tools/ChangeLog deleted file mode 100644 index b859cec26c17..000000000000 --- a/sys-fs/ocfs2-tools/ChangeLog +++ /dev/null @@ -1,23 +0,0 @@ -# ChangeLog for sys-fs/ocfs2-tools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog,v 1.4 2009/07/12 18:24:49 halcy0n Exp $ - - 12 Jul 2009; Mark Loeser <halcy0n@gentoo.org> ocfs2-tools-1.2.1.ebuild: - Fix elog statement; bug #272943 - - 26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: - Update for cluster herd split to hp-cluster and ha-cluster. - - 25 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; - ocfs2-tools-1.2.1.ebuild: - (#142216) build system's broke, always requires glib for debugfs utility. - -*ocfs2-tools-1.2.1 (20 Jul 2006) - - 20 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; - +files/INSTALL.GENTOO, +files/ocfs2.conf, +files/ocfs2.init, - +metadata.xml, +ocfs2-tools-1.2.1.ebuild: - (#98024) Add userland tools for the OCFS2 clustering filesystem. Ebuild and - related files written by Mauricio Zambrano, Lazar Obradovic and others. I've - fixed up some grammer and the ebuild for addition to the tree. - diff --git a/sys-fs/ocfs2-tools/Manifest b/sys-fs/ocfs2-tools/Manifest deleted file mode 100644 index d8217900dca7..000000000000 --- a/sys-fs/ocfs2-tools/Manifest +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX INSTALL.GENTOO 3933 RMD160 2b6adb01de96dbd503f07a5d067ede79416e5cc1 SHA1 8d4a006c699741ab584096d603d1158a6cba3e10 SHA256 6b5962e4f1b3a463c302bb08380b4b992fdb5eb88150a803bd22b24b7df64027 -AUX ocfs2.conf 326 RMD160 32ec5fb5d4c4e908bfe8ea29b7083639b23515a3 SHA1 c29ce2c5823aa0658fe613286e398a3596ff447b SHA256 353cd1144b2d0c6145aa287137f7c5cb211e7949a8c691fec0815906ca2dc09b -AUX ocfs2.init 2981 RMD160 72ad1d43c29f1e7d59b2c4b56c3f89c70bae2f50 SHA1 5cd7964188e1f91664fb0959bf1f7177aee9bdc4 SHA256 00fc34b67e9d193819ca78abd8e74458eda1aaa322d259362f7f191ae6fcdd70 -DIST ocfs2-tools-1.2.1.tar.gz 436783 RMD160 496ade1c11f507ed1e8fdfc8cd0e446f735e8b25 SHA1 3b6b9b40cfe1d441b52774776ac0a80bcbe401a9 SHA256 a53354357352eadb9efad33590c262d6a0e00ec5fb7d2248354de83719b113e9 -EBUILD ocfs2-tools-1.2.1.ebuild 2255 RMD160 e02b2a5824c9f460d58ea9b51249bcd42cbf60ba SHA1 aecc15ed705f4cd59ab3611cfe75f40525dfa31b SHA256 2fd27474a5251a01bc6ba475351d277df2bc858d9fb70b678895ac6264c7d020 -MISC ChangeLog 1030 RMD160 bec200984c7f0e3ef4c30d0c7381fc8d1d830ebb SHA1 6ec33d2b9171a48f9656359fc0154a00b7cd24b9 SHA256 0db047fe864713040f00ea27296f38721865c2421502353d09f45c3aa18dc5e2 -MISC metadata.xml 163 RMD160 4321704864989ac189d7bb0443d1d32bad7bad85 SHA1 fb05c27dfbf8e752b66c15ee68e0d13d6d402fa7 SHA256 1c51dfd967b23593dcfe9f648325681211e3b29bf71bd41d1532d905fbc83db2 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkpaKncACgkQCRZPokWLroRpfACdGZNnMt2F8HHjgbXN4ADSb7o2 -hzcAniZy8SmTpcucIkWUWc4efPuildBr -=dTiq ------END PGP SIGNATURE----- diff --git a/sys-fs/ocfs2-tools/files/INSTALL.GENTOO b/sys-fs/ocfs2-tools/files/INSTALL.GENTOO deleted file mode 100644 index ed36a97be281..000000000000 --- a/sys-fs/ocfs2-tools/files/INSTALL.GENTOO +++ /dev/null @@ -1,109 +0,0 @@ -Installing, configuring and running OCFS2 on Gentoo Linux - - -INSTALLING -========== -Step 1 - Inserting modules --------------------------- -Add 'ocfs2' to your /etc/modules.autoload.d/kernel-2.6 file: -# echo "ocfs2" >> /etc/modules.autoload.d/kernel-2.6 -# modules-update - -Step 2 - Mounting the pseudo-filesystems ----------------------------------------- -add mountpoints for configfs and dlmfs to /etc/fstab -# echo "none /config configfs defaults 0 0" >> /etc/fstab -# echo "none /dlm ocfs2_dlmfs defaults 0 0" >> /etc/fstab - -Step 3 - Adding ocfs to list of network filesystems ---------------------------------------------------- -Edit /etc/init.d/functions.sh and add "ocfs2" to a NET_FS_LIST list. -This way localmount will not mount ocfs2 filesystems before running net.ethX -and ocfs2 init scripts. This *IS* dirty, but sys-apps/baselayout needs to be -updated. - -Step 4 - Addding ocfs2 to default runlevel ------------------------------------------- -# rc-update add ocfs2 default - - -CONFIGURING -=========== -Step 1 - Edit your cluster.conf -------------------------------- -Edit /etc/ocfs2/cluster.conf and add your nodes. One node can be a member -of many cluster, so repeat the config for each node/cluster pair. In the case of -a multicluster node, "ip_port" must be different for every cluster. -You can also use o2cb_console for this task, if you compiled with USE=X. - -Step 2 - Copy config to other nodes ------------------------------------ -Make sure that every node in cluster(s) has an identical config file. - -Step 3 - Update /etc/conf.d/ocfs2 ---------------------------------- -Add names of cluster(s) in which this node belongs to the OCFS2_CLUSTERS list. - -Also, if you're running firewall on your nodes, make sure you've read -"Firewall restrictions" below. - -RUNNING -======= - -Notes about adding nodes while online -------------------------- -*DON'T* add nodes to /etc/ocfs2/cluster.conf while the cluster is online. -Use /sbin/o2cb_ctl instead, e.g.: - -# /sbin/o2cb_ctl -C -n <node_name> -t node -a number=<node_number> \ - -a ip_address=<ip_address> -a ip_port=<port> -a cluster=<clustername> - -If the complete cluster is down, you may add nodes to /etc/ocfs2/cluster.conf, -but make sure you end up with *SAME* cluster.conf on every node. - -For a complete reference, check files in this directory -as well as http://oss.oracle.com/projects/ocfs2 -You have been warned. - -Also, if you're running a firewall on your nodes, make sure you've read the -following section. - -Firewall restrictions ---------------------- -Logically, allow all nodes to connect to each other via specified port(s). -If you used 7777 as a port for communication, issue: - -# iptables -I INPUT 1 -m state --state ESTABLISHED,RELATED -j ACCEPT -# iptables -N OCFS2_NODES -# iptables -A OCFS2_NODES -s <node_ip_address> -j ACCEPT -(repeat former command for every node) -# iptables -A OCFS2_NODES -j DROP -# iptables -A INPUT -p tcp --dport 7777 -m state --state NEW -j OCFS2_NODES -# /etc/init.d/iptables save - -You should do this on every node. - -KNOWN BUGS -========== -1. Init script does not have all the funtionality of the o2cb script ----------------------------------------------------------------- -I know that, but o2cb script doesn't use "depend" and therefore its start -can't be controlled inside runlevels. I had to rewrite major portions of it -to make it Gentoo-friendly. o2cb is still available, and if you need -additional functionality from /etc/init.d/ocfs2, file a bug report (see -"Reporting Bugs" below). - -2. Booting off the ocfs2 cluster doesn't work ---------------------------------------------- -... or at least, isn't tested. If someone wants to play with it, I'd be -happy to incorporate any ideas or experiences. - -REPORTING BUGS -============== -Open a bug at http://bugs.gentoo.org and add laza@yu.net into the CC list. -If the problem is within my powers, I'll fix it, if not, I'll -escalate it to ocfs2 developers. - ---- -05. Aug 2005. -Lazar Obradovic diff --git a/sys-fs/ocfs2-tools/files/ocfs2.conf b/sys-fs/ocfs2-tools/files/ocfs2.conf deleted file mode 100644 index c385e8041be7..000000000000 --- a/sys-fs/ocfs2-tools/files/ocfs2.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/files/ocfs2.conf,v 1.1 2006/07/20 05:13:14 dberkholz Exp $ - -# Put your cluster names here, separated by space, ie. -# OCFS2_CLUSTER="cluster1 admincluster cluster2" diff --git a/sys-fs/ocfs2-tools/files/ocfs2.init b/sys-fs/ocfs2-tools/files/ocfs2.init deleted file mode 100644 index dde6540a336a..000000000000 --- a/sys-fs/ocfs2-tools/files/ocfs2.init +++ /dev/null @@ -1,100 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/files/ocfs2.init,v 1.1 2006/07/20 05:13:14 dberkholz Exp $ - -depend() { - need net localmount - before netmount -} - -check_modules() { - local MODULES="ocfs2_dlmfs ocfs2 ocfs2_dlm ocfs2_nodemanager configfs" - local MODULE - local MODPROBE="modprobe -l" - local retval=0 - - for MODULE in ${MODULES}; do - if [ -z "`${MODPROBE} ${MODULE}`" ] ; then - retval=1 - fi - done - if [ ${retval} -eq 1 ] ; then - ewarn "One or more required modules are not loaded." - ewarn "Make sure you have " - ewarn " - placed ocfs, dlmfs and configfs into /etc/modules.autoload.d/kernel-2.6" - ewarn "For a (in)complete documentation, read /usr/share/doc/ocfs-<version>/INSTALL.GENTOO.gz" - fi - return ${retval} -} - -check_pseudofs() { - local retval=0 - local HASMOUNT="mount -l -t" - if [ -z "`${HASMOUNT} configfs`" ] ; then - retval=1 - fi - if [ -z "`${HASMOUNT} ocfs2_dlmfs`" ] ; then - retval=1 - fi - - if [ ${retval} -eq 1 ]; then - ewarn "One or more pseudo-filesystes are not mounted." - ewarn "Make sure you have following lines in your /etc/fstab:" - ewarn "none /config configfs defaults 0 0" - ewarn "none /dlm ocfs2_dlmfs defaults 0 0" - ewarn "For a (in)complete documentation, read /usr/share/doc/ocfs-<version>/INSTALL.GENTOO.gz" - fi - return ${retval} -} - - - -start() { - check_modules || return $? - check_pseudofs || return $? - - einfo "Starting OCFS2 cluster" - for cluster in ${OCFS2_CLUSTER}; do - ebegin " - ${cluster}" - /sbin/o2cb_ctl -H -n ${cluster} -t cluster -a online=yes >/dev/null 2>&1 - eend $? - done -} - -stop() { - # Shamelesly stolen from netmount - local ret - ebegin "Unmounting OCFS2 filesystems" - [ -z "$(umount -art ocfs2 2>&1)" ] - ret=$? - eend ${ret} "Failed to simply unmount filesystems" - [ ${ret} -eq 0 ] && return 0 - - declare -a siglist=( "TERM" "KILL" "KILL" ) - local retry=0 - local remaining="go" - - while [ -n "${remaining}" -a ${retry} -lt 3 ] - do - remaining="$(awk '$3 ~ /'ocfs2'/ { if ($2 != "/") print $2 }' /proc/mounts | sort -r)" - IFS=$'\n' - set -- ${remaining//\\040/ } - unset IFS - [ -z "${remaining}" ] && break - - ebegin $'\t'"Unmounting ocfs2 filesystems (retry #$((retry+1)))" - /bin/fuser -k -${siglist[$((retry++))]} -m "$@" &>/dev/null - sleep 5 - umount "$@" &>/dev/null - eend $? $'\t'"Failed to unmount filesystems" - done - - - einfo "Stopping OCFS2 cluster" - for cluster in ${OCFS_CLUSTERS}; do - ebegin " - ${cluster}" - /sbin/o2cb_ctl -H -n ${cluster} -t cluster -a online=no >/dev/null 2>&1 - eend $? - done -} diff --git a/sys-fs/ocfs2-tools/metadata.xml b/sys-fs/ocfs2-tools/metadata.xml deleted file mode 100644 index 03168325e6ed..000000000000 --- a/sys-fs/ocfs2-tools/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>ha-cluster</herd> -</pkgmetadata> diff --git a/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild deleted file mode 100644 index a38c1c731554..000000000000 --- a/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild,v 1.4 2009/07/12 18:24:49 halcy0n Exp $ - -PV_MAJOR="${PV%%.*}" -PV_MINOR="${PV#*.}" -PV_MINOR="${PV_MINOR%%.*}" -DESCRIPTION="Support programs for the Oracle Cluster Filesystem 2" -HOMEPAGE="http://oss.oracle.com/projects/ocfs2-tools/" -SRC_URI="http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v${PV_MAJOR}.${PV_MINOR}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="X" -# (#142216) build system's broke, always requires glib for debugfs utility -RDEPEND="X? ( - =x11-libs/gtk+-2* - >=dev-lang/python-2 - >=dev-python/pygtk-2 - ) - >=dev-libs/glib-2.2.3 - sys-fs/e2fsprogs" -DEPEND="${RDEPEND}" - -src_compile() { - local myconf="--enable-dynamic-fsck --enable-dynamic-ctl" - - econf --prefix=${ROOT} \ - $(use_enable X ocfs2console) \ - ${myconf} \ - || die "Failed to configure" - - emake -j1 || die "Failed to compile" -} - -src_install() { - make DESTDIR="${D}" install || die "Failed to install" - - doman \ - mkfs.ocfs2/mkfs.ocfs2.8 \ - ocfs2cdsl/ocfs2cdsl.8 \ - ocfs2console/ocfs2console.8 \ - ocfs2_hb_ctl/ocfs2_hb_ctl.8 \ - tunefs.ocfs2/tunefs.ocfs2.8 - dodoc \ - COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \ - documentation/users_guide.txt documentation/samples/cluster.conf \ - "${FILESDIR}"/INSTALL.GENTOO - - # Keep o2cb script in case someone needs it - insinto /usr/sbin - newins "${S}"/vendor/common/o2cb.init o2cb - insinto /etc/default - newins "${S}"/vendor/common/o2cb.sysconfig o2cb - - # Move programs not needed before /usr is mounted to /usr/sbin/ - mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/ - mv "${D}"/sbin/ocfs2console "${D}"/usr/sbin/ - - newinitd "${FILESDIR}"/ocfs2.init ocfs2 - newconfd "${FILESDIR}"/ocfs2.conf ocfs2 - - insinto /etc/ocfs2 - newins "${S}"/documentation/samples/cluster.conf cluster.conf - - keepdir /config - keepdir /dlm - - # FIXME - fix the python lib. - # pythonians wouldn't like this probably, but I couldn't find better - # solution. - mv "${D}"/lib "${D}"/usr -} - -pkg_postinst() { - elog "Read INSTALL.GENTOO in ${ROOT}usr/share/doc/${P}/ for instructions" - elog "about how to install, configure and run ocfs2." -} |