Commit graph

10 commits

Author SHA1 Message Date
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mahdi Mokhtari
f5b82ad2e1 databases/mysql56-server: Adapt ${name}_limits to the new mechanism
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
2018-04-04 20:45:14 +00:00
Mahdi Mokhtari
7f0c31cc65 databases/mysql56-server: Fix rc-script ${name}_limits conflict for post r328331
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
2018-02-08 12:42:42 +00:00
Mahdi Mokhtari
b9db446854 databases/mysql{56 57 80}:
Improve ${mysql_optfile} default usage in rc script.
Improve pkg-message.

Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9646
2017-02-22 17:25:22 +00:00
Mark Felder
35f02968f0 databases/mysql56-server: Rollback rc script changes 2017-01-20 16:02:30 +00:00
Mark Felder
7164158100 databases/mysql56: Update to 5.6.35
- Port improvements from MySQL 5.7 port
- Use system libs instead of bundled
- Fix many open PRs
- Change MAINTAINER

PR:		216244 192657 198812 199751 205093
PR:		209618 211248 205983 209338
2017-01-19 22:29:04 +00:00
Alex Dupre
e457b98073 Pass --defaults-extra-file also to mysql_install_db.
Submitted by:	Daniel Ylitalo <daniel@203core.se>
2013-05-27 11:59:01 +00:00
Chris Rees
68bfa4c6fd Very slight speedup on rc file parsing; use hostname variable in preference
to calling /bin/hostname if available

Approved by:	ale (maintainer)
2013-04-24 17:28:01 +00:00
Alex Dupre
bdacc7aca2 Allow to specify server-specific option file path in /etc/rc.conf
PR:		ports/172408
Submitted by:	Daniel Ylitalo <daniel@produktion203.se>
2013-04-24 15:08:22 +00:00
Alex Dupre
43b36cb2d7 Add MySQL 5.6. 2013-02-14 15:04:05 +00:00