aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-01-09 20:03:26 +0800
committerale <ale@FreeBSD.org>2006-01-09 20:03:26 +0800
commit001d2ae7ad93a8af54c8b8347a44982e5419d19f (patch)
tree18a61902b13a5955b5234d1a09cd75c3fbb88401 /databases
parent80390e5130294853892f3e67a36a3b75d722111f (diff)
downloadfreebsd-ports-gnome-001d2ae7ad93a8af54c8b8347a44982e5419d19f.tar.gz
freebsd-ports-gnome-001d2ae7ad93a8af54c8b8347a44982e5419d19f.tar.zst
freebsd-ports-gnome-001d2ae7ad93a8af54c8b8347a44982e5419d19f.zip
Update to 5.0.18 release:
- convert mysql-client.sh script to use ldconfig rcNG system
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql50-server/Makefile14
-rw-r--r--databases/mysql50-server/distinfo6
-rw-r--r--databases/mysql50-server/files/mysql-client.sh15
-rw-r--r--databases/mysql50-server/pkg-plist.client1
-rw-r--r--databases/mysql51-server/Makefile14
-rw-r--r--databases/mysql51-server/distinfo6
-rw-r--r--databases/mysql51-server/files/mysql-client.sh15
-rw-r--r--databases/mysql51-server/pkg-plist.client1
-rw-r--r--databases/mysql54-server/Makefile14
-rw-r--r--databases/mysql54-server/distinfo6
-rw-r--r--databases/mysql54-server/files/mysql-client.sh15
-rw-r--r--databases/mysql54-server/pkg-plist.client1
-rw-r--r--databases/mysql55-server/Makefile14
-rw-r--r--databases/mysql55-server/distinfo6
-rw-r--r--databases/mysql55-server/files/mysql-client.sh15
-rw-r--r--databases/mysql55-server/pkg-plist.client1
-rw-r--r--databases/mysql60-server/Makefile14
-rw-r--r--databases/mysql60-server/distinfo6
-rw-r--r--databases/mysql60-server/files/mysql-client.sh15
-rw-r--r--databases/mysql60-server/pkg-plist.client1
-rw-r--r--databases/percona55-server/Makefile14
-rw-r--r--databases/percona55-server/distinfo6
-rw-r--r--databases/percona55-server/files/mysql-client.sh15
-rw-r--r--databases/percona55-server/pkg-plist.client1
24 files changed, 54 insertions, 162 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/mysql50-server/distinfo b/databases/mysql50-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/mysql50-server/distinfo
+++ b/databases/mysql50-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/mysql50-server/files/mysql-client.sh b/databases/mysql50-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/mysql50-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/mysql50-server/pkg-plist.client b/databases/mysql50-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/mysql50-server/pkg-plist.client
+++ b/databases/mysql50-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/mysql51-server/distinfo
+++ b/databases/mysql51-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/mysql51-server/files/mysql-client.sh b/databases/mysql51-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/mysql51-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/mysql51-server/pkg-plist.client b/databases/mysql51-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/mysql51-server/pkg-plist.client
+++ b/databases/mysql51-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/mysql54-server/distinfo b/databases/mysql54-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/mysql54-server/distinfo
+++ b/databases/mysql54-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/mysql54-server/files/mysql-client.sh b/databases/mysql54-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/mysql54-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/mysql54-server/pkg-plist.client b/databases/mysql54-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/mysql54-server/pkg-plist.client
+++ b/databases/mysql54-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/mysql55-server/distinfo b/databases/mysql55-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/mysql55-server/distinfo
+++ b/databases/mysql55-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/mysql55-server/files/mysql-client.sh b/databases/mysql55-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/mysql55-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/mysql55-server/pkg-plist.client b/databases/mysql55-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/mysql55-server/pkg-plist.client
+++ b/databases/mysql55-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/mysql60-server/distinfo b/databases/mysql60-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/mysql60-server/distinfo
+++ b/databases/mysql60-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/mysql60-server/files/mysql-client.sh b/databases/mysql60-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/mysql60-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/mysql60-server/pkg-plist.client b/databases/mysql60-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/mysql60-server/pkg-plist.client
+++ b/databases/mysql60-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index a19d4a8feaad..03a885233ee8 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.0.17
+PORTVERSION= 5.0.18
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-client
USE_AUTOTOOLS= libtool:15
USE_REINPLACE= yes
-.if ${PKGNAMESUFFIX} == "-server"
-USE_RC_SUBR= mysql-server.sh
-.endif
-
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
@@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server
CONFLICTS= mysql-server-3.* mysql-server-4.*
+USE_RC_SUBR= mysql-server.sh
+
.if defined(WITH_NDB)
PLIST_SUB+= NDB=""
.else
@@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+USE_LDCONFIG= ${PREFIX}/lib/mysql
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
CONFIGURE_ARGS+=--without-server
@@ -197,9 +197,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
.endif
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh
+post-install: install-ldconfig-file
.else
# MySQL-Scripts part
diff --git a/databases/percona55-server/distinfo b/databases/percona55-server/distinfo
index 1c55c0d723cb..a79459921780 100644
--- a/databases/percona55-server/distinfo
+++ b/databases/percona55-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.17.tar.gz) = c6e93571a944a7e7203e4e831adaaee3
-SHA256 (mysql-5.0.17.tar.gz) = cf199c808665c63a7b535b98040ee90f372c088c3ca1a06102c0e8543ada48a2
-SIZE (mysql-5.0.17.tar.gz) = 19119986
+MD5 (mysql-5.0.18.tar.gz) = f18153b0239aaa03fc5a751f2d82cb71
+SHA256 (mysql-5.0.18.tar.gz) = bd3d4b56de636eb14330be20e58f6fc58b015ff9d43926661e2e688ca7b6188a
+SIZE (mysql-5.0.18.tar.gz) = 19169082
diff --git a/databases/percona55-server/files/mysql-client.sh b/databases/percona55-server/files/mysql-client.sh
deleted file mode 100644
index bef414c12ed2..000000000000
--- a/databases/percona55-server/files/mysql-client.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/mysql
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/databases/percona55-server/pkg-plist.client b/databases/percona55-server/pkg-plist.client
index 227ca424c59c..1376c79e1d5d 100644
--- a/databases/percona55-server/pkg-plist.client
+++ b/databases/percona55-server/pkg-plist.client
@@ -11,7 +11,6 @@ bin/mysqlshow
bin/mysqltest
bin/mysqltestmanager-pwgen
bin/mysqltestmanagerc
-etc/rc.d/000.mysql-client.sh
include/mysql/errmsg.h
include/mysql/keycache.h
include/mysql/m_ctype.h