Skip to content

Commit 112ee36

Browse files
committed
Update to libsodium 0.4.1.
1 parent 97075af commit 112ee36

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ language: c
22
before_install:
33
- sudo apt-get update -qq
44
- sudo apt-get install -qq check
5-
- wget -q -O /tmp/libsodium.deb http://download.dnscrypt.org/libsodium/releases/libsodium_0.3+fpm0_amd64.deb
6-
- sudo dpkg -i /tmp/libsodium.deb
5+
- pushd /tmp
6+
- wget http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.1.tar.gz
7+
- tar xzf libsodium-0.4.1.tar.gz
8+
- pushd libsodium-0.4.1
9+
- ./configure
10+
- make
11+
- sudo make install
12+
- popd
13+
- popd
714
env:
815
- USE_LIBGLIB=no
916
- USE_LIBGLIB=yes

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PKG_PROG_PKG_CONFIG
2525
# Checks for libraries.
2626
PKG_CHECK_MODULES([CHECK], [check >= 0.9.8])
2727
AC_SEARCH_LIBS([clock_gettime], [rt posix4])
28-
AC_CHECK_LIB([sodium], [crypto_onetimeauth_poly1305_ref], [], [AC_MSG_ERROR([missing libsodium])])
28+
AC_CHECK_LIB([sodium], [sodium_init], [], [AC_MSG_ERROR([missing libsodium])])
2929

3030
AC_ARG_WITH([libglib],
3131
[AS_HELP_STRING([--with-libglib], [build with glib support @<:@default=check@:>@])],

0 commit comments

Comments
 (0)