summaryrefslogtreecommitdiff
path: root/databases/mysql-server/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-12-13 14:19:54 +0000
committertron <tron@pkgsrc.org>2002-12-13 14:19:54 +0000
commitb0ff42ef184abe3cbd9c7c68be91593f79d63333 (patch)
tree03a1159924ff437a9100709f6d80fe2c893122a3 /databases/mysql-server/Makefile
parent36687c3cf803d3c36dd8a97e65a38bbd01d61fd0 (diff)
downloadpkgsrc-b0ff42ef184abe3cbd9c7c68be91593f79d63333.tar.gz
Fix security problem in MySQL client library and server which were
recently discovered by e-matters.
Diffstat (limited to 'databases/mysql-server/Makefile')
-rw-r--r--databases/mysql-server/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/mysql-server/Makefile b/databases/mysql-server/Makefile
index e1c75268739..c71845c02a3 100644
--- a/databases/mysql-server/Makefile
+++ b/databases/mysql-server/Makefile
@@ -1,14 +1,12 @@
-# $NetBSD: Makefile,v 1.29 2002/09/20 10:39:07 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.30 2002/12/13 14:19:54 tron Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
+PKGREVISION= 1
SVR4_PKGNAME= mysqs
COMMENT= MySQL, a free SQL database (server)
.include "../mysql-client/Makefile.common"
-DEPENDS+= ${DISTNAME:S/-/-client>=/}:../../databases/mysql-client
-
# hardwire use of included mit-pthreads on NetBSD
.if (${OPSYS} == "NetBSD")
CONFIGURE_ARGS+= --with-mit-threads
@@ -16,6 +14,7 @@ CONFIGURE_ARGS+= --with-mit-threads
CONFIGURE_ARGS+= --with-libwrap
CONFIGURE_ARGS+= --without-berkeley-db
+USE_BUILDLINK2= YES
# platforms on which included mit-pthreads is usable
ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \
@@ -43,5 +42,6 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/man/safe_mysqld.1 ${PREFIX}/man/man1
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+.include "../../databases/mysql-client/buildlink2.mk"
.include "../../security/tcp_wrappers/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"