notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2022Q2
libsodium Library to build higher-level cryptographic tools
1.0.22 security on this many watch lists=20 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0.22Version of this port present on the latest quarterly branch.
Maintainer: vsevolod@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-02-28 16:45:41
Last Update: 2026-06-01 17:07:45
Commit Hash: 9fd3adb
People watching this port, also watch:: libxml2, pkg, indexinfo, libedit, expat
License: ISCL
WWW:
https://github.com/jedisct1/libsodium/
Description:
libsodium is a library for network communication, encryption, decryption, signatures, etc. libsodium is a portable, cross-compilable, installable, packageable, API-compatible version of NaCl(security/nacl). NaCl's goal is to provide all of the core operations needed to build higher-level cryptographic tools.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (92 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libsodium-1.0.22/catalog.mk
  3. /usr/local/share/licenses/libsodium-1.0.22/LICENSE
  4. /usr/local/share/licenses/libsodium-1.0.22/ISCL
  5. include/sodium.h
  6. include/sodium/core.h
  7. include/sodium/crypto_aead_aegis128l.h
  8. include/sodium/crypto_aead_aegis256.h
  9. include/sodium/crypto_aead_aes256gcm.h
  10. include/sodium/crypto_aead_chacha20poly1305.h
  11. include/sodium/crypto_aead_xchacha20poly1305.h
  12. include/sodium/crypto_auth.h
  13. include/sodium/crypto_auth_hmacsha256.h
  14. include/sodium/crypto_auth_hmacsha512.h
  15. include/sodium/crypto_auth_hmacsha512256.h
  16. include/sodium/crypto_box.h
  17. include/sodium/crypto_box_curve25519xchacha20poly1305.h
  18. include/sodium/crypto_box_curve25519xsalsa20poly1305.h
  19. include/sodium/crypto_core_ed25519.h
  20. include/sodium/crypto_core_hchacha20.h
  21. include/sodium/crypto_core_hsalsa20.h
  22. include/sodium/crypto_core_keccak1600.h
  23. include/sodium/crypto_core_ristretto255.h
  24. include/sodium/crypto_core_salsa20.h
  25. include/sodium/crypto_core_salsa2012.h
  26. include/sodium/crypto_core_salsa208.h
  27. include/sodium/crypto_generichash.h
  28. include/sodium/crypto_generichash_blake2b.h
  29. include/sodium/crypto_hash.h
  30. include/sodium/crypto_hash_sha256.h
  31. include/sodium/crypto_hash_sha3.h
  32. include/sodium/crypto_hash_sha512.h
  33. include/sodium/crypto_ipcrypt.h
  34. include/sodium/crypto_kdf.h
  35. include/sodium/crypto_kdf_blake2b.h
  36. include/sodium/crypto_kdf_hkdf_sha256.h
  37. include/sodium/crypto_kdf_hkdf_sha512.h
  38. include/sodium/crypto_kem.h
  39. include/sodium/crypto_kem_mlkem768.h
  40. include/sodium/crypto_kem_xwing.h
  41. include/sodium/crypto_kx.h
  42. include/sodium/crypto_onetimeauth.h
  43. include/sodium/crypto_onetimeauth_poly1305.h
  44. include/sodium/crypto_pwhash.h
  45. include/sodium/crypto_pwhash_argon2i.h
  46. include/sodium/crypto_pwhash_argon2id.h
  47. include/sodium/crypto_pwhash_scryptsalsa208sha256.h
  48. include/sodium/crypto_scalarmult.h
  49. include/sodium/crypto_scalarmult_curve25519.h
  50. include/sodium/crypto_scalarmult_ed25519.h
  51. include/sodium/crypto_scalarmult_ristretto255.h
  52. include/sodium/crypto_secretbox.h
  53. include/sodium/crypto_secretbox_xchacha20poly1305.h
  54. include/sodium/crypto_secretbox_xsalsa20poly1305.h
  55. include/sodium/crypto_secretstream_xchacha20poly1305.h
  56. include/sodium/crypto_shorthash.h
  57. include/sodium/crypto_shorthash_siphash24.h
  58. include/sodium/crypto_sign.h
  59. include/sodium/crypto_sign_ed25519.h
  60. include/sodium/crypto_sign_edwards25519sha512batch.h
  61. include/sodium/crypto_stream.h
  62. include/sodium/crypto_stream_chacha20.h
  63. include/sodium/crypto_stream_salsa20.h
  64. include/sodium/crypto_stream_salsa2012.h
  65. include/sodium/crypto_stream_salsa208.h
  66. include/sodium/crypto_stream_xchacha20.h
  67. include/sodium/crypto_stream_xsalsa20.h
  68. include/sodium/crypto_verify_16.h
  69. include/sodium/crypto_verify_32.h
  70. include/sodium/crypto_verify_64.h
  71. include/sodium/crypto_xof_shake128.h
  72. include/sodium/crypto_xof_shake256.h
  73. include/sodium/crypto_xof_turboshake128.h
  74. include/sodium/crypto_xof_turboshake256.h
  75. include/sodium/export.h
  76. include/sodium/randombytes.h
  77. include/sodium/randombytes_internal_random.h
  78. include/sodium/randombytes_sysrandom.h
  79. include/sodium/runtime.h
  80. include/sodium/utils.h
  81. include/sodium/version.h
  82. lib/libsodium.a
  83. lib/libsodium.so
  84. lib/libsodium.so.26
  85. lib/libsodium.so.26.4.0
  86. libdata/pkgconfig/libsodium.pc
  87. share/doc/libsodium/AUTHORS
  88. share/doc/libsodium/README.markdown
  89. share/doc/libsodium/THANKS
  90. @owner
  91. @group
  92. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libsodium>0:security/libsodium
To install the port:
cd /usr/ports/security/libsodium/ && make install clean
To add the package, run one of these commands:
  • pkg install security/libsodium
  • pkg install libsodium
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libsodium
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1775900160 SHA256 (libsodium-1.0.22.tar.bz2) = 51b93737bf62e8549b0e94dce0fba92169e31c8ecc160883460a9bdaa6d2c298 SIZE (libsodium-1.0.22.tar.bz2) = 1653271

Packages (timestamps in pop-ups are UTC):
libsodium
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.211.0.21n/an/an/an/an/an/a
FreeBSD:13:quarterly1.0.211.0.21n/an/an/an/an/an/a
FreeBSD:14:latest1.0.221.0.221.0.181.0.191.0.221.0.18-1.0.18
FreeBSD:14:quarterly1.0.221.0.22-1.0.191.0.221.0.181.0.181.0.18
FreeBSD:15:latest1.0.221.0.22n/a1.0.19n/an/a1.0.181.0.18
FreeBSD:15:quarterly1.0.221.0.22n/a-n/an/a--
FreeBSD:16:latest1.0.221.0.22n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by:
for Build
  1. security/R-cran-sodium
for Libraries
  1. audio/owntone
  2. audio/shairport-sync
  3. databases/openldap25-server
  4. databases/openldap26-server
  5. databases/openldap27-server
  6. devel/fbthrift
  7. devel/folly
Expand this list (102 items / 95 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/pijul
  3. dns/dnscrypt-wrapper
  4. dns/dnsdist
  5. dns/gdnsd3
  6. dns/powerdns
  7. dns/powerdns-recursor
  8. dns/unbound
  9. finance/taler-exchange
  10. ftp/proftpd
  11. ftp/pure-ftpd
  12. games/0ad
  13. games/devilutionX
  14. games/warzone2100
  15. graphics/drawpile
  16. irc/unreal
  17. mail/rspamd
  18. mail/rspamd-devel
  19. misc/adios2
  20. multimedia/gstreamer1-plugins-rust
  21. net/cjdns
  22. net/eternalterminal
  23. net/fb303
  24. net/gnunet
  25. net/libzmq4
  26. net/megacmd
  27. net/mlvpn
  28. net/mvfst
  29. net/netcode
  30. net/ntopng
  31. net/remmina
  32. net/rosenpass
  33. net/wangle
  34. net/yojimbo
  35. net-im/abaddon
  36. net-im/debugtox
  37. net-im/py-toxcore-c
  38. net-im/qTox
  39. net-im/tox
  40. net-im/tox_extension_messages
  41. net-im/toxext
  42. net-im/toxins
  43. net-im/uTox
  44. net-p2p/c-lightning
  45. net-p2p/datum_gateway
  46. net-p2p/monero-cli
  47. security/fizz
  48. security/hpenc
  49. security/keysmith
  50. security/kickpass
  51. security/minisign
  52. security/mkp224o
  53. security/p5-Crypt-Sodium
  54. security/pecl-libsodium
  55. security/php82-sodium
  56. security/php83-sodium
  57. security/php84-sodium
  58. security/php85-sodium
  59. security/php86-sodium
  60. security/py-libnacl
  61. security/py-pynacl
  62. security/py-pysodium
  63. security/reop
  64. security/rubygem-rbnacl
  65. security/softether5
  66. sysutils/bupstash
  67. sysutils/nix
  68. www/dpp
  69. www/garage
  70. www/proxygen
  71. www/sogo
  72. Collapse this list.

Deleted ports which required this port:

Expand this list of 25 deleted ports
  1. audio/forked-daapd*
  2. dns/curvedns*
  3. dns/dnscrypt-proxy*
  4. misc/glow*
  5. net/eternaltcp*
  6. net/fbzmq*
  7. net/landrop*
  8. net/openldap25-server*
  9. net/openldap26-server*
  10. net/pichi*
  11. net/rsocket-cpp*
  12. net/shadowsocks-libev*
  13. net-im/tox12*
  14. security/fastd*
  15. security/fastd-devel*
  16. security/libuecc*
  17. security/php72-sodium*
  18. security/php73-sodium*
  19. security/php74-sodium*
  20. security/php80-sodium*
  21. security/php81-sodium*
  22. security/py3-libnacl*
  23. security/rosenpass*
  24. security/rubygem-rbnacl4*
  25. www/sogo-activesync*
  26. Collapse this list of deleted ports.
for Run
  1. security/R-cran-sodium

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. net-p2p/tribler*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libsodium-1.0.22: DOCS=on: Build and/or install documentation OPTIMIZED_CFLAGS=on: Use extra compiler optimizations ===> Use 'make config' to modify these settings
Options name:
security_libsodium
USES:
libtool pathfix pkgconfig tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://download.libsodium.org/libsodium/releases/
  2. https://github.com/jedisct1/libsodium/releases/download/1.0.22-RELEASE/
Collapse this list.

There are no commits on branch 2022Q2 for this port