Name: curl
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
-Version: 7.53.1
+Version: 7.59.0
Release: 1
Group: Applications/Internet
License: MIT
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
-BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libcares)
BuildRequires: pkgconfig(libnghttp2)
-BuildRequires: pkgconfig(privacy-guard-client)
-
Provides: webclient
Group: Development/Libraries
License: MIT
Requires: libcurl = %{version}-%{release}
-Requires: glib2-devel
Provides: curl-devel = %{version}-%{release}
Obsoletes: curl-devel < %{version}-%{release}
%build
export CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT"
-
-%if "%{TIZEN_PROFILE_TV}" == "1"
+CFLAGS+=" -fstack-protector-strong -Wl,-z,relro -D_FORTIFY_SOURCE=2 -fPIE -pie"
+%if "%{tizen_profile_name}" == "tv"
CFLAGS+=" -DTIZEN_TV_EXT"
-%reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \
+%reconfigure --without-nss --without-gnutls --with-openssl --enable-ipv6 \
%else
%reconfigure --without-nss --without-gnutls --with-openssl --enable-ipv6 \
%endif
--with-ca-path==/etc/ssl/certs \
--with-ca-bundle=/etc/ssl/ca-bundle.pem \
---with-glib2 \
+--with-icu-uc \
--with-lber-lib=lber \
--enable-manual --enable-versioned-symbols --enable-ares --enable-debug --enable-curldebug \
--disable-static \