curl: update to 7.50.0

This commit is contained in:
Tom G. Christensen 2016-08-06 17:00:36 +02:00
parent 961968d320
commit 57d0d2b95e
5 changed files with 3923 additions and 3 deletions

View File

@ -6,9 +6,12 @@
###########################################################
# Check the following 4 variables before running the script
topdir=curl
version=7.49.0
version=7.50.0
pkgver=1
source[0]=http://curl.haxx.se/download/$topdir-$version.tar.bz2
# https://curl.haxx.se/docs/caextract.html
certdate=2016-04-20
source[1]=cacert-$certdate.pem
# If there are no patches, simply comment this
#patch[0]=
@ -19,7 +22,7 @@ source[0]=http://curl.haxx.se/download/$topdir-$version.tar.bz2
export CPPFLAGS="-I$prefix/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
configure_args+=(--enable-static=no --enable-http --enable-ftp --enable-file --disable-ldap --enable-manual --disable-ipv6 --enable-cookies --enable-crypto --with-egd-socket=/var/run/egd-pool --with-libidn)
configure_args+=(--enable-static=no --enable-http --enable-ftp --enable-file --disable-ldap --enable-manual --enable-cookies --enable-crypto --with-libidn --with-libssh2 --with-ca-bundle=${prefix}/${_sysconfdir}/curl-ca-bundle.pem)
reg prep
prep()
@ -43,6 +46,7 @@ reg install
install()
{
generic_install DESTDIR
${__install} -m0644 -D $(get_source_absfilename "${source[1]}") ${stagedir}${prefix}/${_sysconfdir}/curl-ca-bundle.pem
doc CHANGES COPYING README* RELEASE-NOTES docs/FAQ docs/FEATURES docs/BUGS \
docs/MANUAL docs/RESOURCES docs/TODO docs/TheArtOfHttpScripting \
docs/examples/*.c docs/examples/Makefile.example docs/INTERNALS \
@ -64,6 +68,7 @@ install()
compat curl 7.46.0 1 1
compat curl 7.47.1 1 2
compat curl 7.48.0 1 1
compat curl 7.49.0 1 1
}
reg pack

View File

@ -1,5 +1,10 @@
CHANGELOG
---------
* Sat Aug 06 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 7.50.0-1
- Update to 7.50.0
- Include mozilla cacert bundle 2016-04-20
- Make the cert bundle an optional install
* Wed May 25 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 7.49.0-1
- Update to 7.49.0

View File

@ -22,7 +22,6 @@ $_vdocdir/docs/TheArtOfHttpScripting
$_bindir/curl
$_mandir/?a?1
$_libdir/libcurl.so.*
$_sharedir/zsh/site-functions/_curl
[curl-devel]
pkgname="${pkgprefix}${topdir}d"
@ -40,3 +39,12 @@ $_mandir/?a?3
$_vdocdir/docs/examples
$_sharedir/aclocal/libcurl.m4
[curl-cacerts]
pkgname="${pkgprefix}${topdir}ca"
name="${topdir}-cacerts - Mozilla CA cert bundle $certdate"
pkgcat="application"
pkgvendor="http://curl.haxx.se"
pkgdesc="The mozilla CA cert bundle as distributed by the curl project"
pkgver="$pkgver"
files(-,root,bin)
$_sysconfdir/curl-ca-bundle.pem

37
curl/meta/relnotes.curl Normal file
View File

@ -0,0 +1,37 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%
Source (sha1sum):
%%SOURCE_SHA1SUM%%
BUILD DETAILS
-------------
Compiler:
%%COMPILER%%
Environment:
%%ENVIRONMENT%%
Configure:
%%CONFIGURE%%
KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%
ERRORS/MISCELLANEOUS
--------------------
curl is configured to use a CA cert store.
If you do not install the curl-cacerts package then you must provide
your own cacerts file.
Failure to do so will result in errors like the below when accessing
https urls:
error setting certificate verify locations:
CAfile: /usr/tgcware/etc/curl-ca-bundle.pem
CApath: none

File diff suppressed because it is too large Load Diff