summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-03 12:25:48 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-03 12:25:48 +0100
commit185c2edbb47c4db0349c62e9d94653fc59ae8e4f (patch)
tree4cb6c15adc2b052e91eb11a717ac566953059651
parentcf0a3e56205c1c5a5436fdb62b64882b7a5c91e6 (diff)
downloadrabbitmq-server-185c2edbb47c4db0349c62e9d94653fc59ae8e4f.tar.gz
reference all the little licenses
The hg version of rabbitmq-server has the same LICENSE as before. The srcdist, if it includes the plugins, uses the custom LICENSE from packaging/ and also copies all the little LICENSEs to the top-level. Ditto for generic-unix.
-rw-r--r--Makefile21
-rw-r--r--packaging/common/LICENSE14
2 files changed, 32 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 33795c23..ea39f24f 100644
--- a/Makefile
+++ b/Makefile
@@ -106,15 +106,24 @@ all: $(TARGETS)
.PHONY: plugins
ifneq "$(PLUGINS_SRC_DIR)" ""
plugins:
- [ -d "$(PLUGINS_SRC_DIR)" ] || { echo "No plugins source distribution found (try linking public-umbrella to $(PLUGINS_SRC_DIR)"; false; }
[ -d "$(PLUGINS_SRC_DIR)/rabbitmq-server" ] || ln -s "$(CURDIR)" "$(PLUGINS_SRC_DIR)/rabbitmq-server"
mkdir -p $(PLUGINS_DIR)
PLUGINS_SRC_DIR="" $(MAKE) -C "$(PLUGINS_SRC_DIR)" plugins-dist PLUGINS_DIST_DIR="$(CURDIR)/$(PLUGINS_DIR)" VERSION=$(VERSION)
echo "Put your EZs here and use rabbitmq-plugins to enable them." > $(PLUGINS_DIR)/README
rm -f $(PLUGINS_DIR)/rabbit_common*.ez
+
+# If you add a license here, make sure to also add it to packaging/common/LICENSE.
+PLUGINS_SRC_LICENSES := "plugins-src/rabbitmq-management/LICENSE-MIT-jQuery142" \
+ "plugins-src/rabbitmq-management/LICENSE-MIT-EJS10" \
+ "plugins-src/rabbitmq-management/LICENSE-MIT-Sammy060" \
+ "plugins-src/webmachine-wrapper/LICENSE-Apache-Basho" \
+ "plugins-src/mochiweb-wrapper/LICENSE-MIT-Mochi" \
+ "plugins-src/rabbitmq-management-visualiser/LICENSE-BSD-glMatrix" \
+ "plugins-src/eldap-wrapper/LICENSE-MIT-eldap"
else
plugins:
# Not building plugins
+PLUGINS_SRC_LICENSES :=
endif
$(DEPS_FILE): $(SOURCES) $(INCLUDES)
@@ -255,7 +264,13 @@ srcdist: distclean
cp -r $(DOCS_DIR) $(TARGET_SRC_DIR)
chmod 0755 $(TARGET_SRC_DIR)/scripts/*
- [ "x" != "x$(PLUGINS_SRC_DIR)" ] && ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src || echo No plugins source distribution found
+ifneq "$(PLUGINS_SRC_DIR)" ""
+ ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src
+ cp packaging/common/LICENSE $(TARGET_SRC_DIR)
+ cp $(PLUGINS_SRC_LICENSES) $(TARGET_SRC_DIR)
+else
+ @echo No plugins source distribution found
+endif
(cd dist; tar -zchf $(TARBALL_NAME).tar.gz $(TARBALL_NAME))
(cd dist; zip -q -r $(TARBALL_NAME).zip $(TARBALL_NAME))
@@ -301,7 +316,7 @@ docs_all: $(MANPAGES) $(WEB_MANPAGES)
install: install_bin install_docs
install_bin: all install_dirs
- cp -r ebin include LICENSE LICENSE-MPL-RabbitMQ INSTALL $(TARGET_DIR)
+ cp -r ebin include LICENSE* INSTALL $(TARGET_DIR)
chmod 0755 scripts/*
for script in rabbitmq-env rabbitmq-server rabbitmqctl rabbitmq-plugins; do \
diff --git a/packaging/common/LICENSE b/packaging/common/LICENSE
new file mode 100644
index 00000000..f01e1ef1
--- /dev/null
+++ b/packaging/common/LICENSE
@@ -0,0 +1,14 @@
+This package, the RabbitMQ server is licensed under the MPL. For the
+MPL, please see LICENSE-MPL-RabbitMQ.
+
+This package makes use of the following third party libraries:
+jQuery - http://jquery.com/ - MIT license, see LICENSE-MIT-jQuery142
+EJS - http://embeddedjs.com/ - MIT license, see LICENSE-MIT-EJS10
+Sammy - http://code.quirkey.com/sammy/ - MIT license, see LICENSE-MIT-Sammy060
+webmachine - http://webmachine.basho.com/ - Apache license, 2.0, LICENSE-Apache-Basho
+mochiweb - http://github.com/mochi/mochiweb/ - MIT license, see LICENSE-MIT-Mochi
+glMatrix - http://code.google.com/p/glmatrix/ - BSD 2-clause license, see plugins-src/rabbitmq-management-visualiser/LICENSE-BSD-glMatrix
+eldap - https://github.com/etnt/eldap - MIT license, see /plugins-src/eldap-wrapper/eldap-git/LICENSE
+
+If you have any questions regarding licensing, please contact us at
+info@rabbitmq.com.