Bug 163609 - databases/mysql-udf-preg installs files in wrong place
Summary: databases/mysql-udf-preg installs files in wrong place
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-25 14:50 UTC by Pawel Pekala
Modified: 2012-01-17 04:50 UTC (History)
0 users

See Also:


Attachments
file.diff (988 bytes, patch)
2011-12-25 14:50 UTC, Pawel Pekala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 14:50:07 UTC
This port installs mysql plugins in dir ${PREFIX}/mysql/lib/plugins,
but mysqld [1] expects them to be in ${PREFIX}/mysql/lib/plugin:

[corn:/home/corn]# mysql < /usr/local/share/mysql-udf-preg/installdb.sql
ERROR 1126 (HY000) at line 3: Can't open shared library 'lib_mysqludf_preg.so' (errno: 0 Cannot open "/usr/local/lib/mysql/plugin/lib_mysqludf_preg.so")

[1] http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_plugin_dir

Attached patch fixes issue for me.

Fix: Patch attached with submission follows:
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 21:25:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

misspelled port name
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 21:37:05 UTC
Responsible Changed
From-To: pawel->pgollucci

misspelled port name
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-17 04:48:06 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-01-17 04:48:12 UTC
pgollucci    2012-01-17 04:48:02 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysql-udf-preg Makefile 
  Log:
  - s/plugins/plugin/g so that its where mysqld expects them
  - Bump PORTREVISION
  
  PR:             ports/163609
  Submitted by:   pawel
  
  Revision  Changes    Path
  1.2       +6 -5      ports/databases/mysql-udf-preg/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"