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 photosAll times are UTC
Ukraine
Port details on branch 2023Q4
libsodium Library to build higher-level cryptographic tools
1.0.21 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.19Version 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-01-07 10:22:10
Commit Hash: 8b878d8
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 (88 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libsodium-1.0.21/catalog.mk
  3. /usr/local/share/licenses/libsodium-1.0.21/LICENSE
  4. /usr/local/share/licenses/libsodium-1.0.21/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_sha512.h
  32. include/sodium/crypto_ipcrypt.h
  33. include/sodium/crypto_kdf.h
  34. include/sodium/crypto_kdf_blake2b.h
  35. include/sodium/crypto_kdf_hkdf_sha256.h
  36. include/sodium/crypto_kdf_hkdf_sha512.h
  37. include/sodium/crypto_kx.h
  38. include/sodium/crypto_onetimeauth.h
  39. include/sodium/crypto_onetimeauth_poly1305.h
  40. include/sodium/crypto_pwhash.h
  41. include/sodium/crypto_pwhash_argon2i.h
  42. include/sodium/crypto_pwhash_argon2id.h
  43. include/sodium/crypto_pwhash_scryptsalsa208sha256.h
  44. include/sodium/crypto_scalarmult.h
  45. include/sodium/crypto_scalarmult_curve25519.h
  46. include/sodium/crypto_scalarmult_ed25519.h
  47. include/sodium/crypto_scalarmult_ristretto255.h
  48. include/sodium/crypto_secretbox.h
  49. include/sodium/crypto_secretbox_xchacha20poly1305.h
  50. include/sodium/crypto_secretbox_xsalsa20poly1305.h
  51. include/sodium/crypto_secretstream_xchacha20poly1305.h
  52. include/sodium/crypto_shorthash.h
  53. include/sodium/crypto_shorthash_siphash24.h
  54. include/sodium/crypto_sign.h
  55. include/sodium/crypto_sign_ed25519.h
  56. include/sodium/crypto_sign_edwards25519sha512batch.h
  57. include/sodium/crypto_stream.h
  58. include/sodium/crypto_stream_chacha20.h
  59. include/sodium/crypto_stream_salsa20.h
  60. include/sodium/crypto_stream_salsa2012.h
  61. include/sodium/crypto_stream_salsa208.h
  62. include/sodium/crypto_stream_xchacha20.h
  63. include/sodium/crypto_stream_xsalsa20.h
  64. include/sodium/crypto_verify_16.h
  65. include/sodium/crypto_verify_32.h
  66. include/sodium/crypto_verify_64.h
  67. include/sodium/crypto_xof_shake128.h
  68. include/sodium/crypto_xof_shake256.h
  69. include/sodium/crypto_xof_turboshake128.h
  70. include/sodium/crypto_xof_turboshake256.h
  71. include/sodium/export.h
  72. include/sodium/randombytes.h
  73. include/sodium/randombytes_internal_random.h
  74. include/sodium/randombytes_sysrandom.h
  75. include/sodium/runtime.h
  76. include/sodium/utils.h
  77. include/sodium/version.h
  78. lib/libsodium.a
  79. lib/libsodium.so
  80. lib/libsodium.so.26
  81. lib/libsodium.so.26.3.0
  82. libdata/pkgconfig/libsodium.pc
  83. share/doc/libsodium/AUTHORS
  84. share/doc/libsodium/README.markdown
  85. share/doc/libsodium/THANKS
  86. @owner
  87. @group
  88. @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 = 1767780602 SHA256 (libsodium-1.0.21.tar.gz) = 9e4285c7a419e82dedb0be63a72eea357d6943bc3e28e6735bf600dd4883feaf SIZE (libsodium-1.0.21.tar.gz) = 2046164

Packages (timestamps in pop-ups are UTC):
libsodium
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.211.0.211.0.181.0.191.0.21n/an/an/a
FreeBSD:13:quarterly1.0.211.0.211.0.181.0.191.0.21n/an/an/a
FreeBSD:14:latest1.0.211.0.211.0.181.0.191.0.211.0.18-1.0.18
FreeBSD:14:quarterly1.0.211.0.21-1.0.191.0.211.0.181.0.181.0.18
FreeBSD:15:latest1.0.211.0.21n/a1.0.19n/an/a1.0.181.0.18
FreeBSD:15:quarterly1.0.211.0.21n/a-n/an/a--
FreeBSD:16:latest1.0.211.0.21n/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. devel/fbthrift
  4. devel/folly
  5. devel/pijul
  6. dns/dnscrypt-wrapper
  7. dns/dnsdist
Expand this list (93 items / 86 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. dns/gdnsd3
  3. dns/powerdns
  4. dns/powerdns-recursor
  5. dns/unbound
  6. ftp/proftpd
  7. ftp/pure-ftpd
  8. games/0ad
  9. games/devilutionX
  10. games/warzone2100
  11. graphics/drawpile
  12. irc/unreal
  13. mail/rspamd
  14. mail/rspamd-devel
  15. misc/adios2
  16. multimedia/gstreamer1-plugins-rust
  17. net/eternalterminal
  18. net/fb303
  19. net/libzmq4
  20. net/megacmd
  21. net/mlvpn
  22. net/mvfst
  23. net/ntopng
  24. net/openldap25-server
  25. net/openldap26-server
  26. net/remmina
  27. net/rosenpass
  28. net/wangle
  29. net-im/abaddon
  30. net-im/debugtox
  31. net-im/py-toxcore-c
  32. net-im/qTox
  33. net-im/tox
  34. net-im/tox_extension_messages
  35. net-im/toxext
  36. net-im/toxins
  37. net-im/uTox
  38. net-p2p/c-lightning
  39. net-p2p/datum_gateway
  40. net-p2p/monero-cli
  41. security/fizz
  42. security/hpenc
  43. security/keysmith
  44. security/kickpass
  45. security/minisign
  46. security/mkp224o
  47. security/p5-Crypt-Sodium
  48. security/pecl-libsodium
  49. security/php82-sodium
  50. security/php83-sodium
  51. security/php84-sodium
  52. security/php85-sodium
  53. security/py-libnacl
  54. security/py-pynacl
  55. security/py-pysodium
  56. security/reop
  57. security/rubygem-rbnacl
  58. security/softether5
  59. sysutils/bupstash
  60. sysutils/nix
  61. www/dpp
  62. www/garage
  63. www/proxygen
  64. www/sogo
  65. Collapse this list.

Deleted ports which required this port:

Expand this list of 23 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/pichi*
  9. net/rsocket-cpp*
  10. net/shadowsocks-libev*
  11. net-im/tox12*
  12. security/fastd*
  13. security/fastd-devel*
  14. security/libuecc*
  15. security/php72-sodium*
  16. security/php73-sodium*
  17. security/php74-sodium*
  18. security/php80-sodium*
  19. security/php81-sodium*
  20. security/py3-libnacl*
  21. security/rosenpass*
  22. security/rubygem-rbnacl4*
  23. www/sogo-activesync*
  24. 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.21: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
security_libsodium
USES:
libtool pathfix pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://download.libsodium.org/libsodium/releases/
Collapse this list.

There are no commits on branch 2023Q4 for this port