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
nexedi
chromebrew
Commits
42479968
Commit
42479968
authored
Jul 29, 2016
by
system_user
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning this pull request
parent
59344a31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
packages/openssl_devel.rb
packages/openssl_devel.rb
+36
-0
packages/ruby_latest.rb
packages/ruby_latest.rb
+19
-0
No files found.
packages/openssl_devel.rb
0 → 100644
View file @
42479968
require
'package'
#Installs JUST the headers to match the chromeos supplied libraries so that you can build things
# that link with openssl. Needs to be kept version-synced with chromeos releases
# Could detect current version and grab one of many different packages, compare to saved
# hashes and support multiple versions if needed
#grumble - package names in crew must conform to ruby variable name restrictions. For instance '-' is disallowed
class
Openssl_devel
<
Package
version
'1.0.2g'
# chromeos wget can't do proper ssl negotiation with this server
# source_url 'https://www.openssl.org/source/old/1.0.2/openssl-1.0.2f.tar.gz'
# so use their ftp server.
source_url
'ftp://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2g.tar.gz'
source_sha1
'36af23887402a5ea4ebef91df8e61654906f58f2'
depends_on
'perl'
def
self
.
build
# only need to run config to get the headers set up right
system
'./config'
end
def
self
.
install
out
=
"
#{
CREW_DEST_DIR
}
/usr/local/include/openssl"
system
"mkdir -p
#{
out
}
"
`ls ./include/openssl`
.
split
(
' '
).
each
do
|
header
|
system
"cp"
,
"./include/openssl/
#{
header
}
"
,
out
end
#system "cp", "./include/openssl/*", "#{out}"
end
end
packages/ruby_latest.rb
0 → 100644
View file @
42479968
require
'package'
class
Ruby_latest
<
Package
version
'2.2.4'
source_url
'https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.gz'
source_sha1
'818e5e157f76d4912ba3a7c7b4fc5156105e83c3'
depends_on
'readline'
depends_on
'zlibpkg'
def
self
.
build
system
"CC='gcc' ./configure"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
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