Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos
Commits
d0589a41
Commit
d0589a41
authored
Jun 10, 2022
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version up: MariaDB 10.3.35/10.4.25, groonga 12.0.4, mroonga 12.04, groonga-normalizer-mysql 1.1.8
parent
6b5dfde2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
component/groonga/buildout.cfg
component/groonga/buildout.cfg
+5
-5
component/groonga/groonga.patch
component/groonga/groonga.patch
+4
-4
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+8
-8
No files found.
component/groonga/buildout.cfg
View file @
d0589a41
...
...
@@ -15,12 +15,12 @@ extends =
[groonga]
recipe = slapos.recipe.cmmi
shared = true
url = https://packages.groonga.org/source/groonga/groonga-1
1.0.9
.tar.gz
md5sum =
9c66445d92c8b7536f1b28119ac1855b
url = https://packages.groonga.org/source/groonga/groonga-1
2.0.4
.tar.gz
md5sum =
a7c6416301e5b5899ef517193c510bd0
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
# temporary patch to respect more tokens in natural language mode.
patches =
${:_profile_base_location_}/groonga.patch#
5d831331ddfdcd87e91b68949c339a1d
${:_profile_base_location_}/groonga.patch#
cc6a678acd478fc074e678c7b7dd09d8
patch-options = -p1
configure-options =
--disable-static
...
...
@@ -48,8 +48,8 @@ environment =
[groonga-normalizer-mysql]
recipe = slapos.recipe.cmmi
shared = true
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.
5
.tar.gz
md5sum =
842d02becc6dcc25a02fa7e789c2cba7
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.
8
.tar.gz
md5sum =
a1520691da3083e14bdc65a9ec57a620
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
pre-configure = mkdir -p ${:groonga-plugin-dir}
make-targets = GROONGA_PLUGINS_DIR=${:groonga-plugin-dir} install
...
...
component/groonga/groonga.patch
View file @
d0589a41
--- a/lib/ii.c
+++ b/lib/ii.c
@@ -10
387,7 +10387
,9 @@
? (
data->optarg->similarity_threshold
> GRN_HASH_SIZE(h)
@@ -10
874,7 +10874
,9 @@
? (
(uint32_t)(data->optarg->similarity_threshold)
> GRN_HASH_SIZE(h)
? GRN_HASH_SIZE(h)
:
data->optarg->similarity_threshold
)
:
(uint32_t)(data->optarg->similarity_threshold)
)
- : (GRN_HASH_SIZE(h) >> 3) + 1;
+ : (GRN_HASH_SIZE(h) < 8
+ ? GRN_HASH_SIZE(h)
+ : ((GRN_HASH_SIZE(h) - 8) >> 3) + 8);
if (GRN_HASH_SIZE(h)) {
grn_id j, id;
int w2, rep
;
float w2
;
component/mariadb/buildout.cfg
View file @
d0589a41
...
...
@@ -30,8 +30,8 @@ parts =
recipe = slapos.recipe.cmmi
shared = true
url = https://archive.mariadb.org//mariadb-${:version}/source/mariadb-${:version}.tar.gz
version = 10.4.2
2
md5sum =
0d5e1b9e3694322e18819811a2bf81fa
version = 10.4.2
5
md5sum =
76e6ee973adb7deb15d7936f710eb5a4
pre-configure =
set '\bSET(PLUGIN_AUTH_PAM YES CACHE BOOL "")' cmake/build_configurations/mysql_release.cmake
grep -q "$@"
...
...
@@ -82,7 +82,7 @@ environment =
patch-options = -p1
patches =
https://sources.debian.org/data/main/m/mariadb-10.3/1:10.3.34-0+deb10u1/debian/patches/0024-Revert-to-using-system-pcre-library.patch#1c6a0f2634f5a56122299674b77b1131
post-install =
post-install =
ldd=`ldd %(location)s/lib/plugin/ha_rocksdb.so`
for x in ${lz4:location} ${snappy:location} ${zstd:location}
do echo "$ldd" |grep -qF " $x/lib/"
...
...
@@ -99,9 +99,9 @@ post-install =
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
recipe = slapos.recipe.cmmi
shared = true
url = https://packages.groonga.org/source/mroonga/mroonga-1
1.09
.tar.gz
md5sum =
8b1786332edc61c41a769f225e6063b2
pre-configure =
url = https://packages.groonga.org/source/mroonga/mroonga-1
2.04
.tar.gz
md5sum =
1d154e6cb4540f7be5791b5fb376a5de
pre-configure =
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
cd fake_mariadb_source
...
...
@@ -134,8 +134,8 @@ environment =
### (we just override here for easier revert)
[mariadb-10.3]
<= mariadb-10.4
version = 10.3.3
2
md5sum =
12341dc150c810c0072a40e55825ca57
version = 10.3.3
5
md5sum =
b7a2e69d103eda3dd61c8bad8775c7bd
post-install =
ldd=`ldd %(location)s/lib/plugin/ha_rocksdb.so`
for x in ${lz4:location} ${snappy:location} ${zstd:location}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment