Index: databases/ateam_mysql57_ldap_auth/Makefile =================================================================== --- databases/ateam_mysql57_ldap_auth/Makefile (nonexistent) +++ databases/ateam_mysql57_ldap_auth/Makefile (working copy) @@ -0,0 +1,46 @@ +# Created by: Ganbold Tsagaankhuu +# $FreeBSD$ + +PORTNAME= ateam_mysql57_ldap_auth +PORTVERSION= 1.0 +PORTREVISION= 1 +CATEGORIES= databases + +MAINTAINER= ganbold@FreeBSD.org +COMMENT= A-Team MySQL LDAP authentication plugin + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libconfig.so:devel/libconfig + +USE_OPENLDAP= yes +USES= gmake mysql:client,server + +IGNORE_WITH_MYSQL= 56 80 101m 102m 103m + +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 Property changes on: databases/ateam_mysql57_ldap_auth/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/ateam_mysql57_ldap_auth/distinfo =================================================================== --- databases/ateam_mysql57_ldap_auth/distinfo (nonexistent) +++ databases/ateam_mysql57_ldap_auth/distinfo (working copy) @@ -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 Property changes on: databases/ateam_mysql57_ldap_auth/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/ateam_mysql57_ldap_auth/files/pkg-message.in =================================================================== --- databases/ateam_mysql57_ldap_auth/files/pkg-message.in (nonexistent) +++ databases/ateam_mysql57_ldap_auth/files/pkg-message.in (working copy) @@ -0,0 +1,4 @@ +--------------------------------------------------------------------- +Please see %%DOCSDIR%%/INSTALL +for install notes. +--------------------------------------------------------------------- Property changes on: databases/ateam_mysql57_ldap_auth/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/ateam_mysql57_ldap_auth/pkg-descr =================================================================== --- databases/ateam_mysql57_ldap_auth/pkg-descr (nonexistent) +++ databases/ateam_mysql57_ldap_auth/pkg-descr (working copy) @@ -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. Property changes on: databases/ateam_mysql57_ldap_auth/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property