From owner-svn-ports-head@freebsd.org Wed Jul 24 12:09:17 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DE67A6A28; Wed, 24 Jul 2019 12:09:17 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F857773D8; Wed, 24 Jul 2019 12:09:17 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DC59DE11E; Wed, 24 Jul 2019 12:09:16 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6OC9G8I047169; Wed, 24 Jul 2019 12:09:16 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6OC9GQH047166; Wed, 24 Jul 2019 12:09:16 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201907241209.x6OC9GQH047166@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Wed, 24 Jul 2019 12:09:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507271 - head/lang/seed7 X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: head/lang/seed7 X-SVN-Commit-Revision: 507271 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2F857773D8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.92 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.92)[-0.925,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2019 12:09:17 -0000 Author: gahr Date: Wed Jul 24 12:09:15 2019 New Revision: 507271 URL: https://svnweb.freebsd.org/changeset/ports/507271 Log: lang/seed7: update to 05_20190714 20190714: - The library tls.s7i has been improved to support elliptic curve diffie hellman key exchange. - The new library elliptic.s7i has been added. This library supports elliptic curve cryptography (ECC). The library defines: - Several named curves, - Functions to add, double and multiply curve points. - Functions for fast multiplication with jacobian coordinates. - Functions to encode and decode curve points. - Functions to sign and verify messages with the ECDSA. - The functions emsaPkcs1V15Encoding, emsaPkcs1V15Decoding, rsassaPkcs1V15Encrypt and rsassaPkcs1V15Decrypt have been added to the library pkcs1.s7i. - In x509cert.s7i the function getAlgorithmIdentifier has been improved to accept algorithm identifiers without algorithm parameters. - A version of the function createX509Cert, that creates a certificate with keys for elliptic curve cryptography, has been added. - The new library showtls.s7i had been added. This library defines functions to show TLS messages. It can be used to debug tls.s7i. - The library tar.s7i has been improved to accept extended headers with meta data (PAX format). Now path and linkpath meta data is accepted. - A new version of the function bytes() has been added to bytedata.s7i. This function converts a bigInteger to a string of bytes with a given length. - Checks for the multiplication operators * and *:= with factors of 1 and -1 have been added to chkint.sd7. - Checks for the operator 'lpad0' have been added to chkint.sd7. - Checks for NaN have been added to chkflt.sd7. - In the compiler (in comp/const.s7i) the action FLT_MOD has been added to the list of pure function actions. - The compiler has been improved to optimize the actions FLT_REM (in comp/flt_act.s7i) and INT_LPAD0 (in comp/int_act.s7i). - A corner case of the multiplication operator *:= has been fixed in the compiler (process_const_int_mult_assign() in comp/int_act.s7i). The bug occurred in the overflow checking code, when an array element was multiplied with *:= -1. Multiplications of normal variables and parameters with *:= and multiplications with other factors except -1 were not affected by this bug. - Documentation comments have been improved in cc_conf.s7i and pkcs1.s7i. - In con_win.c the functions kbdKeyPressed() and kbdGetc() have been improved to ignore mouse movement and button press events. - The program chkccomp.c has been improved to have a more detailed check for POW_OF_NAN_OKAY. - In fltlib.c checks for 0.0 have been improved in flt_div() and flt_div_assign(). - In flt_rtl.c preprocessor if statements have been improved to check for !FLOAT_NAN_COMPARISON_OKAY in fltLog(), fltLog10() fltLog2() and fltPow(). 20190610: - The library float.s7i has been improved to support the float operators 'rem' (floating-point remainder) and 'mod' (floating-point modulo). - The program chkflt.sd7 has been improved to check floating-point literals and the new operators 'rem' and 'mod'. The tests for the operator ** have been improved also. - Compiler and interpreter have been improved to work correct, even when the C functions fmod(), exp(), ldexp(), frexp() and sqrt() do not work 100% correct. - The program chkccomp.c has been improved to detect weaknesses of numeric functions. These weaknesses happen when handling with NaN, Infinity or when other special cases occur. - A new version of the function timAwait() has been added to tim_unx.c. This function is used when AWAIT_WITH_NANOSLEEP is defined. - The makefiles mk_emccl.mak and mk_emccw.mak have been improved to define AWAIT_WITH_NANOSLEEP instead of AWAIT_WITH_SELECT. - Interpreter and compiler have been improved to support the actions FLT_MOD and FLT_REM. - In the compiler (in comp/flt_act.s7i) a corner case of the action FLT_IPOW (when CHECK_FLOAT_DIV_BY_ZERO is TRUE and the exponent is negative and the base is zero (0.0 or -0.0)) has been fixed. - The configuration values FLOAT_COMPARISON_OKAY, FMOD_FUNCTION_OKAY, EXP_FUNCTION_OKAY, LDEXP_FUNCTION_OKAY and FREXP_FUNCTION_OKAY have been added to cc_conf.s7i. The configuration values NAN_COMPARISON_OKAY and FREXP_INFINITY_NAN_OKAY have been removed. - The functions fltDecompose(), fltExp(), fltLdexp(), fltMod() and fltRem() have been added to flt_rtl.c. These functions are used, when the corresponding C functions frexp(), exp(), ldexp() and fmod() do not work 100% correct. - In flt_rtl.c the functions fltEq(), fltGe(), fltGt(), fltLe() and fltLt() have been improved. These improvements help, when the comparison of float or double values does not work 100% correct. - In flt_rtl.c the functions fltPow(), getMantissaAndExponent(), setMantissaAndExponent() and fltSqrt() have been improved. These improvements help, when the underlying C functions pow(), frexp(), ldexp() and sqrt() do not work 100% correct. - The program chkccomp.c has been improved to define the macros FLOAT_NAN_COMPARISON_OKAY, FLOAT_ZERO_COMPARISON_OKAY, SQRT_OF_NAN_OKAY, SQRT_OF_NEGATIVE_OKAY, EXP_OF_NAN_OKAY, LDEXP_OF_NAN_OKAY, FREXP_SUBNORMAL_OKAY, FMOD_DIVIDEND_NAN_OKAY, FMOD_DIVISOR_NAN_OKAY, FMOD_DIVIDEND_INFINITY_OKAY, FMOD_DIVISOR_INFINITY_OKAY and FMOD_DIVISOR_ZERO_OKAY. - In cmd_rtl.c the function cmdConfigValue has been improved to support the config values FLOAT_COMPARISON_OKAY, EXP_FUNCTION_OKAY, FMOD_FUNCTION_OKAY, LDEXP_FUNCTION_OKAY and FREXP_FUNCTION_OKAY. - Definitions of the macros FLOAT_COMPARISON_OKAY, SQRT_FUNCTION_OKAY, EXP_FUNCTION_OKAY, LDEXP_FUNCTION_OKAY, FREXP_FUNCTION_OKAY and FMOD_FUNCTION_OKAY have been added to commpn.h - Documentation comments have been improved in intlib.c, int_rtl.c, match.c, str_rtl.c, keybd.s7i and vectorfont.s7i. - In comp/int_act.s7i the variable quotient_name has been renamed to remainder_name. 20190523: - In match.c the function substitute_params() has been fixed to copy parameters with expressions instead of calling do_create(). For expressions do_create() just creates a reference to the expression and this leads later to a double free of the expression. Many thanks go to Anton Lobach, for reporting this error and for providing a test program. - The library blowfish.s7i, with Blowfish cipher support, has been added. - The functions column() and line() have been added to the library console.s7i. - The bas7.sd7 (basic interpreter) example program has been improved. Support for the keyword ENDIF has been added. - The compiler (s7c.sd7) has been improved (in set_act.s7i) to optimize the expression card(bitset(number)). - The functions toBase and fromBaseToBigInt have been added to encoding.s7i. This functions encode and decode bigInteger numbers with a positional numeric system. - Conversion functions have been added to bitsetof.s7i and bitset.s7i. - Checks for the function card() have been added to chkset.sd7. - Interpreter and compiler have been improved to support the actions CON_COLUMN, CON_LINE, SET_CONV1, SET_CONV3, SET_SCONV1 and SET_SCONV3. The support for the actions SET_CONV and SET_SCONV has been removed. - The libraries bitsetof.s7i and bitset.s7i have been adjusted, to use the new actions. - In con_inf.c the function conWrite() has been improved to change the cursor position, when the characters '\n', '\r' and '\b' are written. - In con_win.c the function conCursor() has been improved, to hide the cursor, when it is called with FALSE. The function conOpen() has been changed, to set the cursor position to (1, 1) and to hide the cursor. - The functions conColumn() and conLine() have been added to con_rtl.c, con_inf.c, con_win.c, con_wat.c and con_emc.c. - In set_rtl.c the functions setIConv() and setSConv() have been improved. Now setIConv() raises RANGE_ERROR for negative numbers and setSConv() raises RANGE_ERROR, when a negative integer would be returned. - Documentation has been improved in console.s7i, string.s7i, con_inf.c, con_win.c - The debug trace mechanism in analyze.c and dcllib.c has been improved. - A call of dlerror() has been added in dll_unx.c. - In traceutl.c the function prot_list_limited() has been introduced. 20190506: - The utility program bigfiles.sd7 has been added. Bigfiles is an utility program to search for big files. This is useful, when the disk is almost full and files must be removed to get more space. - The utility program sydir7.sd7 has been improved. Now it supports the option -n, which assures that no changes are done. - The program db7.sd7 (Database Inspector) has been improved to write an error message, when reading the catalog of database tables fails. - The program chkbitdata.sd7 has been added. This program checks functions from the bitdata.s7i library. - In the FAQ the explanation, how Seed7 is compiled, has been improved. - The description of several conversion functions in the manual has been improved. - The function ripemd160 has been added to msgdigest.s7i. This function computes a message digest with the RIPEMD-160 algorithm. - The functions toBase58, fromBase58, toBase and fromBase have been added to encoding.s7i. This functions support Base58 encoding and similar other encodings with a positional numeric system. - The functions putBitLsb, putBitsLsb, getBitMsb, getBitsMsb, putBitMsb and putBitsMsb have been added to bitdata.s7i. This functions read and write bits from and to a file. - The new library leb128.s7i has been added. This library supports the conversion of integers to and from LEB128 encoding. LEB128 is a variable-length encoding for integers. It is used e.g. by the DWARF debug file format and by WebAssembly. - Tests for the functions leb128ToInt(), uLeb128ToInt(), leb128() and uLeb128() have been added to chkint.sd7. - The library make.s7i has been improved to avoid a makefile rule recursion. - The function hex2Bytes has been added to bytedata.s7i. This function converts a string with hexadecimal digits to a string of bytes. - The function reverse has been added to string.s7i and seed7_05.s7i. - The function tableNamesCommand has been added to sql_base.s7i. - Conversion functions have been added to char.s7i. - In big_rtl.c the function uBigMult has been changed to be faster, when the size of factor2 is 1. - In con_inf.c code to copy the environment for Emscripten and node.js has been added. This code is deactivated, because of a limitation in the Emscripten implementations of getenv() and setenv(). - The makefiles have been improved to copy the file version.h to a name that corresponds to the makefile. E.g.: The makefile mk_linux.mak copies version.h to vers_linux.h. This helps comparing different version.h files. - Documentation has been added to chkccomp.c and read_me.txt. - The prototype of the function refCatParse has been changed in ref_data.c, ref_data.h and ref_act.s7i. The compiler (s7c.sd7) has been changed to add a cast in the function init_set_constants(). In sql_odbc.c casts have been added. This changes avoid C++ compilation errors. - Calls of logFunction and logError have been added in con_inf.c, dll_unx.c and dll_win.c. Modified: head/lang/seed7/Makefile head/lang/seed7/distinfo head/lang/seed7/pkg-plist Modified: head/lang/seed7/Makefile ============================================================================== --- head/lang/seed7/Makefile Wed Jul 24 11:06:29 2019 (r507270) +++ head/lang/seed7/Makefile Wed Jul 24 12:09:15 2019 (r507271) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= seed7 -DISTVERSION= 05_20190407 +DISTVERSION= 05_20190714 PORTREVISION= 0 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ Modified: head/lang/seed7/distinfo ============================================================================== --- head/lang/seed7/distinfo Wed Jul 24 11:06:29 2019 (r507270) +++ head/lang/seed7/distinfo Wed Jul 24 12:09:15 2019 (r507271) @@ -1,3 +1,3 @@ -TIMESTAMP = 1554715167 -SHA256 (seed7_05_20190407.tgz) = 268c0de9ba7111f272f4990999174190ab712b1e8d64b691c50e387af7e57b4f -SIZE (seed7_05_20190407.tgz) = 2992495 +TIMESTAMP = 1563966420 +SHA256 (seed7_05_20190714.tgz) = 937ad20de5bfdb95a81445064e6b0555f477efe156ed506ec163f0f38e653a60 +SIZE (seed7_05_20190714.tgz) = 3072079 Modified: head/lang/seed7/pkg-plist ============================================================================== --- head/lang/seed7/pkg-plist Wed Jul 24 11:06:29 2019 (r507270) +++ head/lang/seed7/pkg-plist Wed Jul 24 12:09:15 2019 (r507271) @@ -18,6 +18,7 @@ lib/seed7/lib/bitdata.s7i lib/seed7/lib/bitmapfont.s7i lib/seed7/lib/bitset.s7i lib/seed7/lib/bitsetof.s7i +lib/seed7/lib/blowfish.s7i lib/seed7/lib/boolean.s7i lib/seed7/lib/browser.s7i lib/seed7/lib/bstring.s7i @@ -96,6 +97,7 @@ lib/seed7/lib/draw.s7i lib/seed7/lib/duration.s7i lib/seed7/lib/echo.s7i lib/seed7/lib/editline.s7i +lib/seed7/lib/elliptic.s7i lib/seed7/lib/enable_io.s7i lib/seed7/lib/encoding.s7i lib/seed7/lib/environment.s7i @@ -131,6 +133,7 @@ lib/seed7/lib/integer.s7i lib/seed7/lib/iobuffer.s7i lib/seed7/lib/keybd.s7i lib/seed7/lib/keydescr.s7i +lib/seed7/lib/leb128.s7i lib/seed7/lib/line.s7i lib/seed7/lib/listener.s7i lib/seed7/lib/logfile.s7i @@ -166,6 +169,7 @@ lib/seed7/lib/scanstri.s7i lib/seed7/lib/seed7_05.s7i lib/seed7/lib/set.s7i lib/seed7/lib/shell.s7i +lib/seed7/lib/showtls.s7i lib/seed7/lib/smtp.s7i lib/seed7/lib/sockbase.s7i lib/seed7/lib/socket.s7i