Bug 152739 - [PATCH] databases/mysql51-server: introduce $mysql_pidfile
[PATCH] databases/mysql51-server: introduce $mysql_pidfile
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Alex Dupre
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-01 11:00 UTC by Frank Wall
Modified: 2010-12-16 08:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.27 KB, patch)
2010-12-01 11:00 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2010-12-01 11:00:22 UTC
The patch makes it possible to set $mysql_pidfile through /etc/rc.conf.

Currently the mysql-server RC script always uses ${mysql_dbdir}/`/bin/hostname`.pid for pidfile. In same cases this could be a bad idea. This patch allows to change the default value.

Fix: apply the patch

Patch attached with submission follows:
How-To-Repeat: -
Comment 1 Edwin Groothuis freebsd_committer 2010-12-01 11:00:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2010-12-16 08:28:05 UTC
ale         2010-12-16 08:27:58 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysql51-server Makefile distinfo 
    databases/mysql51-server/files mysql-server.sh.in 
                                   patch-Makefile.in 
  Log:
  Update to 5.1.54 release:
  - allow custom pid file [1] [2]
  
  PR:             ports/84650 [1], ports/152739 [2]
  Submitted by:   Toshiya SAITOH <toshiya@saitoh.nu> [1],
                  Frank Wall <fw@moov.de> [2]
  
  Revision  Changes    Path
  1.272     +1 -1      ports/databases/mysql51-server/Makefile
  1.131     +2 -2      ports/databases/mysql51-server/distinfo
  1.9       +5 -3      ports/databases/mysql51-server/files/mysql-server.sh.in
  1.27      +4 -5      ports/databases/mysql51-server/files/patch-Makefile.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2010-12-16 08:28:30 UTC
State Changed
From-To: open->closed

Committed, thanks!