Skip to content

Commit 6f8850e

Browse files
committed
Fix FreeBSD instructions, sodium 0.5.0
Sodium 0.5.0 optimizes itself on being loaded
1 parent dda3c39 commit 6f8850e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

INSTALL.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,18 @@ pkg install autoconf automake gcc-47
4545
On FreeBSD 10+:
4646

4747
```tcsh
48-
pkg install automake autoconf
48+
pkg install net-im/tox
4949
```
50+
Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable.
5051

5152
You should get and install [libsodium](https://github.com/jedisct1/libsodium):
5253
```bash
5354
git clone git://github.com/jedisct1/libsodium.git
5455
cd libsodium
55-
git checkout tags/0.4.2
56+
git checkout tags/0.5.0
5657
./autogen.sh
5758
./configure && make check
58-
sudo checkinstall --install --pkgname libsodium --pkgversion 0.4.2 --nodoc
59+
sudo checkinstall --install --pkgname libsodium --pkgversion 0.5.0 --nodoc
5960
sudo ldconfig
6061
cd ..
6162
```
@@ -67,7 +68,7 @@ this will install the libs to /usr/local/lib and the headers to /usr/local/inclu
6768
```bash
6869
git clone git://github.com/jedisct1/libsodium.git
6970
cd libsodium
70-
git checkout tags/0.4.2
71+
git checkout tags/0.5.0
7172
./autogen.sh
7273
./configure
7374
make check
@@ -183,10 +184,10 @@ MinGW will install an "MinGW shell" (you should get a shortcut for it), make
183184
sure to perform all operations (i.e., generating/running configure script, compiling, etc.) from the MinGW shell.
184185

185186
First download the source tarball from https://download.libsodium.org/libsodium/releases/ and build it.
186-
Assuming that you got the libsodium-0.4.2.tar.gz release:
187+
Assuming that you got the libsodium-0.5.0.tar.gz release:
187188
```cmd
188-
tar -zxvf libsodium-0.4.2.tar.gz
189-
cd libsodium-0.4.2
189+
tar -zxvf libsodium-0.5.0.tar.gz
190+
cd libsodium-0.5.0
190191
./configure
191192
make
192193
make install

0 commit comments

Comments
 (0)