View | Details | Raw Unified | Return to bug 247685
Collapse All | Expand All

(-)databases/ateam_mysql57_ldap_auth/Makefile (+46 lines)
Line 0 Link Here
1
# Created by: Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
2
# $FreeBSD$
3
4
PORTNAME=	ateam_mysql57_ldap_auth
5
PORTVERSION=	1.0
6
PORTREVISION=	1
7
CATEGORIES=	databases
8
9
MAINTAINER=	ganbold@FreeBSD.org
10
COMMENT=	A-Team MySQL LDAP authentication plugin
11
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
LIB_DEPENDS=	libconfig.so:devel/libconfig
16
17
USE_OPENLDAP=	yes
18
USES=		gmake mysql:client,server
19
20
IGNORE_WITH_MYSQL=	56 80 101m 102m 103m
21
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	ateamsystems
24
GH_TAGNAME=	f6d79fb
25
26
PLIST_FILES=	lib/mysql/plugin/auth_ldap.so \
27
		"@sample etc/ateam_mysql_ldap_auth.conf.sample"
28
PORTDOCS=	README INSTALL
29
30
OPTIONS_DEFINE=	DOCS
31
32
SUB_FILES=	pkg-message
33
34
do-install:
35
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin
36
	${INSTALL_PROGRAM} ${WRKSRC}/src/auth_ldap.so \
37
		${STAGEDIR}${PREFIX}/lib/mysql/plugin
38
	${INSTALL_DATA} ${WRKSRC}/ateam_mysql_ldap_auth.conf \
39
		${STAGEDIR}${PREFIX}/etc/ateam_mysql_ldap_auth.conf.sample
40
41
do-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
45
46
.include <bsd.port.mk>
(-)databases/ateam_mysql57_ldap_auth/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1593015605
2
SHA256 (ateamsystems-ateam_mysql57_ldap_auth-1.0-f6d79fb_GH0.tar.gz) = 0f175183472d89bc8dde450b2fc3d5f6562900a912898898ef9dcd32498bb875
3
SIZE (ateamsystems-ateam_mysql57_ldap_auth-1.0-f6d79fb_GH0.tar.gz) = 18081
(-)databases/ateam_mysql57_ldap_auth/files/pkg-message.in (+4 lines)
Line 0 Link Here
1
---------------------------------------------------------------------
2
Please see %%DOCSDIR%%/INSTALL
3
for install notes.
4
---------------------------------------------------------------------
(-)databases/ateam_mysql57_ldap_auth/pkg-descr (+24 lines)
Line 0 Link Here
1
A-Team MySQL LDAP Authenticator
2
WWW: https://github.com/ateamsystems/ateam_mysql_ldap_auth
3
---------------------------------------------------------------------------- -
4
A-Team MySQL LDAP Authenticator (ateam_mysql_ldap_auth) is an authentication
5
plugin for MySQL 5.5.7 and up, and has been tested with 5.6 under FreeBSD.
6
This module allows you to create MySQL users that are then authenticated
7
against an LDAP server. This reduces administrative overhead and eliminates
8
your users having to remember a seperate username and password for MySQL.
9
Just like MySQL Enterprise's PAM module, for client side authentication
10
this plugin uses the clear_text password module as the LDAP server must
11
perform the password hashing and comparison.  For command line clients this
12
is done by setting the following environment variable:
13
14
  export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1
15
16
In MySQL Workbench this is acheived by going to go to the "Advanced" tab and
17
checking "Enable Cleartext Authentication Plugin" when editing a connction.
18
19
!!! IMPORTANT:
20
!!! ------------------------------------------------------------------------
21
!!! ENSURE THE COMMUNICATIONS PATH BETWEEN THE CLIENT AND SERVER IS SECURE!
22
!!! ------------------------------------------------------------------------
23
!!! By default MySQL does not use SSL so additional steps and network design
24
!!! are needed to ensure you're not exposing your credetials.

Return to bug 247685