Saturday, September 17, 2016

FreeBSD: Installing cURL

Command:

# pkg install curl


Result:

Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    940 B   0.9kB/s    00:01  
Fetching packagesite.txz: 100%    6 MiB 524.9kB/s    00:11  
Processing entries: 100%
FreeBSD repository update completed. 25376 packages processed.
Updating database digests format: 100%
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
curl: 7.50.1
ca_root_nss: 3.26

Number of packages to be installed: 2

The process will require 6 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y

Fetching curl-7.50.1.txz: 100%    2 MiB 377.3kB/s    00:06  
Fetching ca_root_nss-3.26.txz: 100%  336 KiB 344.5kB/s    00:01  
Checking integrity... done (0 conflicting)
[1/2] Installing ca_root_nss-3.26...
[1/2] Extracting ca_root_nss-3.26: 100%
[2/2] Installing curl-7.50.1...
[2/2] Extracting curl-7.50.1: 100%
Message from ca_root_nss-3.26:
********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************


Command:

# pkg info


Result:

ca_root_nss-3.26               Root certificate bundle from the Mozilla Project
curl-7.50.1                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
pkg-1.8.7_1                    Package manager


Command:

 # pkg info curl


Result:

curl-7.50.1
Name           : curl
Version        : 7.50.1
Installed on   : Sat Sep 17 15:37:33 2016 JST
Origin         : ftp/curl
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : ipv6 ftp www
Licenses       : MIT
Maintainer     : sunpoet@FreeBSD.org
WWW            : http://curl.haxx.se/
Comment        : Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
Options        :
CARES          : off
CA_BUNDLE      : on
COOKIES        : on
CURL_DEBUG     : off
DEBUG          : off
DOCS           : on
EXAMPLES       : on
GNUTLS         : off
GSSAPI_BASE    : on
GSSAPI_HEIMDAL : off
GSSAPI_MIT     : off
GSSAPI_NONE    : off
HTTP2          : off
IDN            : off
IPV6           : on
LDAP           : off
LDAPS          : off
LIBSSH2        : off
METALINK       : off
NSS            : off
OPENSSL        : on
POLARSSL       : off
PROXY          : on
PSL            : off
RTMP           : off
THREADED_RESOLVER: on
TLS_SRP        : on
WOLFSSL        : off
Shared Libs provided:
libcurl.so.4
Annotations    :
cpe            : cpe:2.3:a:haxx:curl:7.50.1:::::freebsd10:x64
repo_type      : binary
repository     : FreeBSD
Flat size      : 4.99MiB
Description    :
curl is a client to get documents/files from servers, using any of the
supported protocols. The command is designed to work without user
interaction or any kind of interactivity.

curl offers a busload of useful tricks like proxy support, user
authentication, ftp upload, HTTP post, SSL (https:) connections, file
transfer resume and more.

WWW: http://curl.haxx.se/


Command:

# pkg info ca_root_nss


Result:

ca_root_nss-3.26
Name           : ca_root_nss
Version        : 3.26
Installed on   : Sat Sep 17 15:37:33 2016 JST
Origin         : security/ca_root_nss
Architecture   : freebsd:10:*
Prefix         : /usr/local
Categories     : security
Licenses       : MPL
Maintainer     : ports-secteam@FreeBSD.org
WWW            : UNKNOWN
Comment        : Root certificate bundle from the Mozilla Project
Options        :
ETCSYMLINK     : on
Annotations    :
repo_type      : binary
repository     : FreeBSD
Flat size      : 936KiB
Description    :
Root certificates from certificate authorities included in the Mozilla
NSS library and thus in Firefox and Thunderbird.

This port directly tracks the version of NSS in the security/nss port.