Commit 0b958b82 authored by Damian Montero's avatar Damian Montero

Adding PHP5 (5.6.29)

parents 58ac4b59 4a0f65e6
......@@ -3,31 +3,12 @@ require 'package'
class Openssl < Package
version '1.0.2j'
<<<<<<< HEAD
# chromeos wget can't do proper ssl negotiation with this server
# source_url 'https://www.openssl.org/source/openssl-1.0.2j.tar.gz'
# so use their ftp server.
=======
>>>>>>> upstream/master
source_url 'ftp://openssl.org/source/openssl-1.0.2j.tar.gz'
source_sha1 'bdfbdb416942f666865fa48fe13c2d0e588df54f'
depends_on 'perl'
def self.build
<<<<<<< HEAD
system "./config","--prefix=/usr/local","shared","zlib-dynamic"
system "make" #depend
end
def self.install
system "sudo make DESTDIR=/usr/local/ssl install"
system 'cd /usr/local/ssl && \ # make sure cert.pem exists
sudo wget http://curl.haxx.se/ca/cacert.pem && \
sudo mv cacert.pem cert.pem' # && \
#ln -s /usr/local/ssl/bin/openssl /usr/local/bin/openssl' # override the system version (in case of a version mismatch)
# the caveat here is /usr/local/bin should come before /usr/bin in $PATH (the default)
=======
system "./config", "--prefix=/usr/local", "--openssldir=/etc/ssl", "shared", "zlib-dynamic"
system "make"
end
......@@ -37,7 +18,6 @@ class Openssl < Package
# remove all files pretended to install /etc/ssl (use system's /etc/ssl as is)
system "rm", "-rf", "#{CREW_DEST_DIR}/etc"
>>>>>>> upstream/master
end
end
......@@ -5,7 +5,7 @@ require 'package'
# place holder here. PH needs to have source_url unfortunately.
class Openssl_devel < Package
<<<<<<< HEAD
version '1.0.2j'
# chromeos wget can't do proper ssl negotiation with this server
......@@ -13,12 +13,6 @@ class Openssl_devel < Package
# so use their ftp server.
source_url 'ftp://ftp.openssl.org/source/openssl-1.0.2j.tar.gz'
source_sha1 'bdfbdb416942f666865fa48fe13c2d0e588df54f'
=======
version 'removed'
source_url 'ftp://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2f.tar.gz'
source_sha1 '2047c592a6e5a42bd37970bdb4a931428110a927'
>>>>>>> upstream/master
def self.build
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