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