Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2024Q3
libsodium Library to build higher-level cryptographic tools
1.0.22 security Σ=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, curl, libffi, libiconv
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:
  • For RUN/BUILD depends:
    • libsodium>0:security/libsodium
  • For LIB depends:
    • libsodium.so: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
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.221.0.221.0.181.0.191.0.22
FreeBSD:14:quarterly1.0.221.0.22-1.0.191.0.22
FreeBSD:15:latest1.0.221.0.22n/a1.0.19n/a
FreeBSD:15:quarterly1.0.221.0.22n/a-n/a
FreeBSD:16:latest1.0.221.0.22n/a-n/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/py-toxcore-c
  37. net-im/qTox
  38. net-im/tox
  39. net-im/tox_extension_messages
  40. net-im/toxext
  41. net-im/toxins
  42. net-im/uTox
  43. net-p2p/c-lightning
  44. net-p2p/datum_gateway
  45. net-p2p/monero-cli
  46. security/fizz
  47. security/hpenc
  48. security/keysmith
  49. security/kickpass
  50. security/minisign
  51. security/mkp224o
  52. security/p5-Crypt-Sodium
  53. security/pecl-libsodium
  54. security/php82-sodium
  55. security/php83-sodium
  56. security/php84-sodium
  57. security/php85-sodium
  58. security/php86-sodium
  59. security/py-libnacl
  60. security/py-pynacl
  61. security/py-pysodium
  62. security/reop
  63. security/rubygem-rbnacl
  64. security/softether5
  65. sysutils/bupstash
  66. sysutils/nix
  67. www/dpp
  68. www/garage
  69. www/proxygen
  70. www/sogo
  71. Collapse this list.

Deleted ports which required this port:

Expand this list of 26 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/debugtox*
  14. net-im/tox12*
  15. security/fastd*
  16. security/fastd-devel*
  17. security/libuecc*
  18. security/php72-sodium*
  19. security/php73-sodium*
  20. security/php74-sodium*
  21. security/php80-sodium*
  22. security/php81-sodium*
  23. security/py3-libnacl*
  24. security/rosenpass*
  25. security/rubygem-rbnacl4*
  26. www/sogo-activesync*
  27. 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 2024Q3 for this port