Commit d50ca604 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1500 from uberhacker/update-redis-package

Update redis from 4.0.2 to 4.0.6
parents 2ef9e6af 0a99b211
......@@ -3,34 +3,30 @@ require 'package'
class Redis < Package
description 'Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.'
homepage 'https://redis.io/'
version '4.0.2'
source_url 'http://download.redis.io/releases/redis-4.0.2.tar.gz'
source_sha256 'b1a0915dbc91b979d06df1977fe594c3fa9b189f1f3d38743a2948c9f7634813'
version '4.0.6'
source_url 'http://download.redis.io/releases/redis-4.0.6.tar.gz'
source_sha256 '769b5d69ec237c3e0481a262ff5306ce30db9b5c8ceb14d1023491ca7be5f6fa'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/redis-4.0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/redis-4.0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/redis-4.0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/redis-4.0.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a4f24f53f082024ce3e6b7e67c5cc345a8839f3beefe6dee29a544e29df12c8f',
armv7l: 'a4f24f53f082024ce3e6b7e67c5cc345a8839f3beefe6dee29a544e29df12c8f',
i686: '6d0a44c6cc3d28126d7ef5fe2d1530d40b29ddb0922f34b8a61b9ba38036d9e5',
x86_64: 'b67ed9e6102db702dbf1d1b9b31bcbe377a4f6b43643ee5a1c98cc656909a028',
})
depends_on 'buildessential'
depends_on 'tcl' => :build
def self.build
system "CC='gcc' make"
system "./runtest"
end
def self.install
system "make", "PREFIX=#{CREW_DEST_PREFIX}", "install"
puts "-----------------"
puts "Installation success!"
puts "To start the redis server: redis-server --daemonize yes"
puts "To connect to the server: redis-cli"
end
def self.postinstall
puts
puts "To start the redis server: redis-server --daemonize yes".lightblue
puts "To connect to the server: redis-cli".lightblue
puts
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment