diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-10-10 12:46:56 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-10-10 12:46:56 +0100 |
commit | 3fa7022eaafc89c1aad1cfee949fe91466d3e9b3 (patch) | |
tree | 686a0792979c3f7926351df15f9290cb64c60b39 | |
parent | 95ca04683f0f6ed406c60d308e366d6f7a6fdfea (diff) | |
download | rabbitmq-server-3fa7022eaafc89c1aad1cfee949fe91466d3e9b3.tar.gz |
generate release LICENSE file
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | packaging/common/LICENSE | 14 | ||||
-rw-r--r-- | packaging/common/LICENSE.head | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | packaging/common/LICENSE.tail (renamed from packaging/debs/Debian/debian/copyright) | 46 | ||||
-rw-r--r-- | packaging/debs/Debian/Makefile | 3 |
5 files changed, 17 insertions, 62 deletions
@@ -262,10 +262,13 @@ srcdist: distclean chmod 0755 $(TARGET_SRC_DIR)/scripts/* ifneq "$(PLUGINS_SRC_DIR)" "" - ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src - cp packaging/common/LICENSE $(TARGET_SRC_DIR) - echo $(PLUGINS_SRC_DIR) - cp -n $(shell find $(PLUGINS_SRC_DIR) -name "LICENSE-*") $(TARGET_SRC_DIR) + cp -r $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src + rm $(TARGET_SRC_DIR)/LICENSE + cat packaging/common/LICENSE.head >> $(TARGET_SRC_DIR)/LICENSE + find $(PLUGINS_SRC_DIR)/licensing -name "license_info_*" -exec cat '{}' >> $(TARGET_SRC_DIR)/LICENSE \; + cat packaging/common/LICENSE.tail >> $(TARGET_SRC_DIR)/LICENSE + find $(PLUGINS_SRC_DIR)/licensing -name "LICENSE-*" -exec cp '{}' $(TARGET_SRC_DIR) \; + rm -rf $(TARGET_SRC_DIR)/licensing else @echo No plugins source distribution found endif diff --git a/packaging/common/LICENSE b/packaging/common/LICENSE deleted file mode 100644 index f8039d6a..00000000 --- a/packaging/common/LICENSE +++ /dev/null @@ -1,14 +0,0 @@ -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 LICENSE-BSD-glMatrix -eldap - https://github.com/etnt/eldap - MIT license, see LICENSE-MIT-eldap - -If you have any questions regarding licensing, please contact us at -info@rabbitmq.com. diff --git a/packaging/common/LICENSE.head b/packaging/common/LICENSE.head new file mode 100644 index 00000000..2b5a17ee --- /dev/null +++ b/packaging/common/LICENSE.head @@ -0,0 +1,5 @@ +This package, the RabbitMQ server is licensed under the MPL. + +If you have any questions regarding licensing, please contact us at +info@rabbitmq.com. + diff --git a/packaging/debs/Debian/debian/copyright b/packaging/common/LICENSE.tail index aa70e7e3..5d842cc1 100755..100644 --- a/packaging/debs/Debian/debian/copyright +++ b/packaging/common/LICENSE.tail @@ -1,28 +1,3 @@ -This package was debianized by Tony Garnock-Jones <tonyg@rabbitmq.com> on -Wed, 3 Jan 2007 15:43:44 +0000. - -It was downloaded from http://www.rabbitmq.com/ - -The files codegen/amqp-rabbitmq-0.8.json and -codegen/amqp-rabbitmq-0.9.1.json are "Copyright (C) 2008-2011 VMware", -Inc. and are covered by the MIT license. - -jQuery is "Copyright (c) 2010 John Resig" and is covered by the MIT -license. It was downloaded from http://jquery.com/ - -EJS is "Copyright (c) 2007 Edward Benson" and is covered by the MIT -license. It was downloaded from http://embeddedjs.com/ - -Sammy is "Copyright (c) 2008 Aaron Quint, Quirkey NYC, LLC" and is -covered by the MIT license. It was downloaded from -http://code.quirkey.com/sammy/ - -Eldap is "Copyright (c) 2010, Torbjorn Tornkvist" and is covered by -the MIT license. It was downloaded from https://github.com/etnt/eldap - -Mochiweb is "Copyright (c) 2007 Mochi Media, Inc." and is covered by -the MIT license. It was downloaded from -http://github.com/mochi/mochiweb/ The MIT license is as follows: @@ -47,16 +22,9 @@ The MIT license is as follows: OTHER DEALINGS IN THE SOFTWARE." -Webmachine is Copyright (c) Basho Technologies and is covered by the -Apache License 2.0. It was downloaded from http://webmachine.basho.com/ - -glMatrix was downloaded from http://code.google.com/p/glmatrix/ and is -covered by the following license: +The BSD 2-Clause license is as follows: - "Copyright (c) 2011, Brandon Jones - All rights reserved. - - Redistribution and use in source and binary forms, with or + "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -546,13 +514,3 @@ EXHIBIT A -Mozilla Public License. the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.] - - - - - -If you have any questions regarding licensing, please contact us at -info@rabbitmq.com. - -The Debian packaging is (C) 2007-2011, VMware, Inc. and is licensed -under the MPL 1.1, see above. diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile index 38c81134..8696427e 100644 --- a/packaging/debs/Debian/Makefile +++ b/packaging/debs/Debian/Makefile @@ -32,6 +32,9 @@ package: clean sed -i -e 's|@SU_RABBITMQ_SH_C@|su rabbitmq -s /bin/sh -c|' \ $(UNPACKED_DIR)/debian/rabbitmq-script-wrapper chmod a+x $(UNPACKED_DIR)/debian/rules + echo "This package was debianized by Tony Garnock-Jones <tonyg@rabbitmq.com> on\nWed, 3 Jan 2007 15:43:44 +0000.\n\nIt was downloaded from http://www.rabbitmq.com/\n\n" > $(UNPACKED_DIR)/debian/copyright + cat $(UNPACKED_DIR)/LICENSE >> $(UNPACKED_DIR)/debian/copyright + echo "\n\nThe Debian packaging is (C) 2007-2011, VMware, Inc. and is licensed\nunder the MPL 1.1, see above.\n" >> $(UNPACKED_DIR)/debian/copyright UNOFFICIAL_RELEASE=$(UNOFFICIAL_RELEASE) VERSION=$(VERSION) ./check-changelog.sh rabbitmq-server $(UNPACKED_DIR) cd $(UNPACKED_DIR); GNUPGHOME=$(GNUPG_PATH)/.gnupg dpkg-buildpackage -rfakeroot $(SIGNING) rm -rf $(UNPACKED_DIR) |