summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2015-02-09 11:24:14 +0300
committerPeter Volkov <pva@gentoo.org>2015-02-09 11:24:14 +0300
commit5ab8c0f6bd51059243f6bcf84b7d858530f36135 (patch)
tree3d52ab7cf51cd30bcbc4cc9cc06923d862ecf43b /sys-fs/ocfs2-tools
parentRedmine version bump. (diff)
downloadpva-5ab8c0f6bd51059243f6bcf84b7d858530f36135.tar.gz
pva-5ab8c0f6bd51059243f6bcf84b7d858530f36135.tar.bz2
pva-5ab8c0f6bd51059243f6bcf84b7d858530f36135.zip
Drop lots of old packagesHEADmaster
app-admin/eselect-yacc app-laptop/hdapsd app-text/languagetool dev-util/abi-compliance-checker dev-util/silentbob media-gfx media-libs/jpeg media-libs/tiff net-p2p/xbtt net-wireless/btsco-kernel net-wireless/btsco sys-apps/groff sys-apps/man-db sys-devel/bison sys-fs/ocfs2-tools sys-kernel/gentoo-sources x11-libs/Xaw3d x11-libs/qt-3!
Diffstat (limited to 'sys-fs/ocfs2-tools')
-rw-r--r--sys-fs/ocfs2-tools/Manifest5
-rw-r--r--sys-fs/ocfs2-tools/files/INSTALL.GENTOO93
-rw-r--r--sys-fs/ocfs2-tools/files/ocfs2.conf6
-rw-r--r--sys-fs/ocfs2-tools/files/ocfs2.init100
-rw-r--r--sys-fs/ocfs2-tools/ocfs2-tools-1.6.4.ebuild70
5 files changed, 0 insertions, 274 deletions
diff --git a/sys-fs/ocfs2-tools/Manifest b/sys-fs/ocfs2-tools/Manifest
deleted file mode 100644
index 79281bb..0000000
--- a/sys-fs/ocfs2-tools/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX INSTALL.GENTOO 3354 RMD160 d69fb0837177e2383232656b259a323ae8305bcd SHA1 17778ffe1bd396705dddf3832987ff93c54c11ec SHA256 c9fc8c058f0d97a69291176cedb8a82134b142baad1fb68c80bbcfc878170b8f
-AUX ocfs2.conf 333 RMD160 26d8edef7b1d1f1b5311ccc25c91559cf3c292ae SHA1 0e520288a9da9e3ce2d05a50115e324925a7b8d8 SHA256 082109a55c563eb2022837988eb26e90507a835423cdd34ca6a1ad389cc327ab
-AUX ocfs2.init 2988 RMD160 a155616b632419fc54443e45b69a248d8660520c SHA1 5b5e23fdb617f1f6ca7122588e9d832966e804df SHA256 fecbc0b8ffd12b7f354e360296a24cb35bf6dcb2bcec77ba8ec5b9028232589c
-DIST ocfs2-tools-1.6.4.tar.gz 823914 RMD160 c8b65f4c26017e257c4190322d6df64e9ef7925b SHA1 1409a13f63b55457a474c5f5662260e420452ee9 SHA256 dda9db208312e3e5f4f55ee77e66e7b35b9cc10421bc02065a6c168e42b24755
-EBUILD ocfs2-tools-1.6.4.ebuild 1745 RMD160 b295baea5195a5ec9e71ac6ac80b0a14dda53d14 SHA1 7206299643f21fe118c448f8a9c0ce34352d8d58 SHA256 690b9ac64413d585c77670e235c0e59d1e6da74c2252732d48fe0bd6cd8437d7
diff --git a/sys-fs/ocfs2-tools/files/INSTALL.GENTOO b/sys-fs/ocfs2-tools/files/INSTALL.GENTOO
deleted file mode 100644
index e3417e4..0000000
--- a/sys-fs/ocfs2-tools/files/INSTALL.GENTOO
+++ /dev/null
@@ -1,93 +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 - 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.
-
diff --git a/sys-fs/ocfs2-tools/files/ocfs2.conf b/sys-fs/ocfs2-tools/files/ocfs2.conf
deleted file mode 100644
index 29b236d..0000000
--- 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/Attic/ocfs2.conf,v 1.2 2009/10/08 09:03:35 flameeyes dead $
-
-# 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 32abd47..0000000
--- 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/Attic/ocfs2.init,v 1.2 2009/10/08 09:03:35 flameeyes dead $
-
-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/ocfs2-tools-1.6.4.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4.ebuild
deleted file mode 100644
index e7718fc..0000000
--- a/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4.ebuild
+++ /dev/null
@@ -1,70 +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/Attic/ocfs2-tools-1.2.1.ebuild,v 1.5 2009/10/08 09:03:35 flameeyes dead $
-
-EAPI="3"
-
-PYTHON_DEPEND="X? 2"
-inherit python
-
-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="~amd64 ~x86"
-IUSE="X"
-
-# (#142216) build system's broke, always requires glib for debugfs utility
-RDEPEND="
- X? (
- x11-libs/gtk+:2
- dev-python/pygtk:2
- )
- sys-apps/util-linux
- >=dev-libs/glib-2.2.3
- sys-fs/e2fsprogs"
-DEPEND="${RDEPEND}"
-
-src_configure() {
- econf \
- $(use_enable X ocfs2console) \
- --enable-dynamic-fsck \
- --enable-dynamic-ctl
-}
-
-src_compile() {
- emake -j1 || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "Failed to install"
-
- dodoc CREDITS MAINTAINERS README.O2CB debugfs.ocfs2/README \
- documentation/{{users_guide,ocfs2_faq}.txt,/samples/cluster.conf} \
- "${FILESDIR}"/INSTALL.GENTOO
-
- # Keep o2cb script in case someone needs it
- insinto /usr/sbin
- newins vendor/common/o2cb.init o2cb
- insinto /etc/default
- newins vendor/common/o2cb.sysconfig o2cb
-
- newinitd "${FILESDIR}"/ocfs2.init ocfs2
- newconfd "${FILESDIR}"/ocfs2.conf ocfs2
-
- insinto /etc/ocfs2
- newins documentation/samples/cluster.conf cluster.conf
-
-# keepdir /config
-# keepdir /dlm
-}
-
-pkg_postinst() {
- elog "Read INSTALL.GENTOO in /share/doc/${PF}/ for instructions"
- elog "about how to install, configure and run ocfs2."
-}