summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-10-15 19:04:19 +0000
committerHans de Graaff <graaff@gentoo.org>2013-10-15 19:04:19 +0000
commita26631c7fab5401a96bbcacd4bf10c62937bf022 (patch)
treea31b71225254ebce8f58599388ce016eb039b560 /app-misc/sphinx
parentUse readme.gentoo.eclass, drop old (diff)
downloadhistorical-a26631c7fab5401a96bbcacd4bf10c62937bf022.tar.gz
historical-a26631c7fab5401a96bbcacd4bf10c62937bf022.tar.bz2
historical-a26631c7fab5401a96bbcacd4bf10c62937bf022.zip
Version bump for 2.1 series. Add syslog and xml USE flags. Drop test dependency since we cannot actually run the tests from the ebuild.
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'app-misc/sphinx')
-rw-r--r--app-misc/sphinx/ChangeLog8
-rw-r--r--app-misc/sphinx/Manifest24
-rw-r--r--app-misc/sphinx/sphinx-2.1.2.ebuild102
3 files changed, 117 insertions, 17 deletions
diff --git a/app-misc/sphinx/ChangeLog b/app-misc/sphinx/ChangeLog
index 8c06258bc494..1b70c6208761 100644
--- a/app-misc/sphinx/ChangeLog
+++ b/app-misc/sphinx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/sphinx
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.66 2013/09/30 17:13:58 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.67 2013/10/15 19:04:12 graaff Exp $
+
+*sphinx-2.1.2 (15 Oct 2013)
+
+ 15 Oct 2013; Hans de Graaff <graaff@gentoo.org> +sphinx-2.1.2.ebuild:
+ Version bump for 2.1 series. Add syslog and xml USE flags. Drop test
+ dependency since we cannot actually run the tests from the ebuild.
30 Sep 2013; Agostino Sarubbo <ago@gentoo.org> sphinx-2.0.9.ebuild:
Stable for x86, wrt bug #486276
diff --git a/app-misc/sphinx/Manifest b/app-misc/sphinx/Manifest
index 496506c444b5..5f22a502ae0e 100644
--- a/app-misc/sphinx/Manifest
+++ b/app-misc/sphinx/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX searchd.rc 762 SHA256 6aa55b4761ce78e1e6e5153022797ffedc912638b965aeeab084e1246db5d70e SHA512 c6f491cb24fe4cc0c0990d877098876e02d096f8cae1bd82bdf762bf85383882829f8766d6e5bd18ad834513bad7de8d5c6d220cb4ce3b45a54ec683a3065b47 WHIRLPOOL ac1a1d388da84df6c3bc937e705ba5b86121b66ecd0324cc1bf92d8b64cc64ac978a034776bf0a2c7dd2143eb507d2a2341b0bf76fa5235ca179a6657125dcf3
AUX sphinx-1.10_beta-darwin8.patch 845 SHA256 c79ac91fd1b2e0f6701556ceeee492946898333eff3aa28f17d6346ea7f8bf35 SHA512 feb27fef40a0f836fb485f9c21010efe257e4b5bee422ab8e69a0c3fc6cb0ba6ffeaad00dd2f2af333e40d27ef2f5af5e4095776db3933dff5b772e80ba24c73 WHIRLPOOL 6ef1121690d28ec4e46581f70a9bd69613083adb098021ce371e739f207d3439a19353f92443eb8b0161a70dd13b2427bbbf3653e29dd5b9ac53ba4263cf4a54
@@ -13,26 +13,18 @@ DIST sphinx-0.9.9.tar.gz 1218359 SHA256 bf8f55ffc095ff6b628f0cbc7eb5476181114014
DIST sphinx-2.0.6-release.tar.gz 1972728 SHA256 de943c397efda706661b3a12e12e9f8cc8a03bf6c02c5a6ba967a06384feede2 SHA512 fdd3be8c4606a26e1f00bf5b92cbdc8f30482cb4c4b8130022bb1fec250e743a3f4beb1ba5b6b20dcdf39c57ec4d9efc679ea3130b4c32d4932cc748479dde5c WHIRLPOOL c986c372db65c7226273586398e085102725bc7cc9cb44ac39c1943c7df029a7c8e85a5b642f881e92aab0dbf0a66b3e5a1abd949042f81766f970f032977f30
DIST sphinx-2.0.8-release.tar.gz 1989017 SHA256 bd699bf34635558e4d9d4d8bdcf5fcdd9c2e8f6c614824bec793b0010fa6cda3 SHA512 aa68344683d7cb4869c070967e44d40ba40d6b9a0ec9f27cfa4116266d79a91a5756f90e7d8d4f5a42faa857e70da12873505d3dbbad9b86a6fdb3da14ff10d8 WHIRLPOOL f2732997b6dc29a1517b942dce73f3a8ad5d027ee7af940d458dd8f53fe891fe0d0518df7e2c0af0fa05aa60c25b263814cc4460f329623ceb5a74253c4dab7c
DIST sphinx-2.0.9-release.tar.gz 1996939 SHA256 c4fb5d7951bc0831e46f102d17b5f32bbde11434ce3b00b20531dfe9e646869d SHA512 92fc7e3808f4b2fcdc47b510951cd6111e235e8cefa9f4046cd1943fe7161421495a858125c2f1416e893698d78dc83aeb57ea590dca6e4f9e95b6baaaa5f06d WHIRLPOOL 360c884205b8d78024bd8713c33bb4ad6773a5c15253121cfd093149b544162f5fbf02a0698476035d831f915317841acd871622a69692a9c1f212f4d7b492a9
+DIST sphinx-2.1.2-release.tar.gz 2388748 SHA256 73d63a5875a557196847d373f74a65713c81ede8329389fccc593f0e65703e60 SHA512 35bca5c405e812a21d57db7c1499bea3c441ac117bd7ea18f8111158b6faaba63e4c10f9eb848485073905ed424efc71dbadcdf350a1fb4cfa308201bb02dbf9 WHIRLPOOL b5857b6a997960bc95d78a9c1cd5dd919ae018139f7975318a659b15f613280be0da72358c4a70f0092132f4c7b4e2729958dcd803baf9440ca0d2ffb4b35c92
EBUILD sphinx-0.9.9.ebuild 1552 SHA256 b9ff793fbc25abd115bac22574f1762ecf0935e96a8ffe7783b79f9cdeba1e59 SHA512 03e39d6ec347d790dfc1b87be19c632c8c1eb24497f69f4450038119eefa55c30f8ca866c8ae694d1f140af9d842c2d14778a48317bac1a890aaf97b5a1a56a3 WHIRLPOOL 1a5e907ccf4e96a59b487152e3560d1d6506dcd947127cb587c3f75a39b89d0a80e2fc9c72aa2b1e7674e9ee390d6343026c3fe4da7121911883874567a57bf1
EBUILD sphinx-2.0.6.ebuild 2588 SHA256 1b5603aebaa798273d8366da0f9049e5b67a97747f9ffd6b412ca709316910a3 SHA512 3405392c0c8bd30c3ac4b00e202bb7d133bd300b586237ac36d908ce8fa7df4cbd630583203ba761e8f8a43f77dfb1f8ac6bd23cf730450213d7c42abde05e25 WHIRLPOOL c36138084d3480c6769fb5c0377b09280c6aa3de9c3b4c1db6416641e7181d40a4b0380299e42ef1b901464a15c9b37b95ff38aa4e69b66d6a73629237949635
EBUILD sphinx-2.0.8.ebuild 2627 SHA256 ed3961f7c1803f01d6191909d54598f414ad6d06ee8a17a43030900db70b8e95 SHA512 d82cf95a67d62068e57c3e91e1b507162ef8e09252029076cd9fbbc72988d744e3f0045823f0f35988fdba4d6198fb5887224fe37ab250296835b5b2298ce6f2 WHIRLPOOL a45b9fe0ea67b020d67a9af63a8399e367c9042a7bc67fc35d40254c5d765adbc68a3437bc76d6b52163e9e08a40c10d22847ed8008b976b15188108903304fc
EBUILD sphinx-2.0.9.ebuild 2730 SHA256 7a8690033fc4ac36cce8647f347f8733894fd3d87c93adfe4604059296e6de03 SHA512 6ae2f651315cba6b1c7864a00b70b202146ccf5ed648bf4356dd63d69b5ffad769ef6dad30f287bb8f7166a12bdf88c55bbb44179d9205bc97d7a231990d70c9 WHIRLPOOL 246dd2f38b980cd2b3841f165a55bd9cb595a486b42690d661360301d13e773c5eef84fcea07812661b31e9c8c123dd5ff6a5144f4849840f9cb8e8b12354023
-MISC ChangeLog 10286 SHA256 fb10e0c9b1aeec6d86b6b6faf480a74fdbc9820b15c1a6bdac14e2fe65a848c3 SHA512 ccb57495941ea3f8a917af0dcd5fcafdcf0f3864963b4eb8628c9e36233fdc9b21a9cd6c5b3151fa0eec4ab2627a4d6b08f31dad9918453aefcfbd027ce1657f WHIRLPOOL 6618a0583d56a9d968281272468df76a04203f34760c9450b7c905502eb88c9b1d3f47d53cad3f83ff0de774777cf4eb16d1df9b61bd1e1faf5703ccaa3d9b89
+EBUILD sphinx-2.1.2.ebuild 2787 SHA256 976f6763360ccf3065b1a5b840fa228ee1a77879aab575b03ab146410b788e3a SHA512 222b58ce07fd3df5fe8092d2604c1183ca4a604db29db38836444d50c9de4f1e506a6df15e6db8aab690b0e738362df756b2ce26834193cf38f22aededda7f80 WHIRLPOOL e0b7e898176c2156930b48adabe753e843977f59976b5b7bd6e9b798dbf20b12b07878d0df446ccca5a37fe29eec99e74aab4ae2269a7d2e546648dec89a6592
+MISC ChangeLog 10531 SHA256 1509aef516909dad440efe257453530f4c800c4e3c7ec91eb2e6b0e1570ae71c SHA512 12232096f0cc596708d80ed574a9a6258d99e5f638594dfd914566c781ca5aff19d256f8e86cec4b93552f849c22c1cd684a38b50c9b9544c83e8d11a6d37615 WHIRLPOOL 986c7decda31914cf6efe4a5ea33c20a413f1f417a84a9f5b6a58bde2b3a98347f0e2d3d5eb7e536bbdead5557162728c909908718f2e6c013d76d4fb2f49dd6
MISC metadata.xml 337 SHA256 14623eccba1198473356a1ba7a3558f38933f337088211ac45c647a15bcbebdd SHA512 59396e4a389398e533a4d9a4bbb8fc73fd585782500fb51a384aaed97781ebf6724344ae605d43e60d3426c85ca685002ff63952a647145284f28ef8dd411304 WHIRLPOOL c1cfba17f3ec92b9b32bedbb439923ec30e24e5f0b0d499021504f5a6ab0ae19ec363d4a79bb7a615a239b80d36b6094c7582e84ab5d3a874fb9f41ba34ce56e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSSbFNAAoJELp701BxlEWfiWoP/j/Z1c17QAZpXdpijR/BwegZ
-zVB52n1H5un358tanSGBpi0IB94LkJIakhhppuyIb+4AqvmS26cGfLQPs4fcobuL
-rMMI64srBALQzpW3Z0XcMTGiwHOGbK9UEgLW9u/HdZeqV7TxJBky0CJaWdZKFwJw
-a3doqlRt0xi1FSpKUurkxC/gufIs1MR1pUXQP+oikL/ObkijdYFnnqOmOScFSXMl
-o5sqTWwZWiSJoQNubLRXYPzqMxqqJaBL0RXAqoAsGqgyfGqgejUO/j2FeImDG6nO
-kP4PgeLndyPdA/9nDg+W/wfP6acptJxmFCeXFBGBBpI7o8Y2kWL0G570fwBIS1lH
-NqG4sN17b74FVeIOnONwinOE+GKRwpptSVMEsacYQB906JW+mRh69sU/YM5DXpjA
-6i6Rxj3x+tbhehUrLJB1HoLLi3etxLgtk/rNzUk5v4ioAZXzoGiH/8VCBVZo0x32
-2BH/KN5X/71lOYFRNdjUIfpOhpTPEJgBTk8OoEemmR1BvICS3W/EJiknIS4YJWYt
-l7XykKkm9SerRnbCWKniYOyqgJ6GZgBKZXPcuHuWKTQTVxTpkd09mNf4cPTAJ/ho
-GnkDHOZ9i6WoFc/7MSLVPRcsRF+fhY1r9fJocx+Urc25gt2RDCPx+oC3wayB3ipn
-kPd00LNTvAIsBktX99rM
-=fQ72
+iF4EAREIAAYFAlJdkbMACgkQiIP6VqMIqNfXvQD+KxZblTQDP9oSwaxaOHY4YjFS
+6yclmm0RqcncJOLLRykA/31bItftnpzcmMPkqD9tpj6Qda44dI5ElQG5TYg0mNbG
+=ntZM
-----END PGP SIGNATURE-----
diff --git a/app-misc/sphinx/sphinx-2.1.2.ebuild b/app-misc/sphinx/sphinx-2.1.2.ebuild
new file mode 100644
index 000000000000..24a17d651002
--- /dev/null
+++ b/app-misc/sphinx/sphinx-2.1.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-2.1.2.ebuild,v 1.1 2013/10/15 19:04:12 graaff Exp $
+
+EAPI=5
+inherit eutils autotools toolchain-funcs
+
+#MY_P=${P/_/-}
+MY_P=${P}-release
+
+# This has been added by Gentoo, to explicitly version libstemmer.
+# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
+# fetched.
+STEMMER_PV="20091122"
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz
+ stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="debug id64 mysql odbc postgres stemmer syslog test xml"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ odbc? ( dev-db/unixODBC )
+ xml? ( dev-libs/expat )
+ virtual/libiconv"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ if use stemmer; then
+ cd "${S}"
+ unpack libstemmer_c-${STEMMER_PV}.tgz
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
+
+ # drop nasty hardcoded search path breaking Prefix
+ # We patch configure directly since otherwise we need to run
+ # eautoreconf twice and that causes problems, bug 425380
+ sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
+
+ # Fix QA compilation warnings.
+ sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
+
+ pushd api/libsphinxclient || die
+ eautoreconf
+ popd || die
+}
+
+src_configure() {
+ # fix libiconv detection
+ use !elibc_glibc && export ac_cv_search_iconv=-liconv
+
+ econf \
+ --sysconfdir="${EPREFIX}/etc/${PN}" \
+ $(use_enable id64) \
+ $(use_with debug) \
+ $(use_with mysql) \
+ $(use_with odbc unixodbc) \
+ $(use_with postgres pgsql) \
+ $(use_with stemmer libstemmer) \
+ $(use_with syslog syslog) \
+ $(use_with xml libexpat )
+
+ cd api/libsphinxclient || die
+ econf STRIP=:
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)" || die "emake failed"
+
+ emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
+}
+
+src_test() {
+ elog "Tests require access to a live MySQL database and may require configuration."
+ elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
+
+ dodoc doc/*
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+
+ newinitd "${FILESDIR}"/searchd.rc searchd
+
+ if use test; then
+ insinto /usr/share/${PN}
+ doins -r test
+ fi
+}