Initial checkin. Nothing to see here.
This commit is contained in:
commit
7291e2cc25
|
@ -0,0 +1,9 @@
|
||||||
|
syntax: regexp
|
||||||
|
|
||||||
|
^build/
|
||||||
|
^dist/
|
||||||
|
.*\.beam
|
||||||
|
^ebin/rabbit_auth_backend_ldap.app
|
||||||
|
^cover/
|
||||||
|
^eldap/
|
||||||
|
^tmp/
|
|
@ -0,0 +1,23 @@
|
||||||
|
PACKAGE=rabbitmq-auth-backend-ldap
|
||||||
|
APPNAME=rabbit_auth_backend_ldap
|
||||||
|
|
||||||
|
ELDAP_DIR=eldap
|
||||||
|
ELDAP_URI=https://github.com/etnt/eldap.git
|
||||||
|
ELDAP_REVISION=e309de4db4b78d67d623
|
||||||
|
|
||||||
|
EXTRA_TARGETS=$(EBIN_DIR)/eldap.beam
|
||||||
|
|
||||||
|
include ../include.mk
|
||||||
|
|
||||||
|
$(EBIN_DIR)/eldap.beam: $(ELDAP_DIR)/$(EBIN_DIR)/eldap.beam
|
||||||
|
cp $(ELDAP_DIR)/$(EBIN_DIR)/*.beam $(EBIN_DIR)
|
||||||
|
|
||||||
|
$(ELDAP_DIR)/$(EBIN_DIR)/eldap.beam: $(ELDAP_DIR)
|
||||||
|
make -C $(ELDAP_DIR)
|
||||||
|
|
||||||
|
$(ELDAP_DIR):
|
||||||
|
git clone $(ELDAP_URI) $@
|
||||||
|
(cd $@ && git checkout $(ELDAP_REVISION)) || rm -rf $@
|
||||||
|
|
||||||
|
clean::
|
||||||
|
rm -rf eldap
|
|
@ -0,0 +1,8 @@
|
||||||
|
{application, rabbit_auth_backend_ldap,
|
||||||
|
[{description, "RabbitMQ LDAP Authentication Backend"},
|
||||||
|
{vsn, "%%VSN%%"},
|
||||||
|
{modules, [rabbit_auth_backend_ldap]}, %% TODO generate automatically.
|
||||||
|
{registered, []},
|
||||||
|
{mod, {rabbit_auth_backend_ldap, []}},
|
||||||
|
{env, []},
|
||||||
|
{applications, [kernel, stdlib]}]}.
|
Loading…
Reference in New Issue