summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorKevin Fullerton (kfullert) <kevin.fullerton@shotgun-suicide.co.uk>2007-03-31 20:34:05 +0000
committerKevin Fullerton (kfullert) <kevin.fullerton@shotgun-suicide.co.uk>2007-03-31 20:34:05 +0000
commit5f5e7c98919e04be7ecfc9c96c19817dcd1cf2d9 (patch)
treecb09f123b2f418f57e19e443f59a36d4da662309 /dev-db
parentsys-fs/mp3fs: New ebuild for bug 152545 (diff)
downloadsunrise-5f5e7c98919e04be7ecfc9c96c19817dcd1cf2d9.tar.gz
sunrise-5f5e7c98919e04be7ecfc9c96c19817dcd1cf2d9.tar.bz2
sunrise-5f5e7c98919e04be7ecfc9c96c19817dcd1cf2d9.zip
dev-db/sphinx: New ebuild for bug 144413
svn path=/sunrise/; revision=3310
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sphinx/ChangeLog9
-rw-r--r--dev-db/sphinx/Manifest5
-rw-r--r--dev-db/sphinx/files/digest-sphinx-0.9.7_rc23
-rw-r--r--dev-db/sphinx/files/sphinx-0.9.7_rc2-fix-sandbox.patch14
-rw-r--r--dev-db/sphinx/metadata.xml5
-rw-r--r--dev-db/sphinx/sphinx-0.9.7_rc2.ebuild45
6 files changed, 81 insertions, 0 deletions
diff --git a/dev-db/sphinx/ChangeLog b/dev-db/sphinx/ChangeLog
new file mode 100644
index 000000000..194983362
--- /dev/null
+++ b/dev-db/sphinx/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-db/sphinx
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 31 Mar 2007; Kevin Fullerton (kfullert)
+ <kevin.fullerton@shotgun-suicide.co.uk> +sphinx-0.9.7_rc2.ebuild,
+ +files/sphinx-0.9.7_rc2-fix-sandbox.patch, +metadata.xml:
+ New ebuild for bug 144413
+
diff --git a/dev-db/sphinx/Manifest b/dev-db/sphinx/Manifest
new file mode 100644
index 000000000..da61a2ad8
--- /dev/null
+++ b/dev-db/sphinx/Manifest
@@ -0,0 +1,5 @@
+AUX sphinx-0.9.7_rc2-fix-sandbox.patch 569 RMD160 2b080fc19c0a17d44560c5b1a6240949d060b4aa SHA1 8814651ae76587d69b048d06ac8481b8a818454d SHA256 e14ec7dae1fd01199435512f7760d66b406a3329ff5dc9d12263b1c5f7455262
+DIST sphinx-0.9.7-rc2.tar.gz 270445 RMD160 d2f17d7c4c68e610b63b9bdf24cd8d4caaefa2c6 SHA1 cd76fd43108f4b23aeceb2a0964440b09c1280a3 SHA256 38ee9be39ae019ab06a6b053286a60ce699be89dbff00221fed05169dfe92533
+EBUILD sphinx-0.9.7_rc2.ebuild 889 RMD160 c6e9f4c969146d22d7c8269e58483fc3206cc9d3 SHA1 e79b7c1cfe253b95a0ca3fea046ec167c82ec1cb SHA256 bb37509eb34cb412b2b1fb88b7d84278caeb95e0f26087ac973743aba334fd23
+MISC ChangeLog 313 RMD160 64de40d5523736db5a1a23e44106d2a7efb0d2af SHA1 083ea0c480247c20447bdde327ac784b334887c8 SHA256 27dc05ba3cbb7799f0421e869dbf521f03f77039a89318f6bddafee5ed340291
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-db/sphinx/files/digest-sphinx-0.9.7_rc2 b/dev-db/sphinx/files/digest-sphinx-0.9.7_rc2
new file mode 100644
index 000000000..574b8b49f
--- /dev/null
+++ b/dev-db/sphinx/files/digest-sphinx-0.9.7_rc2
@@ -0,0 +1,3 @@
+MD5 65daf0feb7e276fb3de0aba82cff1d3e sphinx-0.9.7-rc2.tar.gz 270445
+RMD160 d2f17d7c4c68e610b63b9bdf24cd8d4caaefa2c6 sphinx-0.9.7-rc2.tar.gz 270445
+SHA256 38ee9be39ae019ab06a6b053286a60ce699be89dbff00221fed05169dfe92533 sphinx-0.9.7-rc2.tar.gz 270445
diff --git a/dev-db/sphinx/files/sphinx-0.9.7_rc2-fix-sandbox.patch b/dev-db/sphinx/files/sphinx-0.9.7_rc2-fix-sandbox.patch
new file mode 100644
index 000000000..5c9bec3cb
--- /dev/null
+++ b/dev-db/sphinx/files/sphinx-0.9.7_rc2-fix-sandbox.patch
@@ -0,0 +1,14 @@
+diff -ur sphinx-0.9.7-rc2.orig/Makefile.am sphinx-0.9.7-rc2/Makefile.am
+--- sphinx-0.9.7-rc2.orig/Makefile.am 2007-03-31 12:41:51.000000000 +0000
++++ sphinx-0.9.7-rc2/Makefile.am 2007-03-31 12:47:05.000000000 +0000
+@@ -1,8 +1,8 @@
+ SUBDIRS = src
+ EXTRA_DIST = api storage sphinx.conf.in sphinx.sln todo.txt example.sql
+-sysconf_DATA = sphinx.conf.dist example.sql
++#sysconf_DATA = sphinx.conf.dist example.sql
+
+ install-data-hook:
+- mkdir -p $(localstatedir)/data && mkdir -p $(localstatedir)/log
++# mkdir -p $(localstatedir)/data && mkdir -p $(localstatedir)/log
+
+
diff --git a/dev-db/sphinx/metadata.xml b/dev-db/sphinx/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-db/sphinx/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>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-db/sphinx/sphinx-0.9.7_rc2.ebuild b/dev-db/sphinx/sphinx-0.9.7_rc2.ebuild
new file mode 100644
index 000000000..bbbddcd42
--- /dev/null
+++ b/dev-db/sphinx/sphinx-0.9.7_rc2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils autotools
+
+MY_P="${P/_rc/-rc}"
+
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mysql postgres debug"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fix-sandbox.patch"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with mysql) \
+ $(use_with postgres) \
+ $(use_with debug)
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc doc/* example.sql
+ insinto /etc/
+ doins sphinx.conf.dist
+}