Commit Graph

151 Commits

Author SHA1 Message Date
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
Alex Dupre a36ab02ffa Try to fix build with clang6. 2018-05-14 13:52:34 +00:00
Baptiste Daroussin e988538a22 Remove patch added by accident
Reported by:	antoine
2017-04-01 16:38:59 +00:00
Baptiste Daroussin b85734e5a8 Update libedit to 20170329 2017-04-01 15:11:14 +00:00
Sean Bruno f5f737f97e For ARMv6, declare FPSETMASK 0 and FEDISABLEEXCEPT 1. This allows mysql server to
build on ARMv6.

No need to bump portrevision for everyone else here as this only affects ARM users.

PR:		195750
Submitted by:	mikael.urankar@gmail.com
Approved by:	mentor (implicit)
2015-01-01 22:41:56 +00:00
Alex Dupre 31cea5319a Update to 5.5.41 release. 2014-12-03 09:33:13 +00:00
Alex Dupre fa1c1bc803 Update to 5.5.40 release and unbreak on armv6 [1].
PR:		193841 [1]
Submitted by:	mikael.urankar@gmail.com
2014-09-23 15:03:22 +00:00
Alex Dupre 204ad20ce0 Update to 5.5.37 release. 2014-03-31 12:28:49 +00:00
Alex Dupre baab9ab9b2 Update to 5.5.35 release and stagify. 2013-12-17 10:18:58 +00:00
Tijl Coosemans 879931c62f Fix mysql51/55/56 build with clang on i386.
The included yassl library contains inline asm (only for i386) using
intel syntax which clang does not support.  For now, just disable the
inline asm when clang is used and use the standard C implementation like
on every other architecture.

Approved by:	ale (maintainer)
2013-10-08 13:25:00 +00:00
Alex Dupre 424d74766c Update to 5.5.32 release. 2013-06-12 07:56:24 +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 b1fada5017 Update to 5.5.31.
Allow compilation using Clang in C++11 mode [1].

PR:		ports/171546
Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-04-23 10:19:15 +00:00
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Alex Dupre bd5745a0c3 Add a patch to lower the valid range of mysql read/write/wait timeouts.
Such timeouts are implemented via setsockopt that doesn't accept values
larger than (INT_MAX / kern.hz).
2012-06-15 15:49:41 +00:00
Alex Dupre ed385e7025 Fix build on i386.
PR:		ports/166503
Submitted by:	Oleksii Tsai <oleksii.tsai@googlemail.com>
Feature safe:	yes
2012-04-02 07:43:24 +00:00
Doug Barton 83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Alex Dupre e12bf51650 Update to 5.5.17 release. 2011-10-22 12:49:54 +00:00
Alex Dupre 7c285d8050 Update to 5.5.16 release. 2011-10-07 09:46:50 +00:00
Alex Dupre 143537c422 Don't escape quotes in mysqld_safe script, in order to fix @FIND_PROC@.
Spotted by:	Erik <me@erik.eu>
2011-09-01 08:19:58 +00:00
Alex Dupre ea57ca1063 Update to 5.5.15 release. 2011-08-09 11:12:44 +00:00
Alex Dupre 4ddf65715f Update to 5.5.14 release. 2011-07-12 14:44:51 +00:00
Alex Dupre 0d4594ec03 Update to 5.5.12 release. 2011-05-10 08:36:53 +00:00
Alex Dupre f475db30be Update to 5.5.11 release. 2011-04-12 07:51:49 +00:00
Alex Dupre b2d972df06 Update to 5.5.9 release [1]
Use system readline instead of bundled libedit [2]
Enable tcp wrappers [2]

PR:		ports/154579 [1], ports/154538 [2]
Submitted by:	mm [1], Dan Lukes <dan@obluda.cz> [2]
Feature safe:	yes
2011-02-08 16:37:40 +00:00
Alex Dupre 186cfdea42 Fix init_embedded_server when argc=0.
Submitted by:	fluffy
Obtained from:	MySQL Bug #57931
Feature safe:	yes
2011-01-13 09:15:22 +00:00
Alex Dupre 784b960442 Remove any attempts to create a libmysqlclient not linked to a threading library.
Restore previous libraries location.
These two changes should fix most of the reported errors.

