Date: Sun, 19 Jun 2011 17:20:15 GMT From: Ryan Steinmetz <rpsfa@rit.edu> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/158031: [patch] security/snort to add SSL support to MySQL connections Message-ID: <201106191720.p5JHKF3W055448@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/158031; it has been noted by GNATS. From: Ryan Steinmetz <rpsfa@rit.edu> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106191720.p5JHKF3W055448>