1 |
graaff 13/08/28 09:26:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sphinx-2.0.9.ebuild |
5 |
Log: |
6 |
Version bump with bug fixes. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.64 app-misc/sphinx/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/ChangeLog?rev=1.64&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/ChangeLog?rev=1.64&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/ChangeLog?r1=1.63&r2=1.64 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v |
20 |
retrieving revision 1.63 |
21 |
retrieving revision 1.64 |
22 |
diff -u -r1.63 -r1.64 |
23 |
--- ChangeLog 27 Jun 2013 16:11:55 -0000 1.63 |
24 |
+++ ChangeLog 28 Aug 2013 09:26:23 -0000 1.64 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-misc/sphinx |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.63 2013/06/27 16:11:55 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.64 2013/08/28 09:26:23 graaff Exp $ |
30 |
+ |
31 |
+*sphinx-2.0.9 (28 Aug 2013) |
32 |
+ |
33 |
+ 28 Aug 2013; Hans de Graaff <graaff@g.o> +sphinx-2.0.9.ebuild: |
34 |
+ Version bump with bug fixes. |
35 |
|
36 |
27 Jun 2013; Jeroen Roovers <jer@g.o> sphinx-2.0.8.ebuild: |
37 |
Marked ~hppa too. |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-misc/sphinx/sphinx-2.0.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/sphinx-2.0.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/sphinx-2.0.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sphinx-2.0.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-2.0.9.ebuild,v 1.1 2013/08/28 09:26:23 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils autotools toolchain-funcs |
54 |
|
55 |
#MY_P=${P/_/-} |
56 |
MY_P=${P}-release |
57 |
|
58 |
# This has been added by Gentoo, to explicitly version libstemmer. |
59 |
# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was |
60 |
# fetched. |
61 |
STEMMER_PV="20091122" |
62 |
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL" |
63 |
HOMEPAGE="http://www.sphinxsearch.com/" |
64 |
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz |
65 |
stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" |
70 |
IUSE="debug id64 mysql odbc postgres stemmer test" |
71 |
|
72 |
RDEPEND="mysql? ( virtual/mysql ) |
73 |
postgres? ( dev-db/postgresql-base ) |
74 |
odbc? ( dev-db/unixODBC ) |
75 |
virtual/libiconv" |
76 |
DEPEND="${RDEPEND} |
77 |
test? ( dev-lang/php )" |
78 |
|
79 |
S=${WORKDIR}/${MY_P} |
80 |
|
81 |
src_unpack() { |
82 |
unpack ${MY_P}.tar.gz |
83 |
if use stemmer; then |
84 |
cd "${S}" |
85 |
unpack libstemmer_c-${STEMMER_PV}.tgz |
86 |
fi |
87 |
} |
88 |
|
89 |
src_prepare() { |
90 |
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch |
91 |
|
92 |
# drop nasty hardcoded search path breaking Prefix |
93 |
# We patch configure directly since otherwise we need to run |
94 |
# eautoreconf twice and that causes problems, bug 425380 |
95 |
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die |
96 |
|
97 |
# Fix QA compilation warnings. |
98 |
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die |
99 |
|
100 |
pushd api/libsphinxclient || die |
101 |
eautoreconf |
102 |
popd || die |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
# fix libiconv detection |
107 |
use !elibc_glibc && export ac_cv_search_iconv=-liconv |
108 |
|
109 |
econf \ |
110 |
--sysconfdir="${EPREFIX}/etc/${PN}" \ |
111 |
$(use_enable id64) \ |
112 |
$(use_with debug) \ |
113 |
$(use_with mysql) \ |
114 |
$(use_with odbc unixodbc) \ |
115 |
$(use_with postgres pgsql) \ |
116 |
$(use_with stemmer libstemmer) |
117 |
|
118 |
cd api/libsphinxclient || die |
119 |
econf STRIP=: |
120 |
} |
121 |
|
122 |
src_compile() { |
123 |
emake AR="$(tc-getAR)" || die "emake failed" |
124 |
|
125 |
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed" |
126 |
} |
127 |
|
128 |
src_test() { |
129 |
elog "Tests require access to a live MySQL database and may require configuration." |
130 |
elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php" |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
emake DESTDIR="${D}" install || die "install failed" |
135 |
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed" |
136 |
|
137 |
dodoc doc/* |
138 |
|
139 |
dodir /var/lib/sphinx |
140 |
dodir /var/log/sphinx |
141 |
|
142 |
newinitd "${FILESDIR}"/searchd.rc searchd |
143 |
|
144 |
if use test; then |
145 |
insinto /usr/share/${PN} |
146 |
doins -r test |
147 |
fi |
148 |
} |