Feature safe:	yes
2011-01-11 20:33:38 +00:00
Alex Dupre e4340ab85f Fix mysqlclient library in single-threaded applications,
by correctly implementing pthread_once (see PR threads/150959).
While I'm here, replace CONFLICTS with CONFLICTS_INSTALL.
Bump PORTREVISION.

PR:		ports/153588
Submitted by:	Richard Anthony Secor <rsecor@seqlogic.com>
2011-01-09 12:29:19 +00:00
Alex Dupre 70f8ddb44f Allow custom pidfile. 2010-12-27 18:01:03 +00:00
Alex Dupre d9029c5139 Update MySQL to 5.5.8 GA release. Read UPDATING.
Major changes:
- new installation layout, resembling RPM packages:
  - client = Client Utilities + Development Libraries + Shared components
  - server = MySQL Server + Embedded
- new build system: cmake instead of autotools
- fewer port knobs

Expect various breakages, but if we are lucky this could become the new default
mysql port.
2010-12-27 15:02:38 +00:00
Alex Dupre 1c5b6af38c Update to 5.5.7-rc release.
Fix crash caused by MAX_DEFAULT_DIRS too small [1]

PR:		ports/151927
Submitted by:	Bartosz Fabianowski <freebsd@chillt.de>
2010-11-10 16:55:08 +00:00
Alex Dupre 569dca908a Switch to use daemon(8) in rc script to avoid keeping a tty open.
Submitted by:	koitsu, ed
2010-09-30 09:10:49 +00:00
Alex Dupre ac053c9ed0 - Update to 5.5.6 RC release [1]
- Add support for DTrace [2]

PR:		ports/150915 [1], ports/150488 [2]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1], rpaulo [2]
2010-09-28 10:09:21 +00:00
Alex Dupre 31da751ef4 Really fix includes. 2010-07-27 15:10:54 +00:00
Alex Dupre 1f706238c5 Update to 5.5.5-m3 release:
- fix include layout [1]
- drop obsolete WITH_NDB knob

PR:		ports/146276 [1]
Submitted by:	pgollucci
2010-07-16 10:24:46 +00:00
Alex Dupre 3bae06fc05 Fix build/install when cmake is installed.
PR:		ports/145774
Submitted by:	Gerard Seibert <gerard@seibercom.net>
2010-04-18 09:20:10 +00:00
Alex Dupre 88a770e5fe - Update to 5.5.3-m3 release
- Switch to use USERS and GROUPS [1]

PR:		ports/144887 [1]
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk> [1]
2010-04-13 15:12:34 +00:00
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Alex Dupre 618197dd0d Update to 5.5.2 release.
Feature safe:	yes
2010-03-05 11:43:04 +00:00
Alex Dupre 92b5a6ed5e Update to 5.5.0 Milestone 2 release.
PR:		ports/142162
Submitted by:	ale
2010-01-04 10:10:33 +00:00
Alex Dupre 0276c8f596 Update to 5.4.2 release.
Feature safe:	yes
2009-09-24 15:36:20 +00:00
Alex Dupre 57cc4a6e6d Fix build when perl is not installed.
Reported by:	pointyhat
2009-07-23 13:04:08 +00:00
Alex Dupre 68fc560349 Fix --enable-dtrace logic and use bundled libtool.
Reported by:	many
2009-07-22 12:16:57 +00:00
Alex Dupre 6da08f8296 Add MySQL 5.4.1-beta.
Beware: it needs a lot of memory in default configuration for InnoDB.

Repocopy by:	marcus
2009-07-21 08:07:28 +00:00
Alex Dupre 3969a8b320 Update to 5.1.34 release. 2009-04-23 07:09:13 +00:00
Alex Dupre 2920056f61 Update to 5.1.31 and add mysqld embedded server library. 2009-03-03 16:35:52 +00:00
Alex Dupre 4f6f936f4b Update to 5.1.29 release. 2008-10-31 07:58:03 +00:00
Alex Dupre c7d5687bb9 - Fix client input validation vulnerability
- Fix my.cnf search path
2008-10-10 18:35:13 +00:00