diff options
-rw-r--r-- | sys-fs/ocfs2-tools/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-fs/ocfs2-tools/Manifest b/sys-fs/ocfs2-tools/Manifest index 96a4faf..e458800 100644 --- a/sys-fs/ocfs2-tools/Manifest +++ b/sys-fs/ocfs2-tools/Manifest @@ -1,4 +1,6 @@ AUX ocfs2.confd 1494 BLAKE2B 6390651f1d07fb82c98e7058a7ffa1267672fafc64b84fc320d58076de723e6472b4587ec7fd7ad6345a310f225b1a66f50296e39e772ff4a2c22d7fafa6943b SHA512 7cb63e889fad081d41283534032f41413bbb37202391d7a0f08f590170dc7a11c45bd90946910ba7680e401e4cb80eeb70fe85eb55ecbe9c16507e4d3d0b08c9 AUX ocfs2.initd 4004 BLAKE2B 8d9f839d9ad7607b45e768b95ebc589c0e6fb729d2fff3afac04cd28f5b72f2a2d958c8e9153ae8db7a5cc01dd4a8e397f6514f3fd4f615317ed6acbb2953208 SHA512 ab35d6916871eed469c3e05470dec6913b96bf806fd67d090f5a6af9eb28e4cd648707d768c0a47f6d2926f969421837adf9ef714b336c929b73df785dbfae1b DIST ocfs2-tools-1.8.7.tar.gz 1492231 BLAKE2B 614ec2627dd70c2130bbe15c92154ff30ddec09c1c8a5571a93fceb3b45c139bc6881bad7abaff868084baddb8989497b482baa36b41030ad4341c1891fbd646 SHA512 10246ccb53ec1da59f2117f047bd8a9d7b4e5471e01dd262e8a694b530be2356d843f8faa6cf559f24ca39db45572d57540ee49a373b7658db23ff08c22541bb +DIST ocfs2-tools-1.8.8.tar.gz 1492331 BLAKE2B ce55bc99829ed6c0a41c578d398a0952ab134d07c8ca8fb323e4bff2287680a5fec57ac959669b7d68b3b50e9070c3802104fe9bcf4c7404ec10e54c2488ffba SHA512 18bde4e03db1bd29bd80d603dcc3177f0775cc37267239f17d4b1352f5e7d3772216b473a5fe4729d9687110c4b0ba4e0dd33ea9defe0a68f9aac78732343136 EBUILD ocfs2-tools-1.8.7-r1.ebuild 1341 BLAKE2B ae4a9d814b18d24218f5f22a80d79c3269b9b6f79f3e944b54977dff53a2c2830dfa983408139409b70ac89ece51a3441374f24b9a726043c8b6a14ca589b35c SHA512 045d17ba3b5f857e8ed264b35f7a4b40ca643ad717ccbb7b1626ea49a8c8bb1a34c31992329f07316559b3b3a5bbec5153ed47e9c95f6f87aefe8a811275b3ef +EBUILD ocfs2-tools-1.8.8.ebuild 1226 BLAKE2B 70830461d085ae0edf004c5c0604892ac08b67b2f0d8aaa59e2bc47c3ba4a5ad8be57e2b1c7c1512f73c7f6fe020c55b024a8773afdf3b7bd7d0406c167ae859 SHA512 823a7955212939e52a6c78ee01d5e91f1887803da447ee57ce4588113700b332fd5d4b21861f62f3f7be6e132524af1437723b9b001ec4ff945ee899ae25efc2 diff --git a/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild new file mode 100644 index 0000000..eb74645 --- /dev/null +++ b/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild @@ -0,0 +1,58 @@ +EAPI="8" +inherit autotools + +DESCRIPTION="Support programs for the Oracle Cluster Filesystem 2" +HOMEPAGE="http://oss.oracle.com/projects/ocfs2-tools/ https://github.com/markfasheh/ocfs2-tools" +SRC_URI="https://github.com/markfasheh/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug pacemaker" + +RDEPEND=" + dev-libs/libaio + sys-apps/util-linux + pacemaker? ( + sys-cluster/dlm + sys-cluster/pacemaker + ) + sys-fs/e2fsprogs + sys-libs/ncurses + sys-libs/readline + sys-process/psmisc +" +# 99% of deps this thing has is automagic +# specialy cluster things corosync/pacemaker +DEPEND="${RDEPEND}" +S="${WORKDIR}/${PN}-${P}" + +DOCS=( + "${S}/documentation/samples/cluster.conf" + "${S}/documentation/users_guide.txt" +) + +MAKEOPTS+=" -j1" + +src_prepare() { + default + # gentoo uses /sys/kernel/dlm as dlmfs mountpoint + sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \ + -i libo2dlm/o2dlm_test.c \ + -i libocfs2/dlm.c || die "sed failed" + AT_M4DIR=. eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug debug) \ + $(use_enable debug debugexe) \ + --enable-dynamic-fsck \ + --enable-dynamic-ctl +} + +src_install() { + default + newinitd "${FILESDIR}/ocfs2.initd" ocfs2 + newconfd "${FILESDIR}/ocfs2.confd" ocfs2 +} |