freebsd-ports/databases/mysql55-server/files
Mateusz Piotrowski 43f9ba04f1 databases/mysql55-server: Adapt ${name}_limits to the new resource
limiting mechanics for services

Thanks to the recent change 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.

Unfortunately, there is a collision of variable names. The service scripts
are broken on FreeBSD version with that new change (>= 12.0).

The patch preserves the old behavior on the systems without the rc.subr(8)
modification.

PR:		227228
Reviewed by:	krion
Approved by:	krion (mentor), maintainer timeout
Differential Revision:	https://reviews.freebsd.org/D17818
2018-11-03 21:54:52 +00:00
..
extra-patch-config.h.cmake
mysql-server.in
patch-client_CMakeLists.txt
patch-client_mysql.cc
patch-cmake_plugin.cmake
patch-CMakeLists.txt
patch-extra_CMakeLists.txt
patch-include_CMakeLists.txt
patch-include_my_compare.h
patch-include_myisam.h
patch-libmysql_CMakeLists.txt
patch-libservices_CMakeLists.txt
patch-man_CMakeLists.txt
patch-mysys_default.c
patch-scripts_CMakeLists.txt
patch-scripts_mysqld_safe.sh
patch-sql_CMakeLists.txt
patch-sql_common_client_plugin.c
patch-sql_sql_partition.cc
patch-sql_sql_trigger.cc
patch-sql_sql_view.cc
patch-sql_sys_vars.cc
patch-support-files_CMakeLists.txt