- No functional change on FreeBSD in this version
- Building the bootstrap target is enough to build Myrddin
- Always run the test suite after the build
- add msbuild as build dependency (xbuild is no longer used)
- remove redundant mono dependency (now provided via USES)
- move nuget dependencies out to `nupkg-nuget` due to length
Differential Revision: https://reviews.freebsd.org/D16069
As usual, it is recommended to rebuild or reinstall all the
dependent ports and the lang/ghc port itself in one of the following
ways:
# portmaster -w -r ghc
or
# portupgrade -fr lang/ghc
In case of pkg(8), it is probably safer to remove all the GHC-dependent
packages along with GHC and reinstall everything from scratch. For
example:
# pkg query "%ro" ghc > ghc-pkgs.txt
# pkg delete -y lang/ghc
In ghc-pkgs.txt, check and remove all the packages that have been moved
on the update, then use this command:
# pkg install -y `cat ghc-pkgs.txt`
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D16038
- add LTS versions
- Dotnet Core 2.1 fails due to issue with linprocfs (PR pending)
.NET Core is a free and open-source managed software framework. It consists of
CoreCLR, a complete runtime implementation of CLR, the virtual machine that
manages the execution of .NET programs. CoreCLR comes with an improved
just-in-time compiler, called RyuJIT. .NET Core also includes CoreFX, which is
a partial fork of FCL. While .NET Core shares a subset of .NET Framework APIs,
it comes with its own API that is not part of .NET Framework. Further,
.NET Core contains CoreRT, the .NET Native runtime optimized to be integrated
into AOT compiled native binaries. A variant of the .NET Core library is used
for UWP. .NET Core's command-line interface offers an execution entry point
for operating systems and provides developer services like compilation and
package management.
.NET Core supports four cross-platform scenarios: ASP.NET Core web apps,
command-line apps, libraries, and Universal Windows Platform apps. It does not
implement Windows Forms or WPF which render the standard GUI for desktop
software on Windows. .NET Core is also modular, meaning that instead of
assemblies, developers work with NuGet packages. Unlike .NET Framework, which
is serviced using Windows Update, .NET Core relies on its package manager to
receive updates.
Differential Revision: https://reviews.freebsd.org/D13870
Here is the story:
- Default Perl is 5.24.
- You install stuff, and have Perl 5.24.
- The default Perl is changed to 5.26 because it was time.
- You do not really follow those things and are not using pkg (and
possibly poudriere) to maintain your /usr/local and you run
portmaster to update what needs to be updated.
- As you did not set anything, your Perl default is still 5.24 because
it is the installed /usr/local/bin/perl.
- Turns out that there has been a new version of lang/perl5.24 in the
mean time, and portmaster updates it. Keep in mind that the only
thing that makes 5.24 the default is that it is the installed version
you have. If you did not have it installed, the default would be
5.26.
- portmaster builds the new perl 5.24, and before it installs it, it
needs to remove the old version.
- now, you do not have any Perl installed, so the default falls back to
5.26.
- portmaster installs perl 5.24 it just built, but as it is not the
default any pore, it will not install /usr/local/bin/perl, and
everything using Perl on your system is toast, you spend countless
hours not understanding wtf happened. You end up rebuilding
everything with 5.26.
PR: 227356
Sponsored by: Absolight
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: →https://reviews.freebsd.org/D15540
This brings a more modern Mono release to the ports tree. After
discussions with others in the Mono community I targeted the mono
5.10.1.47 release which is the latest release in the "Visual Studio"
release channel. This is considered to be the most stable and widely
tested, which makes it a good candidate for us. We may upgrade to 5.12
after additional testing or introduce another Mono package for users who
require testing against a newer release; this has yet to be determined.
- Build from official release tarballs
- Now include BoringSSL per upstream guidelines [1]
- Remove ACCEPTANCE_TESTS, not being updated by upstream
- No long require glib; Mono includes their own replacement
- USES=display:tests required for some tests
- Remove broken for armv6, armv7: file now available [2]
- Mark as LLD safe as mono changed how it handles TLS [3]
Changelog: http://www.mono-project.com/docs/about-mono/releases/5.10.0/
PR: 222271 [1]
PR: 221236 [2]
PR: 218885 [3]
PR: 211367
Approved by: dbn
Differential Revision: https://reviews.freebsd.org/D15780
- Fix SLIB_BUILD_DEPENDS so it points to the file actually being used
- Convert to our testing framework (TEST_TARGET) and unbreak regression
tests by preserving the `gosh' executable (prior to relinking), which
allows to run the tests without having Gauche installed
Tested on: i386, amd64 (all tests pass)
upstream expects that SLIB catalogue is generated *after* everything is
installed. They are aware that this logic does not go along well with
staging (e.g. for RPM, they suggest it to be called in the postinstall
script), and also provide ``slibcat-in-place'' target which is exactly
what we need for staging.
Patch the ``Makefile.in'' since I find these changes easier to follow/
debug than changes to the port's Makefile suggested in the PR.
PR: 226653
pkg-static: Unable to access file /wrkdirs/usr/ports/lang/gnatdroid-armv7/work/stage/usr/local/android/ARMv7/bin/arm-aux-linux-androideabi-gcc-6.5.0:No such file or directory
Reported by: pkg-fallout
20180601:
- The library tls.s7i has been improved to support the server_name
extension and to process handshake messages, that extend over several
tls message records. Additionally TLS version 1.2 is used now.
- The library x509cert.s7i has been improved to accept a validity with
times in GeneralizedTime data elements (additionally to times in
UTCTime data elements).
- The library browser.s7i has been improved to support calling Safari
under Mac OS X.
- Tests for the functions environment(), getenv() and setenv() have
been added to chkcmd.sd7.
- A test that checks the sorting of an array of strings has been added
to chkstr.sd7. This checks the compare() function for strings.
- The compiler s7c has been improved to create better code for the
option -tf (trace functions). Now the trace functions are added after
the declarations (such that older C compilers will accept this also).
- In chkflt.sd7 tests for NaN have been grouped together.
- In chkovf.sd7 tests for the binomial coefficient have been split into
groups.
- The program chkccomp.c has been improved to define the macros
LIMITED_CSTRI_LITERAL_LEN, LIMITED_ARRAY_LITERAL_LEN,
DECLARE_OS_ENVIRON, USE_GET_ENVIRONMENT, INITIALIZE_OS_ENVIRON,
DEFINE_WGETENV, DEFINE_WSETENV, os_environ, os_getenv, os_setenv,
os_putenv, DELETE_PUTENV_STRING, DEFINE_WSTATI64_EXT,
DEFINE_STRUCT_STATI64_EXT, DEFINE_FSTATI64_EXT, os_lstat, os_stat,
os_fstat, os_stat_struct, os_fstat_struct, HAS_SELECT and HAS_MMAP.
- In int_rtl.c the macro DECIMAL_DIGITS has been improved to work with
unsigned numbers.
- In str_rtl.c the function strCmpGeneric() has been changed back to
the old behaviour. Now strCmpGeneric() and strCompare() have again
the same behaviour. It has turned out that sorting an array of
strings worked wrong, when the program was compiled.
- In pcs_win.c the function prepareCommandLine has been improved and
the function copyQuotedPart has been added. Now the command line
created for CreateProcessW() has fewer quoted parameters. Now
parameters that contain a space or a quotation (") or a control
character or a character byond ASCII are quoted. All other parameters
are not quoted.
- Definitions of USE_MMAP, os_environ, os_fstat, DEFINE_WSTATI64_EXT,
os_lstat, os_stat, os_stat_orig, os_stat_struct, os_fstat_struct,
DEFINE_WSETENV, os_setenv, os_putenv and USE_DIRENT have been removed
from the makefiles.
- In several files usages of USE_MMAP have been replaced by usages of
HAS_MMAP.
- The file read_me.txt has been updated.
- In chkccomp.c the functions checkForLimitedArrayLiteralLength() and
determineStatFunctions() have been added and the functions
determineEnvironDefines() and determineBigIntDefines() have been
improved. Now the test for the GMP library enforces static linking.
- The macros DEFINE_MATHERR_FUNCTION and DEFINE__MATHERR_FUNCTION have
been improved to define if matherr() or _matherr() should be defined.
- Log functions have been improved in big_gmp.c, big_rtl.c and
int_rtl.c.
20180513:
- In the manual descriptions of the binomial coefficient and of several
conversion functions have been improved.
- The bas7.sd7 (basic interpreter) example program has been improved to
use case statements with strings.
- The operator &:= has been added to the libraries bitsetof.s7i and
bitset.s7i.
- The function rand() has been added to the library hashsetof.s7i. This
function returns a random element from a hash set.
- The compiler (s7c) has been improved to generate code that uses
memcpy or memmove to copy and create arrays of simple value types
(e.g. array integer). The destruction of arrays of simple value types
has also been simplified.
- The compiler has been improved to optimize the action SET_RAND.
- The compiler optimizations for the actions SET_DIFF, SET_UNION and
SET_UNION_ASSIGN has been improved.
- In the compiler (in comp/const.s7i) the actions BLN_ICONV1,
BLN_ICONV3, CHR_ICONV3 and SET_RAND have been added to the list of
special actions. The compiler implements functions, which just call
one of the special actions as inline functions.
- Interpreter and compiler have been improved to support the actions
HSH_RAND_KEY and SET_INTERSECT_ASSIGN.
- Tests for the functions card() and rand() for the type set of string
have been added to chkset.sd7.
- Tests for intersection assignments ( &:= ) have been added to
chkset.sd7.
- In s7c.sd7 the code to call C compiler and linker has been
refactored.
- The compiler has been improved (in comp/prc_act.s7i) to use the
function hshIdxDefault0() instead of hshIdxWithDefault() for case
statements with hashsets.
- The code generation of the compiler has been improved to trigger the
signal SIGFPE with a call of triggerSigfpe().
- The compiler has been improved to insert diagnostic line information
(e.g.: #line 64 "logfile.s7i") into code for the actions ARR_CPY,
BLN_AND, BLN_OR, ITF_CPY, PRC_IF, PRC_IF_ELSIF, PRC_IF_NOOP
- The compiler has been improved to insert diagnostic line information
for inlined functions.
- The configuration values in cc_conf.s7i have been improved.
SWITCH_WORKS_FOR_INT64TYPE, CC_OPT_OPTIMIZE_1, CC_OPT_OPTIMIZE_2 and
CC_OPT_OPTIMIZE_3 have been added. SYSTEM_DB_LIBS has been renamed
to ADDITIONAL_SYSTEM_LIBS. HAS_SIGACTION, SIGNAL_RESETS_HANDLER and
DO_SIGFPE_WITH_DIV_BY_ZERO have been removed.
- The program chkccomp.c has been improved. Now it determines the name
of the NULL device (/dev/null or NUL:), the system socket library
(unix sockets or winsocket), the method to read directories, the
bigInteger implementation used (big_rtl.c or big_gmp.c) and the
support for switch statements with 64-bit values.
- Documentation comments have been added or improved in bigint.s7i,
integer.s7i, bitsetof.s7i, bitset.s7i, hashsetof.s7i, cc_conf.s7i,
fil_rtl.c, dir_drv.h, cmd_rtl.c, set_rtl.c, str_rtl.c and striutl.c.
- In set_rtl.c the function setIntersect() has been improved to create
a smaller intersection result, if possible.
- In set_rtl.c the function setIntersectAssign has been added.
- In setlib.c the function set_intersect_assign has been added.
- In hsh_rtl.c the functions get_helem_elem, get_hash_elem, hshRand
and hshIdxDefault0 have been added.
- In hshlib.c the functions get_helem_elem, get_hash_elem and
hsh_rand_key have been added.
- In gkb_x11.c and gkb_win.c the function find_window() has been
improved to use hshIdxDefault0() instead of hshIdxWithDefault().
- In big_gmp.c the function bigDivRem has been improved to initialize
the remainder.
- In str_rtl.c and strlib.c the function strelem_memcmp has been
renamed to memcmp_strelem.
- In str_rtl.c the function strCmpGeneric has been changed to avoid
calls of memcmp_strelem(), when the string sizes differ. This
differs from the behaviour of strCompare, but the difference is not
important, because strCmpGeneric() is only used for string
comparisons of hash keys (in compiled programs).
- In striutl.c the function conv_to_cstri has been rewritten to return
the C string, when the function succeeds, and to work without the
parameter err_info.
- In striutl.c the function stri_to_bstriw has been rewritten to use
an err_info parameter.
- In striutl.c the functions with loop unrolling inspired by Duff's
device have been rewritten.
- In striutl.c the loops in conv_to_cstri, stri_to_cstri and
conv_to_os_stri have been optimized.
- The macro castIntTypeForSwitch has been introduced to support C
compilers, that do not support switch statements with 64-bit values.
- Definitions of NULL_DEVICE, USE_GETADDRINFO, USE_WINSOCK and
BIGINT_LIB_DEFINE have been removed from the makefiles.
20180401:
- The new library logfile.s7i has been added. It defines the interface
logFile. A logFile works like a normal file unless the log file
has the value STD_NULL. When a logFile has the value STD_NULL string
expressions written to the logFile are not evaluated. This reduces
the overhead, when logging is turned off.
- The bas7.sd7 (basic interpreter) example program has been improved.
The logging is now done via the new logFile type. This improves the
performance, when no logging is done. Several DATA statements in one
line are processed correctly now. Support for IF GOSUB and DISPLAY
statements and for the function COMMAND$ has been added.
- Tests of nested bigInteger for loops have been added to chkbig.sd7.
- A test with the assignment of a hash variable to itself have been
added to chkhsh.sd7.
- Tests of the replace function have been added to chkstr.sd7.
- In striutl.c the functions conv_from_os_stri, cstri8_to_stri and
cstri8_buf_to_stri have been improved. Now they call realloc()
only, when the size has changed. This improves the performance of
conv_from_os_stri by 32% (measured with gcc and valgrind, when
reading a directory).
- In str_rtl.c the function strUtf8ToStri has been improved to call
realloc() only, when the size has changed.
- In cmd_rtl.c the functions add_stri_to_array and
complete_stri_array have been renamed to addStriToRtlArray and
completeRtlStriArray respectively. The renamed functions have also
been improved to work with a simpler parameter list. Together with
the improvement of conv_from_os_stri this improves the performance
of cmdLs by 14% (measured with gcc and valgrind, when reading a
directory).
- In cmdlib.c the function cmd_ls has been rewritten to be based on
cmdLs. The functions cmp_mem and read_dir have been removed.
- In cmdlib.c the main loop in the function toArrayType has been
optimized for performance.
- In str_rtl.c the function add_stri_to_array has been renamed to
addCopiedStriToRtlArray and the function completeRtlStriArray has
been introduced. The code of addCopiedStriToRtlArray has also been
improved to work with a simpler parameter list.
- In strlib.c the function add_stri_to_array has been renamed to
addCopiedStriToArray and the functions freeStriArray and
completeStriArray have been introduced. The code of
addCopiedStriToArray has also been improved to work with a simpler
parameter list.
- The compiler has been improved to optimize the action HSH_CONTAINS,
when the hash table is constant and contains one element.
- In the compiler (in comp/const.s7i) the actions BLN_ORD, CHR_ICONV1,
CHR_ORD and INT_ODD have been added to the list of special actions.
The compiler implements functions, which just call one of the
special actions as inline functions. This allows optimizations for
the boolean and char random number generator.
- The compiler (s7c) has been improved (in comp/destr.s7i) to define
interface destructors, which take all possible implementation
types into account. Additionally a switch statement is used instead
of an if-then-else chain. Double entries are also avoided now.
- The function strChRepl has been added to str_rtl.c.
- The compiler has been improved to use strChRepl instead of strRepl,
to optimize split operations.
- Unnecessary function parameters have been removed in several
include files of the compiler.
- In flt_rtl.c the function doubleToCharBuffer has been improved to
determine the integer value of the exponent without calling
strtol().
- The function freeRtlStriArray has been added to arr_rtl.c.
- Several #define flags in pol_sel.c have been improved.
- The macro CSTRI_LITERAL_TO_STRI has been defined in striutl.h and
used in analyze.c, arr_rtl.c, cmd_rtl.c, cmd_unx.c, infile.c,
pcs_unx.c and pcs_win.c.
- Calls of logError have been added to functions in cmd_rtl.c,
con_inf.c, prclib.c, soc_rtl.c, tim_dos.c, tim_rtl.c, tim_unx.c and
tim_win.c.
- Documentation comments have been added or improved in cmdlib.c,
int_rtl.c and tim_rtl.c.
On the clang architectures, these changes have no effect: the baser
compiler already includes the needed features.
While here, remove now-redundant CXXFLAGS statements and pet portlint
(no other content change).
Tested on both powerpc64 and amd64.
Approved by: portmgr (tier-2 blanket)