Port details
pecl-libsodium PHP wrapper for the Sodium cryptographic library
2.0.23_8 security Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.23_8Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-08-12 19:16:23
Last Update: 2026-06-01 17:09:18
Commit Hash: 42b95df8
License: BSD2CLAUSE
WWW:
https://pecl.php.net/package/libsodium
https://github.com/jedisct1/libsodium-php
Description: #
A simple, low-level PHP extension for libsodium.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}pecl-libsodium>0:security/pecl-libsodium
To install the port: #
cd /usr/ports/security/pecl-libsodium/ && make install clean
To add the package, run one of these commands:
  • pkg install security/pecl-libsodium
  • pkg install php84-pecl-libsodium
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php84-pecl-libsodium
Package flavors (<flavor>: <package>) #
  • php84: php84-pecl-libsodium
  • php82: php82-pecl-libsodium
  • php83: php83-pecl-libsodium
  • php85: php85-pecl-libsodium
distinfo: #
TIMESTAMP = 1607685361 SHA256 (PECL/libsodium-2.0.23.tgz) = f8c04533de8e4b48077f65de61b187e195c0919c41d4543e2263604fa0c50379 SIZE (PECL/libsodium-2.0.23.tgz) = 28505

Packages (timestamps in pop-ups are UTC): #
php81-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---2.0.23_3-
FreeBSD:14:quarterly---2.0.23_3-
FreeBSD:15:latest--n/a2.0.23_3n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 

php82-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:14:quarterly2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:15:latest2.0.23_82.0.23_8n/a2.0.23_3n/a
FreeBSD:15:quarterly2.0.23_82.0.23_8n/a-n/a
FreeBSD:16:latest CURRENT2.0.23_82.0.23_8n/a-n/a
 

php83-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:14:quarterly2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:15:latest2.0.23_82.0.23_8n/a2.0.23_3n/a
FreeBSD:15:quarterly2.0.23_82.0.23_8n/a-n/a
FreeBSD:16:latest CURRENT2.0.23_82.0.23_8n/a-n/a
 

php84-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:14:quarterly2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:15:latest2.0.23_82.0.23_8n/a2.0.23_3n/a
FreeBSD:15:quarterly2.0.23_82.0.23_8n/a-n/a
FreeBSD:16:latest CURRENT2.0.23_82.0.23_8n/a-n/a
 

php85-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.23_82.0.23_8-2.0.23_32.0.23_8
FreeBSD:14:quarterly2.0.23_82.0.23_8--2.0.23_8
FreeBSD:15:latest2.0.23_82.0.23_8n/a2.0.23_3n/a
FreeBSD:15:quarterly2.0.23_82.0.23_8n/a-n/a
FreeBSD:16:latest CURRENT2.0.23_82.0.23_8n/a-n/a
 

php86-pecl-libsodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.23_82.0.23_8--2.0.23_8
FreeBSD:14:quarterly2.0.23_82.0.23_8--2.0.23_8
FreeBSD:15:latest2.0.23_82.0.23_8n/a-n/a
FreeBSD:15:quarterly2.0.23_82.0.23_8n/a-n/a
FreeBSD:16:latest CURRENT2.0.23_82.0.23_8n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. phpize : lang/php84
  2. autoconf>0 : devel/autoconf
Runtime dependencies: #
  1. php.h : lang/php84
Library dependencies: #
  1. libsodium.so : security/libsodium
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
security_pecl-libsodium
USES: #
localbase php:pecl
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. http://pecl.php.net/get/
  2. https://pecl.php.net/get/
Collapse this list.

Number of commits found: 19 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.23_8
01 Jun 2026 17:09:18
commit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02a files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump PORTREVISION for libsodium consumers after version bump

Bump consumers of libsodium
2.0.23_7
07 Jan 2026 10:22:10
commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808 files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
security/libsodium: Update to 1.0.21

The API remains compatible but bumping all dependent ports as SHLIB
has changed.

Changelog: https://github.com/jedisct1/libsodium/releases/tag/1.0.21-RELEASE
Security: https://00f.net/2025/12/30/libsodium-vulnerability/
PR: 279347
2.0.23_3
20 May 2024 10:33:03
commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377 files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
security/libsodium: update to 1.0.19, bump dependent ports

PR:	278259
Reported by:	Andrey Korobkov <alster-vinterdalen.se>
2.0.23
19 May 2024 17:15:27
commit hash: fcf056178c7bb1fb4756143df4e05342d25c1b6acommit hash: fcf056178c7bb1fb4756143df4e05342d25c1b6acommit hash: fcf056178c7bb1fb4756143df4e05342d25c1b6acommit hash: fcf056178c7bb1fb4756143df4e05342d25c1b6a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/pecl-libsodium: Update WWW
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.0.23
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.23
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.23
11 Jan 2022 18:44:15
commit hash: 181a8cb342ed8f314045de63fbe2b9231388aee2commit hash: 181a8cb342ed8f314045de63fbe2b9231388aee2commit hash: 181a8cb342ed8f314045de63fbe2b9231388aee2commit hash: 181a8cb342ed8f314045de63fbe2b9231388aee2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/pecl-libsodium: Clean up Makefile
2.0.23
28 Dec 2021 02:38:30
commit hash: 6bd978793cca40720e9fe2301cdfe6de866b6559commit hash: 6bd978793cca40720e9fe2301cdfe6de866b6559commit hash: 6bd978793cca40720e9fe2301cdfe6de866b6559commit hash: 6bd978793cca40720e9fe2301cdfe6de866b6559 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Remove references to defunct php72

