Date: Sat, 11 Jul 2020 16:53:33 +0000 (UTC) From: Luca Pizzamiglio <pizzamig@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541991 - in head/databases: . ateam_mysql57_ldap_auth ateam_mysql57_ldap_auth/files Message-ID: <202007111653.06BGrXBR091871@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pizzamig Date: Sat Jul 11 16:53:32 2020 New Revision: 541991 URL: https://svnweb.freebsd.org/changeset/ports/541991 Log: databases/ateam_mysql57_ldap_auth: new port for mysql 5.7 A-Team MySQL 5.7 LDAP authentication plugin PR: 247685 Submitted by: ganbold@freebsd.org (maintainer) Event: July 2020 Bugathon Added: head/databases/ateam_mysql57_ldap_auth/ head/databases/ateam_mysql57_ldap_auth/Makefile (contents, props changed) head/databases/ateam_mysql57_ldap_auth/distinfo (contents, props changed) head/databases/ateam_mysql57_ldap_auth/files/ head/databases/ateam_mysql57_ldap_auth/files/pkg-message.in (contents, props changed) head/databases/ateam_mysql57_ldap_auth/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Jul 11 16:42:28 2020 (r541990) +++ head/databases/Makefile Sat Jul 11 16:53:32 2020 (r541991) @@ -25,6 +25,7 @@ SUBDIR += arangodb33 SUBDIR += arrow SUBDIR += ateam_mysql_ldap_auth + SUBDIR += ateam_mysql57_ldap_auth SUBDIR += autobackupmysql SUBDIR += automysqlbackup SUBDIR += bbdb Added: head/databases/ateam_mysql57_ldap_auth/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ateam_mysql57_ldap_auth/Makefile Sat Jul 11 16:53:32 2020 (r541991) @@ -0,0 +1,45 @@ +# Created by: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= ateam_mysql57_ldap_auth +PORTVERSION= 1.0 +CATEGORIES= databases + +MAINTAINER= ganbold@FreeBSD.org +COMMENT= A-Team MySQL LDAP authentication plugin + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +IGNORE_WITH_MYSQL= 56 80 101m 102m 103m + +LIB_DEPENDS= libconfig.so:devel/libconfig + +USES= gmake mysql:client,server +USE_OPENLDAP= yes + +USE_GITHUB= yes +GH_ACCOUNT= ateamsystems +GH_TAGNAME= f6d79fb + +PLIST_FILES= lib/mysql/plugin/auth_ldap.so \ + "@sample etc/ateam_mysql_ldap_auth.conf.sample" +PORTDOCS= README INSTALL + +OPTIONS_DEFINE= DOCS + +SUB_FILES= pkg-message + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin + ${INSTALL_PROGRAM} ${WRKSRC}/src/auth_ldap.so \ + ${STAGEDIR}${PREFIX}/lib/mysql/plugin + ${INSTALL_DATA} ${WRKSRC}/ateam_mysql_ldap_auth.conf \ + ${STAGEDIR}${PREFIX}/etc/ateam_mysql_ldap_auth.conf.sample + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/databases/ateam_mysql57_ldap_auth/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ateam_mysql57_ldap_auth/distinfo Sat Jul 11 16:53:32 2020 (r541991) @@ -0,0 +1,3 @@ +TIMESTAMP = 1593015605 +SHA256 (ateamsystems-ateam_mysql57_ldap_auth-1.0-f6d79fb_GH0.tar.gz) = 0f175183472d89bc8dde450b2fc3d5f6562900a912898898ef9dcd32498bb875 +SIZE (ateamsystems-ateam_mysql57_ldap_auth-1.0-f6d79fb_GH0.tar.gz) = 18081 Added: head/databases/ateam_mysql57_ldap_auth/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ateam_mysql57_ldap_auth/files/pkg-message.in Sat Jul 11 16:53:32 2020 (r541991) @@ -0,0 +1,4 @@ +--------------------------------------------------------------------- +Please see %%DOCSDIR%%/INSTALL +for install notes. +--------------------------------------------------------------------- Added: head/databases/ateam_mysql57_ldap_auth/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ateam_mysql57_ldap_auth/pkg-descr Sat Jul 11 16:53:32 2020 (r541991) @@ -0,0 +1,24 @@ +A-Team MySQL LDAP Authenticator +WWW: https://github.com/ateamsystems/ateam_mysql_ldap_auth +---------------------------------------------------------------------------- - +A-Team MySQL LDAP Authenticator (ateam_mysql_ldap_auth) is an authentication +plugin for MySQL 5.5.7 and up, and has been tested with 5.6 under FreeBSD. +This module allows you to create MySQL users that are then authenticated +against an LDAP server. This reduces administrative overhead and eliminates +your users having to remember a seperate username and password for MySQL. +Just like MySQL Enterprise's PAM module, for client side authentication +this plugin uses the clear_text password module as the LDAP server must +perform the password hashing and comparison. For command line clients this +is done by setting the following environment variable: + + export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1 + +In MySQL Workbench this is acheived by going to go to the "Advanced" tab and +checking "Enable Cleartext Authentication Plugin" when editing a connction. + +!!! IMPORTANT: +!!! ------------------------------------------------------------------------ +!!! ENSURE THE COMMUNICATIONS PATH BETWEEN THE CLIENT AND SERVER IS SECURE! +!!! ------------------------------------------------------------------------ +!!! By default MySQL does not use SSL so additional steps and network design +!!! are needed to ensure you're not exposing your credetials.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007111653.06BGrXBR091871>