rabbitmq-server/no-nmap.patch

20 lines
893 B
Diff
Raw Normal View History

Index: plugins-src/rabbitmq-auth-backend-ldap/package.mk
===================================================================
--- plugins-src/rabbitmq-auth-backend-ldap/package.mk.orig
+++ plugins-src/rabbitmq-auth-backend-ldap/package.mk
@@ -1,9 +1,9 @@
RELEASABLE:=true
DEPS:=rabbitmq-server rabbitmq-erlang-client eldap-wrapper
-ifeq ($(shell nc -z localhost 389 && echo true),true)
-WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_test,rabbit_auth_backend_ldap_test],[verbose])
-WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
-else
+#ifeq ($(shell nc -z localhost 389 && echo true),true)
+#WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_test,rabbit_auth_backend_ldap_test],[verbose])
+#WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
+#else
$(warning Not running LDAP tests; no LDAP server found on localhost)
-endif
+#endif