From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 19 17:20:15 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A97106564A for ; Sun, 19 Jun 2011 17:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9602E8FC14 for ; Sun, 19 Jun 2011 17:20:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5JHKFCS055449 for ; Sun, 19 Jun 2011 17:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5JHKF3W055448; Sun, 19 Jun 2011 17:20:15 GMT (envelope-from gnats) Date: Sun, 19 Jun 2011 17:20:15 GMT Message-Id: <201106191720.p5JHKF3W055448@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Ryan Steinmetz Cc: Subject: Re: ports/158031: [patch] security/snort to add SSL support to MySQL connections X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ryan Steinmetz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2011 17:20:15 -0000 The following reply was made to PR ports/158031; it has been noted by GNATS. From: Ryan Steinmetz To: bug-followup@freebsd.org Cc: Subject: Re: ports/158031: [patch] security/snort to add SSL support to MySQL connections Date: Sun, 19 Jun 2011 13:11:54 -0400 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is the new EXTRA_PATCH required by this PR. --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.shar.txt" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/extra-patch-mysql_ssl # echo x - files/extra-patch-mysql_ssl sed 's/^X//' >files/extra-patch-mysql_ssl << '626cb1d028b27d7ebe674cf9f03007bc' X--- src/output-plugins/spo_database.c 2011-06-19 10:59:59.000000000 -0400 X+++ src/output-plugins/spo_database.c 2011-06-19 11:08:58.000000000 -0400 X@@ -3000,6 +3000,8 @@ X FatalError("database: Failed to set reconnect option: %s\n", mysql_error(data->m_sock)); X #endif /* !MYSQL_HAS_OPT_RECONNECT_BUG */ X X+ mysql_ssl_set(data->m_sock, "%%ETCDIR%%/certs/key.pem", "%%ETCDIR%%/certs/cert.pem", "%%ETCDIR%%/certs/ca.pem", NULL, NULL); X+ X if(mysql_real_connect(data->m_sock, data->shared->host, data->user, X data->password, data->shared->dbname, X data->port == NULL ? 0 : atoi(data->port), NULL, 0) == NULL) 626cb1d028b27d7ebe674cf9f03007bc exit --huq684BweRXVnRxX--