Mon Oct 19 12:30:30 2020 UTC ()
(security/monocypher) Updated 2.0.5 to 3.1.1

3.1.1
-----
2020/06/15

- Various documentation fixes.
- Fixed various compiler warnings.
- Fixed some integer overflows (16-bit platforms only).

3.1.0
-----
2020/04/03

- Added Elligator 2 mappings (hash to curve, curve to hash).
- Added OPRF support (with scalar inversion).
- Added Edwards25519 -> Curve25519 conversions

3.0.0
-----
2020/01/19

- Deprecated the incremental AEAD interface.
- Deprecated the incremental Chacha20, added a direct interface.
- Added IETF Chacha20 (96-bit nonce), as described in RFC 8439.
- Moved deprecated interfaces to a separate `src/deprecated` folder.
- Removed the `ED25519_SHA512` preprocessor flag.
- `crypto_x25519()` and `crypto_key_exchange()` now return `void`.
- Added a custom hash interface to EdDSA.  Several instances of EdDSA
  can share the same binary.
- Added optional support for HMAC SHA-512
- Moved all SHA-512 operations to `src/optional/monocypher-ed25519.(h|c)`
- Optional support for Ed25519 no longer requires a preprocessor flag.
  Add `src/optional/monocypher-ed25519.(h|c)` to your project instead.

2.0.6
-----
2019/10/21

- Added the `BLAKE2_NO_UNROLLING` preprocessor definition. Activating it
  makes the binary about 5KB smaller, and speeds up processing times on
  many embedded processors.
  - Reduced the stack usage of signature verification by about
    40%. Signature verification now fits in smaller machines.
  - Fixed many implicit casts warnings.
  - Fixed the manual here and there.
  - Lots of small nitpicks.


(mef)
diff -r1.1 -r1.2 pkgsrc/security/monocypher/Makefile
diff -r1.1 -r1.2 pkgsrc/security/monocypher/PLIST
diff -r1.1 -r1.2 pkgsrc/security/monocypher/distinfo
diff -r1.1 -r1.2 pkgsrc/security/monocypher/patches/patch-makefile

cvs diff -r1.1 -r1.2 pkgsrc/security/monocypher/Makefile (expand / switch to unified diff)

--- pkgsrc/security/monocypher/Makefile 2019/03/16 09:17:09 1.1
+++ pkgsrc/security/monocypher/Makefile 2020/10/19 12:30:30 1.2
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile,v 1.1 2019/03/16 09:17:09 maya Exp $ 1# $NetBSD: Makefile,v 1.2 2020/10/19 12:30:30 mef Exp $
2 2
3DISTNAME= monocypher-2.0.5 3DISTNAME= monocypher-3.1.1
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= https://monocypher.org/download/ 5MASTER_SITES= https://monocypher.org/download/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://monocypher.org/ 8HOMEPAGE= https://monocypher.org/
9COMMENT= Easy to use, deploy and auditable crypto library 9COMMENT= Easy to use, deploy and auditable crypto library
10LICENSE= cc0-1.0-universal OR 2-clause-bsd 10LICENSE= cc0-1.0-universal OR 2-clause-bsd
11 11
12USE_TOOLS+= gmake 12USE_TOOLS+= gmake
13MAKE_FILE= makefile 13MAKE_FILE= makefile
14MAKE_ENV+= MAN_DIR=${DESTDIR}/${PKGMANDIR} 14MAKE_ENV+= MANDIR=${DESTDIR}/${PKGMANDIR}
15TEST_TARGET= test 15TEST_TARGET= test
16 16
17# We default to binaries portable to more than one arch. 17# We default to binaries portable to more than one arch.
18BUILDLINK_TRANSFORM+= rm:-march=native 18BUILDLINK_TRANSFORM+= rm:-march=native
19 19
20.include "../../mk/bsd.pkg.mk" 20.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/security/monocypher/PLIST (expand / switch to unified diff)

--- pkgsrc/security/monocypher/PLIST 2019/03/16 09:17:09 1.1
+++ pkgsrc/security/monocypher/PLIST 2020/10/19 12:30:30 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1@comment $NetBSD: PLIST,v 1.1 2019/03/16 09:17:09 maya Exp $ 1@comment $NetBSD: PLIST,v 1.2 2020/10/19 12:30:30 mef Exp $
2include/monocypher.h 2include/monocypher.h
3lib/libmonocypher.a 3lib/libmonocypher.a
4lib/libmonocypher.so 4lib/libmonocypher.so
5lib/libmonocypher.so.2 5lib/libmonocypher.so.3
6lib/pkgconfig/monocypher.pc 6lib/pkgconfig/monocypher.pc

