mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	Tweaked provision script to run successfully in Fedora 38 and included a script to build the groonga libs from source because the packages in Fedora repos are outdated. There is a major version jump from the last supported version (F34) which is EOL so references and support for older versions were removed. Fixes: #20635
		
			
				
	
	
		
			19 lines
		
	
	
		
			457 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			457 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
set -euxo pipefail
 | 
						|
 | 
						|
version="13.0.5"
 | 
						|
sha256=f49c4b2bd24f60a3237495dda241017c42076f4d2012bc523fcfa4f349f069a0
 | 
						|
 | 
						|
tmpdir="$(mktemp -d)"
 | 
						|
trap 'rm -r "$tmpdir"' EXIT
 | 
						|
cd "$tmpdir"
 | 
						|
tarball="groonga-$version.tar.gz"
 | 
						|
curl -fLO --retry 3 "https://github.com/groonga/groonga/releases/download/v$version/$tarball"
 | 
						|
sha256sum -c <<<"$sha256 $tarball"
 | 
						|
tar -xzf "$tarball"
 | 
						|
cd "groonga-$version"
 | 
						|
 | 
						|
./configure --prefix=/usr
 | 
						|
make -j "$(nproc)"
 | 
						|
make install
 |