summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-07-26 20:23:12 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-07-26 20:23:12 +0000
commitece1ce150c03ef1a95347c649fd143f6a28204fe (patch)
tree8b7d043d94fe160678f656e253322b0ad87c4ea8 /dev-db
parentAdded dev-db/ctdb to p.mask for testing (diff)
downloadhistorical-ece1ce150c03ef1a95347c649fd143f6a28204fe.tar.gz
historical-ece1ce150c03ef1a95347c649fd143f6a28204fe.tar.bz2
historical-ece1ce150c03ef1a95347c649fd143f6a28204fe.zip
Initial commit. Ebuild written by me.
Package-Manager: portage-2.2_rc3/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/ctdb/ChangeLog10
-rw-r--r--dev-db/ctdb/Manifest4
-rw-r--r--dev-db/ctdb/ctdb-9999.ebuild39
-rw-r--r--dev-db/ctdb/files/autoconf-2.62-fix.patch15
-rw-r--r--dev-db/ctdb/metadata.xml5
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-db/ctdb/ChangeLog b/dev-db/ctdb/ChangeLog
new file mode 100644
index 000000000000..94c4d8bed28e
--- /dev/null
+++ b/dev-db/ctdb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-db/ctdb
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ChangeLog,v 1.1 2008/07/26 20:23:11 dev-zero Exp $
+
+*ctdb-9999 (26 Jul 2008)
+
+ 26 Jul 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/autoconf-2.62-fix.patch, +metadata.xml, +ctdb-9999.ebuild:
+ Initial commit. Ebuild written by me.
+
diff --git a/dev-db/ctdb/Manifest b/dev-db/ctdb/Manifest
new file mode 100644
index 000000000000..6aa223c5a863
--- /dev/null
+++ b/dev-db/ctdb/Manifest
@@ -0,0 +1,4 @@
+AUX autoconf-2.62-fix.patch 524 RMD160 843a8adb134376259485fba22deceeebf453abea SHA1 2adfe8d3a5ea32971c67305fc047f39e5c03ba76 SHA256 0b9b80b52899154f6526d4864218742c2ec836d44a8a4045e091b3bb40449171
+EBUILD ctdb-9999.ebuild 1074 RMD160 c55a0e7a6a98a00e37e9d9baeb64b0247ab0406a SHA1 fad4142c20bb8f60ff7cbef9a4a142dbef90b2d0 SHA256 a4b68b540571abb3600984405536b3df9edd2bbe6166f638dbd21a63a43e919f
+MISC ChangeLog 385 RMD160 cf9393a98071f0ff503fca9f63279789a1cb43b6 SHA1 267c2ad7c9fd55d8c6cb685250721eeb55fa8a04 SHA256 330584724c3f0d4763b4fc93043793567d3f6afe2c2871bab2746604e12cb4e8
+MISC metadata.xml 158 RMD160 9f86563998c883dd327d4fa7a6c23f95dbf2a139 SHA1 3d17a291c1dcf571169ff3a7c1e064a96014f270 SHA256 d96140a5870e6f49fd382f26aaade7bf71d767243bfc3ac1ad6a986718386a38
diff --git a/dev-db/ctdb/ctdb-9999.ebuild b/dev-db/ctdb/ctdb-9999.ebuild
new file mode 100644
index 000000000000..cc97c4632027
--- /dev/null
+++ b/dev-db/ctdb/ctdb-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ctdb-9999.ebuild,v 1.1 2008/07/26 20:23:11 dev-zero Exp $
+
+EGIT_REPO_URI="git://git.samba.org/tridge/ctdb.git"
+
+inherit autotools eutils git
+
+DESCRIPTION="A cluster implementation of the TDB database used by Samba and other projects to store temporary data."
+HOMEPAGE="http://ctdb.samba.org/"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-libs/popt"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ git_src_unpack
+
+ epatch "${FILESDIR}/autoconf-2.62-fix.patch"
+
+ rm -rf autom4te.cache
+ rm -f configure config.h.in
+
+ AT_M4DIR="-I ${S}/lib/replace -I ${S}/lib/talloc -I ${S}/lib/tdb -I ${S}/lib/popt -I ${S}/lib/events"
+ autotools_run_tool autoheader ${AT_M4DIR} || die "running autoheader failed"
+ eautoconf ${AT_M4DIR}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc "${D}/usr/share/doc/ctdb/README.eventscripts"
+ rm -rf "${D}/usr/share/doc/ctdb"
+
+ dohtml web/* doc/*.html
+}
diff --git a/dev-db/ctdb/files/autoconf-2.62-fix.patch b/dev-db/ctdb/files/autoconf-2.62-fix.patch
new file mode 100644
index 000000000000..2f5bc2b77f37
--- /dev/null
+++ b/dev-db/ctdb/files/autoconf-2.62-fix.patch
@@ -0,0 +1,15 @@
+--- lib/replace/autoconf-2.60.m4.orig 2008-04-19 00:26:33.000000000 -0400
++++ lib/replace/autoconf-2.60.m4 2008-04-19 00:22:25.000000000 -0400
+@@ -179,6 +179,7 @@
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
++m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
+ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+ [
+ AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+@@ -208,3 +209,4 @@
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ ])
++])
diff --git a/dev-db/ctdb/metadata.xml b/dev-db/ctdb/metadata.xml
new file mode 100644
index 000000000000..587dabd73f1d
--- /dev/null
+++ b/dev-db/ctdb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>samba</herd>
+</pkgmetadata>