Skip to content
Snippets Groups Projects
Commit 8033fd02 authored by Marin Jankovski's avatar Marin Jankovski Committed by Marin Jankovski
Browse files

Merge branch 'build_curl_without_libssh2' into 'master'

Build curl without libssh2

Fixes #1245

See merge request !753
parent 0b2503e1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,7 +5,7 @@ omnibus-gitlab repository.
 
8.2.6
 
- No changes
- Build curl dependency without libssh2 17e41f8
 
8.2.5
 
Loading
Loading
#
# Copyright 2012-2014 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name "curl"
default_version "7.47.1"
dependency "zlib"
dependency "openssl"
version "7.47.1" do
source md5: "3f9d1be7bf33ca4b8c8602820525302b"
end
source url: "http://curl.haxx.se/download/curl-#{version}.tar.gz"
relative_path "curl-#{version}"
build do
env = with_standard_compiler_flags(with_embedded_path)
if freebsd?
# from freebsd ports - IPv6 Hostcheck patch
patch source: "curl-freebsd-hostcheck.patch", plevel: 1
end
delete "#{project_dir}/src/tool_hugehelp.c"
if aix?
# otherwise gawk will die during ./configure with variations on the theme of:
# "/opt/omnibus-toolchain/embedded/lib/libiconv.a(shr4.o) could not be loaded"
env["LIBPATH"] = "/usr/lib:/lib"
end
configure_command = [
"./configure",
"--prefix=#{install_dir}/embedded",
"--disable-manual",
"--disable-debug",
"--enable-optimize",
"--disable-ldap",
"--disable-ldaps",
"--disable-rtsp",
"--enable-proxy",
"--disable-dependency-tracking",
"--enable-ipv6",
"--without-libidn",
"--without-gnutls",
"--without-librtmp",
"--without-libssh2",
"--with-ssl=#{install_dir}/embedded",
"--with-zlib=#{install_dir}/embedded",
]
command configure_command.join(" "), env: env
make "-j #{workers}", env: env
make "install", env: env
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment