Browse Source

libsodium: Added libsodium 0.4.2 - A portable, cross-compilable, installable, packageable fork of NaCl

Note:

We need to inject '-std=c99' because the reference implementation of blake2
is using C99 specific semantics.

------------------------------------------------------------------------------
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'blake2b_init0':
crypto_generichash/blake2/ref/blake2b-ref.c:143:3: error: 'for' loop initial declarations are only allowed in C99 mode
crypto_generichash/blake2/ref/blake2b-ref.c:143:3: note: use option -std=c99 or -std=gnu99 to compile your code
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'crypto_generichash_blake2b__init_param':
crypto_generichash/blake2/ref/blake2b-ref.c:155:3: error: 'for' loop initial declarations are only allowed in C99 mode
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'crypto_generichash_blake2b__final':
crypto_generichash/blake2/ref/blake2b-ref.c:328:3: error: 'for' loop initial declarations are only allowed in C99 mode
------------------------------------------------------------------------------
user/chris/wip/musl
Christian Wiese 11 years ago
parent
commit
3a1fc6a3ab
  1. 19
      security/libsodium/libsodium.conf
  2. 35
      security/libsodium/libsodium.desc

19
security/libsodium/libsodium.conf

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsodium/libsodium.conf
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
var_append configprefix ' ' "CFLAGS='-std=c99'"
if [ "$SDECFG_PKG_GCC_STACKPRO" == 0 ]; then
var_append extraconfopt ' ' '--disable-ssp'
fi

35
security/libsodium/libsodium.desc

@ -0,0 +1,35 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../libsodium/libsodium.desc
[COPY] Copyright (C) 2013 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A portable, cross-compilable, installable, packageable fork of NaCl
[T] NaCl (pronounced "salt") is a new easy-to-use high-speed software library
[T] for network communication, encryption, decryption, signatures, etc.
[T] NaCl's goal is to provide all of the core operations needed to build
[T] higher-level cryptographic tools. Sodium is a portable, cross-compilable,
[T] installable, packageable fork of NaCl, with a compatible API.
[U] https://github.com/jedisct1/libsodium/
[A] Frank Denis <github@pureftpd.org>
[M] Christian Wiese <chris@opensde.org>
[C] extra/library
[L] ISC
[S] Beta
[V] 0.4.2
[P] X -?---5---9 800.000
[D] 1071190816 libsodium-0.4.2.tar.gz https://github.com/jedisct1/libsodium/releases/download/0.4.2/
Loading…
Cancel
Save