Update curl-7.26.0 to use ca_root_certificates

This commit is contained in:
Oliver Tappe
2013-04-28 17:47:26 +02:00
parent 052ffa137c
commit 1c1c636853

View File

@@ -4,7 +4,7 @@ COPYRIGHT="1996-2012, Daniel Stenberg, <daniel@haxx.se>. All rights reserved."
LICENSE="Curl"
SRC_URI="http://curl.haxx.se/download/curl-7.26.0.tar.bz2"
CHECKSUM_MD5="bfa80f01b3d300359cfb4d409b6136a3"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86"
# libcurl's SONAME is bumped whenever backward compat is broken, v7.16
@@ -16,10 +16,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
ca_root_certificates
lib:libssl
"
BUILD_REQUIRES="
lib:libssl
$REQUIRES
cmd:autoconf
cmd:gcc
cmd:ld
@@ -34,10 +35,15 @@ SOURCE_DIR="$portVersionedName"
BUILD()
{
curlPackageLinksDir="$(finddir B_PACKAGE_LINKS_DIRECTORY)/$portRevisionedName"
certsInstallDir="$curlPackageLinksDir/ca_root_certificates"
certsDir="$certsInstallDir/$relativeDataRootDir/ssl"
libtoolize --force --copy --install
autoconf
./configure $configureDirArgs \
--enable-ipv6
--enable-ipv6 \
--with-ca-bundle="$certsDir/CARootCertificates.pem"
make
}