Port details |
- mysql-udf Set of user-defined functions for the MySQL server
- 0.3_3 databases
=0 0.3_3Version of this port present on the latest quarterly branch.
- DEPRECATED: Upstream last update was in 2007
This port expired on: 2023-12-31 IGNORE: cannot install: does not work with MySQL version 80 (MySQL 105m 106m 1011m 80 81 not supported)
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: 2008-04-10 16:31:12
- Last Update: 2023-12-31 00:06:11
- Commit Hash: 7b9d732
- License: BSD2CLAUSE
- WWW:
- https://mysql-udf.sourceforge.net/
- Description:
- This package adds several user-defined statistics functions
to the MySQL server providing the ability to:
* calculate the median of any values,
* calculate the skewness and kurtosis of a distribution of value
* retrieve the effective length of the longest value in a STRING column,
* get the longest value from a STRING column,
* calculate the faculty of a value,
* calculate linear regression parameters (intercept, slope, correlation
coefficent) of any values
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- mysql-udf>0:databases/mysql-udf
- No installation instructions:
- This port has been deleted.
- PKGNAME: mysql-udf
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1467549429
SHA256 (mysql-udf-0.3.tar.gz) = d9115aeecccfc06ccdc209a761a6a4d0dba70f15c9319ab76d173b04737beaf2
SIZE (mysql-udf-0.3.tar.gz) = 6714
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Library dependencies:
-
- libmysqlclient.so.21 : databases/mysql80-client
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- databases_mysql-udf
- USES:
- mysql
- pkg-message:
- For install:
- To add the custom functions to your MySQL server use the following syntax:
(you may install only the functions you need):
CREATE AGGREGATE FUNCTION median RETURNS REAL SONAME 'udf_median.so';
CREATE AGGREGATE FUNCTION correlation RETURNS REAL SONAME 'udf_correlation.so';
CREATE AGGREGATE FUNCTION intercept RETURNS REAL SONAME 'udf_intercept.so';
CREATE AGGREGATE FUNCTION slope RETURNS REAL SONAME 'udf_slope.so';
CREATE AGGREGATE FUNCTION skewness RETURNS REAL SONAME 'udf_skewness.so';
CREATE AGGREGATE FUNCTION kurtosis RETURNS REAL SONAME 'udf_kurtosis.so';
CREATE FUNCTION confidence_higher RETURNS REAL SONAME 'udf_confidence_higher.so';
CREATE FUNCTION confidence_lower RETURNS REAL SONAME 'udf_confidence_lower.so';
CREATE FUNCTION stdnorm_density RETURNS REAL SONAME 'udf_stdnorm_density.so';
CREATE FUNCTION stdnorm_dist RETURNS REAL SONAME 'udf_stdnorm_dist.so';
CREATE AGGREGATE FUNCTION geomean RETURNS REAL SONAME 'udf_geomean.so';
CREATE AGGREGATE FUNCTION weightedavg RETURNS REAL SONAME 'udf_weightedavg.so';
CREATE FUNCTION noverm RETURNS INTEGER SONAME 'udf_noverm.so';
CREATE FUNCTION faculty RETURNS REAL SONAME 'udf_faculty.so';
CREATE AGGREGATE FUNCTION COLWIDTH RETURNS INTEGER SONAME 'udf_colwidth.so';
CREATE AGGREGATE FUNCTION LONGEST RETURNS STRING SONAME 'udf_longest.so';
Example for deinstalling a function:
DROP FUNCTION median;
For function descriptions, see the following webpage:
http://mysql-udf.sourceforge.net/
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3_3 31 Dec 2023 00:06:11 |
Muhammad Moinur Rahman (bofh) |
databases/ateam_mysql57_ldap_auth: Remove expired port
Depends on upstream EOL MySQL 5.7 |
0.3_3 29 Dec 2023 18:24:39 |
Muhammad Moinur Rahman (bofh) |
*/*: Refactor with IGNORE_WITH_MYSQL
- There are multiple ports which has MYSQL options and are non-DEFAULT.
Most of the time committers actually forget to check with the OPTION
enabled and in some cases they are BROKEN with newr versions of mysql.
So test with different versions of mysql and mark IGNOPRE_WITH_MYSQL
appropriately. Due to the EOL of 5.7 this has not been checked.
- Unbreak sysutils/cfengine* with MySQL 8.0 and later
- The primary purpose of running this check is having statistics of the
MySQL usability over MariaDB to explore the future possibility of
shifting to MariaDB as the default as major ports upstream have moved
their codebase to support MariaDB over MySQL.
- The following actions will also be taken after the sunset of MySQL 5.7
If a port is broken on all instances of MySQL/MariaDB:
- If a port has the option of multiple DB backends and MySQL is the
default then the DEFAULT will be changed to PGSQL/SQLITE before
2024Q1. And the OPTION will be removed before 2024Q2. If a
MAINTAINER is aware about such cases and want to prefer PGSQL over
SQLITE or vice versa please do so at your own accord. Otherwise
PGSQL will be preferred over SQLITE.
- If a port has the option of multiple DB backends and MySQL is not
the default then the the OPTION will be removed before 2024Q1.
Approved by: portmgr (blanket) |
0.3_3 01 Nov 2023 22:11:47 |
Rodrigo Osorio (rodrigo) |
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart |
0.3_3 01 Feb 2023 12:07:20 |
Muhammad Moinur Rahman (bofh) |
databases/mysql-udf: Mark DEPRECATED
- Upstream mentions about using MySQL 4.0 and has not been updated since
2007
- Set EXPIRATION_DATE on 2023-12-31 along with MySQL 5.7
- Add LICENSE=BSD2CLAUSE as mentioned in their homepage
- Mark to ignore with mysql 8.0 [1]
PR: 269203 [1]
Reported by: exp-run [1] |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.3_3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.3_3 05 Aug 2022 05:32:31 |
Fernando Apesteguía (fernape) Author: Robert Clausecker |
databases/mysql-udf: always add -fPIC
This fixes build for armv6 and armv7
PR: 265565
Reported by: fuz@fuz.su (maintainer)
MFH: 2022Q3 (build fixes) |
0.3_3 20 Jul 2022 14:21:07 |
Tobias C. Berner (tcberner) |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
0.3_3 04 Jan 2022 18:11:45 |
Piotr Kubaj (pkubaj) |
databases/mysql-udf: fix build on riscv64
Same issue as other architectures. |
0.3_3 18 Nov 2021 12:00:52 |
Piotr Kubaj (pkubaj) |
databases/mysql-udf: remove redundant +
While here, add the same for armv7 to fix build. |
0.3_3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.3_3 27 Sep 2020 08:03:24 |
linimon |
Canonicalize flags for powerpc64le as per powerpc64. |
0.3_3 05 Apr 2020 19:15:59 |
pkubaj |
databases/mysql-udf: fix build on powerpc(64) with clang
Error:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol
compare_doubles(void const*, void const*); recompile with -fPIC |
0.3_3 13 Aug 2019 16:01:59 |
mat |
Convert to UCL & cleanup pkg-message (categories d) |
0.3_3 18 Sep 2018 20:09:03 |
emaste |
databases/mysql-udf: enable PIC on arm64 and i386, for lld
Shared objects should be built as PIC, and lld enforces this by default.
Add aarch64 and i386 cases to the existing set of per-arch CFLAGS, and
remove the BROKEN_aarch64.
Approved by: portmgr (lld blanket)
Sponsored by: The FreeBSD Foundation |
0.3_2 07 Jul 2018 06:44:07 |
linimon |
Mark these ports as broken on aarch64, and, where appropriate, armvX.
While here, pet portlint and modernize.
Approved by: portmgr (tier-2 blanket) |
0.3_2 03 Jul 2016 12:43:28 |
brnrd |
databases/mysql-udf: Fix building with MariaDB
- Work around MySQL's include/mysql/mysql directory
- Add -I ${LOCALBASE}/include to CFLAGS
- Move from USE_MYSQL to USES= mysql
PR: 199556 |
0.3_2 19 May 2016 10:21:25 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by: portmgr blanket |
0.3_2 20 Dec 2014 17:40:54 |
bapt |
Cleanup plist |
0.3_2 16 May 2014 03:29:50 |
vanilla |
Support STAGEDIR. |
0.3_2 20 Sep 2013 16:13:49 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases) |
0.3_2 29 Nov 2011 21:53:32 |
pawel |
- 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 |
0.3_1 22 Oct 2011 23:50:23 |
eadler |
- remove maintainer tags from pkg-descr
Approved by: portmgr
Approved by: bapt (mentor) |
0.3_1 17 Oct 2011 04:35:02 |
dougb |
Remove references to mysql 323 and 40, most commonly of the form:
IGNORE_WITH_MYSQL= 323 40 |
0.3_1 09 Aug 2011 15:41:30 |
mm |
Transfer maintainer back to ports@FreeBSD.org
Approved by: maintainer (myself) |
0.3_1 20 Mar 2011 12:54:45 |
miwi |
- Get Rid MD5 support |
0.3_1 19 Mar 2011 13:15:34 |
ale |
Bump PORTREVISION for ports linking to default libmysqlclient. |
0.3 22 Aug 2009 00:18:43 |
amdmi3 |
- Switch SourceForge ports to the new File Release System: categories starting
with D |
0.3 10 Apr 2008 16:30:29 |
mm |
This package adds several user-defined statistical functions
to the MySQL server providing the ability to:
* calculate the median of any values,
* calculate the skewness and kurtosis of a distribution of value
* retrieve the effective length of the longest value in a STRING column,
* get the longest value from a STRING column,
* calculate the faculty of a value,
* calculate linear regression parameters (intercept, slope, correlation
coefficent) of any values
WWW: http://mysql-udf.sourceforge.net/ |