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
Guillaume Hervier
chromebrew
Commits
b9b84b57
Commit
b9b84b57
authored
Jan 07, 2018
by
Damian Montero
Committed by
GitHub
Jan 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1594 from uberhacker/update-openssl-package
Update openssl from 1.0.2l-1 to 1.0.2n
parents
ac90519d
a0d09976
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
packages/openssl.rb
packages/openssl.rb
+19
-18
No files found.
packages/openssl.rb
View file @
b9b84b57
...
...
@@ -3,23 +3,16 @@ require 'package'
class
Openssl
<
Package
description
'OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.'
homepage
'https://www.openssl.org/'
version
'1.0.2
l-1
'
source_url
'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2
l
.tar.gz'
source_sha256
'
a3d3a7c03c90ba370405b2d12791598addfcafb1a77ef483c02a317a56c08485
'
version
'1.0.2
n
'
source_url
'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2
n
.tar.gz'
source_sha256
'
4f4bc907caff1fee6ff8593729e5729891adcee412049153a3bb4db7625e8364
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/openssl-1.0.2l-1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/openssl-1.0.2l-1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/openssl-1.0.2l-1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/openssl-1.0.2l-1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'ac4829ea69ad8434fca87133aec9fbd5d229ed59084c5e2f2e037735b0067eaf'
,
armv7l:
'ac4829ea69ad8434fca87133aec9fbd5d229ed59084c5e2f2e037735b0067eaf'
,
i686:
'33d9cf05d4a2d4ea611d95b996039e170f26f60ed3a988631e772859c385ac28'
,
x86_64:
'25374f35918d85ea05667c35b3df862e9c555b04f0579f1513d4461036bd1bff'
,
})
depends_on
'compressdoc'
=>
:build
depends_on
'perl'
=>
:build
depends_on
'bc'
=>
:build
# required for `make test`
depends_on
'diffutils'
=>
:build
# required for `make test`
...
...
@@ -40,24 +33,32 @@ class Openssl < Package
system
"sed -e '/linux-armv4/s/-O3/-O2/' -i Configure"
# Specify armv7 for aarch64 since Chrome OS aarch64 uses armv7 binaries as its userland.
case
`uname -m`
.
strip
when
"aarch64"
system
"./Configure --prefix=/usr/local --openssldir=/etc/ssl
#{
options
}
linux-armv4 -march=armv7-a"
case
ARCH
when
'aarch64'
system
"./Configure --prefix=
#{
CREW_PREFIX
}
--openssldir=/etc/ssl
#{
options
}
linux-armv4 -march=armv7-a"
when
'x86_64'
system
"./config --prefix=
#{
CREW_PREFIX
}
--libdir=lib64 --openssldir=/etc/ssl
#{
options
}
"
else
system
"./config --prefix=
/usr/local
--openssldir=/etc/ssl
#{
options
}
"
system
"./config --prefix=
#{
CREW_PREFIX
}
--openssldir=/etc/ssl
#{
options
}
"
end
system
"make"
system
'make'
end
def
self
.
install
system
"make"
,
"INSTALL_PREFIX=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"find
#{
CREW_DEST_
DIR
}
/usr/local
-name 'lib*.a' -print | xargs rm"
system
"find
#{
CREW_DEST_
PREFIX
}
-name 'lib*.a' -print | xargs rm"
# move man to /usr/local/man
system
"mv"
,
"
#{
CREW_DEST_DIR
}
/etc/ssl/man"
,
"
#{
CREW_DEST_
DIR
}
/usr/local
/man"
system
"mv"
,
"
#{
CREW_DEST_DIR
}
/etc/ssl/man"
,
"
#{
CREW_DEST_
PREFIX
}
/man"
# remove all files under /etc/ssl (use system's /etc/ssl as is)
system
"rm"
,
"-rf"
,
"
#{
CREW_DEST_DIR
}
/etc"
# compress man pages
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/man/man1"
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/man/man3"
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/man/man5"
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/man/man7"
end
def
self
.
check
...
...
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