From 2929788def9a92c1eb237eed93fbdb0c02838bbf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Oct 2019 22:11:03 +0100 Subject: Revert "gentoo resync : 13.10.2019" This reverts commit ab499d7cfb9ad23e83cf7a4f5052bdf1b4c42030. --- sys-cluster/ocfs/Manifest | 3 ++ sys-cluster/ocfs/metadata.xml | 11 ++++++++ sys-cluster/ocfs/ocfs-1.0.14.ebuild | 56 +++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 sys-cluster/ocfs/Manifest create mode 100644 sys-cluster/ocfs/metadata.xml create mode 100644 sys-cluster/ocfs/ocfs-1.0.14.ebuild (limited to 'sys-cluster/ocfs') diff --git a/sys-cluster/ocfs/Manifest b/sys-cluster/ocfs/Manifest new file mode 100644 index 000000000000..d1798cb4c52f --- /dev/null +++ b/sys-cluster/ocfs/Manifest @@ -0,0 +1,3 @@ +DIST ocfs-1.0.14.tar.gz 467237 BLAKE2B 5736e144746b6b8055551ac7388397c3cf78502f962a7ce83fcae2e1a28e88c15c790025c4680b94bca4f183be0cf0cfa942a21236690e7fa04e47ecb965b90b SHA512 0a081806ef65bb988a85d65221210748b3b6eaeb1191dde333120090c8d54818549bdeadd72dd814497d3aa4053ef474ade18c4ced8cbf3423785ff6fb404264 +EBUILD ocfs-1.0.14.ebuild 1052 BLAKE2B 5e947095fa481155e4f498e495f8e41c828014186be41133a5f929988c351b059a4f7ac5aefcc41f6e5736c36c5f883dfce644d1af8e4ebacadfaeedb77b37ff SHA512 28e6c22c19ac14e54d93a4df12779739e641bc82157a83dd8e8720f5434f7a1f4d09728599b5148fee60cbacba4dc5c8b5e77ad8725a17e0eb543a4d583304ad +MISC metadata.xml 307 BLAKE2B 59ad9ddb6ae3479e674b65229a8421d91835713704a6047fd4aeccba46e541c4dda3ffeb0077d0c2b7daeb71358030b7cf7e9599fb817e9374b3f98dcc467a3f SHA512 4373d384ed9713aca4b4b69e7aaa5d1d0c700e9d43a5c23a66bd736fa3b7cecb5dfe0f1a314296a6235e48af76529875425fd9ef0582d8583fc8e1b5a5012461 diff --git a/sys-cluster/ocfs/metadata.xml b/sys-cluster/ocfs/metadata.xml new file mode 100644 index 000000000000..cacaf0222b69 --- /dev/null +++ b/sys-cluster/ocfs/metadata.xml @@ -0,0 +1,11 @@ + + + + + cluster@gentoo.org + Gentoo Cluster Project + + + Add aio support + + diff --git a/sys-cluster/ocfs/ocfs-1.0.14.ebuild b/sys-cluster/ocfs/ocfs-1.0.14.ebuild new file mode 100644 index 000000000000..5fdceaf23645 --- /dev/null +++ b/sys-cluster/ocfs/ocfs-1.0.14.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit linux-mod + +DESCRIPTION="The Oracle Cluster Filesystem" +SRC_URI="http://oss.oracle.com/projects/ocfs/dist/files/source/${P}.tar.gz" +HOMEPAGE="http://oss.oracle.com/projects/ocfs" +LICENSE="GPL-2" + +DEPEND="virtual/linux-sources" + +IUSE="aio" +SLOT="0" +KEYWORDS="~x86" + +pkg_setup() { + if kernel_is -ge 2 6; then + die "${P} supports only 2.4 kernels" + fi +} + +src_compile() { + set_arch_to_kernel + local myconf + use aio && myconf="--enable-aio=yes" || myconf="--enable-aio=no" + + econf \ + --with-kernel=${KV_DIR} \ + ${myconf} \ + || die + + emake || die +} + +src_install() { + einstall DESTDIR=${D} || die "Failed to install" + + dodir /etc/ocfs + insinto /etc/ocfs + doins ocfs2/ocfs.conf + + dodoc README docs/ocfs_doc.zip || die +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "" + einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!" + einfo "" + einfo "Please edit the configuration file /etc/ocfs/ocfs.conf" + einfo "" +} -- cgit v1.2.3