cvs diff -r1.1 -r1.2 pkgsrc/security/monocypher/distinfo (expand / switch to unified diff)

--- pkgsrc/security/monocypher/distinfo 2019/03/16 09:17:09 1.1
+++ pkgsrc/security/monocypher/distinfo 2020/10/19 12:30:30 1.2
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.1 2019/03/16 09:17:09 maya Exp $ 1$NetBSD: distinfo,v 1.2 2020/10/19 12:30:30 mef Exp $
2 2
3SHA1 (monocypher-2.0.5.tar.gz) = b409cc5a69c96d38d47c07affd550bd33d6861f2 3SHA1 (monocypher-3.1.1.tar.gz) = 7476dbf0c404b9cd196f763aaa09fa2b7f4b70b0
4RMD160 (monocypher-2.0.5.tar.gz) = 755440680f64195cea6c969ca49cb9b0d794f3f4 4RMD160 (monocypher-3.1.1.tar.gz) = 71336114fab7068aeb63dc2ae12452d064c671d1
5SHA512 (monocypher-2.0.5.tar.gz) = 634dfaa981decb48043161f733702f7b55c1057bbb4cd8c202c8d8c1dd6fadcfbce881328f5df95213931eeea160d74330d18992d83fd60c76390e53023078f9 5SHA512 (monocypher-3.1.1.tar.gz) = 9c202ffe74eac1f2a7f21b8e195d981c21c5792b788315dea168cf40f1ee83cb787f3409c2d6135f517a58fee5f3e44c9ef521e132cee40c04e4b4868787f366
6Size (monocypher-2.0.5.tar.gz) = 988921 bytes 6Size (monocypher-3.1.1.tar.gz) = 1066382 bytes
7SHA1 (patch-makefile) = 756eaeb7d11a013c0ebc81a47e7a1cf00b7d4fb8 7SHA1 (patch-makefile) = 788ffa96918136c9fe602e55d72f6036f196227a

cvs diff -r1.1 -r1.2 pkgsrc/security/monocypher/patches/patch-makefile (expand / switch to unified diff)

--- pkgsrc/security/monocypher/patches/patch-makefile 2019/03/16 09:17:09 1.1
+++ pkgsrc/security/monocypher/patches/patch-makefile 2020/10/19 12:30:30 1.2
@@ -1,21 +1,26 @@ @@ -1,21 +1,26 @@
1$NetBSD: patch-makefile,v 1.1 2019/03/16 09:17:09 maya Exp $ 1$NetBSD: patch-makefile,v 1.2 2020/10/19 12:30:30 mef Exp $
2 2
3Allow overriding CC, DESTDIR and PREFIX 3Allow overriding CC, DESTDIR and PREFIX
4Use the more standard MANDIR (that we override) 4Use the more standard MANDIR (that we override)
5 5
6--- makefile.orig 2018-06-27 09:11:23.000000000 +0000 6--- makefile.orig 2020-04-22 00:00:00.000000000 +0000
7+++ makefile 7+++ makefile
8@@ -1,9 +1,9 @@ 8@@ -49,14 +49,14 @@
 9 # You should have received a copy of the CC0 Public Domain Dedication along
 10 # with this software. If not, see
 11 # <https://creativecommons.org/publicdomain/zero/1.0/>
9-CC=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions 12-CC=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
10+CC?=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions 13+CC?=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
11 CFLAGS= -pedantic -Wall -Wextra -O3 -march=native 14 CFLAGS= -pedantic -Wall -Wextra -O3 -march=native
12-DESTDIR= 15-DESTDIR=
13-PREFIX=usr/local 16-PREFIX=usr/local
14+DESTDIR?= 17+DESTDIR?=
15+PREFIX?=usr/local 18+PREFIX?=usr/local
16 PKGCONFIG=$(DESTDIR)/$(PREFIX)/lib/pkgconfig 19 LIBDIR=$(PREFIX)/lib
17-MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3 20 INCLUDEDIR=$(PREFIX)/include
18+MANDIR?=$(DESTDIR)/$(PREFIX)/share/man/man3 21 PKGCONFIGDIR=$(LIBDIR)/pkgconfig
 22-MANDIR=$(PREFIX)/share/man/man3
 23+MANDIR?=$(PREFIX)/share/man/man3
 24 SONAME=libmonocypher.so.3
19  25
20 TARBALL_VERSION=$$(cat VERSION.md) 26 VERSION=3.1.1
21 TARBALL_DIR=.