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 2022Q3
libsodium Library to build higher-level cryptographic tools
1.0.22 security on this many watch lists=19 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.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.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/openldap27-server
  4. devel/fbthrift
  5. devel/folly
  6. devel/pijul
  7. dns/dnscrypt-wrapper
Expand this list (99 items / 92 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. dns/dnsdist
  3. dns/gdnsd3
  4. dns/powerdns
  5. dns/powerdns-recursor
  6. dns/unbound
  7. finance/taler-exchange
  8. ftp/proftpd
  9. ftp/pure-ftpd
  10. games/0ad
  11. games/devilutionX
  12. games/warzone2100
  13. graphics/drawpile
  14. irc/unreal
  15. mail/rspamd
  16. mail/rspamd-devel
  17. misc/adios2
  18. multimedia/gstreamer1-plugins-rust
  19. net/eternalterminal
  20. net/fb303
  21. net/gnunet
  22. net/libzmq4
  23. net/megacmd
  24. net/mlvpn
  25. net/mvfst
  26. net/netcode
  27. net/ntopng
  28. net/openldap25-server
  29. net/openldap26-server
  30. net/remmina
  31. net/rosenpass
  32. net/wangle
  33. net/yojimbo
  34. net-im/abaddon
  35. net-im/debugtox
  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 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.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 2022Q3 for this port