Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/groonga: groonga-4.0.7-r1.ebuild ChangeLog groonga-4.0.7.ebuild
Date: Tue, 02 Dec 2014 03:21:02
Message-Id: 20141202032057.2F110B539@oystercatcher.gentoo.org
1 grknight 14/12/02 03:20:57
2
3 Modified: ChangeLog
4 Added: groonga-4.0.7-r1.ebuild
5 Removed: groonga-4.0.7.ebuild
6 Log:
7 Revbump for bug 531334 and bug 531346
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
10
11 Revision Changes Path
12 1.2 app-text/groonga/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/groonga/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/groonga/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/groonga/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/groonga/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 29 Nov 2014 02:30:24 -0000 1.1
25 +++ ChangeLog 2 Dec 2014 03:20:57 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/groonga
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/groonga/ChangeLog,v 1.1 2014/11/29 02:30:24 grknight Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/groonga/ChangeLog,v 1.2 2014/12/02 03:20:57 grknight Exp $
31 +
32 +*groonga-4.0.7-r1 (02 Dec 2014)
33 +
34 + 02 Dec 2014; Brian Evans <grknight@g.o> +groonga-4.0.7-r1.ebuild,
35 + -groonga-4.0.7.ebuild, files/groonga.confd, files/groonga.initd:
36 + Revbump for bug 531334 and bug 531346
37
38 *groonga-4.0.7 (29 Nov 2014)
39
40
41
42
43 1.1 app-text/groonga/groonga-4.0.7-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/groonga/groonga-4.0.7-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/groonga/groonga-4.0.7-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: groonga-4.0.7-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/groonga/groonga-4.0.7-r1.ebuild,v 1.1 2014/12/02 03:20:57 grknight Exp $
53
54 EAPI=5
55 inherit eutils libtool user
56
57 DESCRIPTION="An Embeddable Fulltext Search Engine"
58 HOMEPAGE="http://groonga.org/"
59 SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc ruby sphinx static-libs uyield zeromq zlib"
65
66 RDEPEND="benchmark? ( >=dev-libs/glib-2.8 )
67 libedit? ( >=dev-libs/libedit-3 )
68 libevent? ( dev-libs/libevent )
69 lzo? ( dev-libs/lzo )
70 mecab? ( >=app-text/mecab-0.80 )
71 msgpack? ( dev-libs/msgpack )
72 ruby? ( dev-lang/ruby )
73 sphinx? ( >=dev-python/sphinx-1.0.1 )
74 zeromq? ( net-libs/zeromq )
75 zlib? ( sys-libs/zlib )"
76 DEPEND="${RDEPEND}
77 virtual/pkgconfig
78 sphinx? ( dev-python/sphinx )"
79
80 REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )"
81
82 pkg_setup() {
83 enewgroup groonga
84 enewuser groonga -1 -1 -1 groonga
85 }
86
87 src_prepare() {
88 elibtoolize
89 }
90
91 src_configure() {
92 # httpd is a bundled copy of nginx; disabled for security reasons
93 # prce only is used with httpd
94 # kytea and libstemmer are not available in portage
95 econf \
96 --disable-groonga-httpd \
97 --without-pcre \
98 --without-kytea \
99 --without-libstemmer \
100 --with-log-path="${EROOT}var/log/${PN}.log" \
101 --docdir="${EROOT}usr/share/doc/${P}" \
102 $(use_enable abort) \
103 $(use_enable benchmark) \
104 $(use_enable debug memory-debug) \
105 $(use_enable doc document) \
106 $(use_enable dynamic-malloc-change) \
107 $(use_enable exact-alloc-count) \
108 $(use_enable fmalloc) \
109 $(use_enable futex) \
110 $(use_enable libedit) \
111 $(use_with libevent) \
112 $(use_with lzo) \
113 $(use_with mecab) \
114 $(use_with msgpack message-pack "${EROOT}usr") \
115 $(use_enable nfkc) \
116 $(use_with ruby) \
117 $(use_with sphinx sphinx-build) \
118 $(use_enable static-libs static) \
119 $(use_enable uyield) \
120 $(use_enable zeromq) \
121 $(use_with zlib)
122 }
123
124 src_install() {
125 default
126
127 prune_libtool_files
128
129 newinitd "${FILESDIR}/${PN}.initd" ${PN}
130 newconfd "${FILESDIR}/${PN}.confd" ${PN}
131
132 keepdir /var/{log,lib}/${PN}
133 fowners groonga:groonga /var/{log,lib}/${PN}
134
135 dodoc README.md
136
137 use examples || rm -r "${D}usr/share/${PN}" || die
138 # Extra init script
139 rm -r "${D}usr/sbin/groonga-httpd-restart" || die
140 }