Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : curl-gnutls | name : curl-gnutls | ||||
| version : 7.76.1 | version : 7.82.0 | ||||
| release : 40 | release : 41 | ||||
| source : | source : | ||||
| - https://github.com/curl/curl/releases/download/curl-7_76_1/curl-7.76.1.tar.xz : 64bb5288c39f0840c07d077e30d9052e1cbb9fa6c2dc52523824cc859e679145 | - https://github.com/curl/curl/releases/download/curl-7_82_0/curl-7.82.0.tar.xz : 0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c | ||||
| homepage : https://curl.haxx.se | homepage : https://curl.haxx.se | ||||
| license : MIT | license : MIT | ||||
| component : binary.compat | component : binary.compat | ||||
| emul32 : yes | emul32 : yes | ||||
| summary : curl-gnutls (GnuTLS version of curl) | summary : GnuTLS version of curl | ||||
| description: | | description: | | ||||
| This package provides binary compatibility only and enables the running of content expecting a GnuTLS version of curl. It is forbidden to build against it. | This package provides binary compatibility only and enables the running of content expecting a GnuTLS version of curl. It is forbidden to build against it. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig32(nettle) | - pkgconfig32(nettle) | ||||
| - pkgconfig32(p11-kit-1) | |||||
| - pkgconfig32(gnutls) | - pkgconfig32(gnutls) | ||||
| - pkgconfig32(zlib) | - pkgconfig32(zlib) | ||||
| - libunistring-32bit-devel | - patchelf | ||||
| - libtool-32bit | |||||
| - gmp-32bit-devel | |||||
| setup : | | setup : | | ||||
| %patch -N -p1 < $pkgfiles/0001-Use-gnutls.patch | |||||
| %reconfigure | |||||
| %configure --disable-static \ | %configure --disable-static \ | ||||
| --enable-threaded-resolver \ | --enable-threaded-resolver \ | ||||
| --disable-libcurl-option \ | --disable-libcurl-option \ | ||||
| --with-gnutls \ | --with-gnutls \ | ||||
| --with-ca-path=/etc/ssl/certs \ | --with-ca-path=/etc/ssl/certs | ||||
| --without-openssl \ | |||||
| --without-ssl | |||||
| build : | | build : | | ||||
| %make | %make | ||||
| install : | | install : | | ||||
| %make_install | %make_install | ||||
| # Only ship libraries | # Only ship libraries. | ||||
| for i in /usr/bin /usr/share %libdir%/pkgconfig /usr/include; do | for i in /usr/bin /usr/share %libdir%/pkgconfig /usr/include; do | ||||
| rm -rfv "$installdir/$i" | rm -rfv "$installdir/$i" | ||||
| done | done | ||||
| # Forbid linking too | # Forbid linking too. Keep only versioned sonames. | ||||
| rm $installdir/%libdir%/*.so | rm $installdir/%libdir%/*.so | ||||
| # Skip any potential .la files | rm $installdir/%libdir%/*.la | ||||
| rm -f $installdir/%libdir%/*.la || : | # Don't collide with OpenSSL-based curl. | ||||
| pushd $installdir/%libdir% | |||||
| for name in libcurl*; do | |||||
| gnuname=$(echo $name | sed 's|libcurl|libcurl-gnutls|') | |||||
| if [ -L $name ]; then | |||||
| patchelf --set-soname $gnuname $name | |||||
| fi | |||||
| mv $name $gnuname | |||||
| done | |||||
| popd | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.