Commit a431fbb4 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

re6stnet version 0.514

parent 7dd1ea62
......@@ -2,15 +2,15 @@ require 'package'
class Re6stnet < Package
description 'Resilient, Scalable, IPv6 Network'
homepage 'https://re6st.nexedi.com/'
version '0.509'
source_url 'https://lab.nexedi.com/nexedi/chromebrew-buildout-re6st/repository/archive.tar.bz2?ref=e660cee04452f4ce8c21404a7499a0e16ec2613f'
source_sha256 '3fe0c3597356b38741467ba049cb48c0c90b2fc08eb95ed5f8c5dd483e330ce3'
version '0.514'
source_url 'https://lab.nexedi.com/nexedi/chromebrew-buildout-re6st/repository/archive.tar.bz2?ref=7bfeec648f552aade09c56af669668c64b065186'
source_sha256 '8e3fbefc6e0f9ca6053f0b7e0df3df51cd1773b674b2a8ed8e6b9287ef9d2e53'
binary_url ({
x86_64: 'https://softinst105421.host.vifib.net/public/re6stnet-0.509-chromeos-x86_64.tar.xz',
x86_64: 'https://softinst105421.host.vifib.net/public/re6stnet-0.514-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
x86_64: '7738494d48ac0311d6e863cb83fb98d0adc8efc965a416e7f6a654b40c45d63a',
x86_64: '88d3705ffb49f56227b9447f9772518343673f6a993287380301d7d90cb6a945',
})
depends_on 'python27' => :build
......@@ -18,17 +18,18 @@ class Re6stnet < Package
depends_on 'libiconv' => :build
depends_on 'glibc'
@re6st_dir = "#{CREW_PREFIX}/opt/re6st"
@re6st_dir = "#{CREW_PREFIX}/opt/re6st"
def self.build
system "mkdir -p #{@re6st_dir}/bin && cp buildout.cfg #{@re6st_dir}"
system "cp bin/grandenet #{@re6st_dir}/bin && cp bin/shill.sh #{@re6st_dir}/bin"
system "mkdir -p #{@re6st_dir}/bin/"
system "cp buildout.cfg #{@re6st_dir}"
system "cp bin/* #{@re6st_dir}/bin/"
system "gcc shill_wrapper.c -o #{@re6st_dir}/bin/shill_wrapper -ldl -Wall -fPIC -pie"
system "SSL_CERT_DIR=/etc/ssl/certs ./bin/buildout buildout:directory=#{@re6st_dir}"
system "cd #{@re6st_dir} && ./bin/bootstrap && MAKEFLAGS=-j SSL_CERT_DIR=/etc/ssl/certs ./bin/buildout"
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/opt/ "
system "mkdir -p #{CREW_DEST_PREFIX}/opt/"
system "cp -r #{@re6st_dir} #{CREW_DEST_DIR}#{@re6st_dir}"
system "rm -rf #{CREW_DEST_DIR}#{@re6st_dir}/download-cache"
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