1 |
commit: 9df0525a7b466902edb13d8a259bca797f30c4b0 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 11 17:37:43 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 17:37:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df0525a |
7 |
|
8 |
app-text/groonga: Version bump for 8.0.2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/655172 |
11 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
12 |
|
13 |
app-text/groonga/Manifest | 1 + |
14 |
app-text/groonga/groonga-8.0.2.ebuild | 102 ++++++++++++++++++++++++++++++++++ |
15 |
app-text/groonga/metadata.xml | 2 + |
16 |
3 files changed, 105 insertions(+) |
17 |
|
18 |
diff --git a/app-text/groonga/Manifest b/app-text/groonga/Manifest |
19 |
index e87180557c3..2c60f422ecf 100644 |
20 |
--- a/app-text/groonga/Manifest |
21 |
+++ b/app-text/groonga/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST groonga-5.0.3.tar.gz 12421501 BLAKE2B 22b695fca6c4d0859b7a9ed5b1bc46be48493faa513524634662b0d520d1159bc70b4dc34d82ba83e5c57681f01f01dbe47d5a957f110eab2db65cf8eefe878f SHA512 c4595054f46e150b0b95b3d1fb6a18098c93471ee0cdeefc54d266a710db57d6b68a6aceb1a61ede5ebb4e1b5518be64b9b96809bd85634b61c84c1923cbf158 |
24 |
DIST groonga-5.0.9.tar.gz 12851324 BLAKE2B a58084146e5e8fbcbc56f9737a3623b4385123cc449fb63b136f3f312d31d5574620831a4fa6e759381950ee6aa035e4d6a4c277c26c7d8ebb1e99fe5bf02e75 SHA512 6e89be8894737616cfcbd0edd92c94a25fb8a2f9c97bd0aab10c2d628664aa328384d6b953516fe96cec5b58fd229c42262caad4785ca9574c759d6d7177fba6 |
25 |
DIST groonga-6.1.2.tar.gz 14028916 BLAKE2B c05a1a5a73bce63655eb588b3021570d22a0016837810c12813bb4f208bf9b114fc514a8887e4f756fb0ec27ad2c991eea026bf57391e9234e49ee084656d26c SHA512 cd2dd667608fac856b36a824c5ea285da937cc11b6d4e5ad2f84581f6fbc714b4bb381515ec7b467ddccfad77c77c080000def653d9cdd8725c0f512c7b83f20 |
26 |
+DIST groonga-8.0.2.tar.gz 15095427 BLAKE2B fa83034a434edaa35dede08cb042e48f15e1e2edd78a121f9341f53f53a5eef863d02e2ea6384428c720c4ff9acf1083504046c8c11a1ea8d7bfc4b541db66b5 SHA512 bc5590604054c4adfbc80b39c7cf367e8a989c47d80c37c48feffb9a427b4b4e360289f3d732f6affa7d26a1c8559f23bda1c70b6736a06601398fce9a53acf1 |
27 |
|
28 |
diff --git a/app-text/groonga/groonga-8.0.2.ebuild b/app-text/groonga/groonga-8.0.2.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..ebc194e460c |
31 |
--- /dev/null |
32 |
+++ b/app-text/groonga/groonga-8.0.2.ebuild |
33 |
@@ -0,0 +1,102 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit libtool user |
40 |
+ |
41 |
+DESCRIPTION="An Embeddable Fulltext Search Engine" |
42 |
+HOMEPAGE="https://groonga.org/" |
43 |
+SRC_URI="https://packages.groonga.org/source/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex jemalloc libedit libevent lzo +mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib zstd" |
49 |
+ |
50 |
+RDEPEND=">=dev-libs/onigmo-6.1.1:0= |
51 |
+ benchmark? ( >=dev-libs/glib-2.8 ) |
52 |
+ jemalloc? ( dev-libs/jemalloc:0= ) |
53 |
+ libedit? ( >=dev-libs/libedit-3 ) |
54 |
+ libevent? ( dev-libs/libevent:0= ) |
55 |
+ lzo? ( dev-libs/lzo ) |
56 |
+ mecab? ( >=app-text/mecab-0.80 ) |
57 |
+ msgpack? ( dev-libs/msgpack ) |
58 |
+ sphinx? ( >=dev-python/sphinx-1.0.1 ) |
59 |
+ zeromq? ( net-libs/zeromq:0= ) |
60 |
+ zlib? ( sys-libs/zlib:0= ) |
61 |
+ zstd? ( app-arch/zstd:0= )" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ virtual/pkgconfig |
64 |
+ sphinx? ( dev-python/sphinx )" |
65 |
+ |
66 |
+REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ enewgroup groonga |
70 |
+ enewuser groonga -1 -1 -1 groonga |
71 |
+} |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ default_src_prepare |
75 |
+ elibtoolize |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ # httpd is a bundled copy of nginx; disabled for security reasons |
80 |
+ # prce only is used with httpd |
81 |
+ # Apache arrow, kytea and libstemmer are not available in Gentoo repo |
82 |
+ # ruby is only used for an http test |
83 |
+ local econfopts=( |
84 |
+ --disable-groonga-httpd |
85 |
+ --without-pcre |
86 |
+ --without-kytea |
87 |
+ --without-libstemmer |
88 |
+ --disable-arrow |
89 |
+ --with-log-path="${EROOT%/}/var/log/${PN}.log" |
90 |
+ --docdir="${EROOT%/}/usr/share/doc/${P}" |
91 |
+ --without-ruby |
92 |
+ --with-shared-onigmo |
93 |
+ --with-onigmo=system |
94 |
+ $(use_enable abort) |
95 |
+ $(use_enable benchmark) |
96 |
+ $(use_enable debug memory-debug) |
97 |
+ $(use_enable doc document) |
98 |
+ $(use_enable dynamic-malloc-change) |
99 |
+ $(use_enable exact-alloc-count) |
100 |
+ $(use_enable fmalloc) |
101 |
+ $(use_enable futex) |
102 |
+ $(use_with jemalloc) |
103 |
+ $(use_enable libedit) |
104 |
+ $(use_with libevent) |
105 |
+ $(use_with lzo) |
106 |
+ $(use_with mecab) |
107 |
+ $(use_enable msgpack message-pack) |
108 |
+ $(use_with msgpack message-pack "${EROOT%/}/usr") |
109 |
+ $(use_enable nfkc) |
110 |
+ $(use_with sphinx sphinx-build) |
111 |
+ $(use_enable static-libs static) |
112 |
+ $(use_enable uyield) |
113 |
+ $(use_enable zeromq) |
114 |
+ $(use_with zlib) |
115 |
+ $(use_with zstd) |
116 |
+ ) |
117 |
+ econf "${econfopts[@]}" |
118 |
+} |
119 |
+ |
120 |
+src_install() { |
121 |
+ local DOCS=( README.md ) |
122 |
+ default |
123 |
+ |
124 |
+ find "${D}" -name '*.la' -delete || die |
125 |
+ |
126 |
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} |
127 |
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} |
128 |
+ |
129 |
+ keepdir /var/{log,lib}/${PN} |
130 |
+ fowners groonga:groonga /var/{log,lib}/${PN} |
131 |
+ |
132 |
+ use examples || rm -r "${D%/}/usr/share/${PN}" || die |
133 |
+ # Extra init script |
134 |
+ rm -r "${D%/}/usr/sbin/groonga-httpd-restart" || die |
135 |
+} |
136 |
|
137 |
diff --git a/app-text/groonga/metadata.xml b/app-text/groonga/metadata.xml |
138 |
index 937c8f29617..3bf71ce09a1 100644 |
139 |
--- a/app-text/groonga/metadata.xml |
140 |
+++ b/app-text/groonga/metadata.xml |
141 |
@@ -11,6 +11,7 @@ |
142 |
<flag name="exact-alloc-count">Atomic counting for memory alloc count</flag> |
143 |
<flag name="fmalloc">Make memory allocation failed in specified condition for debug</flag> |
144 |
<flag name="futex">Use futex</flag> |
145 |
+ <flag name="jemalloc">Enable <pkg>dev-libs/jemalloc</pkg> for memory management</flag> |
146 |
<flag name="libevent">Enable <pkg>dev-libs/libevent</pkg> used for suggestion</flag> |
147 |
<flag name="mecab">Use <pkg>app-text/mecab</pkg> for morphological analysis</flag> |
148 |
<flag name="msgpack">Enable <pkg>dev-libs/msgpack</pkg> used for suggestion</flag> |
149 |
@@ -18,5 +19,6 @@ |
150 |
<flag name="sphinx">Enable document generation by <pkg>app-misc/sphinx</pkg></flag> |
151 |
<flag name="uyield">Build for detecting race conditions</flag> |
152 |
<flag name="zeromq">Enable <pkg>net-libs/zeromq</pkg> used for suggestion</flag> |
153 |
+ <flag name="zstd">Utilize <pkg>app-arch/zstd</pkg> for Zstandard compression</flag> |
154 |
</use> |
155 |
</pkgmetadata> |