Regarding to the changes to rc.subr(8) it is no longer necessary to
define a resource limiting logic in service scripts.
limits(1) is now run by default and its configuration is handled
via the "${name}_limits" variable.
This however causes collision of variable names and also is not
compatible with the old mechanism.
This fixes the rc-script of mysql56 for the bases with both
old and new mechanism.
PR: 227229
Submitted by: 0mp
Reported by: 0mp
Sponsored by: Netzkommune GmbH
Enabling DTRACE option causes build failure.
It appears this option never really worked on FreeBSD.
PR: 217097
Submitted by: sunpoet (myself)
Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)
Thanks to: John Hein <z7dr6ut7gs@snkmail.com> (for analysis and testing)
src/libedataserver/e-alphabet-index-private.cpp:79:2: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'?
UnicodeString string;
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here
class U_COMMON_API UnicodeString : public Replaceable
^
src/libedataserver/e-alphabet-index-private.cpp:132:3: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'?
UnicodeString ustring;
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here
class U_COMMON_API UnicodeString : public Replaceable
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
- Improvements for log handling, the logIt method was moved from
CegoTableManager to CegoBufferPool. This allows a more adequate
locking of the logging actions. For this the tsLock array has been
removed from CegoTableManager and lmLock array has been set up in
CegoBufferPool. Since checkpoint writing occurs in CegoBufferPool
( which is also relevant for loging operations ), the logging method
is now part of CegoBufferPool.
- The logAction method in CegoLogManager has also been improved in
a way, that a log buffer is not allocated for each logging operation
anymore. Instead, a logBuf array has been defined for all tablesets
and the logBuf is reallocated, if the current logging record exceeds
the log buffer.
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
LMDB 0.9.22 Release (2018-03-22)
Fix MDB_DUPSORT alignment bug (ITS#8819)
Fix regression with new db from 0.9.19 (ITS#8760)
Fix liblmdb to build on Solaris (ITS#8612)
Fix delete behavior with DUPSORT DB (ITS#8622)
Fix mdb_cursor_get/mdb_cursor_del behavior (ITS#8722)
PR: 227103
Submitted by: gahr
Approved by: delphij (maintainer)
For the qt5-* ports bsd.qt.mk sets EXTRACT_AFTER_ARGS, and
thereby does not get the normal default value of
--no-same-owner --no-same-permissions
passed when extracting. This lead to for example header files
being installed (i.e. copied), with permissions group write
permissions.
Manually append that to the bsd.qt.mk shenanigans (also do the
same in www/qt5-webchannel, which opts out of the bsd.qt.mk value)
PR: 227027
Reported by: grarpamp@gmail.com
- Added fixes for recovery procedure in CegoTableManager. Now the
LSN is allocated at the beginning of critical operation to avoid
double operations in case of a forced checkpoint. For this the
CegoLogManager::nextLSN method has been introduced. Now it is no
more ensured that the log is written with increasing LSN, so some
logical parts of the recovery procedure in CegoRecoveryManager has
been changed.
- In CegoBufferPool, the writeCheckPoint method still returned int
value. This has been changed to unsigned long long
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
Detect databases whose schema is corrupted using
a CREATE TABLE AS statement and issue an appropriate error message.
CVE-2018-8740 will be entered into VuXML when SQLite will make
a release, because CVE-2018-8740 says that versions up to and including
the current version 3.22.0 are vulnerable.
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Reported by: tj <tj@mrsk.me>
2018-03-19 graphics/code-eli: Broken for more than 6 months
2018-03-19 databases/pg_rman: Broken for more than 6 months
2018-03-19 devel/elixir-simple_bayes: Broken for more than 6 months
2018-03-19 devel/elixir-stemmer: Broken for more than 6 months
2018-03-19 benchmarks/expedite: Broken for more than 6 months
2018-03-19 textproc/p5-HTML-CTPP2: Broken for more than 6 months
2018-03-19 textproc/rubygem-compass-rails: Broken for more than 6 months
go-carbon is a go implementation of the carbon component of the graphite
project. It has support for multiple cpu's and can achieve higher concurrency.
WWW: https://github.com/lomik/go-carbon
PR: 226732
Submitted by: Andreas Andersson <a.andersson.thn@gmail.com>
groff is required by rrdtool to format documentation, which
is only required when documentation is being built.
Accordingly, make groff conditional on the existing DOCS option.
This precludes building a litany of dependencies, mostly due
to groff requiring ghostscript.
While here, remove unneeded post-patch in the case the DOCS option is
switched off.
Submitted by: koobs
Differential Revision: https://reviews.freebsd.org/D14732
PgSanity checks the syntax of PostgreSQL SQL files.
It does this by leveraging the ecpg command which is traditionally
used for preparing C files with embedded SQL for compilation.
However, as part of that preparation, ecpg checks the embedded SQL
statements for syntax errors using the exact same parser that is in
PostgreSQL.
So the approach that PgSanity takes is to take a file that has a list
of bare SQL in it, make that file look like a C file with embedded
SQL, run it through ecpg and let ecpg report on the syntax errors of
the SQL.
WWW: https://github.com/markdrago/pgsanity
PR: 226689
Submitted by: 0mp
databases/cego: 2.39.7 -> 2.39.8
lfcbase:
- Fix for memory leak in TreeT and AVLTreeT.
The = operator implementation did not empty the tree before copy.
- Additional fix to this release : Added regfree call to Matcher
destructor. Missing this call seems to cause a small memory leak
cego:
- Fix for memory leak in CegoPredDesc, pMatcher has not been cleaned up
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
Port changes:
* Change to DISTVERSION
* Add the specific boost version to fix build
* Add curl to LIB_DEPENDS
* Move bison from BUILD_DEPENDS to USES=bison
* Add/delete patches
PR: 216870
Submitted by: samm@os2.kiev.ua
Approved by: Aleksandr Kuzminsky <aleks@twindb.com> (maintainer)
Changelog:
https://www.sqlite.org/releaselog/3_22_0.html
Port changes:
* Added the OFFSET option for the new sqlite_offset() function
* Added 'Optional extensions' and 'Optional functions' option
groups for better options readability
* Deleted patches from files/ because they were disabling certain
options in the command-line utility that the upstream keeps
always enabled there
* Changed capitalization in some options according to
common spelling rules
PR: 225627
Submitted by: Charlie Li <ml+freebsd@vishwin.info> (original version)
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer, later version)
Approved by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D14216
- Fix in CegoTableManager::deleteDataTable, pBlock has to be checked
for null value, otherwise crash recovery might crash. ( bug came
with 2.39.0 to check for pBlock->getTriggerValueList )
- Some clob related fixes in CegoQueryHelper::decodeNativeFVL /
decodeFVL relevant for recovery handling
- Fix in CegoRecoveryManager::recoverCurrentTransactionLog for the
INSERT case. For the blob/clob handling, the lobREf values have not
been set up correctly. This might lead to problems for table recovery
with more than one lob row ( e.g. table t1 ( a blob , b clob )
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
- Bug fix in CegoAction::reallocateStringBuf, in the memcpy call,
just the previous stringBufLen has to be copied ( _stringBufLen -
MAXSTRINGLEN ). This bug might lead to seg fault in case of large
parser input ( e.g. clob strings )
- In CegoQuery for insert and insert-by-select case, allocated blob
and clob data ( by CegoQueryHelper::prepareFieldValue ) is cleaned
now if any exception occurs
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
Port changes:
* Changed to DISTVERSION
* Use MAKE_ENV to unbreak it
* Added SSP_UNSAFE because otherwise it doesn't like -fstack-protector
PR: 226378
Submitted by: Andreas Andersson <a.andersson.thn@gmail.com> (maintainer)
Approved by: tcberner (mentor, implicit)
- Small bug fix in CegoDistManager, which came up with version
2.39.0. In method deleteLocalDataTable, the variable delCount was
declared two times, which lead to a result of 0 tuples deleted in
any case
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
In file included from /wrkdirs/usr/ports/databases/php5-pdo_cassandra/work/php-pdo_cassandra-7debd5b/cassandra_driver.cpp:18:
./php_pdo_cassandra_int.hpp:89:33: error: implicit instantiation of undefined template 'boost::shared_ptr<apache::thrift::transport::TSocketPool>'
boost::shared_ptr<TSocketPool> socket;
^
/usr/local/include/boost/exception/exception.hpp:19:44: note: template is declared here
namespace boost { template <class T> class shared_ptr; };
^
In file included from /wrkdirs/usr/ports/databases/php5-pdo_cassandra/work/php-pdo_cassandra-7debd5b/cassandra_driver.cpp:18:
./php_pdo_cassandra_int.hpp:90:38: error: implicit instantiation of undefined template 'boost::shared_ptr<apache::thrift::transport::TFramedTransport>'
boost::shared_ptr<TFramedTransport> transport;
^
/usr/local/include/boost/exception/exception.hpp:19:44: note: template is declared here
namespace boost { template <class T> class shared_ptr; };
^
In file included from /wrkdirs/usr/ports/databases/php5-pdo_cassandra/work/php-pdo_cassandra-7debd5b/cassandra_driver.cpp:18:
./php_pdo_cassandra_int.hpp:91:31: error: implicit instantiation of undefined template 'boost::shared_ptr<apache::thrift::protocol::TProtocol>'
boost::shared_ptr<TProtocol> protocol;
^
/usr/local/include/boost/exception/exception.hpp:19:44: note: template is declared here
namespace boost { template <class T> class shared_ptr; };
^
In file included from /wrkdirs/usr/ports/databases/php5-pdo_cassandra/work/php-pdo_cassandra-7debd5b/cassandra_driver.cpp:18:
./php_pdo_cassandra_int.hpp:92:37: error: implicit instantiation of undefined template 'boost::shared_ptr<org::apache::cassandra::CassandraClient>'
boost::shared_ptr<CassandraClient> client;
^
/usr/local/include/boost/exception/exception.hpp:19:44: note: template is declared here
namespace boost { template <class T> class shared_ptr; };
^
In file included from /wrkdirs/usr/ports/databases/php5-pdo_cassandra/work/php-pdo_cassandra-7debd5b/cassandra_driver.cpp:18:
./php_pdo_cassandra_int.hpp:109:31: error: implicit instantiation of undefined template 'boost::shared_ptr<org::apache::cassandra::CqlResult>'
boost::shared_ptr<CqlResult> result;
^
/usr/local/include/boost/exception/exception.hpp:19:44: note: template is declared here
namespace boost { template <class T> class shared_ptr; };
^
Reported by: pkg-fallout
- Small improvement in CegoDbThreadPool. For a better db thread
load value calculation, the request queue is no longer locked while
waiting for incoming requests. Instead the QUEUEDELAY parameter has been
increased to a default value of 200 msec to reduce db thread cpu
load while idle. Now the db thread has a good chance to report
idle time to the db thread pool.
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.
PR: 224300, 224443 (exp-run)
Approved by: portmgr (antoine)
Exp-run: antoine
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14137
ibase is Firebird, which only builds on i386 and amd64. This patch
squashes the ibase plugin for Qt4.
PR: 216943
Submitted by: linimon
Reported by: linimon
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D14326
The PostgreSQL Global Development Group has released an update to all supported
versions of the PostgreSQL database system, including 10.3, 9.6.8, 9.5.12,
9.4.17, and 9.3.22.
The purpose of this release is to address CVE-2018-1058, which describes how a
user can create like-named objects in different schemas that can change the
behavior of other users' queries and cause unexpected or malicious behavior,
also known as a "trojan-horse" attack. Most of this release centers around added
documentation that describes the issue and how to take steps to mitigate the
impact on PostgreSQL databases.
We strongly encourage all of our users to please visit
https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path
for a detailed explanation of CVE-2018-1058 and how to protect your PostgreSQL
installations.
After evaluating the documentation for CVE-2018-1058, a database administrator
may need to take follow up steps on their PostgreSQL installations to ensure
they are protected from exploitation.
Security: CVE-2018-1058
databases/cegobridge: update 1.3.0 -> 1.4.0
cego:
- Fix in CegoTableManager::updateTuple, while setting up expression
list, field list array must be setup BEFORE block ist set, since
field list is needed by block setup ( in case of subqueries for
prepare )
cegobridge:
- Adaptions for cego-2.39
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
- Introduced table locking statements to set an explicit lock on a
table ( e.g. for update synchronisation ). This feature replaces
the "set update sync on/off" command
- Trigger implementation basically completed
- Fix in CegoQueryHelper::encodeFVL, for blob/clob values lists,
the corresponding index variables ( blobidx/clobidx ) have not been
increaed while encoding lob data. This might lead to invalid results
and seg faults in case of multiple lobs values in one insert/update
operation.
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
- For heavy update operations on tables with btrees using embedding
transactions, duplicate btree errors may occur. This is caused
by not checking corresponding tuple states. To solve this problem,
the following fixes have been done :
o Fix in CegoTableManager::checkBTreeIntegrity : The tuple state for
found entries has to be checked if state = COMMITTED
o Fix in CegoBTreeNode:checkForAffected ( was checkForDeleted before ) :
The tuple state has already checked for state
INSERTED if tid != dataTid
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
While here:
- set EXPIRATION_DATE and mark DEPRECATED because of incoming EOL
- clean up conflicts
- add LIB_DEPENDS when option is set
- regenerate patches with make makepatch
Upstream has renamed its libraries and we no longer need to patch
devel/qscintilla-qt5 to create a library whose name does not conflict with
devel/qscintilla's. However, the library names are different so we need to bump
PORTREVISION in several ports (the SOVERSION has changed too).
Thanks to antoine for the exp-run.
PR: 225928
toplsqltext.cpp:80:19: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'bool'
{ NULL, NULL, false, false}
^~~~~
the current rc.d script uses the pidfile variable before its
defined. This breaks the daemon script.
Approved by: jrm (mentor), sunpoet
MFH: 2018Q1
Sponsored by: https://iwantmyname.com/
Differential Revision: https://reviews.freebsd.org/D13580
This prepares the update of www/gitlab to 10.4 update
which requires this specific version
Submitted by: Matthias Fechner <idefix@fechner.net>
Reviewed by: swills, tz
This prepares the update of www/gitlab to 10.4 update
which requires this specific version
Submitted by: Matthias Fechner <idefix@fechner.net>
Reviewed by: swills, tz
This prepares the update of www/gitlab to 10.4 update
which requires this specific version
Submitted by: Matthias Fechner <idefix@fechner.net>
Reviewed by: swills, tz
r460809 started installing .pyi with the %%PYTHON3%% substitution in the
plists. Support for .pyi files was added in Python 3.5, and PyQt's configure.py
only installs the files on Python >= 3.5.
This patch removes the version checks from configure.py (the files are just
unused in earlier Python versions), as it is easier than checking Python 3's
version in each PyQt port's Makefile (or to add the logic to Mk/Uses/pyqt.mk).
PR: 225773
Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D14361
- Fix in dbcheck/check065.sql for union sql in view.There must be
set up aliases for attributes in selection now
Submitted by: Bjoern Lemke <lemke@lemke-it.com>
2018-01-01 devel/p5-Parse-Pidl: yes
2018-02-08 devel/rubygem-piston: No longer maintained upstream
2017-04-05 databases/postgresql92-server: PostgreSQL 9.2 support has reached End-of-line. Please upgrade to a later version.
This is done for
* consistency,
* and to simplify the import of the newer KDE Plasma5 desktop and KDE applications
Bumps the dependencies.
Reviewed by: adridg
Differential Revision: https://reviews.freebsd.org/D12979
This removes build dependency on gcc and runtime dependency on gcc's runtime libraries.
Big thanks to Gleb for working on this.
PR: 225185
Submitted by: Gleb Popov <6yearold@gmail.com>
Exp-run by: antoine
Reviewed by: pgj
Differential Revision: https://reviews.freebsd.org/D12043
Now that both USE_GCC and -CURRENT default to C++14 there's little
reason to complicate maintenance. Revert r449685 to usher consumers
into post-C++11 world.
PR: 222433 222434 222435
While we're here, fix up some variable names to ensure that all of the
scripts work (e.g., /usr/local/etc/rc.d/neo4j).
Approved by: crees
Differential Revision: https://reviews.freebsd.org/D14260
2018-02-08 Security Update Release
==================================
The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.
This release fixes two security issues. This release also fixes issues with
VACUUM, GIN indexes, and hash indexes that could lead to data corruption, as
well as fixes for using parallel queries and logical replication.
All users using the affected versions of PostgreSQL should update as soon as
possible. Please see the notes on "Updating" below for any post-update steps
that may be required.
Please note that PostgreSQL changed its versioning scheme with the release of
version 10.0, so updating to version 10.2 from 10.0 or 10.1 is considered a
minor update.
Security Issues
---------------
Two security vulnerabilities have been fixed by this release:
* CVE-2018-1052: Fix the processing of partition keys containing multiple
expressions
* CVE-2018-1053: Ensure that all temporary files made with "pg_upgrade" are
non-world-readable
Local fixes to the FreeBSD ports
--------------------------------
Inform users about data checksums [1].
Make sure /usr/bin/su is used regardless of PATH settings [2].
Enable DTRACE by default [3].
PR: 214671 [1], 223157 [2], 215028 [3]
Security: c602c791-0cf4-11e8-a2ec-6cc21735f730
After r328331 changes in head/etc/rc.subr, having "NO" in mysql_limits
goes into "limits" command params as is.
So this patch substitutes the "NO" appropriately when needed.
PR: 225657
Reported by: robbak@gmail.com
Reviewed by: Rainer Hurling <rhurlin@gwdg.de>
Sponsored by: Netzkommune GmbH