Bug 162562

Summary: [patch] databases/mysql-udf: udf shared objects installed in wrong directory
Product: Ports & Packages Reporter: Panagiotis Christias <p.christias>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Panagiotis Christias 2011-11-14 15:10:06 UTC
UDF shared objects are installed in /usr/local/lib/mysql instead of /usr/local/lib/mysql/plugin.

Tested on MySQL 5.1 and 5.5.

Fix: See attached patch file.

Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/databases/mysql-udf
# make install
# mysql
mysql> CREATE AGGREGATE FUNCTION median RETURNS REAL SONAME 'udf_median.so';
ERROR 1126 (HY000): Can't open shared library 'udf_median.so' (errno: 0 Cannot open "/usr/local/lib/mysql/plugin/udf_median.so")
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2011-11-17 20:19:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-11-29 21:53:41 UTC
pawel       2011-11-29 21:53:32 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysql-udf  Makefile 
  Log:
  - Install files to correct plugins path [1]
  - Do silent cat pkg-message
  
  http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_plugin_dir
  
  PR:             ports/162562 [1]
  Submitted by:   Panagiotis Christias <p.christias@noc.ntua.gr> [1]
  
  Feature safe:   yes
  
  Revision  Changes    Path
  1.6       +7 -4      ports/databases/mysql-udf/Makefile
_______________________________________________
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 Pawel Pekala freebsd_committer freebsd_triage 2011-11-29 21:54:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!