[Bug 208913] [NEW PORT] databases/ateam_mysql_ldap_auth

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 8 04:44:45 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208913

--- Comment #6 from Ganbold Tsagaankhuu <ganbold at freebsd.org> ---
Comment on attachment 170110
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170110
modified shar file (no warning in portlint -AC)

># 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:
>#
>#       ateam_mysql_ldap_auth
>#       ateam_mysql_ldap_auth/Makefile
>#       ateam_mysql_ldap_auth/distinfo
>#       ateam_mysql_ldap_auth/pkg-descr
>#       ateam_mysql_ldap_auth/files
>#       ateam_mysql_ldap_auth/files/pkg-message.in
>#
>echo c - ateam_mysql_ldap_auth
>mkdir -p ateam_mysql_ldap_auth > /dev/null 2>&1
>echo x - ateam_mysql_ldap_auth/Makefile
>sed 's/^X//' >ateam_mysql_ldap_auth/Makefile << 'a525722630a514ba5e0843cf9c609aab'
>X# Created by: Ganbold Tsagaankhuu <ganbold at FreeBSD.org>
>X# $FreeBSD$
>X
>XPORTNAME=      ateam_mysql_ldap_auth
>XPORTVERSION=   1.0
>XCATEGORIES=    databases
>X
>XMAINTAINER=    ganbold at FreeBSD.org
>XCOMMENT=       A-Team MySQL LDAP authentication plugin
>X
>XLICENSE=       GPLv2
>XLICENSE_FILE=  ${WRKSRC}/COPYING
>X
>XLIB_DEPENDS=   libconfig.so:devel/libconfig
>XRUN_DEPENDS=   mysql${MYSQL_VER}-server>5.6:databases/mysql56-server
>X
>XUSE_OPENLDAP=  yes
>XUSES=          gmake mysql:server
>X
>XUSE_GITHUB=    yes
>XGH_ACCOUNT=    ateamsystems
>XGH_TAGNAME=    f6a1a5d
>X
>XPLIST_FILES=   lib/mysql/plugin/auth_ldap.so \
>X               "@sample etc/ateam_mysql_ldap_auth.conf.sample" \
>X               ${DOCSDIR}/README \
>X               ${DOCSDIR}/INSTALL
>X
>XSUB_FILES=     pkg-message
>X
>Xdo-install:
>X       ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin
>X       ${MKDIR} ${STAGEDIR}${DOCSDIR}
>X       ${INSTALL_PROGRAM} ${WRKSRC}/src/auth_ldap.so ${STAGEDIR}${PREFIX}/lib/mysql/plugin/
>X       ${INSTALL_DATA} ${WRKSRC}/ateam_mysql_ldap_auth.conf ${STAGEDIR}${PREFIX}/etc/ateam_mysql_ldap_auth.conf.sample
>X       ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
>X       ${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}/
>X
>X.include <bsd.port.mk>
>a525722630a514ba5e0843cf9c609aab
>echo x - ateam_mysql_ldap_auth/distinfo
>sed 's/^X//' >ateam_mysql_ldap_auth/distinfo << '29c423c80ab7a71f8d32823788a8cc6f'
>XSHA256 (ateamsystems-ateam_mysql_ldap_auth-1.0-f6a1a5d_GH0.tar.gz) = 3a20533fb4fed93daad0e8944ab6e8ae530ecbebefd95240b1e60f3c5ca5ec9c
>XSIZE (ateamsystems-ateam_mysql_ldap_auth-1.0-f6a1a5d_GH0.tar.gz) = 17971
>29c423c80ab7a71f8d32823788a8cc6f
>echo x - ateam_mysql_ldap_auth/pkg-descr
>sed 's/^X//' >ateam_mysql_ldap_auth/pkg-descr << '0a17dba108346822f531c87fbfc9214f'
>XA-Team MySQL LDAP Authenticator
>XWWW: https://github.com/ateamsystems/ateam_mysql_ldap_auth
>X---------------------------------------------------------------------------- -
>XA-Team MySQL LDAP Authenticator (ateam_mysql_ldap_auth) is an authentication
>Xplugin for MySQL 5.5.7 and up, and has been tested with 5.6 under FreeBSD.
>XThis module allows you to create MySQL users that are then authenticated
>Xagainst an LDAP server. This reduces administrative overhead and eliminates
>Xyour users having to remember a seperate username and password for MySQL.
>XJust like MySQL Enterprise's PAM module, for client side authentication
>Xthis plugin uses the clear_text password module as the LDAP server must
>Xperform the password hasing and comparison.  For command line clients this
>Xis done by setting the following environment variable:
>X
>X  export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1
>X
>XIn MySQL Workbench this is acheived by going to go to the "Advanced" tab and
>Xchecking "Enable Cleartext Authentication Plugin" when editing a connction.
>X
>X!!! IMPORTANT:
>X!!! ------------------------------------------------------------------------
>X!!! ENSURE THE COMMUNICATIONS PATH BETWEEN THE CLIENT AND SERVER IS SECURE!
>X!!! ------------------------------------------------------------------------
>X!!! By default MySQL does not use SSL so additional steps and network design
>X!!! are needed to ensure you're not exposing your credetials.
>0a17dba108346822f531c87fbfc9214f
>echo c - ateam_mysql_ldap_auth/files
>mkdir -p ateam_mysql_ldap_auth/files > /dev/null 2>&1
>echo x - ateam_mysql_ldap_auth/files/pkg-message.in
>sed 's/^X//' >ateam_mysql_ldap_auth/files/pkg-message.in << 'a499e8813ac0e3b18cb1b3d85ae98c81'
>X---------------------------------------------------------------------
>XPlease see %%DOCSDIR%%/INSTALL
>Xfor install notes.
>X---------------------------------------------------------------------
>a499e8813ac0e3b18cb1b3d85ae98c81
>exit

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list