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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
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
Show 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 =
...
@@ -15,12 +15,12 @@ extends =
[groonga]
[groonga]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://packages.groonga.org/source/groonga/groonga-1
1.0.9
.tar.gz
url = https://packages.groonga.org/source/groonga/groonga-1
2.0.4
.tar.gz
md5sum =
9c66445d92c8b7536f1b28119ac1855b
md5sum =
a7c6416301e5b5899ef517193c510bd0
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
# temporary patch to respect more tokens in natural language mode.
# temporary patch to respect more tokens in natural language mode.
patches =
patches =
${:_profile_base_location_}/groonga.patch#
5d831331ddfdcd87e91b68949c339a1d
${:_profile_base_location_}/groonga.patch#
cc6a678acd478fc074e678c7b7dd09d8
patch-options = -p1
patch-options = -p1
configure-options =
configure-options =
--disable-static
--disable-static
...
@@ -48,8 +48,8 @@ environment =
...
@@ -48,8 +48,8 @@ environment =
[groonga-normalizer-mysql]
[groonga-normalizer-mysql]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.
5
.tar.gz
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.
8
.tar.gz
md5sum =
842d02becc6dcc25a02fa7e789c2cba7
md5sum =
a1520691da3083e14bdc65a9ec57a620
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
pre-configure = mkdir -p ${:groonga-plugin-dir}
pre-configure = mkdir -p ${:groonga-plugin-dir}
make-targets = GROONGA_PLUGINS_DIR=${:groonga-plugin-dir} install
make-targets = GROONGA_PLUGINS_DIR=${:groonga-plugin-dir} install
...
...
component/groonga/groonga.patch
View file @
d0589a41
--- a/lib/ii.c
--- a/lib/ii.c
+++ b/lib/ii.c
+++ b/lib/ii.c
@@ -10
387,7 +10387
,9 @@
@@ -10
874,7 +10874
,9 @@
? (
data->optarg->similarity_threshold
> GRN_HASH_SIZE(h)
? (
(uint32_t)(data->optarg->similarity_threshold)
> GRN_HASH_SIZE(h)
? 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) >> 3) + 1;
+ : (GRN_HASH_SIZE(h) < 8
+ : (GRN_HASH_SIZE(h) < 8
+ ? GRN_HASH_SIZE(h)
+ ? GRN_HASH_SIZE(h)
+ : ((GRN_HASH_SIZE(h) - 8) >> 3) + 8);
+ : ((GRN_HASH_SIZE(h) - 8) >> 3) + 8);
if (GRN_HASH_SIZE(h)) {
if (GRN_HASH_SIZE(h)) {
grn_id j, id;
grn_id j, id;
int w2, rep
;
float w2
;
component/mariadb/buildout.cfg
View file @
d0589a41
...
@@ -30,8 +30,8 @@ parts =
...
@@ -30,8 +30,8 @@ parts =
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://archive.mariadb.org//mariadb-${:version}/source/mariadb-${:version}.tar.gz
url = https://archive.mariadb.org//mariadb-${:version}/source/mariadb-${:version}.tar.gz
version = 10.4.2
2
version = 10.4.2
5
md5sum =
0d5e1b9e3694322e18819811a2bf81fa
md5sum =
76e6ee973adb7deb15d7936f710eb5a4
pre-configure =
pre-configure =
set '\bSET(PLUGIN_AUTH_PAM YES CACHE BOOL "")' cmake/build_configurations/mysql_release.cmake
set '\bSET(PLUGIN_AUTH_PAM YES CACHE BOOL "")' cmake/build_configurations/mysql_release.cmake
grep -q "$@"
grep -q "$@"
...
@@ -99,8 +99,8 @@ post-install =
...
@@ -99,8 +99,8 @@ post-install =
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://packages.groonga.org/source/mroonga/mroonga-1
1.09
.tar.gz
url = https://packages.groonga.org/source/mroonga/mroonga-1
2.04
.tar.gz
md5sum =
8b1786332edc61c41a769f225e6063b2
md5sum =
1d154e6cb4540f7be5791b5fb376a5de
pre-configure =
pre-configure =
rm -rf fake_mariadb_source
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
mkdir -p fake_mariadb_source
...
@@ -134,8 +134,8 @@ environment =
...
@@ -134,8 +134,8 @@ environment =
### (we just override here for easier revert)
### (we just override here for easier revert)
[mariadb-10.3]
[mariadb-10.3]
<= mariadb-10.4
<= mariadb-10.4
version = 10.3.3
2
version = 10.3.3
5
md5sum =
12341dc150c810c0072a40e55825ca57
md5sum =
b7a2e69d103eda3dd61c8bad8775c7bd
post-install =
post-install =
ldd=`ldd %(location)s/lib/plugin/ha_rocksdb.so`
ldd=`ldd %(location)s/lib/plugin/ha_rocksdb.so`
for x in ${lz4:location} ${snappy:location} ${zstd:location}
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