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
32a9935f
Commit
32a9935f
authored
Jul 29, 2016
by
system_user
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed open_ssl from this branch
parent
58279643
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
78 deletions
+53
-78
packages/jdk8.rb
packages/jdk8.rb
+6
-6
packages/node.rb
packages/node.rb
+4
-6
packages/node_current.rb
packages/node_current.rb
+4
-7
packages/node_stable.rb
packages/node_stable.rb
+4
-7
packages/openssl_devel.rb
packages/openssl_devel.rb
+0
-36
packages/python27.rb
packages/python27.rb
+4
-3
packages/readline-bak.rb
packages/readline-bak.rb
+23
-0
packages/readline.rb
packages/readline.rb
+5
-10
packages/ruby_latest.rb
packages/ruby_latest.rb
+3
-3
No files found.
packages/jdk8.rb
View file @
32a9935f
require
'package'
class
Jdk8
<
Package
version
'8.0.
25
'
version
'8.0.
91
'
binary_url
({
i686:
"http
s://www.dropbox.com/s/d1omw087ilkh5oq/jdk1.8.0_25_i686.tar.gz?dl=0
"
,
x86_64:
"http
s://www.dropbox.com/s/ykw2jt797cpghfy/jdk1.8.0_65_x86_64.tar.gz?dl=0
"
i686:
"http
://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-i586.tar.gz
"
,
x86_64:
"http
://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-x64.tar.gz
"
})
binary_sha
1
({
i686:
"
2f6fabc6e7b86fa2f21d19f9617d2641c5862a30
"
,
x86_64:
"
7701c06a704722b73bf8468a9d7819693e6d4be0
"
binary_sha
2
({
i686:
"
5ecd05b5e566cbe688fc1e3159f04004ccad14d4faa3f50d15ffba1d50b4cd52
"
,
x86_64:
"
6f9b516addfc22907787896517e400a62f35e0de4a7b4d864b26b61dbe1b7552
"
})
end
packages/node.rb
View file @
32a9935f
require
'package'
class
Node
<
Package
version
'4.4.
7
'
source_url
'https://nodejs.org/dist/v4.4.
7/node-v4.4.7
.tar.xz'
source_sha1
'
a39d03d04a79af2220ca94a8735e7acbe180c4e5
'
version
'4.4.
5
'
source_url
'https://nodejs.org/dist/v4.4.
5/node-v4.4.5
.tar.xz'
source_sha1
'
be0af595facab8be2dd8fa64c051c4c5a7ec0c4a
'
depends_on
'buildessential'
depends_on
'python27'
depends_on
'openssl_devel'
def
self
.
build
system
"CC='gcc' python2.7 ./configure --without-snapshot"
...
...
@@ -17,7 +16,6 @@ class Node < Package
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
#Fix Permissiongs for -g installs of node packages
system
"echo 'Now to get npm -g working you should type this'"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
system
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
end
end
packages/node_current.rb
View file @
32a9935f
require
'package'
class
Node_current
<
Package
version
'6.
3.1
'
source_url
'https://nodejs.org/dist/v6.
3.1/node-v6.3.1
.tar.xz'
source_sha1
'
7021da27637f0e099598f0a7e8ddaf07e8bb3a69
'
version
'6.
2.2
'
source_url
'https://nodejs.org/dist/v6.
2.2/node-v6.2.2
.tar.xz'
source_sha1
'
5014800813fa3682b8053637518b37a119c26e93
'
depends_on
'buildessential'
depends_on
'python27'
depends_on
'openssl_devel'
def
self
.
build
system
"CC='gcc' python2.7 ./configure --without-snapshot"
system
"make"
...
...
@@ -18,7 +16,6 @@ class Node_current < Package
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
#Fix Permissiongs for -g installs of node packages
system
"echo 'Now to get npm -g working you should type this'"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
system
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
end
end
packages/node_stable.rb
View file @
32a9935f
require
'package'
class
Node_stable
<
Package
version
'6.
3.1
'
source_url
'https://nodejs.org/dist/v6.
3.1/node-v6.3.1
.tar.xz'
source_sha1
'
7021da27637f0e099598f0a7e8ddaf07e8bb3a69
'
version
'6.
2.2
'
source_url
'https://nodejs.org/dist/v6.
2.2/node-v6.2.2
.tar.xz'
source_sha1
'
5014800813FA3682B8053637518B37A119C26E93
'
depends_on
'buildessential'
depends_on
'python27'
...
...
@@ -16,9 +16,6 @@ class Node_stable < Package
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
#Fix Permissiongs for -g installs of node packages
system
"echo 'Now to get npm -g working you should type this'"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
system
"echo 'also...'"
system
"echo 'node_stable has been depricated. Please install node_current to get the latest changes'"
system
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
end
end
packages/openssl_devel.rb
deleted
100644 → 0
View file @
58279643
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/python27.rb
View file @
32a9935f
require
'package'
class
Python27
<
Package
version
'2.7.1
0
'
source_url
'https://www.python.org/ftp/python/2.7.1
0/Python-2.7.10.tg
z'
# software source tarball url
source_sha1
'
49089f1f6ab445dc8ace97beeb276095c4c8039b'
# source tarball sha1 sum
version
'2.7.1
2
'
source_url
'https://www.python.org/ftp/python/2.7.1
2/Python-2.7.12.tar.x
z'
# software source tarball url
source_sha1
'
05360b8ade117b35e266b2004a7f1f11250c6dcd'
# source tarball sha1 sum
depends_on
'bz2'
depends_on
'ncurses'
depends_on
'openssl_devel'
def
self
.
build
# self.build contains commands needed to build the software from source
system
"./configure --prefix=/usr/local CPPFLAGS=
\"
-I/usr/local/include -I/usr/local/include/ncurses
\"
LDFLAGS=
\"
-L/usr/local/lib
\"
CFLAGS=
\"
-fPIC
\"
"
...
...
packages/readline-bak.rb
0 → 100644
View file @
32a9935f
require
'package'
class
Readline
<
Package
version
'6.2'
binary_url
({
x86_64:
"https://dl.dropboxusercontent.com/s/v8xva6e4u3tvkaw/readline-6.2-chromeos-x86_64.tar.gz?token_hash=AAHOv1kLiv7xzDkYEZCSB_3ShK0n_7B4m2dNGHPnn2fZIg&dl=1"
})
binary_sha1
({
x86_64:
'621c2538b452be33cca507110ccfd4144c61edd2'
})
depends_on
'buildessential'
#until binary for i686 provided
def
self
.
build
system
"./configure"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
end
packages/readline.rb
View file @
32a9935f
require
'package'
class
Readline
<
Package
version
'6.2'
version
'6.3'
source_url
'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz'
source_sha1
'017b92dc7fd4e636a2b5c9265a77ccc05798c9e1'
binary_url
({
x86_64:
"https://dl.dropboxusercontent.com/s/v8xva6e4u3tvkaw/readline-6.2-chromeos-x86_64.tar.gz?token_hash=AAHOv1kLiv7xzDkYEZCSB_3ShK0n_7B4m2dNGHPnn2fZIg&dl=1"
})
binary_sha1
({
x86_64:
'621c2538b452be33cca507110ccfd4144c61edd2'
})
depends_on
'buildessential'
#until binary for i686 provided
depends_on
'buildessential'
def
self
.
build
system
"./configure"
system
"
CC='gcc'
./configure"
system
"make"
end
...
...
packages/ruby_latest.rb
View file @
32a9935f
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_sha
1
'818e5e157f76d4912ba3a7c7b4fc5156105e83c3
'
version
'2.
3.1
'
source_url
'https://cache.ruby-lang.org/pub/ruby/2.
3/ruby-2.3.1
.tar.gz'
source_sha
2
'b87c738cb2032bf4920fef8e3864dc5cf8eae9d89d8d523ce0236945c5797dcd
'
depends_on
'readline'
depends_on
'zlibpkg'
...
...
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