mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Rqlite 9.3.1 => 9.3.5 (#13939)
This commit is contained in:
8
manifest/armv7l/r/rqlite.filelist
Normal file
8
manifest/armv7l/r/rqlite.filelist
Normal file
@@ -0,0 +1,8 @@
|
||||
# Total size: 44002296
|
||||
/usr/local/bin/rqbench
|
||||
/usr/local/bin/rqlite
|
||||
/usr/local/bin/rqlited
|
||||
/usr/local/bin/startrqlited
|
||||
/usr/local/bin/stoprqlited
|
||||
/usr/local/etc/bash.d/10-rqlited
|
||||
/usr/local/lib/ld-linux.so.3
|
||||
@@ -3,12 +3,20 @@ require 'package'
|
||||
class Rqlite < Package
|
||||
description 'The lightweight, user-friendly, distributed relational database built on SQLite.'
|
||||
homepage 'https://rqlite.io/'
|
||||
version '9.3.1'
|
||||
version '9.3.5'
|
||||
license 'MIT'
|
||||
compatibility 'x86_64'
|
||||
compatibility 'aarch64 armv7l x86_64'
|
||||
min_glibc '2.29'
|
||||
source_url "https://github.com/rqlite/rqlite/releases/download/v#{version}/rqlite-v#{version}-linux-amd64.tar.gz"
|
||||
source_sha256 '84fed36b27c336632c76463981ebf4e44811eb57efe31c35d1d6c160556c7b98'
|
||||
source_url({
|
||||
aarch64: "https://github.com/rqlite/rqlite/releases/download/v#{version}/rqlite-v#{version}-linux-arm.tar.gz",
|
||||
armv7l: "https://github.com/rqlite/rqlite/releases/download/v#{version}/rqlite-v#{version}-linux-arm.tar.gz",
|
||||
x86_64: "https://github.com/rqlite/rqlite/releases/download/v#{version}/rqlite-v#{version}-linux-amd64.tar.gz"
|
||||
})
|
||||
source_sha256({
|
||||
aarch64: '1f9bcc18d232de5a00bb7559de94d8104f26a72c220ddc6d29c0c1f2c808911f',
|
||||
armv7l: '1f9bcc18d232de5a00bb7559de94d8104f26a72c220ddc6d29c0c1f2c808911f',
|
||||
x86_64: '24ed2ce052c9ed8e6f6261810062f88632f810f0d0e6887860758d376df85a5a'
|
||||
})
|
||||
|
||||
depends_on 'psmisc'
|
||||
|
||||
@@ -33,6 +41,10 @@ class Rqlite < Package
|
||||
def self.install
|
||||
FileUtils.install %w[rqbench rqlite rqlited startrqlited stoprqlited], "#{CREW_DEST_PREFIX}/bin", mode: 0o755
|
||||
FileUtils.install 'rqlited.sh', "#{CREW_DEST_PREFIX}/etc/bash.d/10-rqlited"
|
||||
if File.exist?("#{CREW_PREFIX}/opt/glibc-libs/ld-linux-armhf.so.3") && !File.exist?("#{CREW_LIB_PREFIX}/ld-linux.so.3")
|
||||
FileUtils.mkdir_p CREW_DEST_LIB_PREFIX
|
||||
FileUtils.ln_s "#{CREW_PREFIX}/opt/glibc-libs/ld-linux-armhf.so.3", "#{CREW_DEST_LIB_PREFIX}/ld-linux.so.3"
|
||||
end
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
@@ -41,7 +53,6 @@ class Rqlite < Package
|
||||
Run 'startrqlited' to start the rqlite daemon.
|
||||
Run 'stoprqlited' to stop the rqlite daemon.
|
||||
Run 'rqlite' to start the cli.
|
||||
|
||||
EOM
|
||||
end
|
||||
|
||||
|
||||
4
tests/package/r/rqlite
Executable file
4
tests/package/r/rqlite
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
rqbench -h 2>&1
|
||||
rqlite -h | head
|
||||
rqlite -v
|
||||
Reference in New Issue
Block a user