opscode-pushy-client 2.5.6 → 2.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/lib/pushy_client/version.rb +1 -1
- data/opscode-pushy-client.gemspec +4 -4
- metadata +11 -54
- data/CHANGELOG.md +0 -148
- data/Gemfile.lock +0 -252
- data/README.md +0 -43
- data/RELEASE_NOTES.md +0 -9
- data/RELEASE_PROCESS.md +0 -105
- data/VERSION +0 -1
- data/jenkins/jenkins_run_tests.sh +0 -9
- data/keys/client_private.pem +0 -27
- data/keys/server_public.pem +0 -9
- data/omnibus/Berksfile +0 -12
- data/omnibus/Gemfile +0 -15
- data/omnibus/Gemfile.lock +0 -359
- data/omnibus/LICENSE +0 -201
- data/omnibus/README.md +0 -141
- data/omnibus/acceptance/Berksfile +0 -6
- data/omnibus/acceptance/Berksfile.lock +0 -35
- data/omnibus/acceptance/Makefile +0 -13
- data/omnibus/acceptance/README.md +0 -29
- data/omnibus/acceptance/metadata.rb +0 -12
- data/omnibus/acceptance/recipes/chef-server-user-org.rb +0 -31
- data/omnibus/config/projects/push-jobs-client.rb +0 -82
- data/omnibus/config/software/opscode-pushy-client.rb +0 -79
- data/omnibus/files/mapfiles/solaris +0 -18
- data/omnibus/files/openssl-customization/windows/ssl_env_hack.rb +0 -34
- data/omnibus/omnibus.rb +0 -54
- data/omnibus/package-scripts/push-jobs-client/postinst +0 -55
- data/omnibus/package-scripts/push-jobs-client/postrm +0 -39
- data/omnibus/resources/push-jobs-client/dmg/background.png +0 -0
- data/omnibus/resources/push-jobs-client/dmg/icon.png +0 -0
- data/omnibus/resources/push-jobs-client/msi/assets/LICENSE.rtf +0 -197
- data/omnibus/resources/push-jobs-client/msi/assets/banner_background.bmp +0 -0
- data/omnibus/resources/push-jobs-client/msi/assets/dialog_background.bmp +0 -0
- data/omnibus/resources/push-jobs-client/msi/assets/oc.ico +0 -0
- data/omnibus/resources/push-jobs-client/msi/assets/oc_16x16.ico +0 -0
- data/omnibus/resources/push-jobs-client/msi/assets/oc_32x32.ico +0 -0
- data/omnibus/resources/push-jobs-client/msi/localization-en-us.wxl.erb +0 -26
- data/omnibus/resources/push-jobs-client/msi/parameters.wxi.erb +0 -9
- data/omnibus/resources/push-jobs-client/msi/source.wxs.erb +0 -141
- data/omnibus/resources/push-jobs-client/pkg/background.png +0 -0
- data/omnibus/resources/push-jobs-client/pkg/license.html.erb +0 -202
- data/omnibus/resources/push-jobs-client/pkg/welcome.html.erb +0 -5
- data/omnibus_overrides.rb +0 -26
- data/pkg/opscode-pushy-client-2.5.6.gem +0 -0
@@ -1,82 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2012-2014 Chef Software, Inc.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
|
17
|
-
name "push-jobs-client"
|
18
|
-
friendly_name "Push Jobs Client"
|
19
|
-
maintainer "Chef Software, Inc. <maintainers@chef.io>"
|
20
|
-
homepage "https://www.chef.io"
|
21
|
-
|
22
|
-
license "Apache-2.0"
|
23
|
-
license_file "LICENSE"
|
24
|
-
|
25
|
-
# Ensure we install over the top of the previous package name
|
26
|
-
replace "opscode-push-jobs-client"
|
27
|
-
conflict "opscode-push-jobs-client"
|
28
|
-
|
29
|
-
build_version IO.read(File.expand_path("../../../../VERSION", __FILE__)).strip
|
30
|
-
|
31
|
-
# In order to prevent unecessary cache expiration, version overrides
|
32
|
-
# and build_iteration are kept in <project-root>/omnibus_overrides.rb
|
33
|
-
overrides_path = File.expand_path("../../../../omnibus_overrides.rb", __FILE__)
|
34
|
-
instance_eval(IO.read(overrides_path), overrides_path)
|
35
|
-
|
36
|
-
if windows?
|
37
|
-
# NOTE: Ruby DevKit fundamentally CANNOT be installed into "Program Files"
|
38
|
-
# Native gems will use gcc which will barf on files with spaces,
|
39
|
-
# which is only fixable if everyone in the world fixes their Makefiles
|
40
|
-
install_dir "#{default_root}/opscode/#{name}"
|
41
|
-
else
|
42
|
-
install_dir "#{default_root}/#{name}"
|
43
|
-
end
|
44
|
-
|
45
|
-
dependency "preparation"
|
46
|
-
dependency "rb-readline"
|
47
|
-
dependency "opscode-pushy-client"
|
48
|
-
dependency "version-manifest"
|
49
|
-
dependency "clean-static-libs"
|
50
|
-
dependency "ruby-cleanup"
|
51
|
-
|
52
|
-
package :rpm do
|
53
|
-
signing_passphrase ENV['OMNIBUS_RPM_SIGNING_PASSPHRASE']
|
54
|
-
compression_level 1
|
55
|
-
compression_type :xz
|
56
|
-
end
|
57
|
-
|
58
|
-
package :deb do
|
59
|
-
compression_level 1
|
60
|
-
compression_type :xz
|
61
|
-
end
|
62
|
-
|
63
|
-
package :pkg do
|
64
|
-
identifier "com.getchef.pkg.push-jobs-client"
|
65
|
-
signing_identity "Developer ID Installer: Chef Software, Inc. (EU3VF8YLX2)"
|
66
|
-
end
|
67
|
-
compress :dmg
|
68
|
-
|
69
|
-
package :msi do
|
70
|
-
fast_msi true
|
71
|
-
# Upgrade code for Chef MSI
|
72
|
-
upgrade_code "D607A85C-BDFA-4F08-83ED-2ECB4DCD6BC5"
|
73
|
-
signing_identity "E05FF095D07F233B78EB322132BFF0F035E11B5B", machine_store: true
|
74
|
-
|
75
|
-
parameters(
|
76
|
-
ProjectLocationDir: 'push-jobs-client',
|
77
|
-
# We are going to use this path in the startup command of chef
|
78
|
-
# service. So we need to change file seperators to make windows
|
79
|
-
# happy.
|
80
|
-
PushJobsGemPath: windows_safe_path(gem_path("opscode-pushy-client-[0-9]*")),
|
81
|
-
)
|
82
|
-
end
|
@@ -1,79 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) 2013 Opscode, Inc.
|
3
|
-
# License:: Apache License, Version 2.0
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
|
-
name "opscode-pushy-client"
|
19
|
-
|
20
|
-
default_version "local_source"
|
21
|
-
|
22
|
-
license "Apache-2.0"
|
23
|
-
license_file "LICENSE"
|
24
|
-
|
25
|
-
# For the specific super-special version "local_source", build the source from
|
26
|
-
# the local git checkout. This is what you'd want to occur by default if you
|
27
|
-
# just ran omnibus build locally.
|
28
|
-
version("local_source") do
|
29
|
-
source path: "#{project.files_path}/../..",
|
30
|
-
# Since we are using the local repo, we try to not copy any files
|
31
|
-
# that are generated in the process of bundle installing omnibus.
|
32
|
-
# If the install steps are well-behaved, this should not matter
|
33
|
-
# since we only perform bundle and gem installs from the
|
34
|
-
# omnibus cache source directory, but we do this regardless
|
35
|
-
# to maintain consistency between what a local build sees and
|
36
|
-
# what a github based build will see.
|
37
|
-
options: { exclude: [ "omnibus/vendor" ] }
|
38
|
-
end
|
39
|
-
|
40
|
-
# For any version other than "local_source", fetch from github.
|
41
|
-
if version != "local_source"
|
42
|
-
source git: "https://github.com/chef/opscode-pushy-client.git"
|
43
|
-
end
|
44
|
-
|
45
|
-
relative_path "opscode-pushy-client"
|
46
|
-
|
47
|
-
# For nokogiri (via Chef)
|
48
|
-
# TODO: Move these deps into omnibus-software chef definition
|
49
|
-
dependency "libxml2"
|
50
|
-
dependency "libxslt"
|
51
|
-
dependency "libiconv"
|
52
|
-
dependency "liblzma"
|
53
|
-
dependency "libzmq"
|
54
|
-
|
55
|
-
# Core Requirements
|
56
|
-
|
57
|
-
# Instead of trying to get all of FFI working on AIX we decided to build a custom C extension for the parts of
|
58
|
-
# ZeroMQ that we need. We forked an old C native extension of LibZMQ, https://github.com/chef/rbzmq, and modified
|
59
|
-
# it to fit our needs. This meant ripping out any unused code and updating only the methods we need
|
60
|
-
# (like context.socket) to support later versions of Ruby and LibZMQ.
|
61
|
-
dependency "rbzmq" if aix?
|
62
|
-
|
63
|
-
dependency "rubygems"
|
64
|
-
dependency "bundler"
|
65
|
-
dependency "appbundler"
|
66
|
-
dependency "chef"
|
67
|
-
dependency "openssl-customization"
|
68
|
-
|
69
|
-
build do
|
70
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
71
|
-
|
72
|
-
bundle "install", env: env
|
73
|
-
gem "build opscode-pushy-client.gemspec", env: env
|
74
|
-
gem "install opscode-pushy-client*.gem" \
|
75
|
-
" --no-ri --no-rdoc" \
|
76
|
-
" --verbose", env: env
|
77
|
-
|
78
|
-
appbundle 'opscode-pushy-client', env: env
|
79
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
$mapfile_version 2
|
2
|
-
DEPEND_VERSIONS libnsl.so {
|
3
|
-
ALLOW = SUNW_1.1;
|
4
|
-
ALLOW = SUNWprivate_1.1;
|
5
|
-
};
|
6
|
-
DEPEND_VERSIONS libsocket.so {
|
7
|
-
ALLOW = SUNW_1.4;
|
8
|
-
ALLOW = SUNWprivate_1.1;
|
9
|
-
};
|
10
|
-
DEPEND_VERSIONS libdl.so {
|
11
|
-
ALLOW = SUNW_1.4;
|
12
|
-
ALLOW = SUNWprivate_1.1;
|
13
|
-
};
|
14
|
-
DEPEND_VERSIONS libc.so {
|
15
|
-
ALLOW = SUNW_1.22.1;
|
16
|
-
ALLOW = SUNW_1.4;
|
17
|
-
ALLOW = SUNWprivate_1.1;
|
18
|
-
};
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) 2014 Chef Software, Inc.
|
3
|
-
# License:: Apache License, Version 2.0
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
|
-
# This script sets the SSL_CERT_FILE environment variable to the CA cert bundle
|
19
|
-
# that ships with omnibus packages of Chef and Chef DK. If this environment
|
20
|
-
# variable is already configured, this script is a no-op.
|
21
|
-
#
|
22
|
-
# This is required to make Chef tools use https URLs out of the box.
|
23
|
-
|
24
|
-
unless ENV.key?("SSL_CERT_FILE")
|
25
|
-
base_dirs = File.dirname(__FILE__).split(File::SEPARATOR)
|
26
|
-
|
27
|
-
(base_dirs.length - 1).downto(0) do |i|
|
28
|
-
candidate_ca_bundle = File.join(base_dirs[0..i] + [ "ssl/certs/cacert.pem" ])
|
29
|
-
if File.exist?(candidate_ca_bundle)
|
30
|
-
ENV["SSL_CERT_FILE"] = candidate_ca_bundle
|
31
|
-
break
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
data/omnibus/omnibus.rb
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# This file is used to configure the Omnibus projects in this repo. It contains
|
3
|
-
# some minimal configuration examples for working with Omnibus. For a full list
|
4
|
-
# of configurable options, please see the documentation for +omnibus/config.rb+.
|
5
|
-
#
|
6
|
-
|
7
|
-
# Build internally
|
8
|
-
# ------------------------------
|
9
|
-
# By default, Omnibus uses system folders (like +/var+ and +/opt+) to build and
|
10
|
-
# cache components. If you would to build everything internally, you can
|
11
|
-
# uncomment the following options. This will prevent the need for root
|
12
|
-
# permissions in most cases.
|
13
|
-
#
|
14
|
-
# Uncomment this line to change the default base directory to "local"
|
15
|
-
# -------------------------------------------------------------------
|
16
|
-
# base_dir './local'
|
17
|
-
#
|
18
|
-
# Alternatively you can tune the individual values
|
19
|
-
# ------------------------------------------------
|
20
|
-
# cache_dir './local/omnibus/cache'
|
21
|
-
# git_cache_dir './local/omnibus/cache/git_cache'
|
22
|
-
# source_dir './local/omnibus/src'
|
23
|
-
# build_dir './local/omnibus/build'
|
24
|
-
# package_dir './local/omnibus/pkg'
|
25
|
-
# package_tmp './local/omnibus/pkg-tmp'
|
26
|
-
|
27
|
-
# Windows architecture defaults - set to x86 unless otherwise specified.
|
28
|
-
# ------------------------------
|
29
|
-
windows_arch %w{x86 x64}.include?((ENV['OMNIBUS_WINDOWS_ARCH'] || '').downcase) ?
|
30
|
-
ENV['OMNIBUS_WINDOWS_ARCH'].downcase.to_sym : :x86
|
31
|
-
|
32
|
-
# Disable git caching
|
33
|
-
# ------------------------------
|
34
|
-
# use_git_caching false
|
35
|
-
|
36
|
-
# Enable S3 asset caching
|
37
|
-
# ------------------------------
|
38
|
-
use_s3_caching true
|
39
|
-
s3_access_key ENV['AWS_ACCESS_KEY_ID']
|
40
|
-
s3_secret_key ENV['AWS_SECRET_ACCESS_KEY']
|
41
|
-
s3_bucket 'opscode-omnibus-cache'
|
42
|
-
|
43
|
-
build_retries 3
|
44
|
-
fetcher_retries 3
|
45
|
-
fetcher_read_timeout 120
|
46
|
-
|
47
|
-
# We limit this to 10 workers to eliminate transient timing issues in the
|
48
|
-
# way Ruby (and other components) compiles on some more esoteric *nixes.
|
49
|
-
workers 10
|
50
|
-
|
51
|
-
# Load additional software
|
52
|
-
# ------------------------------
|
53
|
-
# software_gems ['omnibus-software', 'my-company-software']
|
54
|
-
# local_software_dirs ['/path/to/local/software']
|
@@ -1,55 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# WARNING: REQUIRES /bin/sh
|
3
|
-
#
|
4
|
-
# Post install configuration for Push Jobs Client
|
5
|
-
#
|
6
|
-
|
7
|
-
PROGNAME=`basename $0`
|
8
|
-
INSTALLER_DIR=/opt/push-jobs-client
|
9
|
-
|
10
|
-
error_exit()
|
11
|
-
{
|
12
|
-
echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
|
13
|
-
exit 1
|
14
|
-
}
|
15
|
-
|
16
|
-
is_darwin()
|
17
|
-
{
|
18
|
-
uname -v | grep "^Darwin" 2>&1 >/dev/null
|
19
|
-
}
|
20
|
-
|
21
|
-
is_smartos()
|
22
|
-
{
|
23
|
-
uname -v | grep "^joyent" 2>&1 >/dev/null
|
24
|
-
}
|
25
|
-
|
26
|
-
if is_smartos; then
|
27
|
-
PREFIX="/opt/local"
|
28
|
-
elif is_darwin; then
|
29
|
-
PREFIX="/usr/local"
|
30
|
-
mkdir -p "$PREFIX/bin"
|
31
|
-
else
|
32
|
-
PREFIX="/usr"
|
33
|
-
fi
|
34
|
-
|
35
|
-
# We test for the presence of /usr/bin/push-client to know if this script succeeds,
|
36
|
-
# so push-client must appear as the last item here.
|
37
|
-
binaries="pushy-client"
|
38
|
-
|
39
|
-
# rm -f before ln -sf is required for solaris 9
|
40
|
-
for binary in $binaries; do
|
41
|
-
rm -f $PREFIX/bin/$binary
|
42
|
-
done
|
43
|
-
|
44
|
-
for binary in $binaries; do
|
45
|
-
ln -sf $INSTALLER_DIR/bin/$binary $PREFIX/bin || error_exit "Cannot link $binary to $PREFIX/bin"
|
46
|
-
done
|
47
|
-
|
48
|
-
# Ensure all files/directories in $INSTALLER_DIR are owned by root. This
|
49
|
-
# has been fixed on new installs but upgrades from old installs need to
|
50
|
-
# be manually fixed.
|
51
|
-
chown -Rh 0:0 $INSTALLER_DIR
|
52
|
-
|
53
|
-
echo "Thank you for installing Chef Push Jobs Client!"
|
54
|
-
|
55
|
-
exit 0
|
@@ -1,39 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# WARNING: REQUIRES /bin/sh
|
3
|
-
#
|
4
|
-
# Post uninstall configuration for Push Jobs Client
|
5
|
-
#
|
6
|
-
|
7
|
-
is_smartos() {
|
8
|
-
uname -v | grep "^joyent" 2>&1 >/dev/null
|
9
|
-
}
|
10
|
-
|
11
|
-
is_darwin()
|
12
|
-
{
|
13
|
-
uname -v | grep "^Darwin" 2>&1 >/dev/null
|
14
|
-
}
|
15
|
-
|
16
|
-
if is_smartos; then
|
17
|
-
PREFIX="/opt/local"
|
18
|
-
elif is_darwin; then
|
19
|
-
PREFIX="/usr/local"
|
20
|
-
else
|
21
|
-
PREFIX="/usr"
|
22
|
-
fi
|
23
|
-
|
24
|
-
cleanup_symlinks() {
|
25
|
-
binaries="pushy-client"
|
26
|
-
for binary in $binaries; do
|
27
|
-
rm -f $PREFIX/bin/$binary
|
28
|
-
done
|
29
|
-
}
|
30
|
-
|
31
|
-
# Clean up binary symlinks if they exist
|
32
|
-
# see: http://tickets.opscode.com/browse/CHEF-3022
|
33
|
-
if [ ! -f /etc/redhat-release -a ! -f /etc/fedora-release -a ! -f /etc/system-release -a ! -f /etc/SuSE-release ]; then
|
34
|
-
# not a redhat-ish RPM-based system
|
35
|
-
cleanup_symlinks
|
36
|
-
elif [ "x$1" = "x0" ]; then
|
37
|
-
# RPM-based system and we're deinstalling rather than upgrading
|
38
|
-
cleanup_symlinks
|
39
|
-
fi
|
Binary file
|
Binary file
|
@@ -1,197 +0,0 @@
|
|
1
|
-
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
|
2
|
-
|
3
|
-
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\qc\lang1033\f0\fs20 Apache License\par
|
4
|
-
|
5
|
-
Version 2.0, January 2004\par
|
6
|
-
|
7
|
-
http://www.apache.org/licenses/\par
|
8
|
-
|
9
|
-
\pard\par
|
10
|
-
|
11
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par
|
12
|
-
|
13
|
-
\par
|
14
|
-
|
15
|
-
1. Definitions.\par
|
16
|
-
|
17
|
-
\par
|
18
|
-
|
19
|
-
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par
|
20
|
-
|
21
|
-
\par
|
22
|
-
|
23
|
-
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par
|
24
|
-
|
25
|
-
\par
|
26
|
-
|
27
|
-
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par
|
28
|
-
|
29
|
-
\par
|
30
|
-
|
31
|
-
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par
|
32
|
-
|
33
|
-
\par
|
34
|
-
|
35
|
-
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation, source, and configuration files.\par
|
36
|
-
|
37
|
-
\par
|
38
|
-
|
39
|
-
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par
|
40
|
-
|
41
|
-
\par
|
42
|
-
|
43
|
-
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par
|
44
|
-
|
45
|
-
\par
|
46
|
-
|
47
|
-
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par
|
48
|
-
|
49
|
-
\par
|
50
|
-
|
51
|
-
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par
|
52
|
-
|
53
|
-
\par
|
54
|
-
|
55
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par
|
56
|
-
|
57
|
-
\par
|
58
|
-
|
59
|
-
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par
|
60
|
-
|
61
|
-
\par
|
62
|
-
|
63
|
-
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license plies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par
|
64
|
-
|
65
|
-
\par
|
66
|
-
|
67
|
-
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par
|
68
|
-
|
69
|
-
\par
|
70
|
-
|
71
|
-
(a) You must give any other recipients of the Work or\par
|
72
|
-
|
73
|
-
Derivative Works a copy of this License; and\par
|
74
|
-
|
75
|
-
\par
|
76
|
-
|
77
|
-
(b) You must cause any modified files to carry prominent notices\par
|
78
|
-
|
79
|
-
stating that You changed the files; and\par
|
80
|
-
|
81
|
-
\par
|
82
|
-
|
83
|
-
(c) You must retain, in the Source form of any Derivative Works\par
|
84
|
-
|
85
|
-
that You distribute, all copyright, patent, trademark, and\par
|
86
|
-
|
87
|
-
attribution notices from the Source form of the Work,\par
|
88
|
-
|
89
|
-
excluding those notices that do not pertain to any part of\par
|
90
|
-
|
91
|
-
the Derivative Works; and\par
|
92
|
-
|
93
|
-
\par
|
94
|
-
|
95
|
-
(d) If the Work includes a "NOTICE" text file as part of its\par
|
96
|
-
|
97
|
-
distribution, then any Derivative Works that You distribute\par
|
98
|
-
|
99
|
-
must include a readable copy of the attribution notices\par
|
100
|
-
|
101
|
-
contained within such NOTICE file, excluding those notices\par
|
102
|
-
|
103
|
-
that do not pertain to any part of the Derivative Works, in\par
|
104
|
-
|
105
|
-
at least one of the following places: within a NOTICE text\par
|
106
|
-
|
107
|
-
file distributed as part of the Derivative Works; within the\par
|
108
|
-
|
109
|
-
Source form or documentation, if provided along with the\par
|
110
|
-
|
111
|
-
Derivative Works; or, within a display generated by the\par
|
112
|
-
|
113
|
-
Derivative Works, if and wherever such third-party notices\par
|
114
|
-
|
115
|
-
normally appear. The contents of the NOTICE file are for\par
|
116
|
-
|
117
|
-
informational purposes only and do not modify the License.\par
|
118
|
-
|
119
|
-
You may add Your own attribution notices within Derivative\par
|
120
|
-
|
121
|
-
Works that You distribute, alongside or as an addendum to the\par
|
122
|
-
|
123
|
-
NOTICE text from the Work, provided that such additional\par
|
124
|
-
|
125
|
-
attribution notices cannot be construed as modifying the\par
|
126
|
-
|
127
|
-
License.\par
|
128
|
-
|
129
|
-
\par
|
130
|
-
|
131
|
-
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par
|
132
|
-
|
133
|
-
\par
|
134
|
-
|
135
|
-
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par
|
136
|
-
|
137
|
-
\par
|
138
|
-
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par
|
140
|
-
|
141
|
-
\par
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par
|
144
|
-
|
145
|
-
\par
|
146
|
-
|
147
|
-
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par
|
148
|
-
|
149
|
-
\par
|
150
|
-
|
151
|
-
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par
|
152
|
-
|
153
|
-
\par
|
154
|
-
|
155
|
-
END OF TERMS AND CONDITIONS\par
|
156
|
-
|
157
|
-
\par
|
158
|
-
|
159
|
-
APPENDIX: How to apply the Apache License to your work.\par
|
160
|
-
|
161
|
-
\par
|
162
|
-
|
163
|
-
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\par
|
164
|
-
|
165
|
-
\par
|
166
|
-
|
167
|
-
Copyright [yyyy] [name of copyright owner]\par
|
168
|
-
|
169
|
-
\par
|
170
|
-
|
171
|
-
Licensed under the Apache License, Version 2.0 (the "License");\par
|
172
|
-
|
173
|
-
you may not use this file except in compliance with the License.\par
|
174
|
-
|
175
|
-
You may obtain a copy of the License at\par
|
176
|
-
|
177
|
-
\par
|
178
|
-
|
179
|
-
http://www.apache.org/licenses/LICENSE-2.0\par
|
180
|
-
|
181
|
-
\par
|
182
|
-
|
183
|
-
Unless required by applicable law or agreed to in writing, software\par
|
184
|
-
|
185
|
-
distributed under the License is distributed on an "AS IS" BASIS,\par
|
186
|
-
|
187
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\par
|
188
|
-
|
189
|
-
implied. See the License for the specific language governing\par
|
190
|
-
|
191
|
-
permissions and limitations under the License.\par
|
192
|
-
|
193
|
-
\par
|
194
|
-
|
195
|
-
}
|
196
|
-
|
197
|
-
|