Approved by:	portmgr (blanlet infrastructure cleanup)
2.0.23
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.23
13 Dec 2020 14:41:37
Revision:557911commit hash: 2694feb078b29899459ed21493c701c66f250583commit hash: 2694feb078b29899459ed21493c701c66f250583commit hash: 2694feb078b29899459ed21493c701c66f250583commit hash: 2694feb078b29899459ed21493c701c66f250583Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 2.0.23

Changes:	https://pecl.php.net/package-changelog.php?package=libsodium
2.0.22
08 Dec 2019 17:40:13
Revision:519568commit hash: 6d29ff8f6d57d2ae24d35ec23d79c997d5d91707commit hash: 6d29ff8f6d57d2ae24d35ec23d79c997d5d91707commit hash: 6d29ff8f6d57d2ae24d35ec23d79c997d5d91707commit hash: 6d29ff8f6d57d2ae24d35ec23d79c997d5d91707Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove outdated PORTSCOUT
2.0.22
08 Dec 2019 17:32:26
Revision:519565commit hash: 02670c803bb388a7801f68893191e9d303fe2d09commit hash: 02670c803bb388a7801f68893191e9d303fe2d09commit hash: 02670c803bb388a7801f68893191e9d303fe2d09commit hash: 02670c803bb388a7801f68893191e9d303fe2d09Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 2.0.22

Changes:	https://github.com/jedisct1/libsodium-php/commits/master
PR:		242192
Submitted by:	fluffy
1.0.7
02 Feb 2019 21:55:15
Revision:492001commit hash: b08f77dd97d00e401ffbd0d5ef4035ca64809bddcommit hash: b08f77dd97d00e401ffbd0d5ef4035ca64809bddcommit hash: b08f77dd97d00e401ffbd0d5ef4035ca64809bddcommit hash: b08f77dd97d00e401ffbd0d5ef4035ca64809bddOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Add PORTSCOUT
1.0.7
31 Jan 2019 20:11:35
Revision:491759commit hash: ff8c22fe2e3e066b4d86ca7fcc6e8c37aab1834fcommit hash: ff8c22fe2e3e066b4d86ca7fcc6e8c37aab1834fcommit hash: ff8c22fe2e3e066b4d86ca7fcc6e8c37aab1834fcommit hash: ff8c22fe2e3e066b4d86ca7fcc6e8c37aab1834fOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.0.7

- Take maintainership

Changes:	https://pecl.php.net/package-changelog.php?package=libsodium
PR:		235268
Submitted by:	sunpoet (myself)
Approved by:	Gasol Wu <gasol.wu@gmail.com> (maintainer)
1.0.6_1
22 Oct 2017 10:09:33
Revision:452629commit hash: f191a0244b37ffe9d1173505afd13eb157448e6bcommit hash: f191a0244b37ffe9d1173505afd13eb157448e6bcommit hash: f191a0244b37ffe9d1173505afd13eb157448e6bcommit hash: f191a0244b37ffe9d1173505afd13eb157448e6bOriginal commit files touched by this commit
vsevolod search for other commits by this committer
- Update libsodium to 1.0.15 [1]
- Bump revisions for all dependent ports

PR:		223147 [1]
Submitted by:	Greg V [1]
1.0.6
10 Apr 2017 15:08:47
Revision:438175commit hash: 3fc575d9f3970c4b3d271c59b1f318d32b624b71commit hash: 3fc575d9f3970c4b3d271c59b1f318d32b624b71commit hash: 3fc575d9f3970c4b3d271c59b1f318d32b624b71commit hash: 3fc575d9f3970c4b3d271c59b1f318d32b624b71Original commit files touched by this commit
mat search for other commits by this committer
Convert all PECL ports to USES=php:pecl.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10281
1.0.6
13 Dec 2016 14:26:12
Revision:428488commit hash: f102dee672792889db48531783e157c4dd5bfd9acommit hash: f102dee672792889db48531783e157c4dd5bfd9acommit hash: f102dee672792889db48531783e157c4dd5bfd9acommit hash: f102dee672792889db48531783e157c4dd5bfd9aOriginal commit files touched by this commit
sunpoet search for other commits by this committer
- Update WWW: pecl.php.net uses https://

Approved by:	portmgr (blanket)
1.0.6
12 Aug 2016 19:16:13
Revision:420139commit hash: d1cf96e84590b1a078d0be3b83d21a32a0d3f31bcommit hash: d1cf96e84590b1a078d0be3b83d21a32a0d3f31bcommit hash: d1cf96e84590b1a078d0be3b83d21a32a0d3f31bcommit hash: d1cf96e84590b1a078d0be3b83d21a32a0d3f31bOriginal commit files touched by this commit
pi search for other commits by this committer
New port: security/pecl-libsodium

A simple, low-level PHP extension for libsodium.

WWW: http://pecl.php.net/package/libsodium

PR:		206640
Submitted by:	Gasol Wu <gasol.wu@gmail.com>

Number of commits found: 19