Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/crypto/openssl/apps/
H A Dtsget.in44 my $curl = WWW::Curl::Easy::new();
47 $curl->setopt(CURLOPT_VERBOSE, 1) if $options{d};
48 $curl->setopt(CURLOPT_FAILONERROR, 1);
49 $curl->setopt(CURLOPT_USERAGENT,
53 $curl->setopt(CURLOPT_UPLOAD, 1);
54 $curl->setopt(CURLOPT_CUSTOMREQUEST, "POST");
55 $curl->setopt(CURLOPT_HTTPHEADER,
58 $curl->setopt(CURLOPT_READFUNCTION, \&read_body);
59 $curl->setopt(CURLOPT_HEADERFUNCTION, sub { return length($_[0]); });
62 $curl->setopt(CURLOPT_WRITEFUNCTION, \&write_body);
[all …]
/freebsd/release/scripts/
H A Datlas-upload.sh78 …BOXRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}?access_token…
86 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/boxes -X POST -d "box[name]=${BOX}" -d "access_t…
87 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX} -X PUT -d "box[is_private…
88 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX} -X PUT -d "box[descriptio…
94 …VERSIONRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/…
102 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/versions -X POST -d "vers…
103 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/${VERSION} -X PUT…
104 …VERSIONRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/…
115 …PROVIDERRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version…
123 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/${VERSION}/provid…
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dhttp_curl.c45 CURL *curl; member
73 if (ctx->curl) { in clear_curl()
74 curl_easy_cleanup(ctx->curl); in clear_curl()
75 ctx->curl = NULL; in clear_curl()
125 static int curl_cb_debug(CURL *curl, curl_infotype info, char *buf, size_t len, in curl_cb_debug() argument
1293 static CURLcode curl_cb_ssl(CURL *curl, void *sslctx, void *parm) in curl_cb_ssl() argument
1332 CURL *curl; in setup_curl_post() local
1342 curl = curl_easy_init(); in setup_curl_post()
1343 if (curl == NULL) in setup_curl_post()
1346 curl_easy_setopt(curl, CURLOPT_URL, address); in setup_curl_post()
[all …]
/freebsd/sys/contrib/openzfs/config/
H A Duser-libfetch.m411 dnl # libcurl development packages include curl-config(1) – we want:
42 if curl-config --protocols 2>/dev/null | grep -q HTTPS &&
43 test "$(printf "%u" "0x$(curl-config --vernum)")" -ge "$(printf "%u" "0x071000")"; then
46 if test "$(curl-config --built-shared)" = "yes"; then
52 LIBFETCH_LIBS="$(curl-config --libs)"
56 CCFLAGS="$CCFLAGS $(curl-config --cflags)"
/freebsd/release/
H A DMakefile.oracle27 ORACLE_PORTS_LIST= ftp/curl emulators/qemu@tools
31 .if !exists(/usr/local/bin/curl) || !exists(/usr/local/bin/qemu-img)
39 ${PORTSDIR}/ftp/curl \
96 curl -s ${ORACLE_PAR_URL}/${ORACLE_BASENAME}-${_FS}.oci --upload-file cw-oracle-${_FS}.oci
H A DMakefile.vagrant53 .if !exists(/usr/local/bin/curl)
54 . if !exists(${PORTSDIR}/ftp/curl/Makefile)
58 env ASSUME_ALWAYS_YES=yes pkg install -y curl
60 env UNAME_r=${UNAME_r} make -C ${PORTSDIR}/ftp/curl \
/freebsd/contrib/unbound/contrib/android/
H A Dinstall_ndk.sh19 if ! curl -L -k -s -o "$HOME/android-sdk.zip" https://dl.google.com/android/repository/commandlinet…
26 if ! curl -L -k -s -o "$HOME/android-ndk.zip" https://dl.google.com/android/repository/android-ndk-…
H A Dinstall_tools.sh6 sudo apt-get -qq install --no-install-recommends curl tar zip unzip perl openjdk-8-jdk autoconf aut…
H A Dinstall_openssl.sh4 if ! curl -L -k -s -o openssl-1.1.1d.tar.gz https://www.openssl.org/source/openssl-1.1.1d.tar.gz;
H A Dinstall_expat.sh4 if ! curl -L -k -s -o expat-2.2.9.tar.gz https://github.com/libexpat/libexpat/releases/download/R_2…
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c580 CURL *curl = curl_easy_init(); in get_key_material_https() local
581 if (curl == NULL) { in get_key_material_https()
629 (void) curl_easy_setopt(curl, CURLOPT_URL, uri); in get_key_material_https()
630 (void) curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in get_key_material_https()
631 (void) curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 30000L); in get_key_material_https()
632 (void) curl_easy_setopt(curl, CURLOPT_WRITEDATA, key); in get_key_material_https()
633 (void) curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errbuf); in get_key_material_https()
635 (void) curl_easy_setopt(curl, CURLOPT_CAINFO, cainfo); in get_key_material_https()
637 (void) curl_easy_setopt(curl, CURLOPT_CAPATH, capath); in get_key_material_https()
639 (void) curl_easy_setopt(curl, CURLOPT_SSLCERT, clcert); in get_key_material_https()
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-test-repo-vm.sh70 name=$(curl -Ls $url | grep 'dnf install' | grep -Eo 'zfs-release-[0-9]+-[0-9]+')
80 name=$(curl -Ls $url | grep 'dnf install' | grep -Eo 'zfs-release-[0-9]+-[0-9]+')
H A Dqemu-3-deps-vm.sh35 acl alien attr autoconf bc cpio cryptsetup curl dbench dh-python dkms \
79 acl attr bc bzip2 cryptsetup curl dbench dkms elfutils-libelf-devel fio \
/freebsd/contrib/unbound/contrib/ios/
H A Dinstall_tools.sh10 HOMEBREW_NO_AUTO_UPDATE=1 brew install curl perl 1>/dev/null
H A Dinstall_openssl.sh4 if ! curl -L -k -s -o openssl-1.1.1d.tar.gz https://www.openssl.org/source/openssl-1.1.1d.tar.gz;
H A Dinstall_expat.sh4 if ! curl -L -k -s -o expat-2.2.9.tar.gz https://github.com/libexpat/libexpat/releases/download/R_2…
/freebsd/contrib/wpa/hs20/client/
H A DAndroid.mk8 INCLUDES += external/curl/include
/freebsd/sys/contrib/openzfs/scripts/
H A Dzimport.sh325 curl -sL "$IMAGES_TAR" | \
411 curl -sL "$ZFS_URL" | tar -xz -C "$ZFS_DIR" \
/freebsd/contrib/libucl/src/
H A Ducl_util.c835 CURL *curl;
839 curl = curl_easy_init ();
840 if (curl == NULL) {
844 if ((r = curl_easy_setopt (curl, CURLOPT_URL, url)) != CURLE_OK) {
847 curl_easy_cleanup (curl);
850 curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, ucl_curl_write_callback);
853 curl_easy_setopt (curl, CURLOPT_WRITEDATA, &cbdata);
855 if ((r = curl_easy_perform (curl)) != CURLE_OK) {
860 curl_easy_cleanup (curl);
869 curl_easy_cleanup (curl);
/freebsd/contrib/sendmail/src/
H A Dmilter.c307 ssize_t len, curl; local
310 curl = 0;
343 len = read(m->mf_sock, buf + curl, sz - curl);
363 curl += len;
364 if (len == 0 || curl >= sz)
369 if (curl != sz)
373 m->mf_name, (long) curl, (long) sz);
377 m->mf_name, (long) curl, (long) sz);
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/
H A DREADME.md52 You may need to install `docker`, `make`, `curl`, `tar` and `unzip` first.
/freebsd/contrib/file/magic/Magdir/
H A Duf221 # families=`curl \
/freebsd/contrib/tzdata/
H A DCONTRIBUTING73 lack 'curl' or use 'make CURL=:'. If you have the latest GCC,
/freebsd/lib/libfetch/
H A Dhttp.c1379 struct url *curl; in http_connect() local
1404 curl = (purl != NULL) ? purl : URL; in http_connect()
1407 if ((conn = fetch_connect(curl->host, curl->port, af, verbose)) == NULL) in http_connect()
/freebsd/tools/tools/nanobsd/dhcpd/
H A Dos-base64 add_port ftp/curl

12