From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 11 07:20:12 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 155DF16A4BF for ; Thu, 11 Sep 2003 07:20:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9140943FF2 for ; Thu, 11 Sep 2003 07:20:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8BEKAUp099302 for ; Thu, 11 Sep 2003 07:20:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8BEKAvg099301; Thu, 11 Sep 2003 07:20:10 -0700 (PDT) Resent-Date: Thu, 11 Sep 2003 07:20:10 -0700 (PDT) Resent-Message-Id: <200309111420.h8BEKAvg099301@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Dupre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF10A16A4BF; Thu, 11 Sep 2003 07:11:47 -0700 (PDT) Received: from relay.gufi.org (civetta.gufi.org [212.110.23.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 560DC43FE3; Thu, 11 Sep 2003 07:11:46 -0700 (PDT) (envelope-from alex@vaio.alexdupre.com) Received: from vaio.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245]) by relay.gufi.org (Postfix) with ESMTP id E6C0220F26; Thu, 11 Sep 2003 16:11:42 +0200 (CEST) Received: from vaio.alexdupre.com (localhost [127.0.0.1]) by vaio.alexdupre.com (8.12.9/8.12.9) with ESMTP id h8BEBdrV074994; Thu, 11 Sep 2003 16:11:40 +0200 (CEST) (envelope-from alex@vaio.alexdupre.com) Received: (from alex@localhost) by vaio.alexdupre.com (8.12.9/8.12.9/Submit) id h8BEBcul074993; Thu, 11 Sep 2003 16:11:38 +0200 (CEST) Message-Id: <200309111411.h8BEBcul074993@vaio.alexdupre.com> Date: Thu, 11 Sep 2003 16:11:38 +0200 (CEST) From: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: nork@FreeBSD.org Subject: ports/56703: [Maintainer Update] Port: MySQL 4.0.15 (Security Fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Dupre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 14:20:12 -0000 >Number: 56703 >Category: ports >Synopsis: [Maintainer Update] Port: MySQL 4.0.15 (Security Fix) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 11 07:20:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.8-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD 4.8-ALEXDUPRE i386 >Description: Update to 4.0.15 release. Fix exploitable buffer overflow (maybe we can ignore the port freeze (?)). Whitespace fix. Check OVERWRITE_DB is not set to "no", when defined. >How-To-Repeat: >Fix: --- mysql40.diff begins here --- diff -ruN mysql40-server.orig/Makefile mysql40-server/Makefile --- mysql40-server.orig/Makefile Thu Sep 11 16:06:55 2003 +++ mysql40-server/Makefile Thu Sep 11 16:07:23 2003 @@ -6,7 +6,7 @@ # PORTNAME?= mysql -PORTVERSION= 4.0.14 +PORTVERSION= 4.0.15 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.0/ \ @@ -124,8 +124,8 @@ @${ECHO} "" post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_server_dirs@ scripts support-files|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in + @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_server_dirs@ scripts support-files|g" ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in .if defined(WITH_OPENSSL) && defined(BUILD_STATIC) pre-configure: @@ -135,10 +135,10 @@ post-install: .if !defined(PACKAGE_BUILDING) -.if exists(${DB_DIR}) && defined(OVERWRITE_DB) +.if exists(${DB_DIR}) && defined(OVERWRITE_DB) && ${OVERWRITE_DB} != "no" @${RM} -r ${DB_DIR}/mysql ${DB_DIR}/test 2>/dev/null || true .endif -.if !exists(${DB_DIR}) || defined(OVERWRITE_DB) +.if !exists(${DB_DIR}) || (defined(OVERWRITE_DB) && ${OVERWRITE_DB} != "no") .if defined(SKIP_DNS_CHECK) ${PREFIX}/bin/mysql_install_db --force .else @@ -171,7 +171,7 @@ CONFIGURE_ARGS+=--without-server post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests man|g" ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests man|g" ${WRKSRC}/Makefile.in post-install: @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh diff -ruN mysql40-server.orig/distinfo mysql40-server/distinfo --- mysql40-server.orig/distinfo Thu Sep 11 16:06:55 2003 +++ mysql40-server/distinfo Thu Sep 11 16:07:05 2003 @@ -1 +1 @@ -MD5 (mysql-4.0.14.tar.gz) = 9764f09c89692345d3b7800ab014f822 +MD5 (mysql-4.0.15.tar.gz) = a6ce917730e8778ef7c9e1f7b5053b2d diff -ruN mysql40-server.orig/pkg-plist mysql40-server/pkg-plist --- mysql40-server.orig/pkg-plist Thu Sep 11 16:06:55 2003 +++ mysql40-server/pkg-plist Thu Sep 11 16:07:05 2003 @@ -1,6 +1,7 @@ bin/comp_err bin/isamchk bin/isamlog +bin/make_win_src_distribution bin/msql2mysql bin/my_print_defaults bin/myisamchk --- mysql40.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: