BLACKSITE
:
216.73.216.175
:
91.108.101.54 / wf-saudi.com
:
Linux fr-int-web1425.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
:
/
opt
/
alt
/
curlssl11
/
usr
/
bin
/
Upload File:
files >> //opt/alt/curlssl11/usr/bin/curl-config
#!/bin/sh #*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://curl.se/docs/copyright.html. # # You may opt to use, copy, modify, merge, publish, distribute and/or sell # copies of the Software, and permit persons to whom the Software is # furnished to do so, under the terms of the COPYING file. # # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY # KIND, either express or implied. # # SPDX-License-Identifier: curl # ########################################################################### # shellcheck disable=SC2006 prefix='/opt/alt/curlssl11/usr' # Used in 'libdir' # shellcheck disable=SC2034 exec_prefix="/opt/alt/curlssl11/usr" # shellcheck disable=SC2034 includedir="/opt/alt/curlssl11/usr/include" usage() { cat <<EOF Usage: curl-config [OPTION] Available values for OPTION include: --built-shared says 'yes' if libcurl was built shared --ca CA bundle install path --cc compiler --cflags preprocessor and compiler flags --checkfor [version] check for (lib)curl of the specified version --configure the arguments given to configure when building curl --features newline separated list of enabled features --help display this help and exit --libs library linking information --prefix curl install prefix --protocols newline separated list of enabled protocols --ssl-backends output the SSL backends libcurl was built to support --static-libs static libcurl library linking information --version output version information --vernum output version as a hexadecimal number EOF exit "$1" } if test "$#" -eq 0; then usage 1 fi while test "$#" -gt 0; do case "$1" in --built-shared) echo 'yes' ;; --ca) echo '/etc/pki/tls/certs/ca-bundle.crt' ;; --cc) echo 'gcc' ;; --prefix) echo "$prefix" ;; --feature|--features) for feature in alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets ''; do test -n "$feature" && echo "$feature" done ;; --protocols) # shellcheck disable=SC2043 for protocol in DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS IPFS IPNS LDAP LDAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP WS WSS; do echo "$protocol" done ;; --version) echo 'libcurl 8.14.1' exit 0 ;; --checkfor) checkfor="$2" cmajor=`echo "$checkfor" | cut -d. -f1` cminor=`echo "$checkfor" | cut -d. -f2` # when extracting the patch part we strip off everything after a # dash as that's used for things like version 1.2.3-pre1 cpatch=`echo "$checkfor" | cut -d. -f3 | cut -d- -f1` vmajor=`echo '8.14.1' | cut -d. -f1` vminor=`echo '8.14.1' | cut -d. -f2` # when extracting the patch part we strip off everything after a # dash as that's used for things like version 1.2.3-pre1 vpatch=`echo '8.14.1' | cut -d. -f3 | cut -d- -f1` if test "$vmajor" -gt "$cmajor"; then exit 0 fi if test "$vmajor" -eq "$cmajor"; then if test "$vminor" -gt "$cminor"; then exit 0 fi if test "$vminor" -eq "$cminor"; then if test "$cpatch" -le "$vpatch"; then exit 0 fi fi fi echo "requested version $checkfor is newer than existing 8.14.1" exit 1 ;; --vernum) echo '080e01' exit 0 ;; --help) usage 0 ;; --cflags) if test "X/opt/alt/curlssl11/usr/include" = 'X/usr/include'; then echo '' else echo " -I/opt/alt/curlssl11/usr/include" fi ;; --libs) if test "X/opt/alt/curlssl11/usr/lib64" != 'X/usr/lib' -a "X/opt/alt/curlssl11/usr/lib64" != 'X/usr/lib64'; then curllibdir="-L/opt/alt/curlssl11/usr/lib64 " else curllibdir='' fi if test 'Xyes' = 'Xno'; then echo "${curllibdir}-lcurl -lnghttp2 -lidn2 -lssh2 -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -L/opt/alt/krb5/usr/lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/opt/alt/krb5/usr/lib64 -L/opt/alt/openssl11/lib64 -Wl,-rpath=/opt/alt/openssl11/lib64 -L/opt/alt/openldap11/lib64 -Wl,-rpath=/opt/alt/openldap11/lib64 -L/opt/alt/krb5/lib64 -Wl,-rpath=/opt/alt/krb5/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lz -pthread" else echo "${curllibdir}-lcurl" fi ;; --ssl-backends) echo 'OpenSSL' ;; --static-libs) if test 'Xno' != 'Xno'; then echo "/opt/alt/curlssl11/usr/lib64/libcurl.a -L/opt/alt/openldap11/lib64 -L/opt/alt/libssh211/usr/lib64 -L/opt/alt/openssl11/lib64 -L/opt/alt/libssh211/usr/lib -lnghttp2 -lidn2 -lssh2 -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -L/opt/alt/krb5/usr/lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/opt/alt/krb5/usr/lib64 -L/opt/alt/openssl11/lib64 -Wl,-rpath=/opt/alt/openssl11/lib64 -L/opt/alt/openldap11/lib64 -Wl,-rpath=/opt/alt/openldap11/lib64 -L/opt/alt/krb5/lib64 -Wl,-rpath=/opt/alt/krb5/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lz -pthread" else echo 'curl was built with static libraries disabled' >&2 exit 1 fi ;; --configure) echo " '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/opt/alt/curlssl11/usr' '--exec-prefix=/opt/alt/curlssl11/usr' '--bindir=/opt/alt/curlssl11/usr/bin' '--sbindir=/opt/alt/curlssl11/usr/sbin' '--sysconfdir=/etc' '--datadir=/opt/alt/curlssl11/usr/share' '--includedir=/opt/alt/curlssl11/usr/include' '--libdir=/opt/alt/curlssl11/usr/lib64' '--libexecdir=/opt/alt/curlssl11/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/opt/alt/curlssl11/usr/share/man' '--infodir=/opt/alt/curlssl11/usr/share/info' '--disable-static' '--enable-ipv6' '--enable-ldaps' '--enable-ldap' '--enable-manual' '--enable-threaded-resolver' '--enable-symbol-hiding' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--with-gssapi=/opt/alt/krb5/usr' '--with-libidn2' '--with-libssh2=/opt/alt/libssh211/usr' '--enable-tls-srp' '--without-nss' '--with-libpsl' '--with-ssl=/opt/alt/openssl11' '--enable-unix-sockets' '--with-random=/dev/random' '--with-nghttp2' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/opt/alt/openldap11/lib64 -Wl,-rpath=/opt/alt/openldap11/lib64 -L/opt/alt/libssh211/usr/lib64 -Wl,-rpath=/opt/alt/libssh211/usr/lib64 -Wl,-rpath=/opt/alt/curlssl11/usr/lib64 -Wl,-rpath=/opt/alt/openssl11/lib64 -Wl,-rpath=/opt/alt/krb5/usr/lib64' 'CPPFLAGS= -I/opt/alt/openldap11/include'" ;; *) echo "unknown option: $1" usage 1 ;; esac shift done exit 0