mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Update curl-7.26.0 to use ca_root_certificates
This commit is contained in:
@@ -4,7 +4,7 @@ COPYRIGHT="1996-2012, Daniel Stenberg, <daniel@haxx.se>. All rights reserved."
|
|||||||
LICENSE="Curl"
|
LICENSE="Curl"
|
||||||
SRC_URI="http://curl.haxx.se/download/curl-7.26.0.tar.bz2"
|
SRC_URI="http://curl.haxx.se/download/curl-7.26.0.tar.bz2"
|
||||||
CHECKSUM_MD5="bfa80f01b3d300359cfb4d409b6136a3"
|
CHECKSUM_MD5="bfa80f01b3d300359cfb4d409b6136a3"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
ARCHITECTURES="x86_gcc2 ?x86"
|
ARCHITECTURES="x86_gcc2 ?x86"
|
||||||
|
|
||||||
# libcurl's SONAME is bumped whenever backward compat is broken, v7.16
|
# libcurl's SONAME is bumped whenever backward compat is broken, v7.16
|
||||||
@@ -16,10 +16,11 @@ PROVIDES="
|
|||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku >= $haikuVersion
|
haiku >= $haikuVersion
|
||||||
|
ca_root_certificates
|
||||||
lib:libssl
|
lib:libssl
|
||||||
"
|
"
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
lib:libssl
|
$REQUIRES
|
||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
cmd:gcc
|
cmd:gcc
|
||||||
cmd:ld
|
cmd:ld
|
||||||
@@ -34,10 +35,15 @@ SOURCE_DIR="$portVersionedName"
|
|||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
|
curlPackageLinksDir="$(finddir B_PACKAGE_LINKS_DIRECTORY)/$portRevisionedName"
|
||||||
|
certsInstallDir="$curlPackageLinksDir/ca_root_certificates"
|
||||||
|
certsDir="$certsInstallDir/$relativeDataRootDir/ssl"
|
||||||
|
|
||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
autoconf
|
autoconf
|
||||||
./configure $configureDirArgs \
|
./configure $configureDirArgs \
|
||||||
--enable-ipv6
|
--enable-ipv6 \
|
||||||
|
--with-ca-bundle="$certsDir/CARootCertificates.pem"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user