Initial checkin. Nothing to see here.

This commit is contained in:
Simon MacMullen 2010-11-19 17:22:30 +00:00
commit 7291e2cc25
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,9 @@
syntax: regexp
^build/
^dist/
.*\.beam
^ebin/rabbit_auth_backend_ldap.app
^cover/
^eldap/
^tmp/

View File

@ -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

View File

@ -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]}]}.