Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
chromebrew
Commits
58f816ae
Commit
58f816ae
authored
Aug 07, 2018
by
Lorenzo Martinico
Committed by
Łukasz Nowak
Aug 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add re6stnet package
parent
f540f740
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
packages/re6stnet.rb
packages/re6stnet.rb
+39
-0
No files found.
packages/re6stnet.rb
0 → 100644
View file @
58f816ae
require
'package'
class
Re6stnet
<
Package
description
'Resilient, Scalable, IPv6 Network'
homepage
'https://re6st.nexedi.com/'
version
'0.501'
source_url
'https://lab.nexedi.com/nexedi/chromebrew-buildout-re6st/repository/archive?sha=master'
source_sha256
'056a94304282f9e073b85370be0b77c5f42a16fe0365602e921679d1287137fa'
binary_url
({
x86_64:
'https://softinst62285.host.vifib.net/public/re6stnet-0.501-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
x86_64:
'39e86454e8e11ba9672145a2fa5ab4754c1c739a9062f2019e6a2f066787e064'
,
})
depends_on
'python27'
=>
:build
depends_on
'filecmd'
=>
:build
@re6st_dir
=
"
#{
CREW_PREFIX
}
/opt/re6st"
def
self
.
build
system
"mkdir -p
#{
@re6st_dir
}
/bin && cp buildout.cfg
#{
@re6st_dir
}
&& cp bin/grandenet
#{
@re6st_dir
}
/bin"
system
"SSL_CERT_DIR=/etc/ssl/certs ./bin/buildout buildout:directory=
#{
@re6st_dir
}
"
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
CREW_PREFIX
}
/opt/ "
system
"cp -r
#{
@re6st_dir
}
#{
CREW_DEST_DIR
}#{
@re6st_dir
}
"
system
"rm -rf
#{
CREW_DEST_DIR
}#{
@re6st_dir
}
/download-cache"
end
def
self
.
postinstall
system
"ln -fs
#{
@re6st_dir
}
/bin/grandenet
#{
CREW_PREFIX
}
/bin/grandenet"
system
"ln -fs
#{
@re6st_dir
}
/bin/re6stnet
#{
CREW_PREFIX
}
/bin/re6stnet"
system
"ln -fs
#{
@re6st_dir
}
/bin/re6st-conf
#{
CREW_PREFIX
}
/bin/re6st-conf"
system
"ln -fs
#{
@re6st_dir
}
/bin/re6st-registry
#{
CREW_PREFIX
}
/bin/re6st-registry"
puts
"To initiate re6stnet, run /usr/local/bin/grandenet with superuser priviliges"
end
end
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