summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-10 15:21:49 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-10 15:21:49 +0000
commit517f836723af73247f07561c5d161cf0394cd0cc (patch)
treee126b90c08aa7d8c52945a9f215e4efcae04fa75 /sys-fs/ocfs-tools
parentMarked stable on amd64. (diff)
downloadhistorical-517f836723af73247f07561c5d161cf0394cd0cc.tar.gz
historical-517f836723af73247f07561c5d161cf0394cd0cc.tar.bz2
historical-517f836723af73247f07561c5d161cf0394cd0cc.zip
new in portage
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-fs/ocfs-tools')
-rw-r--r--sys-fs/ocfs-tools/ChangeLog10
-rw-r--r--sys-fs/ocfs-tools/Manifest15
-rw-r--r--sys-fs/ocfs-tools/files/digest-ocfs-tools-1.1.21
-rw-r--r--sys-fs/ocfs-tools/files/ocfs-tools-glib.patch11
-rw-r--r--sys-fs/ocfs-tools/metadata.xml8
-rw-r--r--sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild56
6 files changed, 101 insertions, 0 deletions
diff --git a/sys-fs/ocfs-tools/ChangeLog b/sys-fs/ocfs-tools/ChangeLog
new file mode 100644
index 000000000000..ac8cca90feb6
--- /dev/null
+++ b/sys-fs/ocfs-tools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/ocfs-tools
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs-tools/ChangeLog,v 1.1 2005/03/10 15:21:49 xmerlin Exp $
+
+*ocfs-tools-1.1.2 (10 Mar 2005)
+
+ 10 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +metadata.xml,
+ +ocfs-tools-1.1.2.ebuild:
+ new in portage
+
diff --git a/sys-fs/ocfs-tools/Manifest b/sys-fs/ocfs-tools/Manifest
new file mode 100644
index 000000000000..68e9679128e7
--- /dev/null
+++ b/sys-fs/ocfs-tools/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 4a5aaa58a227248c4b3ca525733c580e ocfs-tools-1.1.2.ebuild 1344
+MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
+MD5 acc50e16ea2e1d49dcd09a268dc670bc ChangeLog 356
+MD5 cb3f250aaa7bfaabf304acbb1d20dc5b files/ocfs-tools-glib.patch 539
+MD5 78dcbf7f4b00b78a1aabc0926269cf88 files/digest-ocfs-tools-1.1.2 68
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFCMG1OgMUyd/cdjWsRAiFbAKCIvX2aaPVpb4v2zHUHDJEbvmA2EwCdF8l0
+XlD7MyWgGk3jGRKZY5uWxZs=
+=wddA
+-----END PGP SIGNATURE-----
diff --git a/sys-fs/ocfs-tools/files/digest-ocfs-tools-1.1.2 b/sys-fs/ocfs-tools/files/digest-ocfs-tools-1.1.2
new file mode 100644
index 000000000000..5cc3cb58b4be
--- /dev/null
+++ b/sys-fs/ocfs-tools/files/digest-ocfs-tools-1.1.2
@@ -0,0 +1 @@
+MD5 1fb38972b1b942a39435df350337df77 ocfs-tools-1.1.2.tar.gz 331281
diff --git a/sys-fs/ocfs-tools/files/ocfs-tools-glib.patch b/sys-fs/ocfs-tools/files/ocfs-tools-glib.patch
new file mode 100644
index 000000000000..8b80cd5b089d
--- /dev/null
+++ b/sys-fs/ocfs-tools/files/ocfs-tools-glib.patch
@@ -0,0 +1,11 @@
+--- ocfs-tools-1.1.2/debugocfs/Makefile.chris 2004-05-22 17:54:23.000000000 +0200
++++ ocfs-tools-1.1.2/debugocfs/Makefile 2004-05-22 17:54:46.000000000 +0200
+@@ -16,7 +16,7 @@
+
+ CFLAGS = $(OPTS) -fno-strict-aliasing $(WARNINGS)
+
+-INCLUDES = -I. -I$(TOPDIR)/libocfs/Common/inc -I$(TOPDIR)/libocfs/Linux/inc -I$(TOPDIR)/libocfs
++INCLUDES = -I. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I$(TOPDIR)/libocfs/Common/inc -I$(TOPDIR)/libocfs/Linux/inc -I$(TOPDIR)/libocfs
+ DEFINES = -DLINUX -DUSERSPACE_TOOL -DDEBUGOCFS
+
+ OPTIMIZE = -O2
diff --git a/sys-fs/ocfs-tools/metadata.xml b/sys-fs/ocfs-tools/metadata.xml
new file mode 100644
index 000000000000..e2b45fb75fca
--- /dev/null
+++ b/sys-fs/ocfs-tools/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cluster</herd>
+<maintainer>
+ <email>cluster@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild b/sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild
new file mode 100644
index 000000000000..136d4c9f7cf8
--- /dev/null
+++ b/sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild,v 1.1 2005/03/10 15:21:49 xmerlin Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Support programs for the Oracle Cluster Filesystem v1 and v2"
+HOMEPAGE="http://oss.oracle.com/projects/ocfs/"
+SRC_URI="http://oss.oracle.com/projects/ocfs-tools/dist/files/source/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE="gtk"
+
+DEPEND="virtual/libc
+ sys-kernel/linux-headers
+ gtk? (
+ >=dev-libs/glib-2.4.0
+ >=x11-libs/gtk+-1.2.8
+ )"
+
+RDEPEND="virtual/libc
+ gtk? (
+ >=dev-libs/glib-2.4.0
+ >=x11-libs/gtk+-1.2.8
+ )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ # glib patch (if you build ocfs-tools without X apps)
+ epatch ${FILESDIR}/ocfs-tools-glib.patch || die "glib patch did not apply"
+}
+
+src_compile() {
+ local myconf=""
+ use gtk && myconf="${myconf} --enable-ocfstool=yes" || \
+ myconf="${myconf} --enable-ocfstool=no --disable-gtktest"
+
+ econf --prefix=/ \
+ ${myconf} \
+ || die "Failed to configure"
+
+ emake -j1 || die "Failed to compile"
+}
+
+src_install() {
+ einstall || die "Failed to install"
+
+ ## NEED TO BE FIXED -> it lacks a proper init
+
+ doman format/mkfs.ocfs.8
+ dodoc COPYING README debugocfs/debugocfs.txt bugfix/bug*-README.txt
+}