Add files using upload-large-folder tool
Browse files- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/command_injection.py +106 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/sanlib.py +227 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/yaml_deserialization.py +42 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/README.md +1 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/ansible-runner-cve-2021-4041/build.sh +25 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/ansible-runner-cve-2021-4041/fuzz_ansible_runner.py +64 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/libvcs-cve-2022-21187/build.sh +21 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/libvcs-cve-2022-21187/fuzz_libvcs.py +45 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/pytorch-lightning-1.5.10/fuzz_pytorch_lightning.py +67 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/subprocess_popen_injection.py +51 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/go.mod +10 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/go.sum +24 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/main.go +54 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/go.mod +8 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/go.sum +30 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovmerge/LICENSE +22 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovmerge/gocovmerge.go +111 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovsum/gocovsum.go +171 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/pprof-merge/LICENSE +201 -0
- local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/pprof-merge/main.go +68 -0
- local-test-tika-full-01-vuln_8/afc-tika/CHANGES.txt +0 -0
- local-test-tika-full-01-vuln_8/afc-tika/HEADER.txt +16 -0
- local-test-tika-full-01-vuln_8/afc-tika/KEYS +442 -0
- local-test-tika-full-01-vuln_8/afc-tika/LICENSE.txt +461 -0
- local-test-tika-full-01-vuln_8/afc-tika/NOTICE.txt +1568 -0
- local-test-tika-full-01-vuln_8/afc-tika/README.md +192 -0
- local-test-tika-full-01-vuln_8/afc-tika/assembly.xml +36 -0
- local-test-tika-full-01-vuln_8/afc-tika/overview.html +36 -0
- local-test-tika-full-01-vuln_8/afc-tika/pom.xml +222 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-app/pom.xml +288 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-detectors/pom.xml +40 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-example/pom.xml +153 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-fuzzing/pom.xml +136 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-grpc/README.md +13 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-grpc/pom.xml +434 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-handlers/README.md +2 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-integration-tests/pom.xml +66 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-java7/pom.xml +125 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-langdetect/pom.xml +116 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-parent/intellij-code-style.xml +75 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/pom.xml +102 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-serialization/pom.xml +115 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-server/README.md +89 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-server/pom.xml +75 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-translate/pom.xml +225 -0
- local-test-tika-full-01-vuln_8/afc-tika/tika-xmp/pom.xml +122 -0
- local-test-tika-full-01-vuln_8/fuzz-tooling/CITATION.cff +46 -0
- local-test-tika-full-01-vuln_8/fuzz-tooling/CONTRIBUTING.md +26 -0
- local-test-tika-full-01-vuln_8/fuzz-tooling/LICENSE +201 -0
- local-test-tika-full-01-vuln_8/fuzz-tooling/README.md +135 -0
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/command_injection.py
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2022 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
#
|
| 15 |
+
################################################################################
|
| 16 |
+
"""Sanitizers for capturing code injections."""
|
| 17 |
+
|
| 18 |
+
from typing import Optional
|
| 19 |
+
from pysecsan import sanlib
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def get_all_substr_prefixes(main_str, sub_str):
|
| 23 |
+
"""Yields all strings prefixed with sub_str in main_str."""
|
| 24 |
+
idx = 0
|
| 25 |
+
while True:
|
| 26 |
+
idx = main_str.find(sub_str, idx)
|
| 27 |
+
if idx == -1:
|
| 28 |
+
return
|
| 29 |
+
yield main_str[0:idx]
|
| 30 |
+
# Increase idx the length of the substring from the current position
|
| 31 |
+
# where an occurence of the substring was found.
|
| 32 |
+
idx += len(sub_str)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
# pylint: disable=unsubscriptable-object
|
| 36 |
+
def check_code_injection_match(elem, check_unquoted=False) -> Optional[str]:
|
| 37 |
+
"""identify if elem is an injection match."""
|
| 38 |
+
# Check exact match
|
| 39 |
+
if elem == 'exec-sanitizer':
|
| 40 |
+
return 'Explicit command injection found.'
|
| 41 |
+
|
| 42 |
+
# Check potential for injecting into a string
|
| 43 |
+
if 'FROMFUZZ' in elem:
|
| 44 |
+
if check_unquoted:
|
| 45 |
+
# return true if any index is unquoted
|
| 46 |
+
for sub_str in get_all_substr_prefixes(elem, 'FROMFUZZ'):
|
| 47 |
+
if sub_str.count('\"') % 2 == 0:
|
| 48 |
+
return 'Fuzzer controlled content in data. Code injection potential.'
|
| 49 |
+
|
| 50 |
+
# Return None if all fuzzer taints were quoted
|
| 51 |
+
return None
|
| 52 |
+
return 'Fuzzer-controlled data in command string. Injection potential.'
|
| 53 |
+
return None
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
# pylint: disable=invalid-name
|
| 57 |
+
def hook_pre_exec_subprocess_Popen(cmd, **kwargs):
|
| 58 |
+
"""Hook for subprocess.Popen."""
|
| 59 |
+
|
| 60 |
+
arg_shell = 'shell' in kwargs and kwargs['shell']
|
| 61 |
+
|
| 62 |
+
# Command injections depend on whether the first argument is a list of
|
| 63 |
+
# strings or a string. Handle this now.
|
| 64 |
+
# Example: tests/poe/ansible-runner-cve-2021-4041
|
| 65 |
+
if isinstance(cmd, str):
|
| 66 |
+
res = check_code_injection_match(cmd, check_unquoted=True)
|
| 67 |
+
if res is not None:
|
| 68 |
+
# if shell arg is true and string is tainted and unquoted that's a
|
| 69 |
+
# definite code injection.
|
| 70 |
+
if arg_shell is True:
|
| 71 |
+
sanlib.abort_with_issue('Code injection in Popen', 'Command injection')
|
| 72 |
+
|
| 73 |
+
# It's a maybe: will not report this to avoid false positives.
|
| 74 |
+
# TODO: add more precise detection here.
|
| 75 |
+
|
| 76 |
+
# Check for hg command injection
|
| 77 |
+
# Example: tests/poe/libvcs-cve-2022-21187
|
| 78 |
+
if cmd[0] == 'hg':
|
| 79 |
+
# Check if the arguments are controlled by the fuzzer, and this given
|
| 80 |
+
# arg is not preceded by --
|
| 81 |
+
found_dashes = False
|
| 82 |
+
for idx in range(1, len(cmd)):
|
| 83 |
+
if cmd[0] == '--':
|
| 84 |
+
found_dashes = True
|
| 85 |
+
if not found_dashes and check_code_injection_match(cmd[idx]):
|
| 86 |
+
sanlib.abort_with_issue(
|
| 87 |
+
'command injection likely by way of mercurial. The following'
|
| 88 |
+
f'command {str(cmd)} is executed, and if you substitute {cmd[idx]} '
|
| 89 |
+
'with \"--config=alias.init=!touch HELLO_PY\" then you will '
|
| 90 |
+
'create HELLO_PY', 'Command injection')
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def hook_pre_exec_os_system(cmd):
|
| 94 |
+
"""Hook for os.system."""
|
| 95 |
+
res = check_code_injection_match(cmd)
|
| 96 |
+
if res is not None:
|
| 97 |
+
sanlib.abort_with_issue(f'code injection by way of os.system\n{res}',
|
| 98 |
+
'Command injection')
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
def hook_pre_exec_eval(cmd, *args, **kwargs):
|
| 102 |
+
"""Hook for eval. Experimental atm."""
|
| 103 |
+
res = check_code_injection_match(cmd, check_unquoted=True)
|
| 104 |
+
if res is not None:
|
| 105 |
+
sanlib.abort_with_issue(f'Potential code injection by way of eval\n{res}',
|
| 106 |
+
'Command injection')
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/sanlib.py
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2022 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
#
|
| 15 |
+
################################################################################
|
| 16 |
+
"""Core routines for pysecsan library."""
|
| 17 |
+
|
| 18 |
+
# pylint: disable=protected-access
|
| 19 |
+
|
| 20 |
+
import re
|
| 21 |
+
import os
|
| 22 |
+
import functools
|
| 23 |
+
import subprocess
|
| 24 |
+
import traceback
|
| 25 |
+
import importlib.util
|
| 26 |
+
|
| 27 |
+
from typing import Any, Callable, Optional
|
| 28 |
+
from pysecsan import command_injection, redos, yaml_deserialization
|
| 29 |
+
|
| 30 |
+
LOG_DEBUG = 0
|
| 31 |
+
LOG_INFO = 1
|
| 32 |
+
PYSECSAN_LOG_LVL = LOG_INFO
|
| 33 |
+
|
| 34 |
+
# Message that will be printed to stdout when an issue is found.
|
| 35 |
+
PYSECSAN_BUG_LABEL = r'===BUG DETECTED: PySecSan:'
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
# pylint: disable=global-statement
|
| 39 |
+
def sanitizer_log(msg, log_level, force=False, log_prefix=True):
|
| 40 |
+
"""Helper printing function."""
|
| 41 |
+
global PYSECSAN_LOG_LVL
|
| 42 |
+
if log_level >= PYSECSAN_LOG_LVL or force:
|
| 43 |
+
if log_prefix:
|
| 44 |
+
print(f'[PYSECSAN] {msg}')
|
| 45 |
+
else:
|
| 46 |
+
print(f'{msg}')
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def sanitizer_log_always(msg, log_prefix=True):
|
| 50 |
+
"""Wrapper for sanitizer logging. Will always log"""
|
| 51 |
+
sanitizer_log(msg, 0, force=True, log_prefix=log_prefix)
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def is_module_present(mod_name):
|
| 55 |
+
"""Identify if module is importable."""
|
| 56 |
+
# pylint: disable=deprecated-method
|
| 57 |
+
return importlib.util.find_spec(mod_name) is not None
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def _log_bug(bug_title):
|
| 61 |
+
sanitizer_log_always('%s %s ===' % (PYSECSAN_BUG_LABEL, bug_title),
|
| 62 |
+
log_prefix=False)
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def abort_with_issue(msg, bug_title):
|
| 66 |
+
"""Print message, display stacktrace and force process exit.
|
| 67 |
+
|
| 68 |
+
Use this function for signalling an issue is found and use the messages
|
| 69 |
+
logged from this function to determine if a fuzzer found a bug.
|
| 70 |
+
"""
|
| 71 |
+
# Show breaker string using an ASAN approach (uses 65 =)
|
| 72 |
+
sanitizer_log_always("=" * 65, log_prefix=False)
|
| 73 |
+
|
| 74 |
+
# Log issue message
|
| 75 |
+
_log_bug(bug_title)
|
| 76 |
+
sanitizer_log_always(msg)
|
| 77 |
+
|
| 78 |
+
# Log stacktrace
|
| 79 |
+
sanitizer_log_always("Stacktrace:")
|
| 80 |
+
traceback.print_stack()
|
| 81 |
+
|
| 82 |
+
# Force exit
|
| 83 |
+
# Use os._exit here to force exit. sys.exit will exit
|
| 84 |
+
# by throwing a SystemExit exception which the interpreter
|
| 85 |
+
# handles by exiting. However, code may catch this exception,
|
| 86 |
+
# and thus to avoid this we exit the process without exceptions.
|
| 87 |
+
# pylint: disable=protected-access
|
| 88 |
+
sanitizer_log_always("Exiting")
|
| 89 |
+
os._exit(1)
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def is_exact_taint(stream) -> bool:
|
| 93 |
+
"""Checks if stream is an exact match for taint from fuzzer."""
|
| 94 |
+
# The fuzzer has to get 8 characters right. This may be a bit much,
|
| 95 |
+
# however, when found it shows a high level of control over the data.
|
| 96 |
+
if stream == 'FROMFUZZ':
|
| 97 |
+
return True
|
| 98 |
+
|
| 99 |
+
return False
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def create_object_wrapper(**methods):
|
| 103 |
+
"""Hooks functions in an object.
|
| 104 |
+
|
| 105 |
+
This is needed for hooking built-in types and object attributes.
|
| 106 |
+
|
| 107 |
+
Example use case is if we want to find ReDOS vulnerabilities, that
|
| 108 |
+
have a pattern of
|
| 109 |
+
|
| 110 |
+
```
|
| 111 |
+
import re
|
| 112 |
+
r = re.compile(REGEX)
|
| 113 |
+
for _ in r.findall(...)
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
In the above case r.findall is a reference to
|
| 117 |
+
re.Pattern.findall, which is a built-in type that is non-writeable.
|
| 118 |
+
|
| 119 |
+
In order to hook such calls we need to wrap the object, and also hook the
|
| 120 |
+
re.compile function to return the wrapped/hooked object.
|
| 121 |
+
"""
|
| 122 |
+
|
| 123 |
+
class Wrapper():
|
| 124 |
+
"""Wrap an object by hiding attributes."""
|
| 125 |
+
|
| 126 |
+
def __init__(self, instance):
|
| 127 |
+
object.__setattr__(self, 'instance', instance)
|
| 128 |
+
|
| 129 |
+
def __setattr__(self, name, value):
|
| 130 |
+
object.__setattr__(object.__getattribute__(self, 'instance'), name, value)
|
| 131 |
+
|
| 132 |
+
def __getattribute__(self, name):
|
| 133 |
+
instance = object.__getattribute__(self, 'instance')
|
| 134 |
+
|
| 135 |
+
def _hook_func(self, pre_hook, post_hook, orig, *args, **kargs):
|
| 136 |
+
if pre_hook is not None:
|
| 137 |
+
pre_hook(self, *args, **kargs)
|
| 138 |
+
# No need to pass instance here because when we extracted
|
| 139 |
+
# the function we used instance.__getattribute__(name) which
|
| 140 |
+
# seems to include it. I think.
|
| 141 |
+
orig_retval = orig(*args, **kargs)
|
| 142 |
+
|
| 143 |
+
if post_hook is not None:
|
| 144 |
+
post_hook(self, *args, **kargs)
|
| 145 |
+
return orig_retval
|
| 146 |
+
|
| 147 |
+
# If this is a wrapped method, return a bound method
|
| 148 |
+
if name in methods:
|
| 149 |
+
pre_hook = methods[name][0]
|
| 150 |
+
post_hook = methods[name][1]
|
| 151 |
+
orig = instance.__getattribute__(name)
|
| 152 |
+
return (lambda *args, **kargs: _hook_func(self, pre_hook, post_hook,
|
| 153 |
+
orig, *args, **kargs))
|
| 154 |
+
|
| 155 |
+
# Otherwise, just return attribute of instance
|
| 156 |
+
return instance.__getattribute__(name)
|
| 157 |
+
|
| 158 |
+
return Wrapper
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
# pylint: disable=unsubscriptable-object
|
| 162 |
+
def add_hook(function: Callable[[Any], Any],
|
| 163 |
+
pre_exec_hook: Optional[Callable[[Any], Any]] = None,
|
| 164 |
+
post_exec_hook: Optional[Callable[[Any], Any]] = None):
|
| 165 |
+
"""Hook a function.
|
| 166 |
+
|
| 167 |
+
Hooks can be placed pre and post function call. At least one hook is
|
| 168 |
+
needed.
|
| 169 |
+
|
| 170 |
+
This hooking is intended on non-object hooks. In order to hook functions
|
| 171 |
+
in objects the `create_object_wrapper` function is used in combination
|
| 172 |
+
with function hooking initialisation functions post execution.
|
| 173 |
+
"""
|
| 174 |
+
if pre_exec_hook is None and post_exec_hook is None:
|
| 175 |
+
raise Exception('Some hooks must be included')
|
| 176 |
+
|
| 177 |
+
@functools.wraps(function)
|
| 178 |
+
def run(*args, **kwargs):
|
| 179 |
+
sanitizer_log(f'Hook start {str(function)}', LOG_DEBUG)
|
| 180 |
+
|
| 181 |
+
# Call hook
|
| 182 |
+
if pre_exec_hook is not None:
|
| 183 |
+
pre_exec_hook(*args, **kwargs)
|
| 184 |
+
|
| 185 |
+
# Call the original function in the even the hook did not indicate
|
| 186 |
+
# failure.
|
| 187 |
+
ret = function(*args, **kwargs)
|
| 188 |
+
|
| 189 |
+
# Post execution hook. Overwrite return value if anything is returned
|
| 190 |
+
# by post hook.
|
| 191 |
+
if post_exec_hook is not None:
|
| 192 |
+
tmp_ret = post_exec_hook(ret, *args, **kwargs)
|
| 193 |
+
if tmp_ret is not None:
|
| 194 |
+
sanitizer_log('Overwriting return value', LOG_DEBUG)
|
| 195 |
+
ret = tmp_ret
|
| 196 |
+
sanitizer_log(f'Hook end {str(function)}', LOG_DEBUG)
|
| 197 |
+
return ret
|
| 198 |
+
|
| 199 |
+
return run
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
def add_hooks():
|
| 203 |
+
"""Sets up hooks."""
|
| 204 |
+
sanitizer_log('Starting', LOG_INFO)
|
| 205 |
+
os.system = add_hook(os.system,
|
| 206 |
+
pre_exec_hook=command_injection.hook_pre_exec_os_system)
|
| 207 |
+
subprocess.Popen = add_hook(
|
| 208 |
+
subprocess.Popen,
|
| 209 |
+
pre_exec_hook=command_injection.hook_pre_exec_subprocess_Popen)
|
| 210 |
+
|
| 211 |
+
__builtins__['eval'] = add_hook(
|
| 212 |
+
__builtins__['eval'], pre_exec_hook=command_injection.hook_pre_exec_eval)
|
| 213 |
+
|
| 214 |
+
re.compile = add_hook(re.compile,
|
| 215 |
+
pre_exec_hook=redos.hook_pre_exec_re_compile,
|
| 216 |
+
post_exec_hook=redos.hook_post_exec_re_compile)
|
| 217 |
+
|
| 218 |
+
# Hack to determine if yaml is elligible, because pkg_resources does
|
| 219 |
+
# not seem to work from pyinstaller.
|
| 220 |
+
# pylint: disable=import-outside-toplevel
|
| 221 |
+
if is_module_present('yaml'):
|
| 222 |
+
import yaml
|
| 223 |
+
sanitizer_log('Hooking pyyaml.load', LOG_DEBUG)
|
| 224 |
+
yaml.load = add_hook(
|
| 225 |
+
yaml.load,
|
| 226 |
+
pre_exec_hook=yaml_deserialization.hook_pre_exec_pyyaml_load,
|
| 227 |
+
)
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/pysecsan/yaml_deserialization.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2022 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
#
|
| 15 |
+
################################################################################
|
| 16 |
+
"""Catches vulnerable yaml desrializations that can potentially lead to
|
| 17 |
+
arbitrary code execution."""
|
| 18 |
+
from pysecsan import sanlib
|
| 19 |
+
|
| 20 |
+
try:
|
| 21 |
+
import yaml
|
| 22 |
+
# pylint: disable=broad-except
|
| 23 |
+
except Exception:
|
| 24 |
+
pass
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def hook_pre_exec_pyyaml_load(stream, loader):
|
| 28 |
+
"""Hook for pyyaml.load_yaml.
|
| 29 |
+
|
| 30 |
+
Exits if the loader is unsafe or vanilla loader and the stream passed
|
| 31 |
+
to the loader is controlled by the fuzz data
|
| 32 |
+
"""
|
| 33 |
+
# Ensure loader is the unsafe loader or vanilla loader
|
| 34 |
+
if loader not in (yaml.loader.Loader, yaml.loader.UnsafeLoader):
|
| 35 |
+
return
|
| 36 |
+
|
| 37 |
+
# Check for exact taint in stream
|
| 38 |
+
if sanlib.is_exact_taint(stream):
|
| 39 |
+
msg = (
|
| 40 |
+
'Yaml deserialization issue.\n'
|
| 41 |
+
'Unsafe deserialization can be used to execute arbitrary commands.\n')
|
| 42 |
+
sanlib.abort_with_issue(msg, 'Yaml deserialisation')
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# Tests including Proof of Exploits
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/ansible-runner-cve-2021-4041/build.sh
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash -eu
|
| 2 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
|
| 18 |
+
python3 -m pip install pysecsan
|
| 19 |
+
|
| 20 |
+
git clone https://github.com/ansible/ansible-runner/
|
| 21 |
+
cd ansible-runner
|
| 22 |
+
git checkout cdc0961df51fa1e10b44371944aafe5ae140b98c
|
| 23 |
+
python3 -m pip install .
|
| 24 |
+
cd ..
|
| 25 |
+
python3 fuzz_ansible_runner.py
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/ansible-runner-cve-2021-4041/fuzz_ansible_runner.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/python3
|
| 2 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
"""Targets: https://github.com/advisories/GHSA-6j58-grhv-2769."""
|
| 16 |
+
|
| 17 |
+
import sys
|
| 18 |
+
import atheris
|
| 19 |
+
import pexpect
|
| 20 |
+
import pysecsan
|
| 21 |
+
import ansible_runner
|
| 22 |
+
from ansible_runner.config.runner import RunnerConfig
|
| 23 |
+
|
| 24 |
+
pysecsan.add_hooks()
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def test_one_input(data):
|
| 28 |
+
"""Fuzzer entrypoint."""
|
| 29 |
+
fdp = atheris.FuzzedDataProvider(data)
|
| 30 |
+
|
| 31 |
+
conf = RunnerConfig('/tmp/')
|
| 32 |
+
conf.suppress_ansible_output = True
|
| 33 |
+
conf.expect_passwords = {pexpect.TIMEOUT: None, pexpect.EOF: None}
|
| 34 |
+
conf.cwd = str('/tmp/')
|
| 35 |
+
conf.env = {}
|
| 36 |
+
conf.job_timeout = 10
|
| 37 |
+
conf.idle_timeout = 0
|
| 38 |
+
conf.pexpect_timeout = 2.
|
| 39 |
+
conf.pexpect_use_poll = True
|
| 40 |
+
conf.command = 'from_fuzzer'
|
| 41 |
+
|
| 42 |
+
runner = ansible_runner.Runner(conf)
|
| 43 |
+
runner.resource_profiling = True
|
| 44 |
+
# rc.resource_profiling_base_cgroup = "; exec-san"
|
| 45 |
+
assistance = True
|
| 46 |
+
if assistance and fdp.ConsumeIntInRange(1, 100) > 80:
|
| 47 |
+
conf.resource_profiling_base_cgroup = 'FROMFUZZ'
|
| 48 |
+
else:
|
| 49 |
+
conf.resource_profiling_base_cgroup = fdp.ConsumeUnicodeNoSurrogates(24)
|
| 50 |
+
try:
|
| 51 |
+
runner.run()
|
| 52 |
+
except (RuntimeError, ValueError, TypeError) as _:
|
| 53 |
+
pass
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def main():
|
| 57 |
+
"""Set up and start fuzzing."""
|
| 58 |
+
atheris.instrument_all()
|
| 59 |
+
atheris.Setup(sys.argv, test_one_input, enable_python_coverage=True)
|
| 60 |
+
atheris.Fuzz()
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
if __name__ == '__main__':
|
| 64 |
+
main()
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/libvcs-cve-2022-21187/build.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash -eu
|
| 2 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
|
| 18 |
+
python3 -m pip install pysecsan
|
| 19 |
+
|
| 20 |
+
python3 -m pip install libvcs==0.11.0
|
| 21 |
+
python3 ./fuzz_libvcs.py
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/libvcs-cve-2022-21187/fuzz_libvcs.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/python3
|
| 2 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
"""Targets https://github.com/advisories/GHSA-mv2w-4jqc-6fg4."""
|
| 16 |
+
|
| 17 |
+
import sys
|
| 18 |
+
import atheris
|
| 19 |
+
import pysecsan
|
| 20 |
+
from libvcs.shortcuts import create_repo
|
| 21 |
+
|
| 22 |
+
pysecsan.add_hooks()
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def test_one_input(data):
|
| 26 |
+
"""Target code injection in libvcs."""
|
| 27 |
+
fdp = atheris.FuzzedDataProvider(data)
|
| 28 |
+
mercurial_repo = create_repo(url=fdp.ConsumeUnicodeNoSurrogates(128),
|
| 29 |
+
vcs='hg',
|
| 30 |
+
repo_dir='./')
|
| 31 |
+
try:
|
| 32 |
+
mercurial_repo.update_repo()
|
| 33 |
+
except (ValueError, FileNotFoundError) as exception:
|
| 34 |
+
_ = exception # Satisfy lint
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def main():
|
| 38 |
+
"""Set up and start fuzzing."""
|
| 39 |
+
atheris.instrument_all()
|
| 40 |
+
atheris.Setup(sys.argv, test_one_input, enable_python_coverage=True)
|
| 41 |
+
atheris.Fuzz()
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
if __name__ == '__main__':
|
| 45 |
+
main()
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/poe/pytorch-lightning-1.5.10/fuzz_pytorch_lightning.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/local/bin/python3
|
| 2 |
+
#
|
| 3 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
"""Exploit pytorch lightning with fuzzer's input as a random env variable.
|
| 19 |
+
This PoC is extended from a report in GitHub Advisory Database:
|
| 20 |
+
https://github.com/advisories/GHSA-r5qj-cvf9-p85h
|
| 21 |
+
The original report documents an exploit using a specific environment variable,
|
| 22 |
+
we show a way to achieve the same exploit with an arbitrary env variable.
|
| 23 |
+
"""
|
| 24 |
+
|
| 25 |
+
import os
|
| 26 |
+
import sys
|
| 27 |
+
import atheris
|
| 28 |
+
import pysecsan
|
| 29 |
+
|
| 30 |
+
pysecsan.add_hooks()
|
| 31 |
+
|
| 32 |
+
with atheris.instrument_imports():
|
| 33 |
+
from pytorch_lightning import Trainer
|
| 34 |
+
from pytorch_lightning.utilities.argparse import parse_env_variables
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def prepare_fuzzing_input(data):
|
| 38 |
+
"""Prepare the data needed by the exploit with input data from fuzzers."""
|
| 39 |
+
data = data.replace(b'\0', b'')
|
| 40 |
+
env_name = 'AN_ARBITRARY_ENV_NAME'
|
| 41 |
+
return data, env_name
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def exploit_target(env_value, env_name):
|
| 45 |
+
"""This target is based on a snippet from the official documentation of
|
| 46 |
+
`parse_env_variables`:
|
| 47 |
+
https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.utilities.argparse.html # pylint: disable=line-too-long
|
| 48 |
+
It might not be the most realistic example,
|
| 49 |
+
but serves as a PoC to show that SystemSan works for Python."""
|
| 50 |
+
os.environb[env_name.encode()] = env_value
|
| 51 |
+
parse_env_variables(Trainer, template=env_name)
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def TestOneInput(data): # pylint: disable=invalid-name
|
| 55 |
+
"""Exploit the target only with input data from fuzzers."""
|
| 56 |
+
env_value, env_name = prepare_fuzzing_input(data)
|
| 57 |
+
exploit_target(env_value, env_name)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def main():
|
| 61 |
+
"""Fuzz target with atheris."""
|
| 62 |
+
atheris.Setup(sys.argv, TestOneInput)
|
| 63 |
+
atheris.Fuzz()
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
if __name__ == '__main__':
|
| 67 |
+
main()
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-builder/sanitizers/pysecsan/tests/subprocess_popen_injection.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/python3
|
| 2 |
+
# Copyright 2022 Google LLC
|
| 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 |
+
"""Fuzzer displaying insecure use of subprocess.Popen."""
|
| 16 |
+
|
| 17 |
+
import sys
|
| 18 |
+
import subprocess
|
| 19 |
+
import atheris
|
| 20 |
+
import pysecsan
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def list_files_perhaps(param):
|
| 24 |
+
"""Insecure call to Popen."""
|
| 25 |
+
try:
|
| 26 |
+
subprocess.Popen(' '.join(['ls', '-la', param]), shell=True)
|
| 27 |
+
except ValueError:
|
| 28 |
+
pass
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def test_one_input(data):
|
| 32 |
+
"""Fuzzer entrypoint."""
|
| 33 |
+
fdp = atheris.FuzzedDataProvider(data)
|
| 34 |
+
|
| 35 |
+
if fdp.ConsumeIntInRange(1, 10) == 5:
|
| 36 |
+
list_files_perhaps('FROMFUZZ')
|
| 37 |
+
else:
|
| 38 |
+
list_files_perhaps('.')
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def main():
|
| 42 |
+
"""Set up and start fuzzing."""
|
| 43 |
+
pysecsan.add_hooks()
|
| 44 |
+
|
| 45 |
+
atheris.instrument_all()
|
| 46 |
+
atheris.Setup(sys.argv, test_one_input, enable_python_coverage=True)
|
| 47 |
+
atheris.Fuzz()
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
if __name__ == '__main__':
|
| 51 |
+
main()
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/go.mod
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
module oss-fuzz.com/gocoverage/convertcorpus
|
| 2 |
+
|
| 3 |
+
go 1.19
|
| 4 |
+
|
| 5 |
+
require github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221110144148-3ffc89b74f84
|
| 6 |
+
|
| 7 |
+
require (
|
| 8 |
+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20220824214621-3c06a36a6952 // indirect
|
| 9 |
+
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
|
| 10 |
+
)
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/go.sum
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20220824214621-3c06a36a6952 h1:cs1LC1MGKD1O4neR89Rc24t0u15Vs5ASfUQ2tLr/KbY=
|
| 2 |
+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20220824214621-3c06a36a6952/go.mod h1:i9fr2JpcEcY/IHEvzCM3qXUZYOQHgR89dt4es1CgMhc=
|
| 3 |
+
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221110144148-3ffc89b74f84 h1:a0NR83n+t4XyUh32ifxu6XsmeLMKyOx5Lxub9IeBM7k=
|
| 4 |
+
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221110144148-3ffc89b74f84/go.mod h1:pXIs8t4wo19ehhsffZsAZxSQ+oPUF41iiDrUaIDWKFU=
|
| 5 |
+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
| 6 |
+
github.com/cyphar/filepath-securejoin v0.2.3 h1:YX6ebbZCZP7VkM3scTTokDgBL2TY741X51MTk3ycuNI=
|
| 7 |
+
github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
| 8 |
+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 9 |
+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 10 |
+
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
|
| 11 |
+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
| 12 |
+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
| 13 |
+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
| 14 |
+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
| 15 |
+
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
| 16 |
+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
| 17 |
+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
| 18 |
+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 19 |
+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 20 |
+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 21 |
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 22 |
+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
| 23 |
+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 24 |
+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/convertcorpus/main.go
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
package main
|
| 2 |
+
|
| 3 |
+
import (
|
| 4 |
+
"fmt"
|
| 5 |
+
"log"
|
| 6 |
+
"os"
|
| 7 |
+
"path/filepath"
|
| 8 |
+
|
| 9 |
+
"github.com/AdamKorcz/go-118-fuzz-build/coverage"
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
// reads all corpus files in a directory and converts
|
| 13 |
+
// them from libFuzzer format to native Go format.
|
| 14 |
+
func main() {
|
| 15 |
+
if len(os.Args) != 3 {
|
| 16 |
+
fmt.Println(os.Args)
|
| 17 |
+
log.Fatalf("need exactly two argument")
|
| 18 |
+
}
|
| 19 |
+
FUZZERNAME := os.Args[1]
|
| 20 |
+
CORPUS_PATH := os.Args[2]
|
| 21 |
+
|
| 22 |
+
filepath.Walk(CORPUS_PATH, func(path string, info os.FileInfo, err error) error {
|
| 23 |
+
if err != nil {
|
| 24 |
+
return nil
|
| 25 |
+
}
|
| 26 |
+
if !info.Mode().IsRegular() {
|
| 27 |
+
return nil
|
| 28 |
+
}
|
| 29 |
+
libFuzzerSeed, err := os.ReadFile(path)
|
| 30 |
+
if err != nil {
|
| 31 |
+
panic(err)
|
| 32 |
+
}
|
| 33 |
+
out := os.Getenv("OUT")
|
| 34 |
+
fuzzerContents, err := os.ReadFile(filepath.Join(out, "rawfuzzers", FUZZERNAME))
|
| 35 |
+
if err != nil {
|
| 36 |
+
panic(err)
|
| 37 |
+
}
|
| 38 |
+
goSeed := coverage.ConvertLibfuzzerSeedToGoSeed(fuzzerContents, libFuzzerSeed, FUZZERNAME)
|
| 39 |
+
err = os.Remove(path)
|
| 40 |
+
if err != nil {
|
| 41 |
+
panic(err)
|
| 42 |
+
}
|
| 43 |
+
f, err := os.Create(path)
|
| 44 |
+
if err != nil {
|
| 45 |
+
panic(err)
|
| 46 |
+
}
|
| 47 |
+
defer f.Close()
|
| 48 |
+
_, err = f.Write([]byte(goSeed))
|
| 49 |
+
if err != nil {
|
| 50 |
+
panic(err)
|
| 51 |
+
}
|
| 52 |
+
return nil
|
| 53 |
+
})
|
| 54 |
+
}
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/go.mod
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
module oss-fuzz.com/gocoverage
|
| 2 |
+
|
| 3 |
+
go 1.14
|
| 4 |
+
|
| 5 |
+
require (
|
| 6 |
+
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5
|
| 7 |
+
golang.org/x/tools v0.1.0
|
| 8 |
+
)
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/go.sum
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
| 2 |
+
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
| 3 |
+
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
| 4 |
+
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5 h1:zIaiqGYDQwa4HVx5wGRTXbx38Pqxjemn4BP98wpzpXo=
|
| 5 |
+
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
|
| 6 |
+
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
|
| 7 |
+
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
| 8 |
+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
| 9 |
+
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
| 10 |
+
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
| 11 |
+
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
| 12 |
+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
| 13 |
+
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
| 14 |
+
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
| 15 |
+
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
| 16 |
+
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
| 17 |
+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
| 18 |
+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 19 |
+
golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 20 |
+
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 21 |
+
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 22 |
+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
| 23 |
+
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
| 24 |
+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
| 25 |
+
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
| 26 |
+
golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=
|
| 27 |
+
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
|
| 28 |
+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
| 29 |
+
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
| 30 |
+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovmerge/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2015, Wade Simmons
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
| 8 |
+
list of conditions and the following disclaimer.
|
| 9 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 10 |
+
this list of conditions and the following disclaimer in the documentation
|
| 11 |
+
and/or other materials provided with the distribution.
|
| 12 |
+
|
| 13 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 14 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 15 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 16 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
| 17 |
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 18 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| 19 |
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
| 20 |
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 21 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 22 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovmerge/gocovmerge.go
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// gocovmerge takes the results from multiple `go test -coverprofile` runs and
|
| 2 |
+
// merges them into one profile
|
| 3 |
+
package main
|
| 4 |
+
|
| 5 |
+
import (
|
| 6 |
+
"flag"
|
| 7 |
+
"fmt"
|
| 8 |
+
"io"
|
| 9 |
+
"log"
|
| 10 |
+
"os"
|
| 11 |
+
"sort"
|
| 12 |
+
|
| 13 |
+
"golang.org/x/tools/cover"
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
func mergeProfiles(p *cover.Profile, merge *cover.Profile) {
|
| 17 |
+
if p.Mode != merge.Mode {
|
| 18 |
+
log.Fatalf("cannot merge profiles with different modes")
|
| 19 |
+
}
|
| 20 |
+
// Since the blocks are sorted, we can keep track of where the last block
|
| 21 |
+
// was inserted and only look at the blocks after that as targets for merge
|
| 22 |
+
startIndex := 0
|
| 23 |
+
for _, b := range merge.Blocks {
|
| 24 |
+
startIndex = mergeProfileBlock(p, b, startIndex)
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
func mergeProfileBlock(p *cover.Profile, pb cover.ProfileBlock, startIndex int) int {
|
| 29 |
+
sortFunc := func(i int) bool {
|
| 30 |
+
pi := p.Blocks[i+startIndex]
|
| 31 |
+
return pi.StartLine >= pb.StartLine && (pi.StartLine != pb.StartLine || pi.StartCol >= pb.StartCol)
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
i := 0
|
| 35 |
+
if sortFunc(i) != true {
|
| 36 |
+
i = sort.Search(len(p.Blocks)-startIndex, sortFunc)
|
| 37 |
+
}
|
| 38 |
+
i += startIndex
|
| 39 |
+
if i < len(p.Blocks) && p.Blocks[i].StartLine == pb.StartLine && p.Blocks[i].StartCol == pb.StartCol {
|
| 40 |
+
if p.Blocks[i].EndLine != pb.EndLine || p.Blocks[i].EndCol != pb.EndCol {
|
| 41 |
+
log.Fatalf("OVERLAP MERGE: %v %v %v", p.FileName, p.Blocks[i], pb)
|
| 42 |
+
}
|
| 43 |
+
switch p.Mode {
|
| 44 |
+
case "set":
|
| 45 |
+
p.Blocks[i].Count |= pb.Count
|
| 46 |
+
case "count", "atomic":
|
| 47 |
+
p.Blocks[i].Count += pb.Count
|
| 48 |
+
default:
|
| 49 |
+
log.Fatalf("unsupported covermode: '%s'", p.Mode)
|
| 50 |
+
}
|
| 51 |
+
} else {
|
| 52 |
+
if i > 0 {
|
| 53 |
+
pa := p.Blocks[i-1]
|
| 54 |
+
if pa.EndLine >= pb.EndLine && (pa.EndLine != pb.EndLine || pa.EndCol > pb.EndCol) {
|
| 55 |
+
log.Fatalf("OVERLAP BEFORE: %v %v %v", p.FileName, pa, pb)
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
if i < len(p.Blocks)-1 {
|
| 59 |
+
pa := p.Blocks[i+1]
|
| 60 |
+
if pa.StartLine <= pb.StartLine && (pa.StartLine != pb.StartLine || pa.StartCol < pb.StartCol) {
|
| 61 |
+
log.Fatalf("OVERLAP AFTER: %v %v %v", p.FileName, pa, pb)
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
p.Blocks = append(p.Blocks, cover.ProfileBlock{})
|
| 65 |
+
copy(p.Blocks[i+1:], p.Blocks[i:])
|
| 66 |
+
p.Blocks[i] = pb
|
| 67 |
+
}
|
| 68 |
+
return i + 1
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
func addProfile(profiles []*cover.Profile, p *cover.Profile) []*cover.Profile {
|
| 72 |
+
i := sort.Search(len(profiles), func(i int) bool { return profiles[i].FileName >= p.FileName })
|
| 73 |
+
if i < len(profiles) && profiles[i].FileName == p.FileName {
|
| 74 |
+
mergeProfiles(profiles[i], p)
|
| 75 |
+
} else {
|
| 76 |
+
profiles = append(profiles, nil)
|
| 77 |
+
copy(profiles[i+1:], profiles[i:])
|
| 78 |
+
profiles[i] = p
|
| 79 |
+
}
|
| 80 |
+
return profiles
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
func dumpProfiles(profiles []*cover.Profile, out io.Writer) {
|
| 84 |
+
if len(profiles) == 0 {
|
| 85 |
+
return
|
| 86 |
+
}
|
| 87 |
+
fmt.Fprintf(out, "mode: %s\n", profiles[0].Mode)
|
| 88 |
+
for _, p := range profiles {
|
| 89 |
+
for _, b := range p.Blocks {
|
| 90 |
+
fmt.Fprintf(out, "%s:%d.%d,%d.%d %d %d\n", p.FileName, b.StartLine, b.StartCol, b.EndLine, b.EndCol, b.NumStmt, b.Count)
|
| 91 |
+
}
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
func main() {
|
| 96 |
+
flag.Parse()
|
| 97 |
+
|
| 98 |
+
var merged []*cover.Profile
|
| 99 |
+
|
| 100 |
+
for _, file := range flag.Args() {
|
| 101 |
+
profiles, err := cover.ParseProfiles(file)
|
| 102 |
+
if err != nil {
|
| 103 |
+
log.Fatalf("failed to parse profiles: %v", err)
|
| 104 |
+
}
|
| 105 |
+
for _, p := range profiles {
|
| 106 |
+
merged = addProfile(merged, p)
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
dumpProfiles(merged, os.Stdout)
|
| 111 |
+
}
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/gocovsum/gocovsum.go
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Copyright 2023 Google LLC
|
| 2 |
+
//
|
| 3 |
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
// you may not use this file except in compliance with the License.
|
| 5 |
+
// You may obtain a copy of the License at
|
| 6 |
+
//
|
| 7 |
+
// http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
//
|
| 9 |
+
// Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
// See the License for the specific language governing permissions and
|
| 13 |
+
// limitations under the License.
|
| 14 |
+
|
| 15 |
+
package main
|
| 16 |
+
|
| 17 |
+
import (
|
| 18 |
+
"encoding/json"
|
| 19 |
+
"flag"
|
| 20 |
+
"fmt"
|
| 21 |
+
"log"
|
| 22 |
+
|
| 23 |
+
"go/ast"
|
| 24 |
+
"go/parser"
|
| 25 |
+
"go/token"
|
| 26 |
+
|
| 27 |
+
"golang.org/x/tools/cover"
|
| 28 |
+
)
|
| 29 |
+
|
| 30 |
+
type CoverageTotal struct {
|
| 31 |
+
Count int `json:"count"`
|
| 32 |
+
Covered int `json:"covered"`
|
| 33 |
+
Uncovered int `json:"notcovered"`
|
| 34 |
+
Percent float64 `json:"percent"`
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
type CoverageTotals struct {
|
| 38 |
+
Functions CoverageTotal `json:"functions,omitempty"`
|
| 39 |
+
Lines CoverageTotal `json:"lines,omitempty"`
|
| 40 |
+
Regions CoverageTotal `json:"regions,omitempty"`
|
| 41 |
+
Instantiations CoverageTotal `json:"instantiations,omitempty"`
|
| 42 |
+
Branches CoverageTotal `json:"branches,omitempty"`
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
type CoverageFile struct {
|
| 46 |
+
Summary CoverageTotals `json:"summary,omitempty"`
|
| 47 |
+
Filename string `json:"filename,omitempty"`
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
type CoverageData struct {
|
| 51 |
+
Totals CoverageTotals `json:"totals,omitempty"`
|
| 52 |
+
Files []CoverageFile `json:"files,omitempty"`
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
type PositionInterval struct {
|
| 56 |
+
start token.Position
|
| 57 |
+
end token.Position
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
type CoverageSummary struct {
|
| 61 |
+
Data []CoverageData `json:"data,omitempty"`
|
| 62 |
+
Type string `json:"type,omitempty"`
|
| 63 |
+
Version string `json:"version,omitempty"`
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
func isFunctionCovered(s token.Position, e token.Position, blocks []cover.ProfileBlock) bool {
|
| 67 |
+
for _, b := range blocks {
|
| 68 |
+
if b.StartLine >= s.Line && b.StartLine <= e.Line && b.EndLine >= s.Line && b.EndLine <= e.Line {
|
| 69 |
+
if b.Count > 0 {
|
| 70 |
+
return true
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
return false
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
func computePercent(s *CoverageTotals) {
|
| 78 |
+
if s.Regions.Count > 0 {
|
| 79 |
+
s.Regions.Percent = float64(100*s.Regions.Covered) / float64(s.Regions.Count)
|
| 80 |
+
}
|
| 81 |
+
if s.Lines.Count > 0 {
|
| 82 |
+
s.Lines.Percent = float64(100*s.Lines.Covered) / float64(s.Lines.Count)
|
| 83 |
+
}
|
| 84 |
+
if s.Functions.Count > 0 {
|
| 85 |
+
s.Functions.Percent = float64(100*s.Functions.Covered) / float64(s.Functions.Count)
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
func main() {
|
| 90 |
+
flag.Parse()
|
| 91 |
+
|
| 92 |
+
if len(flag.Args()) != 1 {
|
| 93 |
+
log.Fatalf("needs exactly one argument")
|
| 94 |
+
}
|
| 95 |
+
profiles, err := cover.ParseProfiles(flag.Args()[0])
|
| 96 |
+
if err != nil {
|
| 97 |
+
log.Fatalf("failed to parse profiles: %v", err)
|
| 98 |
+
}
|
| 99 |
+
r := CoverageSummary{}
|
| 100 |
+
r.Type = "oss-fuzz.go.coverage.json.export"
|
| 101 |
+
r.Version = "2.0.1"
|
| 102 |
+
r.Data = make([]CoverageData, 1)
|
| 103 |
+
for _, p := range profiles {
|
| 104 |
+
fset := token.NewFileSet() // positions are relative to fset
|
| 105 |
+
f, err := parser.ParseFile(fset, p.FileName, nil, 0)
|
| 106 |
+
if err != nil {
|
| 107 |
+
log.Printf("failed to parse go file: %v", err)
|
| 108 |
+
continue
|
| 109 |
+
}
|
| 110 |
+
fileCov := CoverageFile{}
|
| 111 |
+
fileCov.Filename = p.FileName
|
| 112 |
+
ast.Inspect(f, func(n ast.Node) bool {
|
| 113 |
+
switch x := n.(type) {
|
| 114 |
+
case *ast.FuncLit:
|
| 115 |
+
startf := fset.Position(x.Pos())
|
| 116 |
+
endf := fset.Position(x.End())
|
| 117 |
+
fileCov.Summary.Functions.Count++
|
| 118 |
+
if isFunctionCovered(startf, endf, p.Blocks) {
|
| 119 |
+
fileCov.Summary.Functions.Covered++
|
| 120 |
+
} else {
|
| 121 |
+
fileCov.Summary.Functions.Uncovered++
|
| 122 |
+
}
|
| 123 |
+
case *ast.FuncDecl:
|
| 124 |
+
startf := fset.Position(x.Pos())
|
| 125 |
+
endf := fset.Position(x.End())
|
| 126 |
+
fileCov.Summary.Functions.Count++
|
| 127 |
+
if isFunctionCovered(startf, endf, p.Blocks) {
|
| 128 |
+
fileCov.Summary.Functions.Covered++
|
| 129 |
+
} else {
|
| 130 |
+
fileCov.Summary.Functions.Uncovered++
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
return true
|
| 134 |
+
})
|
| 135 |
+
|
| 136 |
+
for _, b := range p.Blocks {
|
| 137 |
+
fileCov.Summary.Regions.Count++
|
| 138 |
+
if b.Count > 0 {
|
| 139 |
+
fileCov.Summary.Regions.Covered++
|
| 140 |
+
} else {
|
| 141 |
+
fileCov.Summary.Regions.Uncovered++
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
fileCov.Summary.Lines.Count += b.NumStmt
|
| 145 |
+
if b.Count > 0 {
|
| 146 |
+
fileCov.Summary.Lines.Covered += b.NumStmt
|
| 147 |
+
} else {
|
| 148 |
+
fileCov.Summary.Lines.Uncovered += b.NumStmt
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
r.Data[0].Totals.Regions.Count += fileCov.Summary.Regions.Count
|
| 152 |
+
r.Data[0].Totals.Regions.Covered += fileCov.Summary.Regions.Covered
|
| 153 |
+
r.Data[0].Totals.Regions.Uncovered += fileCov.Summary.Regions.Uncovered
|
| 154 |
+
r.Data[0].Totals.Lines.Count += fileCov.Summary.Lines.Count
|
| 155 |
+
r.Data[0].Totals.Lines.Covered += fileCov.Summary.Lines.Covered
|
| 156 |
+
r.Data[0].Totals.Lines.Uncovered += fileCov.Summary.Lines.Uncovered
|
| 157 |
+
r.Data[0].Totals.Functions.Count += fileCov.Summary.Functions.Count
|
| 158 |
+
r.Data[0].Totals.Functions.Covered += fileCov.Summary.Functions.Covered
|
| 159 |
+
r.Data[0].Totals.Functions.Uncovered += fileCov.Summary.Functions.Uncovered
|
| 160 |
+
|
| 161 |
+
computePercent(&fileCov.Summary)
|
| 162 |
+
r.Data[0].Files = append(r.Data[0].Files, fileCov)
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
computePercent(&r.Data[0].Totals)
|
| 166 |
+
o, err := json.Marshal(r)
|
| 167 |
+
if err != nil {
|
| 168 |
+
log.Fatalf("failed to generate json: %v", err)
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright {yyyy} {name of copyright owner}
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
local-test-tika-delta-04/fuzz-tooling/infra/base-images/base-runner/gocoverage/pprof-merge/main.go
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Copyright 2019 Google Inc. All Rights Reserved.
|
| 2 |
+
//
|
| 3 |
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
// you may not use this file except in compliance with the License.
|
| 5 |
+
// You may obtain a copy of the License at
|
| 6 |
+
//
|
| 7 |
+
// http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
//
|
| 9 |
+
// Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
// See the License for the specific language governing permissions and
|
| 13 |
+
// limitations under the License.
|
| 14 |
+
|
| 15 |
+
package main
|
| 16 |
+
|
| 17 |
+
import (
|
| 18 |
+
"flag"
|
| 19 |
+
"log"
|
| 20 |
+
"os"
|
| 21 |
+
|
| 22 |
+
"github.com/google/pprof/profile"
|
| 23 |
+
)
|
| 24 |
+
|
| 25 |
+
var (
|
| 26 |
+
output string
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
func main() {
|
| 30 |
+
flag.StringVar(&output, "o", "merged.data", "")
|
| 31 |
+
flag.Parse()
|
| 32 |
+
|
| 33 |
+
files := os.Args[1:]
|
| 34 |
+
if len(files) == 0 {
|
| 35 |
+
log.Fatal("Give profiles files as arguments")
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
var profiles []*profile.Profile
|
| 39 |
+
for _, fname := range files {
|
| 40 |
+
f, err := os.Open(fname)
|
| 41 |
+
if err != nil {
|
| 42 |
+
log.Fatalf("Cannot open profile file at %q: %v", fname, err)
|
| 43 |
+
}
|
| 44 |
+
p, err := profile.Parse(f)
|
| 45 |
+
if err != nil {
|
| 46 |
+
log.Fatalf("Cannot parse profile at %q: %v", fname, err)
|
| 47 |
+
}
|
| 48 |
+
profiles = append(profiles, p)
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
merged, err := profile.Merge(profiles)
|
| 52 |
+
if err != nil {
|
| 53 |
+
log.Fatalf("Cannot merge profiles: %v", err)
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
out, err := os.OpenFile(output, os.O_RDWR|os.O_CREATE, 0755)
|
| 57 |
+
if err != nil {
|
| 58 |
+
log.Fatalf("Cannot open output to write: %v", err)
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
if err := merged.Write(out); err != nil {
|
| 62 |
+
log.Fatalf("Cannot write merged profile to file: %v", err)
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
if err := out.Close(); err != nil {
|
| 66 |
+
log.Printf("Error when closing the output file: %v", err)
|
| 67 |
+
}
|
| 68 |
+
}
|
local-test-tika-full-01-vuln_8/afc-tika/CHANGES.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
local-test-tika-full-01-vuln_8/afc-tika/HEADER.txt
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
+
* contributor license agreements. See the NOTICE file distributed with
|
| 4 |
+
* this work for additional information regarding copyright ownership.
|
| 5 |
+
* The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
+
* (the "License"); you may not use this file except in compliance with
|
| 7 |
+
* the License. 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 |
+
*/
|
local-test-tika-full-01-vuln_8/afc-tika/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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This file contains the PGP keys of various developers.
|
| 2 |
+
Please don't use them for email unless you have to. Their main
|
| 3 |
+
purpose is code signing.
|
| 4 |
+
|
| 5 |
+
Users:
|
| 6 |
+
pgp < KEYS
|
| 7 |
+
gpg --import KEYS
|
| 8 |
+
|
| 9 |
+
Developers:
|
| 10 |
+
pgp -kxa <your name> # and append to KEYS (this file)
|
| 11 |
+
(pgpk -ll <your name> && pgpk -xa <your name>) >> KEYS
|
| 12 |
+
(gpg --list-sigs <your name> && gpg --armor --export <your name>) >> KEYS
|
| 13 |
+
|
| 14 |
+
----
|
| 15 |
+
|
| 16 |
+
pub 1024D/A355A63E 2006-09-19
|
| 17 |
+
uid Jukka Zitting <jukka@apache.org>
|
| 18 |
+
sig 3 A355A63E 2006-09-19 Jukka Zitting <jukka@apache.org>
|
| 19 |
+
sig 3 A355A63E 2006-09-19 Jukka Zitting <jukka@apache.org>
|
| 20 |
+
sig E04F9A89 2006-10-13 Roy T. Fielding <fielding@gbiv.com>
|
| 21 |
+
sig AB821FBC 2006-10-14 Andrew McIntyre <fuzzylogic@apache.org>
|
| 22 |
+
sig 9992ADFC 2006-10-17 Jeff McAdams (General purpose key) <jeffm@iglou.com>
|
| 23 |
+
sig 5F7898A9 2006-10-17 William Glass-Husain <wglass@apache.org>
|
| 24 |
+
sig 08C975E5 2006-10-18 Jim Jagielski <jim@apache.org>
|
| 25 |
+
sig BB550746 2006-10-23 J. Daniel Kulp <dan@kulp.com>
|
| 26 |
+
sig 9BCFCE2F 2006-10-24 Garrett Rooney <rooneg@electricjellyfish.net>
|
| 27 |
+
sig BFD0307C 2006-10-25 J Aaron Farr <aaron.farr@jadetower.com>
|
| 28 |
+
sig 2C5E4EC0 2006-10-28 Henri Yandell (For signing ASF releases) <bayard@apache.org>
|
| 29 |
+
sig D872E270 2006-10-30 Bozhong Lin <blin@iona.com>
|
| 30 |
+
sig 3 669C4AB5 2006-10-16 Cezar Cristian Andrei <cezar@apache.org>
|
| 31 |
+
sig 665E0760 2006-12-15 Afkham Azeez (WSO2 Email) <azeez@wso2.com>
|
| 32 |
+
sig 329D80D2 2006-12-16 Sanka Samaranayake (Oxygenating The Web Service Platform) <sanka@wso2.com>
|
| 33 |
+
sig E41EDC7E 2006-12-17 Carsten Ziegeler <cziegeler@apache.org>
|
| 34 |
+
sig 9C85222B 2007-05-14 Henning Schmiedehausen <hps@intermeta.de>
|
| 35 |
+
sub 2048g/2542C54A 2006-09-19
|
| 36 |
+
sig A355A63E 2006-09-19 Jukka Zitting <jukka@apache.org>
|
| 37 |
+
|
| 38 |
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
| 39 |
+
Version: GnuPG v1.4.5 (GNU/Linux)
|
| 40 |
+
|
| 41 |
+
mQGiB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DeZWFLNJjWk6F6JU/ql
|
| 84 |
+
ZYoKxnrEsz3Q9Z6QAewQ2+8XSa2gAA5LodgqiDmoMcmZ7uOvXTB1qXKdJ+AIMLO3
|
| 85 |
+
WqbZ29e8STr2Pu+ouaoCQoSKv//Vdo+UYrEDcRiOXhTwfF2o6HD8UClZGYmdx7Op
|
| 86 |
+
4T5H64Piky6CLsMudVr3SGU+9E1h8G61ddLynt2G6IJrl5s/FyW9xboX+Z/pkPAN
|
| 87 |
+
K6GR108O7s4Pfp5uaIPpEcnCx+f+47PixEbmiBg2qIHk46Qo7nMFXO2ByZZzcALM
|
| 88 |
+
0JvKSKcOY0ecBp6I9ZHfFOnxnA1rQEMsYFflFSxSE/nueFCvSJ+WW5uyiEkEGBEC
|
| 89 |
+
AAkFAkUQYQMCGwwACgkQpzBSnKNVpj6lWACeMtA8UqDpB2tSJhgJBpy1zYbH06UA
|
| 90 |
+
n2vnHhk+T9mBMOTPjgR9lLrdsnYg
|
| 91 |
+
=Mj6z
|
| 92 |
+
-----END PGP PUBLIC KEY BLOCK-----
|
| 93 |
+
pub 1024D/B876884A 2007-12-24
|
| 94 |
+
uid Chris Mattmann (CODE SIGNING KEY) <mattmann@apache.org>
|
| 95 |
+
sig 3 B876884A 2007-12-24 Chris Mattmann (CODE SIGNING KEY) <mattmann@apache.org>
|
| 96 |
+
sub 2048g/D3B4F350 2007-12-24
|
| 97 |
+
sig B876884A 2007-12-24 Chris Mattmann (CODE SIGNING KEY) <mattmann@apache.org>
|
| 98 |
+
|
| 99 |
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
| 100 |
+
Version: GnuPG v1.4.8 (Darwin)
|
| 101 |
+
|
| 102 |
+
mQGiBEdvL9QRBACuaV06by+pxZHXIxBsfAFYJk7XJgsqR23m5ClCDPusMeaI4XGB
|
| 103 |
+
eU8Nw4iVwgG3p5VLWLXeMIm/KPz3pmxiNyEP/dHoDxOPR+hAqlP5v03D1iK19H7q
|
| 104 |
+
46BIecIwo8q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nXbtgPklTg/2Sy13Gb+MzTBYt
|
| 119 |
+
5TF841neM/kHdgt45EgBhchHN3Ys3ljabihbAAMFB/4ke4Xe573V78UR/WTMUzfw
|
| 120 |
+
pIysMUzEjNKqOfnAoNnR4WDDca4MwIUl62QqGTRrWZxTD8fAGYxc+m0qmygGKtYq
|
| 121 |
+
LUYB5N/pLGu1sg2j23G8aBKthiCCE+jOr3uebU/j0BTzN/BwXCqIGogELFlPC5Tj
|
| 122 |
+
Hr6c8LpkRFIOjVfuYB2TV4o2RfSFzrSFHCbrU82ojxhYSwyqDGAdD6EGtbbqaEMX
|
| 123 |
+
tGZzHaMVm2gDeV9W2veurxOulgndNg2+FXvgUlOa+KZ2J2DxNBcJv1uBtDAWDyR9
|
| 124 |
+
dTgTbK62ZnSjsnRYbgf0HdA+kW9n9XBMEHwgYk0q+doOWUOQFqC84TgrrhyDd1XZ
|
| 125 |
+
iEkEGBECAAkFAkdvL9QCGwwACgkQcPCcxrh2iEplXwCgraY3ELlDStqpJDSUzVsN
|
| 126 |
+
rGuNiwsAoKz92ycEjcMnoLnX8AaPADdo1m/P
|
| 127 |
+
=zEfO
|
| 128 |
+
-----END PGP PUBLIC KEY BLOCK-----
|
| 129 |
+
pub 1024D/9740DD55 2008-10-15 [revoked: 2010-03-27]
|
| 130 |
+
rev 9740DD55 2010-03-27 David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 131 |
+
uid David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 132 |
+
sig 3 9740DD55 2008-10-15 David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 133 |
+
|
| 134 |
+
pub 4096R/AEA8C6AB 2010-03-27 [revoked: 2010-03-27]
|
| 135 |
+
rev AEA8C6AB 2010-03-27 David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 136 |
+
uid David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 137 |
+
sig 3 AEA8C6AB 2010-03-27 David Meikle (CODE SI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|
+
-----END PGP PUBLIC KEY BLOCK-----
|
| 228 |
+
pub 4096R/0EB30B07 2014-02-04
|
| 229 |
+
uid David Meikle (CODE SIGNING KEY) <dmeikle@apache.org>
|
| 230 |
+
sub 4096R/84C15C40 2014-02-04
|
| 231 |
+
|
| 232 |
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
| 233 |
+
Version: GnuPG v1.4.11 (GNU/Linux)
|
| 234 |
+
|
| 235 |
+
mQINBFLxaSYBEADUywK+vv9sbxjLrW5aAM5bSxyZdPLgv8xUphG40XEGQPAamGiL
|
| 236 |
+
aDg9cgob1eZNcxmzMmp/O4vHdcdjzHN0iRMUpsYaSlm9YjqbK3sYynrXqahmHJFa
|
| 237 |
+
o2f8YS3O9MLfDTC/bbB8F2kTTeURlBCkRoP8jCHTpEkk9D0gz3+beXZnDKF4M+dY
|
| 238 |
+
I2mjZa0mCK1LWN7gm/lFDneogYMrJUBDL3jbZp0ASCMK9gH11BsuqpqhLC++IuCi
|
| 239 |
+
8GvKvap06d7YyfrF3DjsqN6IIK1WDq4zrm6QxIOU+t8KkMGywO4HwlQH0/rj66Kv
|
| 240 |
+
mgzB5CDgsjpEdAcYiTZgaCfqiudTaA8AvIcVF4fYA/su2nwg0urInBVeM+aRHSxD
|
| 241 |
+
pTi3wY1p/8YUxW5QqkzmVN5miHimDCGT/2KE3cWigK+iSr399PY9XYsD/TRsbsyU
|
| 242 |
+
hdxO+h+F/x+YOfUS+YUe+/EN8QZaCyUc3STzjWwd2z7UDOufy10iTHWuewPHMKU/
|
| 243 |
+
n451DTjiXtnXGu/Vz/kidKlmRQnGnkjj1qK5zTmwAfo81DTT/iezaAv9HS6OCJdx
|
| 244 |
+
35o0J1aPow3oA5JC/XR7EfV1b14QwVWy8Fv7MlBkbgLqtPdQSUYN41Iz/u7ucGLi
|
| 245 |
+
8JbW21gzUbxl+/EiyoWLzAAZh2wQMywqHWJb58A1JYWWXYmoVFDb3jl/TwARAQAB
|
| 246 |
+
tDREYXZp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LI61NYfhXN5TD041lv2GVGj7e1fptY6yOIpJvhAuEyFirYBPlb
|
| 304 |
+
xwFx51DypthuGtmtGPmuR8G7c/uoUgsaWtljCFeMAYWqBHqEa4H5Zan6LzSdgSR6
|
| 305 |
+
WQLxqmrxX/8qp6l7LSTeE9OviRHHs6wlEw8mfzNBjRlTav3HTQKXNVyJfrbpFAmE
|
| 306 |
+
v5oOrlFoVc31np7pDFg1nZ8o8Rb//arjsRzPe+oZIA==
|
| 307 |
+
=wanG
|
| 308 |
+
-----END PGP PUBLIC KEY BLOCK-----
|
| 309 |
+
pub 2048R/D4F10117 2015-01-01
|
| 310 |
+
uid Tyler Palsulich <tpalsulich@apache.org>
|
| 311 |
+
sig 3 D4F10117 2015-01-01 Tyler Palsulich <tpalsulich@apache.org>
|
| 312 |
+
sub 2048R/6137D1E6 2015-01-01
|
| 313 |
+
sig D4F10117 2015-01-01 Tyler Palsulich <tpalsulich@apache.org>
|
| 314 |
+
|
| 315 |
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
| 316 |
+
Version: GnuPG v1
|
| 317 |
+
|
| 318 |
+
mQENBFSlspUBCADJfADZ0ep3o/wo5sUSHDcFvmcuTRsHZDgsoHrdk83oqsQtHBZK
|
| 319 |
+
EQ4KeTbPTONgyNSU13kQDT6BYX3CA4AB9rqSBCI/Gghi56+I4d8mjZODY5bpnILC
|
| 320 |
+
vU9FyLsJNdbV8J48+oDF/5LToo5VB8QYslZ8ZZ7DJZvNmh4EovlnP9bVVS4Txk7d
|
| 321 |
+
mywSr1MTy5u6lb71oczK95pxO2dRwvJzLcQNTAgh3nrqk1JCLMxJoGGaKKLiGZgF
|
| 322 |
+
psn5nusGzOoRHeUa33V3/ms3ZYM6mS/9MmyU5P1zOUZ2Exc9C6Tps0bYbB/oztgM
|
| 323 |
+
4bx9NFwpeuILi4OJ/wEIJNp809CXXoYFuWlNABEBAAG0J1R5bGVyIFBhbHN1bGlj
|
| 324 |
+
aCA8dHBhbHN1bGljaEBh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bEZUxqhzsezmJKwey+9TmNsmTcM6
|
| 339 |
+
52nVMa5fl7+38A54dqLOtK965ZggSroM6Qyk9lrfsJRQ/4BbNfagsXPP7Fvs1DDe
|
| 340 |
+
JcWAy7md7XR9MiVgSQuw040wqSzcSA5M6RCFZ9gN+G0kP1CNZ5vDz+JktV4nJZzh
|
| 341 |
+
/i/wH25qTePHz6Clp6mye68cqtCTKX2RF5cTlFCWIqyFYFCfrKCi3LF0bhpWqq7S
|
| 342 |
+
JF8xV9E4P/Msl8hqmOOocZ4LDJdw/nt1UWlUmattMLBVWdSeuu0=
|
| 343 |
+
=pYQ7
|
| 344 |
+
-----END PGP PUBLIC KEY BLOCK-----
|
| 345 |
+
pub rsa4096 2018-12-04 [SC]
|
| 346 |
+
184454FAD8697760F3E00D2E4A51A45B944FFD51
|
| 347 |
+
uid [ultimate] Tim Allison (ASF signing key) <tallison@apache.org>
|
| 348 |
+
sig 3 4A51A45B944FFD51 2018-12-04 Tim Allison (ASF signing key) <tallison@apache.org>
|
| 349 |
+
sig E4032DC4EF0CF38A 2018-12-04 Tim Allison (ASF signing key) <tallison@apache.org>
|
| 350 |
+
sig 214DFD8C4C75EA05 2018-12-06 Kevin A. McGrail (CODE SIGNING KEY) <kmcgrail@apache.org>
|
| 351 |
+
sig 3 317C6DF83C7705CF 2018-12-13 David Fisher <dave2wave@comcast.net>
|
| 352 |
+
sub rsa4096 2018-12-04 [E]
|
| 353 |
+
sig 4A51A45B944FFD51 2018-12-04 Tim Allison (ASF signing key) <tallison@apache.org>
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
| 357 |
+
|
| 358 |
+
mQINBFwGkIQBEADBkuDMpFPE7nepfcYCWYYE3htn9apn6TudnT+GgeYue1g+XKct
|
| 359 |
+
c5fq/TiX0OOEpBt9xKOikSOwMTgdW6A2LKm568qgDN79wMleHFHel2VOiV59z8bH
|
| 360 |
+
AquBxLk8ZV26QODEjm9voOMXsf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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
APACHE TIKA SUBCOMPONENTS
|
| 207 |
+
|
| 208 |
+
Apache Tika includes a number of subcomponents with separate copyright notices
|
| 209 |
+
and license terms. Your use of these subcomponents is subject to the terms and
|
| 210 |
+
conditions of the following licenses.
|
| 211 |
+
-------------------------------
|
| 212 |
+
MIME type information from file-4.26.tar.gz (http://www.darwinsys.com/file/)
|
| 213 |
+
|
| 214 |
+
Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995.
|
| 215 |
+
Software written by Ian F. Darwin and others;
|
| 216 |
+
maintained 1994- Christos Zoulas.
|
| 217 |
+
|
| 218 |
+
This software is not subject to any export provision of the United States
|
| 219 |
+
Department of Commerce, and may be exported to any country or planet.
|
| 220 |
+
|
| 221 |
+
Redistribution and use in source and binary forms, with or without
|
| 222 |
+
modification, are permitted provided that the following conditions
|
| 223 |
+
are met:
|
| 224 |
+
1. Redistributions of source code must retain the above copyright
|
| 225 |
+
notice immediately at the beginning of the file, without modification,
|
| 226 |
+
this list of conditions, and the following disclaimer.
|
| 227 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 228 |
+
notice, this list of conditions and the following disclaimer in the
|
| 229 |
+
documentation and/or other materials provided with the distribution.
|
| 230 |
+
|
| 231 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
| 232 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 233 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 234 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
|
| 235 |
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 236 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
| 237 |
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 238 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
| 239 |
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
| 240 |
+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
| 241 |
+
SUCH DAMAGE.
|
| 242 |
+
|
| 243 |
+
-------------------------------
|
| 244 |
+
Charset detection code from ICU4J (http://site.icu-project.org/)
|
| 245 |
+
|
| 246 |
+
Copyright (c) 1995-2009 International Business Machines Corporation
|
| 247 |
+
and others
|
| 248 |
+
|
| 249 |
+
All rights reserved.
|
| 250 |
+
|
| 251 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 252 |
+
a copy of this software and associated documentation files (the
|
| 253 |
+
"Software"), to deal in the Software without restriction, including
|
| 254 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 255 |
+
distribute, and/or sell copies of the Software, and to permit persons
|
| 256 |
+
to whom the Software is furnished to do so, provided that the above
|
| 257 |
+
copyright notice(s) and this permission notice appear in all copies
|
| 258 |
+
of the Software and that both the above copyright notice(s) and this
|
| 259 |
+
permission notice appear in supporting documentation.
|
| 260 |
+
|
| 261 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 262 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 263 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
| 264 |
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
| 265 |
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
| 266 |
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
| 267 |
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
| 268 |
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
| 269 |
+
SOFTWARE.
|
| 270 |
+
|
| 271 |
+
Except as contained in this notice, the name of a copyright holder shall
|
| 272 |
+
not be used in advertising or otherwise to promote the sale, use or other
|
| 273 |
+
dealings in this Software without prior written authorization of the
|
| 274 |
+
copyright holder.
|
| 275 |
+
|
| 276 |
+
-------------------------------
|
| 277 |
+
Parsing functionality provided by the NetCDF Java Library (http://www.unidata.ucar.edu/software/netcdf-java/)
|
| 278 |
+
|
| 279 |
+
Copyright 1993-2010 University Corporation for Atmospheric Research/Unidata
|
| 280 |
+
|
| 281 |
+
Portions of this software were developed by the Unidata Program at the University
|
| 282 |
+
Corporation for Atmospheric Research.
|
| 283 |
+
|
| 284 |
+
Access and use of this software shall impose the following obligations and understandings
|
| 285 |
+
on the user. The user is granted the right, without any fee or cost, to use, copy, modify,
|
| 286 |
+
alter, enhance and distribute this software, and any derivative works thereof, and its
|
| 287 |
+
supporting documentation for any purpose whatsoever, provided that this entire notice
|
| 288 |
+
appears in all copies of the software, derivative works and supporting documentation. Further,
|
| 289 |
+
UCAR requests that the user credit UCAR/Unidata in any publications that result from the use
|
| 290 |
+
of this software or in any product that includes this software, although this is not an obligation.
|
| 291 |
+
The names UCAR and/or Unidata, however, may not be used in any advertising or publicity to endorse
|
| 292 |
+
or promote any products or commercial entity unless specific written permission is obtained from
|
| 293 |
+
UCAR/Unidata. The user also understands that UCAR/Unidata is not obligated to provide the user with
|
| 294 |
+
any support, consulting, training or assistance of any kind with regard to the use, operation and
|
| 295 |
+
performance of this software nor to provide the user with any updates, revisions, new versions or
|
| 296 |
+
"bug fixes."
|
| 297 |
+
|
| 298 |
+
THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
|
| 299 |
+
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 300 |
+
ARE DISCLAIMED. IN NO EVENT SHALL UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
|
| 301 |
+
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
| 302 |
+
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE ACCESS,
|
| 303 |
+
USE OR PERFORMANCE OF THIS SOFTWARE.
|
| 304 |
+
|
| 305 |
+
-------------------------------
|
| 306 |
+
IPTC Photo Metadata descriptions are taken from the IPTC Photo Metadata
|
| 307 |
+
Standard, July 2010, Copyright 2010 International Press Telecommunications
|
| 308 |
+
Council.
|
| 309 |
+
|
| 310 |
+
1. The Specifications and Materials are licensed for use only on the condition that you agree to be bound by the terms of this license. Subject to this and other licensing requirements contained herein, you may, on a non-exclusive basis, use the Specifications and Materials.
|
| 311 |
+
2. The IPTC openly provides the Specifications and Materials for voluntary use by individuals, partnerships, companies, corporations, organizations and any other entity for use at the entity's own risk. This disclaimer, license and release is intended to apply to the IPTC, its officers, directors, agents, representatives, members, contributors, affiliates, contractors, or co-venturers acting jointly or severally.
|
| 312 |
+
3. The Document and translations thereof may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the copyright and license notices and references to the IPTC appearing in the Document and the terms of this Specifications License Agreement are included on all such copies and derivative works. Further, upon the receipt of written permission from the IPTC, the Document may be modified for the purpose of developing applications that use IPTC Specifications or as required to translate the Document into languages other than English.
|
| 313 |
+
4. Any use, duplication, distribution, or exploitation of the Document and Specifications and Materials in any manner is at your own risk.
|
| 314 |
+
5. NO WARRANTY, EXPRESSED OR IMPLIED, IS MADE REGARDING THE ACCURACY, ADEQUACY, COMPLETENESS, LEGALITY, RELIABILITY OR USEFULNESS OF ANY INFORMATION CONTAINED IN THE DOCUMENT OR IN ANY SPECIFICATION OR OTHER PRODUCT OR SERVICE PRODUCED OR SPONSORED BY THE IPTC. THE DOCUMENT AND THE INFORMATION CONTAINED HEREIN AND INCLUDED IN ANY SPECIFICATION OR OTHER PRODUCT OR SERVICE OF THE IPTC IS PROVIDED ON AN "AS IS" BASIS. THE IPTC DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY ACTUAL OR ASSERTED WARRANTY OF NON-INFRINGEMENT OF PROPRIETARY RIGHTS, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. NEITHER THE IPTC NOR ITS CONTRIBUTORS SHALL BE HELD LIABLE FOR ANY IMPROPER OR INCORRECT USE OF INFORMATION. NEITHER THE IPTC NOR ITS CONTRIBUTORS ASSUME ANY RESPONSIBILITY FOR ANYONE'S USE OF INFORMATION PROVIDED BY THE IPTC. IN NO EVENT SHALL THE IPTC OR ITS CONTRIBUTORS BE LIABLE TO ANYONE FOR DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO, COMPENSATORY DAMAGES, LOST PROFITS, LOST DATA OR ANY FORM OF SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES OF ANY KIND WHETHER BASED ON BREACH OF CONTRACT OR WARRANTY, TORT, PRODUCT LIABILITY OR OTHERWISE.
|
| 315 |
+
6. The IPTC takes no position regarding the validity or scope of any Intellectual Property or other rights that might be claimed to pertain to the implementation or use of the technology described in the Document or the extent to which any license under such rights might or might not be available. The IPTC does not represent that it has made any effort to identify any such rights. Copies of claims of rights made available for publication, assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of the Specifications and Materials, can be obtained from the Managing Director of the IPTC.
|
| 316 |
+
7. By using the Specifications and Materials including the Document in any manner or for any purpose, you release the IPTC from all liabilities, claims, causes of action, allegations, losses, injuries, damages, or detriments of any nature arising from or relating to the use of the Specifications, Materials or any portion thereof. You further agree not to file a lawsuit, make a claim, or take any other formal or informal legal action against the IPTC, resulting from your acquisition, use, duplication, distribution, or exploitation of the Specifications, Materials or any portion thereof. Finally, you hereby agree that the IPTC is not liable for any direct, indirect, special or consequential damages arising from or relating to your acquisition, use, duplication, distribution, or exploitation of the Specifications, Materials or any portion thereof.
|
| 317 |
+
8. Specifications and Materials may be downloaded or copied provided that ALL copies retain the ownership, copyright and license notices.
|
| 318 |
+
9. Materials may not be edited, modified, or presented in a context that creates a misleading or false impression or statement as to the positions, actions, or statements of the IPTC.
|
| 319 |
+
10. The name and trademarks of the IPTC may not be used in advertising, publicity, or in relation to products or services and their names without the specific, written prior permission of the IPTC. Any permitted use of the trademarks of the IPTC, whether registered or not, shall be accompanied by an appropriate mark and attribution, as agreed with the IPTC.
|
| 320 |
+
11. Specifications may be extended by both members and non-members to provide additional functionality (Extension Specifications) provided that there is a clear recognition of the IPTC IP and its ownership in the Extension Specifications and the related documentation and provided that the extensions are clearly identified and provided that a perpetual license is granted by the creator of the Extension Specifications for other members and non-members to use the Extension Specifications and to continue extensions of the Extension Specifications. The IPTC does not waive any of its rights in the Specifications and Materials in this context. The Extension Specifications may be considered the intellectual property of their creator. The IPTC expressly disclaims any responsibility for damage caused by an extension to the Specifications.
|
| 321 |
+
12. Specifications and Materials may be included in derivative work of both members and non-members provided that there is a clear recognition of the IPTC IP and its ownership in the derivative work and its related documentation. The IPTC does not waive any of its rights in the Specifications and Materials in this context. Derivative work in its entirety may be considered the intellectual property of the creator of the work .The IPTC expressly disclaims any responsibility for damage caused when its IP is used in a derivative context.
|
| 322 |
+
13. This Specifications License Agreement is perpetual subject to your conformance to the terms of this Agreement. The IPTC may terminate this Specifications License Agreement immediately upon your breach of this Agreement and, upon such termination you will cease all use, duplication, distribution, and/or exploitation in any manner of the Specifications and Materials.
|
| 323 |
+
14. This Specifications License Agreement reflects the entire agreement of the parties regarding the subject matter hereof and supersedes all prior agreements or representations regarding such matters, whether written or oral. To the extent any portion or provision of this Specifications License Agreement is found to be illegal or unenforceable, then the remaining provisions of this Specifications License Agreement will remain in full force and effect and the illegal or unenforceable provision will be construed to give it such effect as it may properly have that is consistent with the intentions of the parties.
|
| 324 |
+
15. This Specifications License Agreement may only be modified in writing signed by an authorized representative of the IPTC.
|
| 325 |
+
16. This Specifications License Agreement is governed by the law of United Kingdom, as such law is applied to contracts made and fully performed in the United Kingdom. Any disputes arising from or relating to this Specifications License Agreement will be resolved in the courts of the United Kingdom. You consent to the jurisdiction of such courts over you and covenant not to assert before such courts any objection to proceeding in such forums.
|
| 326 |
+
|
| 327 |
+
-------------------------------
|
| 328 |
+
JUnRAR (https://github.com/edmund-wagner/junrar/)
|
| 329 |
+
|
| 330 |
+
JUnRAR is based on the UnRAR tool, and covered by the same license
|
| 331 |
+
It was formerly available from http://java-unrar.svn.sourceforge.net/
|
| 332 |
+
|
| 333 |
+
****** ***** ****** UnRAR - free utility for RAR archives
|
| 334 |
+
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 335 |
+
****** ******* ****** License for use and distribution of
|
| 336 |
+
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 337 |
+
** ** ** ** ** ** FREE portable version
|
| 338 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 339 |
+
|
| 340 |
+
The source code of UnRAR utility is freeware. This means:
|
| 341 |
+
|
| 342 |
+
1. All copyrights to RAR and the utility UnRAR are exclusively
|
| 343 |
+
owned by the author - Alexander Roshal.
|
| 344 |
+
|
| 345 |
+
2. The UnRAR sources may be used in any software to handle RAR
|
| 346 |
+
archives without limitations free of charge, but cannot be used
|
| 347 |
+
to re-create the RAR compression algorithm, which is proprietary.
|
| 348 |
+
Distribution of modified UnRAR sources in separate form or as a
|
| 349 |
+
part of other software is permitted, provided that it is clearly
|
| 350 |
+
stated in the documentation and source comments that the code may
|
| 351 |
+
not be used to develop a RAR (WinRAR) compatible archiver.
|
| 352 |
+
|
| 353 |
+
3. The UnRAR utility may be freely distributed. It is allowed
|
| 354 |
+
to distribute UnRAR inside of other software packages.
|
| 355 |
+
|
| 356 |
+
4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS".
|
| 357 |
+
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
|
| 358 |
+
YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
|
| 359 |
+
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
|
| 360 |
+
OR MISUSING THIS SOFTWARE.
|
| 361 |
+
|
| 362 |
+
5. Installing and using the UnRAR utility signifies acceptance of
|
| 363 |
+
these terms and conditions of the license.
|
| 364 |
+
|
| 365 |
+
6. If you don't agree with terms of the license you must remove
|
| 366 |
+
UnRAR files from your storage devices and cease to use the
|
| 367 |
+
utility.
|
| 368 |
+
|
| 369 |
+
Thank you for your interest in RAR and UnRAR. Alexander L. Roshal
|
| 370 |
+
|
| 371 |
+
-------------------------------
|
| 372 |
+
Sqlite (optional) (bundled in org.xerial's sqlite-jdbc)
|
| 373 |
+
This product bundles Sqlite, which is in the Public Domain. For details
|
| 374 |
+
see: https://www.sqlite.org/copyright.html
|
| 375 |
+
|
| 376 |
+
-------------------------------
|
| 377 |
+
Sample DXF file testDXF.dxf (in tika-parsers/src/test/resources/test-documents)
|
| 378 |
+
Copyright 2012 Ho Thanh Tam, www.cadkit.net
|
| 379 |
+
|
| 380 |
+
Permission to use, copy, modify, and distribute this software and its
|
| 381 |
+
documentation for any purpose is hereby granted without fee, provided
|
| 382 |
+
that the above copyright notice, author statement appear in all copies
|
| 383 |
+
of this software and related documentation.
|
| 384 |
+
|
| 385 |
+
-------------------------------
|
| 386 |
+
H2 Database in tika-eval
|
| 387 |
+
This software contains unmodified binary redistributions for
|
| 388 |
+
H2 database engine (http://www.h2database.com/),
|
| 389 |
+
which is dual licensed and available under the MPL 2.0
|
| 390 |
+
(Mozilla Public License) or under the EPL 1.0 (Eclipse Public License).
|
| 391 |
+
An original copy of the license agreement can be found at:
|
| 392 |
+
http://www.h2database.com/html/license.html
|
| 393 |
+
|
| 394 |
+
-------------------------------
|
| 395 |
+
org.brotli.dec dependency of commons-compress (MIT License)
|
| 396 |
+
|
| 397 |
+
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
| 398 |
+
|
| 399 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 400 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 401 |
+
in the Software without restriction, including without limitation the rights
|
| 402 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 403 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 404 |
+
furnished to do so, subject to the following conditions:
|
| 405 |
+
|
| 406 |
+
The above copyright notice and this permission notice shall be included in
|
| 407 |
+
all copies or substantial portions of the Software.
|
| 408 |
+
|
| 409 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 410 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 411 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 412 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 413 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 414 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 415 |
+
THE SOFTWARE.
|
| 416 |
+
|
| 417 |
+
----------------------------------------------
|
| 418 |
+
quine.gz test file (MIT License)
|
| 419 |
+
https://twitter.com/WhoStoleHonno/status/1153315367235784704?s=20
|
| 420 |
+
|
| 421 |
+
Copyright (c) 2019 by Matthew Barber.
|
| 422 |
+
|
| 423 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 424 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 425 |
+
in the Software without restriction, including without limitation the rights
|
| 426 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 427 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 428 |
+
furnished to do so, subject to the following conditions:
|
| 429 |
+
|
| 430 |
+
The above copyright notice and this permission notice shall be included in
|
| 431 |
+
all copies or substantial portions of the Software.
|
| 432 |
+
|
| 433 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 434 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 435 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 436 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 437 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 438 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 439 |
+
THE SOFTWARE.
|
| 440 |
+
|
| 441 |
+
com.googlecode.plist:dd-plist
|
| 442 |
+
dd-plist - An open source library to parse and generate property lists
|
| 443 |
+
Copyright (C) 2016 Daniel Dreibrodt
|
| 444 |
+
|
| 445 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 446 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 447 |
+
in the Software without restriction, including without limitation the rights
|
| 448 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 449 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 450 |
+
furnished to do so, subject to the following conditions:
|
| 451 |
+
|
| 452 |
+
The above copyright notice and this permission notice shall be included in
|
| 453 |
+
all copies or substantial portions of the Software.
|
| 454 |
+
|
| 455 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 456 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 457 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 458 |
+
AUTHORS OR COPYRIGHT HOLDER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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache Tika
|
| 2 |
+
Copyright 2021 The Apache Software Foundation
|
| 3 |
+
|
| 4 |
+
This product includes software developed at
|
| 5 |
+
The Apache Software Foundation (http://www.apache.org/).
|
| 6 |
+
|
| 7 |
+
Copyright 1993-2010 University Corporation for Atmospheric Research/Unidata
|
| 8 |
+
This software contains code derived from UCAR/Unidata's NetCDF library.
|
| 9 |
+
|
| 10 |
+
Tika-server component uses CDDL-licensed dependencies: jersey (http://jersey.java.net/) and
|
| 11 |
+
Grizzly (http://grizzly.java.net/)
|
| 12 |
+
|
| 13 |
+
Tika-parsers component uses CDDL/LGPL dual-licensed dependency: jhighlight (https://github.com/codelibs/jhighlight)
|
| 14 |
+
|
| 15 |
+
OpenCSV: Copyright 2005 Bytecode Pty Ltd. Licensed under the Apache License, Version 2.0
|
| 16 |
+
|
| 17 |
+
IPTC Photo Metadata descriptions Copyright 2010 International Press Telecommunications Council.
|
| 18 |
+
|
| 19 |
+
Tika-mimetypes.xml includes mimetype definitions that were adapted from the PRONOM Technical Registry
|
| 20 |
+
by The National Archives (http://www.nationalarchives.gov.uk/PRONOM/Default.aspx). PRONOM is published
|
| 21 |
+
under the Open Government License 3.0 (http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)
|
| 22 |
+
|
| 23 |
+
-------------------------------
|
| 24 |
+
For compatibility with Java > 8
|
| 25 |
+
org.glassfish.jaxb:jaxb-runtime
|
| 26 |
+
|
| 27 |
+
License: CDDL 1.1, GPL2 w/ CPE
|
| 28 |
+
|
| 29 |
+
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
|
| 30 |
+
1. Definitions.
|
| 31 |
+
|
| 32 |
+
1.1. "Contributor" means each individual or entity that creates or
|
| 33 |
+
contributes to the creation of Modifications.
|
| 34 |
+
|
| 35 |
+
1.2. "Contributor Version" means the combination of the Original
|
| 36 |
+
Software, prior Modifications used by a Contributor (if any), and
|
| 37 |
+
the Modifications made by that particular Contributor.
|
| 38 |
+
|
| 39 |
+
1.3. "Covered Software" means (a) the Original Software, or (b)
|
| 40 |
+
Modifications, or (c) the combination of files containing Original
|
| 41 |
+
Software with files containing Modifications, in each case including
|
| 42 |
+
portions thereof.
|
| 43 |
+
|
| 44 |
+
1.4. "Executable" means the Covered Software in any form other than
|
| 45 |
+
Source Code.
|
| 46 |
+
|
| 47 |
+
1.5. "Initial Developer" means the individual or entity that first
|
| 48 |
+
makes Original Software available under this License.
|
| 49 |
+
|
| 50 |
+
1.6. "Larger Work" means a work which combines Covered Software or
|
| 51 |
+
portions thereof with code not governed by the terms of this License.
|
| 52 |
+
|
| 53 |
+
1.7. "License" means this document.
|
| 54 |
+
|
| 55 |
+
1.8. "Licensable" means having the right to grant, to the maximum
|
| 56 |
+
extent possible, whether at the time of the initial grant or
|
| 57 |
+
subsequently acquired, any and all of the rights conveyed herein.
|
| 58 |
+
|
| 59 |
+
1.9. "Modifications" means the Source Code and Executable form of
|
| 60 |
+
any of the following:
|
| 61 |
+
|
| 62 |
+
A. Any file that results from an addition to, deletion from or
|
| 63 |
+
modification of the contents of a file containing Original Software
|
| 64 |
+
or previous Modifications;
|
| 65 |
+
|
| 66 |
+
B. Any new file that contains any part of the Original Software or
|
| 67 |
+
previous Modification; or
|
| 68 |
+
|
| 69 |
+
C. Any new file that is contributed or otherwise made available
|
| 70 |
+
under the terms of this License.
|
| 71 |
+
|
| 72 |
+
1.10. "Original Software" means the Source Code and Executable form
|
| 73 |
+
of computer software code that is originally released under this
|
| 74 |
+
License.
|
| 75 |
+
|
| 76 |
+
1.11. "Patent Claims" means any patent claim(s), now owned or
|
| 77 |
+
hereafter acquired, including without limitation, method, process,
|
| 78 |
+
and apparatus claims, in any patent Licensable by grantor.
|
| 79 |
+
|
| 80 |
+
1.12. "Source Code" means (a) the common form of computer software
|
| 81 |
+
code in which modifications are made and (b) associated
|
| 82 |
+
documentation included in or with such code.
|
| 83 |
+
|
| 84 |
+
1.13. "You" (or "Your") means an individual or a legal entity
|
| 85 |
+
exercising rights under, and complying with all of the terms of,
|
| 86 |
+
this License. For legal entities, "You" includes any entity which
|
| 87 |
+
controls, is controlled by, or is under common control with You. For
|
| 88 |
+
purposes of this definition, "control" means (a) the power, direct
|
| 89 |
+
or indirect, to cause the direction or management of such entity,
|
| 90 |
+
whether by contract or otherwise, or (b) ownership of more than
|
| 91 |
+
fifty percent (50%) of the outstanding shares or beneficial
|
| 92 |
+
ownership of such entity.
|
| 93 |
+
|
| 94 |
+
2. License Grants.
|
| 95 |
+
|
| 96 |
+
2.1. The Initial Developer Grant.
|
| 97 |
+
|
| 98 |
+
Conditioned upon Your compliance with Section 3.1 below and subject
|
| 99 |
+
to third party intellectual property claims, the Initial Developer
|
| 100 |
+
hereby grants You a world-wide, royalty-free, non-exclusive license:
|
| 101 |
+
|
| 102 |
+
(a) under intellectual property rights (other than patent or
|
| 103 |
+
trademark) Licensable by Initial Developer, to use, reproduce,
|
| 104 |
+
modify, display, perform, sublicense and distribute the Original
|
| 105 |
+
Software (or portions thereof), with or without Modifications,
|
| 106 |
+
and/or as part of a Larger Work; and
|
| 107 |
+
|
| 108 |
+
(b) under Patent Claims infringed by the making, using or selling of
|
| 109 |
+
Original Software, to make, have made, use, practice, sell, and
|
| 110 |
+
offer for sale, and/or otherwise dispose of the Original Software
|
| 111 |
+
(or portions thereof).
|
| 112 |
+
|
| 113 |
+
(c) The licenses granted in Sections 2.1(a) and (b) are effective on
|
| 114 |
+
the date Initial Developer first distributes or otherwise makes the
|
| 115 |
+
Original Software available to a third party under the terms of this
|
| 116 |
+
License.
|
| 117 |
+
|
| 118 |
+
(d) Notwithstanding Section 2.1(b) above, no patent license is
|
| 119 |
+
granted: (1) for code that You delete from the Original Software, or
|
| 120 |
+
(2) for infringements caused by: (i) the modification of the
|
| 121 |
+
Original Software, or (ii) the combination of the Original Software
|
| 122 |
+
with other software or devices.
|
| 123 |
+
|
| 124 |
+
2.2. Contributor Grant.
|
| 125 |
+
|
| 126 |
+
Conditioned upon Your compliance with Section 3.1 below and subject
|
| 127 |
+
to third party intellectual property claims, each Contributor hereby
|
| 128 |
+
grants You a world-wide, royalty-free, non-exclusive license:
|
| 129 |
+
|
| 130 |
+
(a) under intellectual property rights (other than patent or
|
| 131 |
+
trademark) Licensable by Contributor to use, reproduce, modify,
|
| 132 |
+
display, perform, sublicense and distribute the Modifications
|
| 133 |
+
created by such Contributor (or portions thereof), either on an
|
| 134 |
+
unmodified basis, with other Modifications, as Covered Software
|
| 135 |
+
and/or as part of a Larger Work; and
|
| 136 |
+
|
| 137 |
+
(b) under Patent Claims infringed by the making, using, or selling
|
| 138 |
+
of Modifications made by that Contributor either alone and/or in
|
| 139 |
+
combination with its Contributor Version (or portions of such
|
| 140 |
+
combination), to make, use, sell, offer for sale, have made, and/or
|
| 141 |
+
otherwise dispose of: (1) Modifications made by that Contributor (or
|
| 142 |
+
portions thereof); and (2) the combination of Modifications made by
|
| 143 |
+
that Contributor with its Contributor Version (or portions of such
|
| 144 |
+
combination).
|
| 145 |
+
|
| 146 |
+
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective
|
| 147 |
+
on the date Contributor first distributes or otherwise makes the
|
| 148 |
+
Modifications available to a third party.
|
| 149 |
+
|
| 150 |
+
(d) Notwithstanding Section 2.2(b) above, no patent license is
|
| 151 |
+
granted: (1) for any code that Contributor has deleted from the
|
| 152 |
+
Contributor Version; (2) for infringements caused by: (i) third
|
| 153 |
+
party modifications of Contributor Version, or (ii) the combination
|
| 154 |
+
of Modifications made by that Contributor with other software
|
| 155 |
+
(except as part of the Contributor Version) or other devices; or (3)
|
| 156 |
+
under Patent Claims infringed by Covered Software in the absence of
|
| 157 |
+
Modifications made by that Contributor.
|
| 158 |
+
|
| 159 |
+
3. Distribution Obligations.
|
| 160 |
+
|
| 161 |
+
3.1. Availability of Source Code.
|
| 162 |
+
|
| 163 |
+
Any Covered Software that You distribute or otherwise make available
|
| 164 |
+
in Executable form must also be made available in Source Code form
|
| 165 |
+
and that Source Code form must be distributed only under the terms
|
| 166 |
+
of this License. You must include a copy of this License with every
|
| 167 |
+
copy of the Source Code form of the Covered Software You distribute
|
| 168 |
+
or otherwise make available. You must inform recipients of any such
|
| 169 |
+
Covered Software in Executable form as to how they can obtain such
|
| 170 |
+
Covered Software in Source Code form in a reasonable manner on or
|
| 171 |
+
through a medium customarily used for software exchange.
|
| 172 |
+
|
| 173 |
+
3.2. Modifications.
|
| 174 |
+
|
| 175 |
+
The Modifications that You create or to which You contribute are
|
| 176 |
+
governed by the terms of this License. You represent that You
|
| 177 |
+
believe Your Modifications are Your original creation(s) and/or You
|
| 178 |
+
have sufficient rights to grant the rights conveyed by this License.
|
| 179 |
+
|
| 180 |
+
3.3. Required Notices.
|
| 181 |
+
|
| 182 |
+
You must include a notice in each of Your Modifications that
|
| 183 |
+
identifies You as the Contributor of the Modification. You may not
|
| 184 |
+
remove or alter any copyright, patent or trademark notices contained
|
| 185 |
+
within the Covered Software, or any notices of licensing or any
|
| 186 |
+
descriptive text giving attribution to any Contributor or the
|
| 187 |
+
Initial Developer.
|
| 188 |
+
|
| 189 |
+
3.4. Application of Additional Terms.
|
| 190 |
+
|
| 191 |
+
You may not offer or impose any terms on any Covered Software in
|
| 192 |
+
Source Code form that alters or restricts the applicable version of
|
| 193 |
+
this License or the recipients' rights hereunder. You may choose to
|
| 194 |
+
offer, and to charge a fee for, warranty, support, indemnity or
|
| 195 |
+
liability obligations to one or more recipients of Covered Software.
|
| 196 |
+
However, you may do so only on Your own behalf, and not on behalf of
|
| 197 |
+
the Initial Developer or any Contributor. You must make it
|
| 198 |
+
absolutely clear that any such warranty, support, indemnity or
|
| 199 |
+
liability obligation is offered by You alone, and You hereby agree
|
| 200 |
+
to indemnify the Initial Developer and every Contributor for any
|
| 201 |
+
liability incurred by the Initial Developer or such Contributor as a
|
| 202 |
+
result of warranty, support, indemnity or liability terms You offer.
|
| 203 |
+
|
| 204 |
+
3.5. Distribution of Executable Versions.
|
| 205 |
+
|
| 206 |
+
You may distribute the Executable form of the Covered Software under
|
| 207 |
+
the terms of this License or under the terms of a license of Your
|
| 208 |
+
choice, which may contain terms different from this License,
|
| 209 |
+
provided that You are in compliance with the terms of this License
|
| 210 |
+
and that the license for the Executable form does not attempt to
|
| 211 |
+
limit or alter the recipient's rights in the Source Code form from
|
| 212 |
+
the rights set forth in this License. If You distribute the Covered
|
| 213 |
+
Software in Executable form under a different license, You must make
|
| 214 |
+
it absolutely clear that any terms which differ from this License
|
| 215 |
+
are offered by You alone, not by the Initial Developer or
|
| 216 |
+
Contributor. You hereby agree to indemnify the Initial Developer and
|
| 217 |
+
every Contributor for any liability incurred by the Initial
|
| 218 |
+
Developer or such Contributor as a result of any such terms You offer.
|
| 219 |
+
|
| 220 |
+
3.6. Larger Works.
|
| 221 |
+
|
| 222 |
+
You may create a Larger Work by combining Covered Software with
|
| 223 |
+
other code not governed by the terms of this License and distribute
|
| 224 |
+
the Larger Work as a single product. In such a case, You must make
|
| 225 |
+
sure the requirements of this License are fulfilled for the Covered
|
| 226 |
+
Software.
|
| 227 |
+
|
| 228 |
+
4. Versions of the License.
|
| 229 |
+
|
| 230 |
+
4.1. New Versions.
|
| 231 |
+
|
| 232 |
+
Oracle is the initial license steward and may publish revised and/or
|
| 233 |
+
new versions of this License from time to time. Each version will be
|
| 234 |
+
given a distinguishing version number. Except as provided in Section
|
| 235 |
+
4.3, no one other than the license steward has the right to modify
|
| 236 |
+
this License.
|
| 237 |
+
|
| 238 |
+
4.2. Effect of New Versions.
|
| 239 |
+
|
| 240 |
+
You may always continue to use, distribute or otherwise make the
|
| 241 |
+
Covered Software available under the terms of the version of the
|
| 242 |
+
License under which You originally received the Covered Software. If
|
| 243 |
+
the Initial Developer includes a notice in the Original Software
|
| 244 |
+
prohibiting it from being distributed or otherwise made available
|
| 245 |
+
under any subsequent version of the License, You must distribute and
|
| 246 |
+
make the Covered Software available under the terms of the version
|
| 247 |
+
of the License under which You originally received the Covered
|
| 248 |
+
Software. Otherwise, You may also choose to use, distribute or
|
| 249 |
+
otherwise make the Covered Software available under the terms of any
|
| 250 |
+
subsequent version of the License published by the license steward.
|
| 251 |
+
|
| 252 |
+
4.3. Modified Versions.
|
| 253 |
+
|
| 254 |
+
When You are an Initial Developer and You want to create a new
|
| 255 |
+
license for Your Original Software, You may create and use a
|
| 256 |
+
modified version of this License if You: (a) rename the license and
|
| 257 |
+
remove any references to the name of the license steward (except to
|
| 258 |
+
note that the license differs from this License); and (b) otherwise
|
| 259 |
+
make it clear that the license contains terms which differ from this
|
| 260 |
+
License.
|
| 261 |
+
|
| 262 |
+
5. DISCLAIMER OF WARRANTY.
|
| 263 |
+
|
| 264 |
+
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
|
| 265 |
+
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
| 266 |
+
INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE
|
| 267 |
+
IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
|
| 268 |
+
NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
|
| 269 |
+
THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
|
| 270 |
+
DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
|
| 271 |
+
OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
|
| 272 |
+
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
|
| 273 |
+
ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS
|
| 274 |
+
AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
| 275 |
+
|
| 276 |
+
6. TERMINATION.
|
| 277 |
+
|
| 278 |
+
6.1. This License and the rights granted hereunder will terminate
|
| 279 |
+
automatically if You fail to comply with terms herein and fail to
|
| 280 |
+
cure such breach within 30 days of becoming aware of the breach.
|
| 281 |
+
Provisions which, by their nature, must remain in effect beyond the
|
| 282 |
+
termination of this License shall survive.
|
| 283 |
+
|
| 284 |
+
6.2. If You assert a patent infringement claim (excluding
|
| 285 |
+
declaratory judgment actions) against Initial Developer or a
|
| 286 |
+
Contributor (the Initial Developer or Contributor against whom You
|
| 287 |
+
assert such claim is referred to as "Participant") alleging that the
|
| 288 |
+
Participant Software (meaning the Contributor Version where the
|
| 289 |
+
Participant is a Contributor or the Original Software where the
|
| 290 |
+
Participant is the Initial Developer) directly or indirectly
|
| 291 |
+
infringes any patent, then any and all rights granted directly or
|
| 292 |
+
indirectly to You by such Participant, the Initial Developer (if the
|
| 293 |
+
Initial Developer is not the Participant) and all Contributors under
|
| 294 |
+
Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
|
| 295 |
+
from Participant terminate prospectively and automatically at the
|
| 296 |
+
expiration of such 60 day notice period, unless if within such 60
|
| 297 |
+
day period You withdraw Your claim with respect to the Participant
|
| 298 |
+
Software against such Participant either unilaterally or pursuant to
|
| 299 |
+
a written agreement with Participant.
|
| 300 |
+
|
| 301 |
+
6.3. If You assert a patent infringement claim against Participant
|
| 302 |
+
alleging that the Participant Software directly or indirectly
|
| 303 |
+
infringes any patent where such claim is resolved (such as by
|
| 304 |
+
license or settlement) prior to the initiation of patent
|
| 305 |
+
infringement litigation, then the reasonable value of the licenses
|
| 306 |
+
granted by such Participant under Sections 2.1 or 2.2 shall be taken
|
| 307 |
+
into account in determining the amount or value of any payment or
|
| 308 |
+
license.
|
| 309 |
+
|
| 310 |
+
6.4. In the event of termination under Sections 6.1 or 6.2 above,
|
| 311 |
+
all end user licenses that have been validly granted by You or any
|
| 312 |
+
distributor hereunder prior to termination (excluding licenses
|
| 313 |
+
granted to You by any distributor) shall survive termination.
|
| 314 |
+
|
| 315 |
+
7. LIMITATION OF LIABILITY.
|
| 316 |
+
|
| 317 |
+
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
|
| 318 |
+
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
|
| 319 |
+
INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
|
| 320 |
+
COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE
|
| 321 |
+
TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
|
| 322 |
+
CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
|
| 323 |
+
LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
|
| 324 |
+
FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
|
| 325 |
+
LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
|
| 326 |
+
POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT
|
| 327 |
+
APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
|
| 328 |
+
PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
|
| 329 |
+
LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
|
| 330 |
+
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
|
| 331 |
+
AND LIMITATION MAY NOT APPLY TO YOU.
|
| 332 |
+
|
| 333 |
+
8. U.S. GOVERNMENT END USERS.
|
| 334 |
+
|
| 335 |
+
The Covered Software is a "commercial item," as that term is defined
|
| 336 |
+
in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
|
| 337 |
+
software" (as that term is defined at 48 C.F.R. §
|
| 338 |
+
252.227-7014(a)(1)) and "commercial computer software documentation"
|
| 339 |
+
as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent
|
| 340 |
+
with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
|
| 341 |
+
(June 1995), all U.S. Government End Users acquire Covered Software
|
| 342 |
+
with only those rights set forth herein. This U.S. Government Rights
|
| 343 |
+
clause is in lieu of, and supersedes, any other FAR, DFAR, or other
|
| 344 |
+
clause or provision that addresses Government rights in computer
|
| 345 |
+
software under this License.
|
| 346 |
+
|
| 347 |
+
9. MISCELLANEOUS.
|
| 348 |
+
|
| 349 |
+
This License represents the complete agreement concerning subject
|
| 350 |
+
matter hereof. If any provision of this License is held to be
|
| 351 |
+
unenforceable, such provision shall be reformed only to the extent
|
| 352 |
+
necessary to make it enforceable. This License shall be governed by
|
| 353 |
+
the law of the jurisdiction specified in a notice contained within
|
| 354 |
+
the Original Software (except to the extent applicable law, if any,
|
| 355 |
+
provides otherwise), excluding such jurisdiction's conflict-of-law
|
| 356 |
+
provisions. Any litigation relating to this License shall be subject
|
| 357 |
+
to the jurisdiction of the courts located in the jurisdiction and
|
| 358 |
+
venue specified in a notice contained within the Original Software,
|
| 359 |
+
with the losing party responsible for costs, including, without
|
| 360 |
+
limitation, court costs and reasonable attorneys' fees and expenses.
|
| 361 |
+
The application of the United Nations Convention on Contracts for
|
| 362 |
+
the International Sale of Goods is expressly excluded. Any law or
|
| 363 |
+
regulation which provides that the language of a contract shall be
|
| 364 |
+
construed against the drafter shall not apply to this License. You
|
| 365 |
+
agree that You alone are responsible for compliance with the United
|
| 366 |
+
States export administration regulations (and the export control
|
| 367 |
+
laws and regulation of any other countries) when You use, distribute
|
| 368 |
+
or otherwise make available any Covered Software.
|
| 369 |
+
|
| 370 |
+
10. RESPONSIBILITY FOR CLAIMS.
|
| 371 |
+
|
| 372 |
+
As between Initial Developer and the Contributors, each party is
|
| 373 |
+
responsible for claims and damages arising, directly or indirectly,
|
| 374 |
+
out of its utilization of rights under this License and You agree to
|
| 375 |
+
work with Initial Developer and Contributors to distribute such
|
| 376 |
+
responsibility on an equitable basis. Nothing herein is intended or
|
| 377 |
+
shall be deemed to constitute any admission of liability.
|
| 378 |
+
|
| 379 |
+
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
|
| 380 |
+
|
| 381 |
+
The code released under the CDDL shall be governed by the laws of the
|
| 382 |
+
State of California (excluding conflict-of-law provisions). Any
|
| 383 |
+
litigation relating to this License shall be subject to the jurisdiction
|
| 384 |
+
of the Federal Courts of the Northern District of California and the
|
| 385 |
+
state courts of the State of California, with venue lying in Santa Clara
|
| 386 |
+
County, California.
|
| 387 |
+
|
| 388 |
+
The GNU General Public License (GPL) Version 2, June 1991
|
| 389 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
| 390 |
+
51 Franklin Street, Fifth Floor
|
| 391 |
+
Boston, MA 02110-1335
|
| 392 |
+
USA
|
| 393 |
+
|
| 394 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 395 |
+
of this license document, but changing it is not allowed.
|
| 396 |
+
|
| 397 |
+
Preamble
|
| 398 |
+
|
| 399 |
+
The licenses for most software are designed to take away your freedom to
|
| 400 |
+
share and change it. By contrast, the GNU General Public License is
|
| 401 |
+
intended to guarantee your freedom to share and change free software--to
|
| 402 |
+
make sure the software is free for all its users. This General Public
|
| 403 |
+
License applies to most of the Free Software Foundation's software and
|
| 404 |
+
to any other program whose authors commit to using it. (Some other Free
|
| 405 |
+
Software Foundation software is covered by the GNU Library General
|
| 406 |
+
Public License instead.) You can apply it to your programs, too.
|
| 407 |
+
|
| 408 |
+
When we speak of free software, we are referring to freedom, not price.
|
| 409 |
+
Our General Public Licenses are designed to make sure that you have the
|
| 410 |
+
freedom to distribute copies of free software (and charge for this
|
| 411 |
+
service if you wish), that you receive source code or can get it if you
|
| 412 |
+
want it, that you can change the software or use pieces of it in new
|
| 413 |
+
free programs; and that you know you can do these things.
|
| 414 |
+
|
| 415 |
+
To protect your rights, we need to make restrictions that forbid anyone
|
| 416 |
+
to deny you these rights or to ask you to surrender the rights. These
|
| 417 |
+
restrictions translate to certain responsibilities for you if you
|
| 418 |
+
distribute copies of the software, or if you modify it.
|
| 419 |
+
|
| 420 |
+
For example, if you distribute copies of such a program, whether gratis
|
| 421 |
+
or for a fee, you must give the recipients all the rights that you have.
|
| 422 |
+
You must make sure that they, too, receive or can get the source code.
|
| 423 |
+
And you must show them these terms so they know their rights.
|
| 424 |
+
|
| 425 |
+
We protect your rights with two steps: (1) copyright the software, and
|
| 426 |
+
(2) offer you this license which gives you legal permission to copy,
|
| 427 |
+
distribute and/or modify the software.
|
| 428 |
+
|
| 429 |
+
Also, for each author's protection and ours, we want to make certain
|
| 430 |
+
that everyone understands that there is no warranty for this free
|
| 431 |
+
software. If the software is modified by someone else and passed on, we
|
| 432 |
+
want its recipients to know that what they have is not the original, so
|
| 433 |
+
that any problems introduced by others will not reflect on the original
|
| 434 |
+
authors' reputations.
|
| 435 |
+
|
| 436 |
+
Finally, any free program is threatened constantly by software patents.
|
| 437 |
+
We wish to avoid the danger that redistributors of a free program will
|
| 438 |
+
individually obtain patent licenses, in effect making the program
|
| 439 |
+
proprietary. To prevent this, we have made it clear that any patent must
|
| 440 |
+
be licensed for everyone's free use or not licensed at all.
|
| 441 |
+
|
| 442 |
+
The precise terms and conditions for copying, distribution and
|
| 443 |
+
modification follow.
|
| 444 |
+
|
| 445 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
| 446 |
+
|
| 447 |
+
0. This License applies to any program or other work which contains a
|
| 448 |
+
notice placed by the copyright holder saying it may be distributed under
|
| 449 |
+
the terms of this General Public License. The "Program", below, refers
|
| 450 |
+
to any such program or work, and a "work based on the Program" means
|
| 451 |
+
either the Program or any derivative work under copyright law: that is
|
| 452 |
+
to say, a work containing the Program or a portion of it, either
|
| 453 |
+
verbatim or with modifications and/or translated into another language.
|
| 454 |
+
(Hereinafter, translation is included without limitation in the term
|
| 455 |
+
"modification".) Each licensee is addressed as "you".
|
| 456 |
+
|
| 457 |
+
Activities other than copying, distribution and modification are not
|
| 458 |
+
covered by this License; they are outside its scope. The act of running
|
| 459 |
+
the Program is not restricted, and the output from the Program is
|
| 460 |
+
covered only if its contents constitute a work based on the Program
|
| 461 |
+
(independent of having been made by running the Program). Whether that
|
| 462 |
+
is true depends on what the Program does.
|
| 463 |
+
|
| 464 |
+
1. You may copy and distribute verbatim copies of the Program's source
|
| 465 |
+
code as you receive it, in any medium, provided that you conspicuously
|
| 466 |
+
and appropriately publish on each copy an appropriate copyright notice
|
| 467 |
+
and disclaimer of warranty; keep intact all the notices that refer to
|
| 468 |
+
this License and to the absence of any warranty; and give any other
|
| 469 |
+
recipients of the Program a copy of this License along with the Program.
|
| 470 |
+
|
| 471 |
+
You may charge a fee for the physical act of transferring a copy, and
|
| 472 |
+
you may at your option offer warranty protection in exchange for a fee.
|
| 473 |
+
|
| 474 |
+
2. You may modify your copy or copies of the Program or any portion of
|
| 475 |
+
it, thus forming a work based on the Program, and copy and distribute
|
| 476 |
+
such modifications or work under the terms of Section 1 above, provided
|
| 477 |
+
that you also meet all of these conditions:
|
| 478 |
+
|
| 479 |
+
a) You must cause the modified files to carry prominent notices
|
| 480 |
+
stating that you changed the files and the date of any change.
|
| 481 |
+
|
| 482 |
+
b) You must cause any work that you distribute or publish, that in
|
| 483 |
+
whole or in part contains or is derived from the Program or any part
|
| 484 |
+
thereof, to be licensed as a whole at no charge to all third parties
|
| 485 |
+
under the terms of this License.
|
| 486 |
+
|
| 487 |
+
c) If the modified program normally reads commands interactively
|
| 488 |
+
when run, you must cause it, when started running for such
|
| 489 |
+
interactive use in the most ordinary way, to print or display an
|
| 490 |
+
announcement including an appropriate copyright notice and a notice
|
| 491 |
+
that there is no warranty (or else, saying that you provide a
|
| 492 |
+
warranty) and that users may redistribute the program under these
|
| 493 |
+
conditions, and telling the user how to view a copy of this License.
|
| 494 |
+
(Exception: if the Program itself is interactive but does not
|
| 495 |
+
normally print such an announcement, your work based on the Program
|
| 496 |
+
is not required to print an announcement.)
|
| 497 |
+
|
| 498 |
+
These requirements apply to the modified work as a whole. If
|
| 499 |
+
identifiable sections of that work are not derived from the Program, and
|
| 500 |
+
can be reasonably considered independent and separate works in
|
| 501 |
+
themselves, then this License, and its terms, do not apply to those
|
| 502 |
+
sections when you distribute them as separate works. But when you
|
| 503 |
+
distribute the same sections as part of a whole which is a work based on
|
| 504 |
+
the Program, the distribution of the whole must be on the terms of this
|
| 505 |
+
License, whose permissions for other licensees extend to the entire
|
| 506 |
+
whole, and thus to each and every part regardless of who wrote it.
|
| 507 |
+
|
| 508 |
+
Thus, it is not the intent of this section to claim rights or contest
|
| 509 |
+
your rights to work written entirely by you; rather, the intent is to
|
| 510 |
+
exercise the right to control the distribution of derivative or
|
| 511 |
+
collective works based on the Program.
|
| 512 |
+
|
| 513 |
+
In addition, mere aggregation of another work not based on the Program
|
| 514 |
+
with the Program (or with a work based on the Program) on a volume of a
|
| 515 |
+
storage or distribution medium does not bring the other work under the
|
| 516 |
+
scope of this License.
|
| 517 |
+
|
| 518 |
+
3. You may copy and distribute the Program (or a work based on it,
|
| 519 |
+
under Section 2) in object code or executable form under the terms of
|
| 520 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
| 521 |
+
|
| 522 |
+
a) Accompany it with the complete corresponding machine-readable
|
| 523 |
+
source code, which must be distributed under the terms of Sections 1
|
| 524 |
+
and 2 above on a medium customarily used for software interchange; or,
|
| 525 |
+
|
| 526 |
+
b) Accompany it with a written offer, valid for at least three
|
| 527 |
+
years, to give any third party, for a charge no more than your cost
|
| 528 |
+
of physically performing source distribution, a complete
|
| 529 |
+
machine-readable copy of the corresponding source code, to be
|
| 530 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
| 531 |
+
customarily used for software interchange; or,
|
| 532 |
+
|
| 533 |
+
c) Accompany it with the information you received as to the offer to
|
| 534 |
+
distribute corresponding source code. (This alternative is allowed
|
| 535 |
+
only for noncommercial distribution and only if you received the
|
| 536 |
+
program in object code or executable form with such an offer, in
|
| 537 |
+
accord with Subsection b above.)
|
| 538 |
+
|
| 539 |
+
The source code for a work means the preferred form of the work for
|
| 540 |
+
making modifications to it. For an executable work, complete source code
|
| 541 |
+
means all the source code for all modules it contains, plus any
|
| 542 |
+
associated interface definition files, plus the scripts used to control
|
| 543 |
+
compilation and installation of the executable. However, as a special
|
| 544 |
+
exception, the source code distributed need not include anything that is
|
| 545 |
+
normally distributed (in either source or binary form) with the major
|
| 546 |
+
components (compiler, kernel, and so on) of the operating system on
|
| 547 |
+
which the executable runs, unless that component itself accompanies the
|
| 548 |
+
executable.
|
| 549 |
+
|
| 550 |
+
If distribution of executable or object code is made by offering access
|
| 551 |
+
to copy from a designated place, then offering equivalent access to copy
|
| 552 |
+
the source code from the same place counts as distribution of the source
|
| 553 |
+
code, even though third parties are not compelled to copy the source
|
| 554 |
+
along with the object code.
|
| 555 |
+
|
| 556 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
| 557 |
+
except as expressly provided under this License. Any attempt otherwise
|
| 558 |
+
to copy, modify, sublicense or distribute the Program is void, and will
|
| 559 |
+
automatically terminate your rights under this License. However, parties
|
| 560 |
+
who have received copies, or rights, from you under this License will
|
| 561 |
+
not have their licenses terminated so long as such parties remain in
|
| 562 |
+
full compliance.
|
| 563 |
+
|
| 564 |
+
5. You are not required to accept this License, since you have not
|
| 565 |
+
signed it. However, nothing else grants you permission to modify or
|
| 566 |
+
distribute the Program or its derivative works. These actions are
|
| 567 |
+
prohibited by law if you do not accept this License. Therefore, by
|
| 568 |
+
modifying or distributing the Program (or any work based on the
|
| 569 |
+
Program), you indicate your acceptance of this License to do so, and all
|
| 570 |
+
its terms and conditions for copying, distributing or modifying the
|
| 571 |
+
Program or works based on it.
|
| 572 |
+
|
| 573 |
+
6. Each time you redistribute the Program (or any work based on the
|
| 574 |
+
Program), the recipient automatically receives a license from the
|
| 575 |
+
original licensor to copy, distribute or modify the Program subject to
|
| 576 |
+
these terms and conditions. You may not impose any further restrictions
|
| 577 |
+
on the recipients' exercise of the rights granted herein. You are not
|
| 578 |
+
responsible for enforcing compliance by third parties to this License.
|
| 579 |
+
|
| 580 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
| 581 |
+
infringement or for any other reason (not limited to patent issues),
|
| 582 |
+
conditions are imposed on you (whether by court order, agreement or
|
| 583 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 584 |
+
excuse you from the conditions of this License. If you cannot distribute
|
| 585 |
+
so as to satisfy simultaneously your obligations under this License and
|
| 586 |
+
any other pertinent obligations, then as a consequence you may not
|
| 587 |
+
distribute the Program at all. For example, if a patent license would
|
| 588 |
+
not permit royalty-free redistribution of the Program by all those who
|
| 589 |
+
receive copies directly or indirectly through you, then the only way you
|
| 590 |
+
could satisfy both it and this License would be to refrain entirely from
|
| 591 |
+
distribution of the Program.
|
| 592 |
+
|
| 593 |
+
If any portion of this section is held invalid or unenforceable under
|
| 594 |
+
any particular circumstance, the balance of the section is intended to
|
| 595 |
+
apply and the section as a whole is intended to apply in other
|
| 596 |
+
circumstances.
|
| 597 |
+
|
| 598 |
+
It is not the purpose of this section to induce you to infringe any
|
| 599 |
+
patents or other property right claims or to contest validity of any
|
| 600 |
+
such claims; this section has the sole purpose of protecting the
|
| 601 |
+
integrity of the free software distribution system, which is implemented
|
| 602 |
+
by public license practices. Many people have made generous
|
| 603 |
+
contributions to the wide range of software distributed through that
|
| 604 |
+
system in reliance on consistent application of that system; it is up to
|
| 605 |
+
the author/donor to decide if he or she is willing to distribute
|
| 606 |
+
software through any other system and a licensee cannot impose that choice.
|
| 607 |
+
|
| 608 |
+
This section is intended to make thoroughly clear what is believed to be
|
| 609 |
+
a consequence of the rest of this License.
|
| 610 |
+
|
| 611 |
+
8. If the distribution and/or use of the Program is restricted in
|
| 612 |
+
certain countries either by patents or by copyrighted interfaces, the
|
| 613 |
+
original copyright holder who places the Program under this License may
|
| 614 |
+
add an explicit geographical distribution limitation excluding those
|
| 615 |
+
countries, so that distribution is permitted only in or among countries
|
| 616 |
+
not thus excluded. In such case, this License incorporates the
|
| 617 |
+
limitation as if written in the body of this License.
|
| 618 |
+
|
| 619 |
+
9. The Free Software Foundation may publish revised and/or new
|
| 620 |
+
versions of the General Public License from time to time. Such new
|
| 621 |
+
versions will be similar in spirit to the present version, but may
|
| 622 |
+
differ in detail to address new problems or concerns.
|
| 623 |
+
|
| 624 |
+
Each version is given a distinguishing version number. If the Program
|
| 625 |
+
specifies a version number of this License which applies to it and "any
|
| 626 |
+
later version", you have the option of following the terms and
|
| 627 |
+
conditions either of that version or of any later version published by
|
| 628 |
+
the Free Software Foundation. If the Program does not specify a version
|
| 629 |
+
number of this License, you may choose any version ever published by the
|
| 630 |
+
Free Software Foundation.
|
| 631 |
+
|
| 632 |
+
10. If you wish to incorporate parts of the Program into other free
|
| 633 |
+
programs whose distribution conditions are different, write to the
|
| 634 |
+
author to ask for permission. For software which is copyrighted by the
|
| 635 |
+
Free Software Foundation, write to the Free Software Foundation; we
|
| 636 |
+
sometimes make exceptions for this. Our decision will be guided by the
|
| 637 |
+
two goals of preserving the free status of all derivatives of our free
|
| 638 |
+
software and of promoting the sharing and reuse of software generally.
|
| 639 |
+
|
| 640 |
+
NO WARRANTY
|
| 641 |
+
|
| 642 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
| 643 |
+
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
| 644 |
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
| 645 |
+
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
| 646 |
+
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 647 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
| 648 |
+
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
|
| 649 |
+
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
|
| 650 |
+
NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 651 |
+
|
| 652 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
| 653 |
+
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
| 654 |
+
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
|
| 655 |
+
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
| 656 |
+
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
|
| 657 |
+
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
|
| 658 |
+
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
|
| 659 |
+
THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
|
| 660 |
+
OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 661 |
+
|
| 662 |
+
END OF TERMS AND CONDITIONS
|
| 663 |
+
|
| 664 |
+
How to Apply These Terms to Your New Programs
|
| 665 |
+
|
| 666 |
+
If you develop a new program, and you want it to be of the greatest
|
| 667 |
+
possible use to the public, the best way to achieve this is to make it
|
| 668 |
+
free software which everyone can redistribute and change under these terms.
|
| 669 |
+
|
| 670 |
+
To do so, attach the following notices to the program. It is safest to
|
| 671 |
+
attach them to the start of each source file to most effectively convey
|
| 672 |
+
the exclusion of warranty; and each file should have at least the
|
| 673 |
+
"copyright" line and a pointer to where the full notice is found.
|
| 674 |
+
|
| 675 |
+
One line to give the program's name and a brief idea of what it does.
|
| 676 |
+
Copyright (C) <year> <name of author>
|
| 677 |
+
|
| 678 |
+
This program is free software; you can redistribute it and/or modify
|
| 679 |
+
it under the terms of the GNU General Public License as published by
|
| 680 |
+
the Free Software Foundation; either version 2 of the License, or
|
| 681 |
+
(at your option) any later version.
|
| 682 |
+
|
| 683 |
+
This program is distributed in the hope that it will be useful, but
|
| 684 |
+
WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 685 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 686 |
+
General Public License for more details.
|
| 687 |
+
|
| 688 |
+
You should have received a copy of the GNU General Public License
|
| 689 |
+
along with this program; if not, write to the Free Software
|
| 690 |
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
|
| 691 |
+
|
| 692 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 693 |
+
|
| 694 |
+
If the program is interactive, make it output a short notice like this
|
| 695 |
+
when it starts in an interactive mode:
|
| 696 |
+
|
| 697 |
+
Gnomovision version 69, Copyright (C) year name of author
|
| 698 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
|
| 699 |
+
`show w'. This is free software, and you are welcome to redistribute
|
| 700 |
+
it under certain conditions; type `show c' for details.
|
| 701 |
+
|
| 702 |
+
The hypothetical commands `show w' and `show c' should show the
|
| 703 |
+
appropriate parts of the General Public License. Of course, the commands
|
| 704 |
+
you use may be called something other than `show w' and `show c'; they
|
| 705 |
+
could even be mouse-clicks or menu items--whatever suits your program.
|
| 706 |
+
|
| 707 |
+
You should also get your employer (if you work as a programmer) or your
|
| 708 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
| 709 |
+
necessary. Here is a sample; alter the names:
|
| 710 |
+
|
| 711 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
| 712 |
+
program `Gnomovision' (which makes passes at compilers) written by
|
| 713 |
+
James Hacker.
|
| 714 |
+
|
| 715 |
+
signature of Ty Coon, 1 April 1989
|
| 716 |
+
Ty Coon, President of Vice
|
| 717 |
+
|
| 718 |
+
This General Public License does not permit incorporating your program
|
| 719 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 720 |
+
may consider it more useful to permit linking proprietary applications
|
| 721 |
+
with the library. If this is what you want to do, use the GNU Library
|
| 722 |
+
General Public License instead of this License.
|
| 723 |
+
Certain source files distributed by Oracle America, Inc. and/or its
|
| 724 |
+
affiliates are subject to the following clarification and special
|
| 725 |
+
exception to the GPLv2, based on the GNU Project exception for its
|
| 726 |
+
Classpath libraries, known as the GNU Classpath Exception, but only
|
| 727 |
+
where Oracle has expressly included in the particular source file's
|
| 728 |
+
header the words "Oracle designates this particular file as subject to
|
| 729 |
+
the "Classpath" exception as provided by Oracle in the LICENSE file
|
| 730 |
+
that accompanied this code."
|
| 731 |
+
|
| 732 |
+
You should also note that Oracle includes multiple, independent
|
| 733 |
+
programs in this software package. Some of those programs are provided
|
| 734 |
+
under licenses deemed incompatible with the GPLv2 by the Free Software
|
| 735 |
+
Foundation and others. For example, the package includes programs
|
| 736 |
+
licensed under the Apache License, Version 2.0. Such programs are
|
| 737 |
+
licensed to you under their original licenses.
|
| 738 |
+
|
| 739 |
+
Oracle facilitates your further distribution of this package by adding
|
| 740 |
+
the Classpath Exception to the necessary parts of its GPLv2 code, which
|
| 741 |
+
permits you to use that code in combination with other independent
|
| 742 |
+
modules not licensed under the GPLv2. However, note that this would
|
| 743 |
+
not permit you to commingle code under an incompatible license with
|
| 744 |
+
Oracle's GPLv2 licensed code by, for example, cutting and pasting such
|
| 745 |
+
code into a file also containing Oracle's GPLv2 licensed code and then
|
| 746 |
+
distributing the result. Additionally, if you were to remove the
|
| 747 |
+
Classpath Exception from any of the files to which it applies and
|
| 748 |
+
distribute the result, you would likely be required to license some or
|
| 749 |
+
all of the other code in that distribution under the GPLv2 as well, and
|
| 750 |
+
since the GPLv2 is incompatible with the license terms of some items
|
| 751 |
+
included in the distribution by Oracle, removing the Classpath
|
| 752 |
+
Exception could therefore effectively compromise your ability to
|
| 753 |
+
further distribute the package.
|
| 754 |
+
|
| 755 |
+
Proceed with caution and we recommend that you obtain the advice of a
|
| 756 |
+
lawyer skilled in open source matters before removing the Classpath
|
| 757 |
+
Exception or making modifications to this package which may
|
| 758 |
+
subsequently be redistributed and/or involve the use of third party
|
| 759 |
+
software.
|
| 760 |
+
|
| 761 |
+
CLASSPATH EXCEPTION
|
| 762 |
+
Linking this library statically or dynamically with other modules is
|
| 763 |
+
making a combined work based on this library. Thus, the terms and
|
| 764 |
+
conditions of the GNU General Public License version 2 cover the whole
|
| 765 |
+
combination.
|
| 766 |
+
|
| 767 |
+
As a special exception, the copyright holders of this library give you
|
| 768 |
+
permission to link this library with independent modules to produce an
|
| 769 |
+
executable, regardless of the license terms of these independent
|
| 770 |
+
modules, and to copy and distribute the resulting executable under
|
| 771 |
+
terms of your choice, provided that you also meet, for each linked
|
| 772 |
+
independent module, the terms and conditions of the license of that
|
| 773 |
+
module. An independent module is a module which is not derived from or
|
| 774 |
+
based on this library. If you modify this library, you may extend this
|
| 775 |
+
exception to your version of the library, but you are not obligated to
|
| 776 |
+
do so. If you do not wish to do so, delete this exception statement
|
| 777 |
+
from your version.
|
| 778 |
+
|
| 779 |
+
|
| 780 |
+
-------------------------------
|
| 781 |
+
For compatibility with Java > 8
|
| 782 |
+
com.sun.activation:javax.activation
|
| 783 |
+
|
| 784 |
+
License: CDDL 1.1, GPL2 w/ CPE
|
| 785 |
+
|
| 786 |
+
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
|
| 787 |
+
|
| 788 |
+
1. Definitions.
|
| 789 |
+
|
| 790 |
+
1.1. "Contributor" means each individual or entity that creates or
|
| 791 |
+
contributes to the creation of Modifications.
|
| 792 |
+
|
| 793 |
+
1.2. "Contributor Version" means the combination of the Original
|
| 794 |
+
Software, prior Modifications used by a Contributor (if any), and
|
| 795 |
+
the Modifications made by that particular Contributor.
|
| 796 |
+
|
| 797 |
+
1.3. "Covered Software" means (a) the Original Software, or (b)
|
| 798 |
+
Modifications, or (c) the combination of files containing Original
|
| 799 |
+
Software with files containing Modifications, in each case including
|
| 800 |
+
portions thereof.
|
| 801 |
+
|
| 802 |
+
1.4. "Executable" means the Covered Software in any form other than
|
| 803 |
+
Source Code.
|
| 804 |
+
|
| 805 |
+
1.5. "Initial Developer" means the individual or entity that first
|
| 806 |
+
makes Original Software available under this License.
|
| 807 |
+
|
| 808 |
+
1.6. "Larger Work" means a work which combines Covered Software or
|
| 809 |
+
portions thereof with code not governed by the terms of this License.
|
| 810 |
+
|
| 811 |
+
1.7. "License" means this document.
|
| 812 |
+
|
| 813 |
+
1.8. "Licensable" means having the right to grant, to the maximum
|
| 814 |
+
extent possible, whether at the time of the initial grant or
|
| 815 |
+
subsequently acquired, any and all of the rights conveyed herein.
|
| 816 |
+
|
| 817 |
+
1.9. "Modifications" means the Source Code and Executable form of
|
| 818 |
+
any of the following:
|
| 819 |
+
|
| 820 |
+
A. Any file that results from an addition to, deletion from or
|
| 821 |
+
modification of the contents of a file containing Original Software
|
| 822 |
+
or previous Modifications;
|
| 823 |
+
|
| 824 |
+
B. Any new file that contains any part of the Original Software or
|
| 825 |
+
previous Modification; or
|
| 826 |
+
|
| 827 |
+
C. Any new file that is contributed or otherwise made available
|
| 828 |
+
under the terms of this License.
|
| 829 |
+
|
| 830 |
+
1.10. "Original Software" means the Source Code and Executable form
|
| 831 |
+
of computer software code that is originally released under this
|
| 832 |
+
License.
|
| 833 |
+
|
| 834 |
+
1.11. "Patent Claims" means any patent claim(s), now owned or
|
| 835 |
+
hereafter acquired, including without limitation, method, process,
|
| 836 |
+
and apparatus claims, in any patent Licensable by grantor.
|
| 837 |
+
|
| 838 |
+
1.12. "Source Code" means (a) the common form of computer software
|
| 839 |
+
code in which modifications are made and (b) associated
|
| 840 |
+
documentation included in or with such code.
|
| 841 |
+
|
| 842 |
+
1.13. "You" (or "Your") means an individual or a legal entity
|
| 843 |
+
exercising rights under, and complying with all of the terms of,
|
| 844 |
+
this License. For legal entities, "You" includes any entity which
|
| 845 |
+
controls, is controlled by, or is under common control with You. For
|
| 846 |
+
purposes of this definition, "control" means (a) the power, direct
|
| 847 |
+
or indirect, to cause the direction or management of such entity,
|
| 848 |
+
whether by contract or otherwise, or (b) ownership of more than
|
| 849 |
+
fifty percent (50%) of the outstanding shares or beneficial
|
| 850 |
+
ownership of such entity.
|
| 851 |
+
|
| 852 |
+
2. License Grants.
|
| 853 |
+
|
| 854 |
+
2.1. The Initial Developer Grant.
|
| 855 |
+
|
| 856 |
+
Conditioned upon Your compliance with Section 3.1 below and subject
|
| 857 |
+
to third party intellectual property claims, the Initial Developer
|
| 858 |
+
hereby grants You a world-wide, royalty-free, non-exclusive license:
|
| 859 |
+
|
| 860 |
+
(a) under intellectual property rights (other than patent or
|
| 861 |
+
trademark) Licensable by Initial Developer, to use, reproduce,
|
| 862 |
+
modify, display, perform, sublicense and distribute the Original
|
| 863 |
+
Software (or portions thereof), with or without Modifications,
|
| 864 |
+
and/or as part of a Larger Work; and
|
| 865 |
+
|
| 866 |
+
(b) under Patent Claims infringed by the making, using or selling of
|
| 867 |
+
Original Software, to make, have made, use, practice, sell, and
|
| 868 |
+
offer for sale, and/or otherwise dispose of the Original Software
|
| 869 |
+
(or portions thereof).
|
| 870 |
+
|
| 871 |
+
(c) The licenses granted in Sections 2.1(a) and (b) are effective on
|
| 872 |
+
the date Initial Developer first distributes or otherwise makes the
|
| 873 |
+
Original Software available to a third party under the terms of this
|
| 874 |
+
License.
|
| 875 |
+
|
| 876 |
+
(d) Notwithstanding Section 2.1(b) above, no patent license is
|
| 877 |
+
granted: (1) for code that You delete from the Original Software, or
|
| 878 |
+
(2) for infringements caused by: (i) the modification of the
|
| 879 |
+
Original Software, or (ii) the combination of the Original Software
|
| 880 |
+
with other software or devices.
|
| 881 |
+
|
| 882 |
+
2.2. Contributor Grant.
|
| 883 |
+
|
| 884 |
+
Conditioned upon Your compliance with Section 3.1 below and subject
|
| 885 |
+
to third party intellectual property claims, each Contributor hereby
|
| 886 |
+
grants You a world-wide, royalty-free, non-exclusive license:
|
| 887 |
+
|
| 888 |
+
(a) under intellectual property rights (other than patent or
|
| 889 |
+
trademark) Licensable by Contributor to use, reproduce, modify,
|
| 890 |
+
display, perform, sublicense and distribute the Modifications
|
| 891 |
+
created by such Contributor (or portions thereof), either on an
|
| 892 |
+
unmodified basis, with other Modifications, as Covered Software
|
| 893 |
+
and/or as part of a Larger Work; and
|
| 894 |
+
|
| 895 |
+
(b) under Patent Claims infringed by the making, using, or selling
|
| 896 |
+
of Modifications made by that Contributor either alone and/or in
|
| 897 |
+
combination with its Contributor Version (or portions of such
|
| 898 |
+
combination), to make, use, sell, offer for sale, have made, and/or
|
| 899 |
+
otherwise dispose of: (1) Modifications made by that Contributor (or
|
| 900 |
+
portions thereof); and (2) the combination of Modifications made by
|
| 901 |
+
that Contributor with its Contributor Version (or portions of such
|
| 902 |
+
combination).
|
| 903 |
+
|
| 904 |
+
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective
|
| 905 |
+
on the date Contributor first distributes or otherwise makes the
|
| 906 |
+
Modifications available to a third party.
|
| 907 |
+
|
| 908 |
+
(d) Notwithstanding Section 2.2(b) above, no patent license is
|
| 909 |
+
granted: (1) for any code that Contributor has deleted from the
|
| 910 |
+
Contributor Version; (2) for infringements caused by: (i) third
|
| 911 |
+
party modifications of Contributor Version, or (ii) the combination
|
| 912 |
+
of Modifications made by that Contributor with other software
|
| 913 |
+
(except as part of the Contributor Version) or other devices; or (3)
|
| 914 |
+
under Patent Claims infringed by Covered Software in the absence of
|
| 915 |
+
Modifications made by that Contributor.
|
| 916 |
+
|
| 917 |
+
3. Distribution Obligations.
|
| 918 |
+
|
| 919 |
+
3.1. Availability of Source Code.
|
| 920 |
+
|
| 921 |
+
Any Covered Software that You distribute or otherwise make available
|
| 922 |
+
in Executable form must also be made available in Source Code form
|
| 923 |
+
and that Source Code form must be distributed only under the terms
|
| 924 |
+
of this License. You must include a copy of this License with every
|
| 925 |
+
copy of the Source Code form of the Covered Software You distribute
|
| 926 |
+
or otherwise make available. You must inform recipients of any such
|
| 927 |
+
Covered Software in Executable form as to how they can obtain such
|
| 928 |
+
Covered Software in Source Code form in a reasonable manner on or
|
| 929 |
+
through a medium customarily used for software exchange.
|
| 930 |
+
|
| 931 |
+
3.2. Modifications.
|
| 932 |
+
|
| 933 |
+
The Modifications that You create or to which You contribute are
|
| 934 |
+
governed by the terms of this License. You represent that You
|
| 935 |
+
believe Your Modifications are Your original creation(s) and/or You
|
| 936 |
+
have sufficient rights to grant the rights conveyed by this License.
|
| 937 |
+
|
| 938 |
+
3.3. Required Notices.
|
| 939 |
+
|
| 940 |
+
You must include a notice in each of Your Modifications that
|
| 941 |
+
identifies You as the Contributor of the Modification. You may not
|
| 942 |
+
remove or alter any copyright, patent or trademark notices contained
|
| 943 |
+
within the Covered Software, or any notices of licensing or any
|
| 944 |
+
descriptive text giving attribution to any Contributor or the
|
| 945 |
+
Initial Developer.
|
| 946 |
+
|
| 947 |
+
3.4. Application of Additional Terms.
|
| 948 |
+
|
| 949 |
+
You may not offer or impose any terms on any Covered Software in
|
| 950 |
+
Source Code form that alters or restricts the applicable version of
|
| 951 |
+
this License or the recipients' rights hereunder. You may choose to
|
| 952 |
+
offer, and to charge a fee for, warranty, support, indemnity or
|
| 953 |
+
liability obligations to one or more recipients of Covered Software.
|
| 954 |
+
However, you may do so only on Your own behalf, and not on behalf of
|
| 955 |
+
the Initial Developer or any Contributor. You must make it
|
| 956 |
+
absolutely clear that any such warranty, support, indemnity or
|
| 957 |
+
liability obligation is offered by You alone, and You hereby agree
|
| 958 |
+
to indemnify the Initial Developer and every Contributor for any
|
| 959 |
+
liability incurred by the Initial Developer or such Contributor as a
|
| 960 |
+
result of warranty, support, indemnity or liability terms You offer.
|
| 961 |
+
|
| 962 |
+
3.5. Distribution of Executable Versions.
|
| 963 |
+
|
| 964 |
+
You may distribute the Executable form of the Covered Software under
|
| 965 |
+
the terms of this License or under the terms of a license of Your
|
| 966 |
+
choice, which may contain terms different from this License,
|
| 967 |
+
provided that You are in compliance with the terms of this License
|
| 968 |
+
and that the license for the Executable form does not attempt to
|
| 969 |
+
limit or alter the recipient's rights in the Source Code form from
|
| 970 |
+
the rights set forth in this License. If You distribute the Covered
|
| 971 |
+
Software in Executable form under a different license, You must make
|
| 972 |
+
it absolutely clear that any terms which differ from this License
|
| 973 |
+
are offered by You alone, not by the Initial Developer or
|
| 974 |
+
Contributor. You hereby agree to indemnify the Initial Developer and
|
| 975 |
+
every Contributor for any liability incurred by the Initial
|
| 976 |
+
Developer or such Contributor as a result of any such terms You offer.
|
| 977 |
+
|
| 978 |
+
3.6. Larger Works.
|
| 979 |
+
|
| 980 |
+
You may create a Larger Work by combining Covered Software with
|
| 981 |
+
other code not governed by the terms of this License and distribute
|
| 982 |
+
the Larger Work as a single product. In such a case, You must make
|
| 983 |
+
sure the requirements of this License are fulfilled for the Covered
|
| 984 |
+
Software.
|
| 985 |
+
|
| 986 |
+
4. Versions of the License.
|
| 987 |
+
|
| 988 |
+
4.1. New Versions.
|
| 989 |
+
|
| 990 |
+
Oracle is the initial license steward and may publish revised and/or
|
| 991 |
+
new versions of this License from time to time. Each version will be
|
| 992 |
+
given a distinguishing version number. Except as provided in Section
|
| 993 |
+
4.3, no one other than the license steward has the right to modify
|
| 994 |
+
this License.
|
| 995 |
+
|
| 996 |
+
4.2. Effect of New Versions.
|
| 997 |
+
|
| 998 |
+
You may always continue to use, distribute or otherwise make the
|
| 999 |
+
Covered Software available under the terms of the version of the
|
| 1000 |
+
License under which You originally received the Covered Software. If
|
| 1001 |
+
the Initial Developer includes a notice in the Original Software
|
| 1002 |
+
prohibiting it from being distributed or otherwise made available
|
| 1003 |
+
under any subsequent version of the License, You must distribute and
|
| 1004 |
+
make the Covered Software available under the terms of the version
|
| 1005 |
+
of the License under which You originally received the Covered
|
| 1006 |
+
Software. Otherwise, You may also choose to use, distribute or
|
| 1007 |
+
otherwise make the Covered Software available under the terms of any
|
| 1008 |
+
subsequent version of the License published by the license steward.
|
| 1009 |
+
|
| 1010 |
+
4.3. Modified Versions.
|
| 1011 |
+
|
| 1012 |
+
When You are an Initial Developer and You want to create a new
|
| 1013 |
+
license for Your Original Software, You may create and use a
|
| 1014 |
+
modified version of this License if You: (a) rename the license and
|
| 1015 |
+
remove any references to the name of the license steward (except to
|
| 1016 |
+
note that the license differs from this License); and (b) otherwise
|
| 1017 |
+
make it clear that the license contains terms which differ from this
|
| 1018 |
+
License.
|
| 1019 |
+
|
| 1020 |
+
5. DISCLAIMER OF WARRANTY.
|
| 1021 |
+
|
| 1022 |
+
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
|
| 1023 |
+
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
| 1024 |
+
INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE
|
| 1025 |
+
IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
|
| 1026 |
+
NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
|
| 1027 |
+
THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
|
| 1028 |
+
DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
|
| 1029 |
+
OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
|
| 1030 |
+
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
|
| 1031 |
+
ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS
|
| 1032 |
+
AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
| 1033 |
+
|
| 1034 |
+
6. TERMINATION.
|
| 1035 |
+
|
| 1036 |
+
6.1. This License and the rights granted hereunder will terminate
|
| 1037 |
+
automatically if You fail to comply with terms herein and fail to
|
| 1038 |
+
cure such breach within 30 days of becoming aware of the breach.
|
| 1039 |
+
Provisions which, by their nature, must remain in effect beyond the
|
| 1040 |
+
termination of this License shall survive.
|
| 1041 |
+
|
| 1042 |
+
6.2. If You assert a patent infringement claim (excluding
|
| 1043 |
+
declaratory judgment actions) against Initial Developer or a
|
| 1044 |
+
Contributor (the Initial Developer or Contributor against whom You
|
| 1045 |
+
assert such claim is referred to as "Participant") alleging that the
|
| 1046 |
+
Participant Software (meaning the Contributor Version where the
|
| 1047 |
+
Participant is a Contributor or the Original Software where the
|
| 1048 |
+
Participant is the Initial Developer) directly or indirectly
|
| 1049 |
+
infringes any patent, then any and all rights granted directly or
|
| 1050 |
+
indirectly to You by such Participant, the Initial Developer (if the
|
| 1051 |
+
Initial Developer is not the Participant) and all Contributors under
|
| 1052 |
+
Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
|
| 1053 |
+
from Participant terminate prospectively and automatically at the
|
| 1054 |
+
expiration of such 60 day notice period, unless if within such 60
|
| 1055 |
+
day period You withdraw Your claim with respect to the Participant
|
| 1056 |
+
Software against such Participant either unilaterally or pursuant to
|
| 1057 |
+
a written agreement with Participant.
|
| 1058 |
+
|
| 1059 |
+
6.3. If You assert a patent infringement claim against Participant
|
| 1060 |
+
alleging that the Participant Software directly or indirectly
|
| 1061 |
+
infringes any patent where such claim is resolved (such as by
|
| 1062 |
+
license or settlement) prior to the initiation of patent
|
| 1063 |
+
infringement litigation, then the reasonable value of the licenses
|
| 1064 |
+
granted by such Participant under Sections 2.1 or 2.2 shall be taken
|
| 1065 |
+
into account in determining the amount or value of any payment or
|
| 1066 |
+
license.
|
| 1067 |
+
|
| 1068 |
+
6.4. In the event of termination under Sections 6.1 or 6.2 above,
|
| 1069 |
+
all end user licenses that have been validly granted by You or any
|
| 1070 |
+
distributor hereunder prior to termination (excluding licenses
|
| 1071 |
+
granted to You by any distributor) shall survive termination.
|
| 1072 |
+
|
| 1073 |
+
7. LIMITATION OF LIABILITY.
|
| 1074 |
+
|
| 1075 |
+
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
|
| 1076 |
+
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
|
| 1077 |
+
INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
|
| 1078 |
+
COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE
|
| 1079 |
+
TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
|
| 1080 |
+
CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
|
| 1081 |
+
LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
|
| 1082 |
+
FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
|
| 1083 |
+
LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
|
| 1084 |
+
POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT
|
| 1085 |
+
APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
|
| 1086 |
+
PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
|
| 1087 |
+
LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
|
| 1088 |
+
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
|
| 1089 |
+
AND LIMITATION MAY NOT APPLY TO YOU.
|
| 1090 |
+
|
| 1091 |
+
8. U.S. GOVERNMENT END USERS.
|
| 1092 |
+
|
| 1093 |
+
The Covered Software is a "commercial item," as that term is defined
|
| 1094 |
+
in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
|
| 1095 |
+
software" (as that term is defined at 48 C.F.R. §
|
| 1096 |
+
252.227-7014(a)(1)) and "commercial computer software documentation"
|
| 1097 |
+
as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent
|
| 1098 |
+
with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
|
| 1099 |
+
(June 1995), all U.S. Government End Users acquire Covered Software
|
| 1100 |
+
with only those rights set forth herein. This U.S. Government Rights
|
| 1101 |
+
clause is in lieu of, and supersedes, any other FAR, DFAR, or other
|
| 1102 |
+
clause or provision that addresses Government rights in computer
|
| 1103 |
+
software under this License.
|
| 1104 |
+
|
| 1105 |
+
9. MISCELLANEOUS.
|
| 1106 |
+
|
| 1107 |
+
This License represents the complete agreement concerning subject
|
| 1108 |
+
matter hereof. If any provision of this License is held to be
|
| 1109 |
+
unenforceable, such provision shall be reformed only to the extent
|
| 1110 |
+
necessary to make it enforceable. This License shall be governed by
|
| 1111 |
+
the law of the jurisdiction specified in a notice contained within
|
| 1112 |
+
the Original Software (except to the extent applicable law, if any,
|
| 1113 |
+
provides otherwise), excluding such jurisdiction's conflict-of-law
|
| 1114 |
+
provisions. Any litigation relating to this License shall be subject
|
| 1115 |
+
to the jurisdiction of the courts located in the jurisdiction and
|
| 1116 |
+
venue specified in a notice contained within the Original Software,
|
| 1117 |
+
with the losing party responsible for costs, including, without
|
| 1118 |
+
limitation, court costs and reasonable attorneys' fees and expenses.
|
| 1119 |
+
The application of the United Nations Convention on Contracts for
|
| 1120 |
+
the International Sale of Goods is expressly excluded. Any law or
|
| 1121 |
+
regulation which provides that the language of a contract shall be
|
| 1122 |
+
construed against the drafter shall not apply to this License. You
|
| 1123 |
+
agree that You alone are responsible for compliance with the United
|
| 1124 |
+
States export administration regulations (and the export control
|
| 1125 |
+
laws and regulation of any other countries) when You use, distribute
|
| 1126 |
+
or otherwise make available any Covered Software.
|
| 1127 |
+
|
| 1128 |
+
10. RESPONSIBILITY FOR CLAIMS.
|
| 1129 |
+
|
| 1130 |
+
As between Initial Developer and the Contributors, each party is
|
| 1131 |
+
responsible for claims and damages arising, directly or indirectly,
|
| 1132 |
+
out of its utilization of rights under this License and You agree to
|
| 1133 |
+
work with Initial Developer and Contributors to distribute such
|
| 1134 |
+
responsibility on an equitable basis. Nothing herein is intended or
|
| 1135 |
+
shall be deemed to constitute any admission of liability.
|
| 1136 |
+
|
| 1137 |
+
------------------------------------------------------------------------
|
| 1138 |
+
|
| 1139 |
+
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION
|
| 1140 |
+
LICENSE (CDDL)
|
| 1141 |
+
|
| 1142 |
+
The code released under the CDDL shall be governed by the laws of the
|
| 1143 |
+
State of California (excluding conflict-of-law provisions). Any
|
| 1144 |
+
litigation relating to this License shall be subject to the jurisdiction
|
| 1145 |
+
of the Federal Courts of the Northern District of California and the
|
| 1146 |
+
state courts of the State of California, with venue lying in Santa Clara
|
| 1147 |
+
County, California.
|
| 1148 |
+
|
| 1149 |
+
|
| 1150 |
+
|
| 1151 |
+
The GNU General Public License (GPL) Version 2, June 1991
|
| 1152 |
+
|
| 1153 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
| 1154 |
+
51 Franklin Street, Fifth Floor
|
| 1155 |
+
Boston, MA 02110-1335
|
| 1156 |
+
USA
|
| 1157 |
+
|
| 1158 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 1159 |
+
of this license document, but changing it is not allowed.
|
| 1160 |
+
|
| 1161 |
+
Preamble
|
| 1162 |
+
|
| 1163 |
+
The licenses for most software are designed to take away your freedom to
|
| 1164 |
+
share and change it. By contrast, the GNU General Public License is
|
| 1165 |
+
intended to guarantee your freedom to share and change free software--to
|
| 1166 |
+
make sure the software is free for all its users. This General Public
|
| 1167 |
+
License applies to most of the Free Software Foundation's software and
|
| 1168 |
+
to any other program whose authors commit to using it. (Some other Free
|
| 1169 |
+
Software Foundation software is covered by the GNU Library General
|
| 1170 |
+
Public License instead.) You can apply it to your programs, too.
|
| 1171 |
+
|
| 1172 |
+
When we speak of free software, we are referring to freedom, not price.
|
| 1173 |
+
Our General Public Licenses are designed to make sure that you have the
|
| 1174 |
+
freedom to distribute copies of free software (and charge for this
|
| 1175 |
+
service if you wish), that you receive source code or can get it if you
|
| 1176 |
+
want it, that you can change the software or use pieces of it in new
|
| 1177 |
+
free programs; and that you know you can do these things.
|
| 1178 |
+
|
| 1179 |
+
To protect your rights, we need to make restrictions that forbid anyone
|
| 1180 |
+
to deny you these rights or to ask you to surrender the rights. These
|
| 1181 |
+
restrictions translate to certain responsibilities for you if you
|
| 1182 |
+
distribute copies of the software, or if you modify it.
|
| 1183 |
+
|
| 1184 |
+
For example, if you distribute copies of such a program, whether gratis
|
| 1185 |
+
or for a fee, you must give the recipients all the rights that you have.
|
| 1186 |
+
You must make sure that they, too, receive or can get the source code.
|
| 1187 |
+
And you must show them these terms so they know their rights.
|
| 1188 |
+
|
| 1189 |
+
We protect your rights with two steps: (1) copyright the software, and
|
| 1190 |
+
(2) offer you this license which gives you legal permission to copy,
|
| 1191 |
+
distribute and/or modify the software.
|
| 1192 |
+
|
| 1193 |
+
Also, for each author's protection and ours, we want to make certain
|
| 1194 |
+
that everyone understands that there is no warranty for this free
|
| 1195 |
+
software. If the software is modified by someone else and passed on, we
|
| 1196 |
+
want its recipients to know that what they have is not the original, so
|
| 1197 |
+
that any problems introduced by others will not reflect on the original
|
| 1198 |
+
authors' reputations.
|
| 1199 |
+
|
| 1200 |
+
Finally, any free program is threatened constantly by software patents.
|
| 1201 |
+
We wish to avoid the danger that redistributors of a free program will
|
| 1202 |
+
individually obtain patent licenses, in effect making the program
|
| 1203 |
+
proprietary. To prevent this, we have made it clear that any patent must
|
| 1204 |
+
be licensed for everyone's free use or not licensed at all.
|
| 1205 |
+
|
| 1206 |
+
The precise terms and conditions for copying, distribution and
|
| 1207 |
+
modification follow.
|
| 1208 |
+
|
| 1209 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
| 1210 |
+
|
| 1211 |
+
0. This License applies to any program or other work which contains a
|
| 1212 |
+
notice placed by the copyright holder saying it may be distributed under
|
| 1213 |
+
the terms of this General Public License. The "Program", below, refers
|
| 1214 |
+
to any such program or work, and a "work based on the Program" means
|
| 1215 |
+
either the Program or any derivative work under copyright law: that is
|
| 1216 |
+
to say, a work containing the Program or a portion of it, either
|
| 1217 |
+
verbatim or with modifications and/or translated into another language.
|
| 1218 |
+
(Hereinafter, translation is included without limitation in the term
|
| 1219 |
+
"modification".) Each licensee is addressed as "you".
|
| 1220 |
+
|
| 1221 |
+
Activities other than copying, distribution and modification are not
|
| 1222 |
+
covered by this License; they are outside its scope. The act of running
|
| 1223 |
+
the Program is not restricted, and the output from the Program is
|
| 1224 |
+
covered only if its contents constitute a work based on the Program
|
| 1225 |
+
(independent of having been made by running the Program). Whether that
|
| 1226 |
+
is true depends on what the Program does.
|
| 1227 |
+
|
| 1228 |
+
1. You may copy and distribute verbatim copies of the Program's source
|
| 1229 |
+
code as you receive it, in any medium, provided that you conspicuously
|
| 1230 |
+
and appropriately publish on each copy an appropriate copyright notice
|
| 1231 |
+
and disclaimer of warranty; keep intact all the notices that refer to
|
| 1232 |
+
this License and to the absence of any warranty; and give any other
|
| 1233 |
+
recipients of the Program a copy of this License along with the Program.
|
| 1234 |
+
|
| 1235 |
+
You may charge a fee for the physical act of transferring a copy, and
|
| 1236 |
+
you may at your option offer warranty protection in exchange for a fee.
|
| 1237 |
+
|
| 1238 |
+
2. You may modify your copy or copies of the Program or any portion of
|
| 1239 |
+
it, thus forming a work based on the Program, and copy and distribute
|
| 1240 |
+
such modifications or work under the terms of Section 1 above, provided
|
| 1241 |
+
that you also meet all of these conditions:
|
| 1242 |
+
|
| 1243 |
+
a) You must cause the modified files to carry prominent notices
|
| 1244 |
+
stating that you changed the files and the date of any change.
|
| 1245 |
+
|
| 1246 |
+
b) You must cause any work that you distribute or publish, that in
|
| 1247 |
+
whole or in part contains or is derived from the Program or any part
|
| 1248 |
+
thereof, to be licensed as a whole at no charge to all third parties
|
| 1249 |
+
under the terms of this License.
|
| 1250 |
+
|
| 1251 |
+
c) If the modified program normally reads commands interactively
|
| 1252 |
+
when run, you must cause it, when started running for such
|
| 1253 |
+
interactive use in the most ordinary way, to print or display an
|
| 1254 |
+
announcement including an appropriate copyright notice and a notice
|
| 1255 |
+
that there is no warranty (or else, saying that you provide a
|
| 1256 |
+
warranty) and that users may redistribute the program under these
|
| 1257 |
+
conditions, and telling the user how to view a copy of this License.
|
| 1258 |
+
(Exception: if the Program itself is interactive but does not
|
| 1259 |
+
normally print such an announcement, your work based on the Program
|
| 1260 |
+
is not required to print an announcement.)
|
| 1261 |
+
|
| 1262 |
+
These requirements apply to the modified work as a whole. If
|
| 1263 |
+
identifiable sections of that work are not derived from the Program, and
|
| 1264 |
+
can be reasonably considered independent and separate works in
|
| 1265 |
+
themselves, then this License, and its terms, do not apply to those
|
| 1266 |
+
sections when you distribute them as separate works. But when you
|
| 1267 |
+
distribute the same sections as part of a whole which is a work based on
|
| 1268 |
+
the Program, the distribution of the whole must be on the terms of this
|
| 1269 |
+
License, whose permissions for other licensees extend to the entire
|
| 1270 |
+
whole, and thus to each and every part regardless of who wrote it.
|
| 1271 |
+
|
| 1272 |
+
Thus, it is not the intent of this section to claim rights or contest
|
| 1273 |
+
your rights to work written entirely by you; rather, the intent is to
|
| 1274 |
+
exercise the right to control the distribution of derivative or
|
| 1275 |
+
collective works based on the Program.
|
| 1276 |
+
|
| 1277 |
+
In addition, mere aggregation of another work not based on the Program
|
| 1278 |
+
with the Program (or with a work based on the Program) on a volume of a
|
| 1279 |
+
storage or distribution medium does not bring the other work under the
|
| 1280 |
+
scope of this License.
|
| 1281 |
+
|
| 1282 |
+
3. You may copy and distribute the Program (or a work based on it,
|
| 1283 |
+
under Section 2) in object code or executable form under the terms of
|
| 1284 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
| 1285 |
+
|
| 1286 |
+
a) Accompany it with the complete corresponding machine-readable
|
| 1287 |
+
source code, which must be distributed under the terms of Sections 1
|
| 1288 |
+
and 2 above on a medium customarily used for software interchange; or,
|
| 1289 |
+
|
| 1290 |
+
b) Accompany it with a written offer, valid for at least three
|
| 1291 |
+
years, to give any third party, for a charge no more than your cost
|
| 1292 |
+
of physically performing source distribution, a complete
|
| 1293 |
+
machine-readable copy of the corresponding source code, to be
|
| 1294 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
| 1295 |
+
customarily used for software interchange; or,
|
| 1296 |
+
|
| 1297 |
+
c) Accompany it with the information you received as to the offer to
|
| 1298 |
+
distribute corresponding source code. (This alternative is allowed
|
| 1299 |
+
only for noncommercial distribution and only if you received the
|
| 1300 |
+
program in object code or executable form with such an offer, in
|
| 1301 |
+
accord with Subsection b above.)
|
| 1302 |
+
|
| 1303 |
+
The source code for a work means the preferred form of the work for
|
| 1304 |
+
making modifications to it. For an executable work, complete source code
|
| 1305 |
+
means all the source code for all modules it contains, plus any
|
| 1306 |
+
associated interface definition files, plus the scripts used to control
|
| 1307 |
+
compilation and installation of the executable. However, as a special
|
| 1308 |
+
exception, the source code distributed need not include anything that is
|
| 1309 |
+
normally distributed (in either source or binary form) with the major
|
| 1310 |
+
components (compiler, kernel, and so on) of the operating system on
|
| 1311 |
+
which the executable runs, unless that component itself accompanies the
|
| 1312 |
+
executable.
|
| 1313 |
+
|
| 1314 |
+
If distribution of executable or object code is made by offering access
|
| 1315 |
+
to copy from a designated place, then offering equivalent access to copy
|
| 1316 |
+
the source code from the same place counts as distribution of the source
|
| 1317 |
+
code, even though third parties are not compelled to copy the source
|
| 1318 |
+
along with the object code.
|
| 1319 |
+
|
| 1320 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
| 1321 |
+
except as expressly provided under this License. Any attempt otherwise
|
| 1322 |
+
to copy, modify, sublicense or distribute the Program is void, and will
|
| 1323 |
+
automatically terminate your rights under this License. However, parties
|
| 1324 |
+
who have received copies, or rights, from you under this License will
|
| 1325 |
+
not have their licenses terminated so long as such parties remain in
|
| 1326 |
+
full compliance.
|
| 1327 |
+
|
| 1328 |
+
5. You are not required to accept this License, since you have not
|
| 1329 |
+
signed it. However, nothing else grants you permission to modify or
|
| 1330 |
+
distribute the Program or its derivative works. These actions are
|
| 1331 |
+
prohibited by law if you do not accept this License. Therefore, by
|
| 1332 |
+
modifying or distributing the Program (or any work based on the
|
| 1333 |
+
Program), you indicate your acceptance of this License to do so, and all
|
| 1334 |
+
its terms and conditions for copying, distributing or modifying the
|
| 1335 |
+
Program or works based on it.
|
| 1336 |
+
|
| 1337 |
+
6. Each time you redistribute the Program (or any work based on the
|
| 1338 |
+
Program), the recipient automatically receives a license from the
|
| 1339 |
+
original licensor to copy, distribute or modify the Program subject to
|
| 1340 |
+
these terms and conditions. You may not impose any further restrictions
|
| 1341 |
+
on the recipients' exercise of the rights granted herein. You are not
|
| 1342 |
+
responsible for enforcing compliance by third parties to this License.
|
| 1343 |
+
|
| 1344 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
| 1345 |
+
infringement or for any other reason (not limited to patent issues),
|
| 1346 |
+
conditions are imposed on you (whether by court order, agreement or
|
| 1347 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 1348 |
+
excuse you from the conditions of this License. If you cannot distribute
|
| 1349 |
+
so as to satisfy simultaneously your obligations under this License and
|
| 1350 |
+
any other pertinent obligations, then as a consequence you may not
|
| 1351 |
+
distribute the Program at all. For example, if a patent license would
|
| 1352 |
+
not permit royalty-free redistribution of the Program by all those who
|
| 1353 |
+
receive copies directly or indirectly through you, then the only way you
|
| 1354 |
+
could satisfy both it and this License would be to refrain entirely from
|
| 1355 |
+
distribution of the Program.
|
| 1356 |
+
|
| 1357 |
+
If any portion of this section is held invalid or unenforceable under
|
| 1358 |
+
any particular circumstance, the balance of the section is intended to
|
| 1359 |
+
apply and the section as a whole is intended to apply in other
|
| 1360 |
+
circumstances.
|
| 1361 |
+
|
| 1362 |
+
It is not the purpose of this section to induce you to infringe any
|
| 1363 |
+
patents or other property right claims or to contest validity of any
|
| 1364 |
+
such claims; this section has the sole purpose of protecting the
|
| 1365 |
+
integrity of the free software distribution system, which is implemented
|
| 1366 |
+
by public license practices. Many people have made generous
|
| 1367 |
+
contributions to the wide range of software distributed through that
|
| 1368 |
+
system in reliance on consistent application of that system; it is up to
|
| 1369 |
+
the author/donor to decide if he or she is willing to distribute
|
| 1370 |
+
software through any other system and a licensee cannot impose that choice.
|
| 1371 |
+
|
| 1372 |
+
This section is intended to make thoroughly clear what is believed to be
|
| 1373 |
+
a consequence of the rest of this License.
|
| 1374 |
+
|
| 1375 |
+
8. If the distribution and/or use of the Program is restricted in
|
| 1376 |
+
certain countries either by patents or by copyrighted interfaces, the
|
| 1377 |
+
original copyright holder who places the Program under this License may
|
| 1378 |
+
add an explicit geographical distribution limitation excluding those
|
| 1379 |
+
countries, so that distribution is permitted only in or among countries
|
| 1380 |
+
not thus excluded. In such case, this License incorporates the
|
| 1381 |
+
limitation as if written in the body of this License.
|
| 1382 |
+
|
| 1383 |
+
9. The Free Software Foundation may publish revised and/or new
|
| 1384 |
+
versions of the General Public License from time to time. Such new
|
| 1385 |
+
versions will be similar in spirit to the present version, but may
|
| 1386 |
+
differ in detail to address new problems or concerns.
|
| 1387 |
+
|
| 1388 |
+
Each version is given a distinguishing version number. If the Program
|
| 1389 |
+
specifies a version number of this License which applies to it and "any
|
| 1390 |
+
later version", you have the option of following the terms and
|
| 1391 |
+
conditions either of that version or of any later version published by
|
| 1392 |
+
the Free Software Foundation. If the Program does not specify a version
|
| 1393 |
+
number of this License, you may choose any version ever published by the
|
| 1394 |
+
Free Software Foundation.
|
| 1395 |
+
|
| 1396 |
+
10. If you wish to incorporate parts of the Program into other free
|
| 1397 |
+
programs whose distribution conditions are different, write to the
|
| 1398 |
+
author to ask for permission. For software which is copyrighted by the
|
| 1399 |
+
Free Software Foundation, write to the Free Software Foundation; we
|
| 1400 |
+
sometimes make exceptions for this. Our decision will be guided by the
|
| 1401 |
+
two goals of preserving the free status of all derivatives of our free
|
| 1402 |
+
software and of promoting the sharing and reuse of software generally.
|
| 1403 |
+
|
| 1404 |
+
NO WARRANTY
|
| 1405 |
+
|
| 1406 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
| 1407 |
+
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
| 1408 |
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
| 1409 |
+
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
| 1410 |
+
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1411 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
| 1412 |
+
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
|
| 1413 |
+
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
|
| 1414 |
+
NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 1415 |
+
|
| 1416 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
| 1417 |
+
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
| 1418 |
+
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
|
| 1419 |
+
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
| 1420 |
+
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
|
| 1421 |
+
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
|
| 1422 |
+
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
|
| 1423 |
+
THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
|
| 1424 |
+
OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 1425 |
+
|
| 1426 |
+
END OF TERMS AND CONDITIONS
|
| 1427 |
+
|
| 1428 |
+
How to Apply These Terms to Your New Programs
|
| 1429 |
+
|
| 1430 |
+
If you develop a new program, and you want it to be of the greatest
|
| 1431 |
+
possible use to the public, the best way to achieve this is to make it
|
| 1432 |
+
free software which everyone can redistribute and change under these terms.
|
| 1433 |
+
|
| 1434 |
+
To do so, attach the following notices to the program. It is safest to
|
| 1435 |
+
attach them to the start of each source file to most effectively convey
|
| 1436 |
+
the exclusion of warranty; and each file should have at least the
|
| 1437 |
+
"copyright" line and a pointer to where the full notice is found.
|
| 1438 |
+
|
| 1439 |
+
One line to give the program's name and a brief idea of what it does.
|
| 1440 |
+
Copyright (C) <year> <name of author>
|
| 1441 |
+
|
| 1442 |
+
This program is free software; you can redistribute it and/or modify
|
| 1443 |
+
it under the terms of the GNU General Public License as published by
|
| 1444 |
+
the Free Software Foundation; either version 2 of the License, or
|
| 1445 |
+
(at your option) any later version.
|
| 1446 |
+
|
| 1447 |
+
This program is distributed in the hope that it will be useful, but
|
| 1448 |
+
WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1449 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 1450 |
+
General Public License for more details.
|
| 1451 |
+
|
| 1452 |
+
You should have received a copy of the GNU General Public License
|
| 1453 |
+
along with this program; if not, write to the Free Software
|
| 1454 |
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
|
| 1455 |
+
|
| 1456 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 1457 |
+
|
| 1458 |
+
If the program is interactive, make it output a short notice like this
|
| 1459 |
+
when it starts in an interactive mode:
|
| 1460 |
+
|
| 1461 |
+
Gnomovision version 69, Copyright (C) year name of author
|
| 1462 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
|
| 1463 |
+
`show w'. This is free software, and you are welcome to redistribute
|
| 1464 |
+
it under certain conditions; type `show c' for details.
|
| 1465 |
+
|
| 1466 |
+
The hypothetical commands `show w' and `show c' should show the
|
| 1467 |
+
appropriate parts of the General Public License. Of course, the commands
|
| 1468 |
+
you use may be called something other than `show w' and `show c'; they
|
| 1469 |
+
could even be mouse-clicks or menu items--whatever suits your program.
|
| 1470 |
+
|
| 1471 |
+
You should also get your employer (if you work as a programmer) or your
|
| 1472 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
| 1473 |
+
necessary. Here is a sample; alter the names:
|
| 1474 |
+
|
| 1475 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
| 1476 |
+
program `Gnomovision' (which makes passes at compilers) written by
|
| 1477 |
+
James Hacker.
|
| 1478 |
+
|
| 1479 |
+
signature of Ty Coon, 1 April 1989
|
| 1480 |
+
Ty Coon, President of Vice
|
| 1481 |
+
|
| 1482 |
+
This General Public License does not permit incorporating your program
|
| 1483 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 1484 |
+
may consider it more useful to permit linking proprietary applications
|
| 1485 |
+
with the library. If this is what you want to do, use the GNU Library
|
| 1486 |
+
General Public License instead of this License.
|
| 1487 |
+
|
| 1488 |
+
#
|
| 1489 |
+
|
| 1490 |
+
Certain source files distributed by Oracle America, Inc. and/or its
|
| 1491 |
+
affiliates are subject to the following clarification and special
|
| 1492 |
+
exception to the GPLv2, based on the GNU Project exception for its
|
| 1493 |
+
Classpath libraries, known as the GNU Classpath Exception, but only
|
| 1494 |
+
where Oracle has expressly included in the particular source file's
|
| 1495 |
+
header the words "Oracle designates this particular file as subject to
|
| 1496 |
+
the "Classpath" exception as provided by Oracle in the LICENSE file
|
| 1497 |
+
that accompanied this code."
|
| 1498 |
+
|
| 1499 |
+
You should also note that Oracle includes multiple, independent
|
| 1500 |
+
programs in this software package. Some of those programs are provided
|
| 1501 |
+
under licenses deemed incompatible with the GPLv2 by the Free Software
|
| 1502 |
+
Foundation and others. For example, the package includes programs
|
| 1503 |
+
licensed under the Apache License, Version 2.0. Such programs are
|
| 1504 |
+
licensed to you under their original licenses.
|
| 1505 |
+
|
| 1506 |
+
Oracle facilitates your further distribution of this package by adding
|
| 1507 |
+
the Classpath Exception to the necessary parts of its GPLv2 code, which
|
| 1508 |
+
permits you to use that code in combination with other independent
|
| 1509 |
+
modules not licensed under the GPLv2. However, note that this would
|
| 1510 |
+
not permit you to commingle code under an incompatible license with
|
| 1511 |
+
Oracle's GPLv2 licensed code by, for example, cutting and pasting such
|
| 1512 |
+
code into a file also containing Oracle's GPLv2 licensed code and then
|
| 1513 |
+
distributing the result. Additionally, if you were to remove the
|
| 1514 |
+
Classpath Exception from any of the files to which it applies and
|
| 1515 |
+
distribute the result, you would likely be required to license some or
|
| 1516 |
+
all of the other code in that distribution under the GPLv2 as well, and
|
| 1517 |
+
since the GPLv2 is incompatible with the license terms of some items
|
| 1518 |
+
included in the distribution by Oracle, removing the Classpath
|
| 1519 |
+
Exception could therefore effectively compromise your ability to
|
| 1520 |
+
further distribute the package.
|
| 1521 |
+
|
| 1522 |
+
Proceed with caution and we recommend that you obtain the advice of a
|
| 1523 |
+
lawyer skilled in open source matters before removing the Classpath
|
| 1524 |
+
Exception or making modifications to this package which may
|
| 1525 |
+
subsequently be redistributed and/or involve the use of third party
|
| 1526 |
+
software.
|
| 1527 |
+
|
| 1528 |
+
CLASSPATH EXCEPTION
|
| 1529 |
+
Linking this library statically or dynamically with other modules is
|
| 1530 |
+
making a combined work based on this library. Thus, the terms and
|
| 1531 |
+
conditions of the GNU General Public License version 2 cover the whole
|
| 1532 |
+
combination.
|
| 1533 |
+
|
| 1534 |
+
As a special exception, the copyright holders of this library give you
|
| 1535 |
+
permission to link this library with independent modules to produce an
|
| 1536 |
+
executable, regardless of the license terms of these independent
|
| 1537 |
+
modules, and to copy and distribute the resulting executable under
|
| 1538 |
+
terms of your choice, provided that you also meet, for each linked
|
| 1539 |
+
independent module, the terms and conditions of the license of that
|
| 1540 |
+
module. An independent module is a module which is not derived from or
|
| 1541 |
+
based on this library. If you modify this library, you may extend this
|
| 1542 |
+
exception to your version of the library, but you are not obligated to
|
| 1543 |
+
do so. If you do not wish to do so, delete this exception statement
|
| 1544 |
+
from your version.
|
| 1545 |
+
|
| 1546 |
+
--------------------
|
| 1547 |
+
The Fakeload library
|
| 1548 |
+
|
| 1549 |
+
MIT License
|
| 1550 |
+
|
| 1551 |
+
Copyright (c) 2017 Marten Sigwart
|
| 1552 |
+
|
| 1553 |
+
Permission is hereby granted, free of charge, to any person
|
| 1554 |
+
obtaining a copy of this software and associated documentation files
|
| 1555 |
+
(the "Software"), to deal in the Software without restriction, including
|
| 1556 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 1557 |
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
| 1558 |
+
persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 1559 |
+
|
| 1560 |
+
The above copyright notice and this permission notice shall be included in
|
| 1561 |
+
all copies or substantial portions of the Software.
|
| 1562 |
+
|
| 1563 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
| 1564 |
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
| 1565 |
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
| 1566 |
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 1567 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
| 1568 |
+
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
local-test-tika-full-01-vuln_8/afc-tika/README.md
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Welcome to Apache Tika <https://tika.apache.org/>
|
| 2 |
+
=================================================
|
| 3 |
+
|
| 4 |
+
[](http://www.apache.org/licenses/LICENSE-2.0)
|
| 5 |
+
[](https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/)
|
| 6 |
+
[](https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/lastBuild/testReport/)
|
| 7 |
+
[](http://search.maven.org/#search|ga|1|g%3A%22org.apache.tika%22)
|
| 8 |
+
|
| 9 |
+
Apache Tika(TM) is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries.
|
| 10 |
+
|
| 11 |
+
Tika is a project of the [Apache Software Foundation](https://www.apache.org).
|
| 12 |
+
|
| 13 |
+
Apache Tika, Tika, Apache, the Apache feather logo, and the Apache Tika project logo are trademarks of The Apache Software Foundation.
|
| 14 |
+
|
| 15 |
+
Getting Started
|
| 16 |
+
===============
|
| 17 |
+
Pre-built binaries of Apache Tika standalone applications are available
|
| 18 |
+
from https://tika.apache.org/download.html . Pre-built binaries of all the
|
| 19 |
+
Tika jars can be fetched from Maven Central or your favourite Maven mirror.
|
| 20 |
+
|
| 21 |
+
**Tika 2.X and support for Java 8 is planned to reach End of Life (EOL) in April, 2025.
|
| 22 |
+
See [Tika Roadmap 2.x, 3.x and beyond](https://cwiki.apache.org/confluence/display/TIKA/Tika+Roadmap+--+2.x%2C+3.x+and+Beyond).**
|
| 23 |
+
|
| 24 |
+
Tika is based on **Java 17** and uses the [Maven 3](https://maven.apache.org) build system.
|
| 25 |
+
**N.B.** [Docker](https://www.docker.com/products/personal) is used for tests in tika-integration-tests.
|
| 26 |
+
As of Tika 2.5.1, if Docker is not installed, those tests are skipped. Docker is required for a successful
|
| 27 |
+
build on earlier 2.x versions.
|
| 28 |
+
|
| 29 |
+
To build Tika from source, use the following command in the main directory:
|
| 30 |
+
|
| 31 |
+
mvn clean install
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
The build consists of a number of components, including a standalone runnable jar that you can use to try out Tika features. You can run it like this:
|
| 35 |
+
|
| 36 |
+
java -jar tika-app/target/tika-app-*.jar --help
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
To build a specific project (for example, tika-server-standard):
|
| 40 |
+
|
| 41 |
+
mvn clean install -am -pl :tika-server-standard
|
| 42 |
+
|
| 43 |
+
If the ossindex-maven-plugin is causing the build to fail because a dependency
|
| 44 |
+
has now been discovered to have a vulnerability:
|
| 45 |
+
|
| 46 |
+
mvn clean install -Dossindex.skip
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Maven Dependencies
|
| 50 |
+
==================
|
| 51 |
+
|
| 52 |
+
Apache Tika provides *Bill of Material* (BOM) artifact to align Tika module versions and simplify version management.
|
| 53 |
+
To avoid convergence errors in your own project, import this
|
| 54 |
+
bom or Tika's parent pom.xml in your dependency management section.
|
| 55 |
+
|
| 56 |
+
If you use Apache Maven:
|
| 57 |
+
|
| 58 |
+
```xml
|
| 59 |
+
<project>
|
| 60 |
+
<dependencyManagement>
|
| 61 |
+
<dependencies>
|
| 62 |
+
<dependency>
|
| 63 |
+
<groupId>org.apache.tika</groupId>
|
| 64 |
+
<artifactId>tika-bom</artifactId>
|
| 65 |
+
<version>4.x.y</version>
|
| 66 |
+
<type>pom</type>
|
| 67 |
+
<scope>import</scope>
|
| 68 |
+
</dependency>
|
| 69 |
+
</dependencies>
|
| 70 |
+
</dependencyManagement>
|
| 71 |
+
|
| 72 |
+
<dependencies>
|
| 73 |
+
<dependency>
|
| 74 |
+
<groupId>org.apache.tika</groupId>
|
| 75 |
+
<artifactId>tika-parsers-standard-package</artifactId>
|
| 76 |
+
<!-- version not required since BOM included -->
|
| 77 |
+
</dependency>
|
| 78 |
+
</dependencies>
|
| 79 |
+
</project>
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
For Gradle:
|
| 83 |
+
|
| 84 |
+
```kotlin
|
| 85 |
+
dependencies {
|
| 86 |
+
implementation(platform("org.apache.tika:tika-bom:4.x.y"))
|
| 87 |
+
|
| 88 |
+
// version not required since bom (platform in Gradle terms)
|
| 89 |
+
implementation("org.apache.tika:tika-parsers-standard-package")
|
| 90 |
+
}
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
Migrating to 4.x
|
| 94 |
+
================
|
| 95 |
+
TBD
|
| 96 |
+
|
| 97 |
+
Contributing via Github
|
| 98 |
+
=======================
|
| 99 |
+
See the [pull request template](https://github.com/apache/tika/blob/main/.github/pull_request_template.md).
|
| 100 |
+
|
| 101 |
+
**NOTE:** Please open pull requests against the `main` branch. We locked `master` in September 2020 and no longer use it.
|
| 102 |
+
|
| 103 |
+
## Thanks to all the people who have contributed
|
| 104 |
+
|
| 105 |
+
[](https://github.com/apache/tika/graphs/contributors)
|
| 106 |
+
|
| 107 |
+
Building from a Specific Tag
|
| 108 |
+
============================
|
| 109 |
+
Let's assume that you want to build the 3.0.1 tag:
|
| 110 |
+
```
|
| 111 |
+
0. Download and install hub.github.com
|
| 112 |
+
1. git clone https://github.com/apache/tika.git
|
| 113 |
+
2. cd tika
|
| 114 |
+
3. git checkout 3.0.1
|
| 115 |
+
4. mvn clean install
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
If a new vulnerability has been discovered between the date of the
|
| 119 |
+
tag and the date you are building the tag, you may need to build with:
|
| 120 |
+
|
| 121 |
+
```
|
| 122 |
+
4. mvn clean install -Dossindex.skip
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
If a local test is not working in your environment, please notify
|
| 126 |
+
the project at dev@tika.apache.org. As an immediate workaround,
|
| 127 |
+
you can turn off individual tests with e.g.:
|
| 128 |
+
|
| 129 |
+
```
|
| 130 |
+
4. mvn clean install -Dossindex.skip -Dtest=\!UnpackerResourceTest#testPDFImages
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
License (see also LICENSE.txt)
|
| 134 |
+
==============================
|
| 135 |
+
|
| 136 |
+
Collective work: Copyright 2011 The Apache Software Foundation.
|
| 137 |
+
|
| 138 |
+
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
| 139 |
+
|
| 140 |
+
<https://www.apache.org/licenses/LICENSE-2.0>
|
| 141 |
+
|
| 142 |
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
| 143 |
+
|
| 144 |
+
Apache Tika includes a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the licenses listed in the LICENSE.txt file.
|
| 145 |
+
|
| 146 |
+
Export Control
|
| 147 |
+
==============
|
| 148 |
+
|
| 149 |
+
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See <http://www.wassenaar.org/> for more information.
|
| 150 |
+
|
| 151 |
+
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
|
| 152 |
+
|
| 153 |
+
The following provides more details on the included cryptographic software:
|
| 154 |
+
|
| 155 |
+
Apache Tika uses the Bouncy Castle generic encryption libraries for extracting text content and metadata from encrypted PDF files. See <http://www.bouncycastle.org/> for more details on Bouncy Castle.
|
| 156 |
+
|
| 157 |
+
Mailing Lists
|
| 158 |
+
=============
|
| 159 |
+
|
| 160 |
+
Discussion about Tika takes place on the following mailing lists:
|
| 161 |
+
|
| 162 |
+
* user@tika.apache.org - About using Tika
|
| 163 |
+
* dev@tika.apache.org - About developing Tika
|
| 164 |
+
|
| 165 |
+
Notification on all code changes are sent to the following mailing list:
|
| 166 |
+
|
| 167 |
+
* commits@tika.apache.org
|
| 168 |
+
|
| 169 |
+
The mailing lists are open to anyone and publicly archived.
|
| 170 |
+
|
| 171 |
+
You can subscribe the mailing lists by sending a message to
|
| 172 |
+
[LIST]-subscribe@tika.apache.org (for example, user-subscribe@...).
|
| 173 |
+
To unsubscribe, send a message to [LIST]-unsubscribe@tika.apache.org.
|
| 174 |
+
For more instructions, send a message to [LIST]-help@tika.apache.org.
|
| 175 |
+
|
| 176 |
+
Issue Tracker
|
| 177 |
+
=============
|
| 178 |
+
|
| 179 |
+
If you encounter errors in Tika or want to suggest an improvement or a new feature,
|
| 180 |
+
please visit the [Tika issue tracker](https://issues.apache.org/jira/browse/TIKA).
|
| 181 |
+
There you can also find the latest information on known issues and
|
| 182 |
+
recent bug fixes and enhancements.
|
| 183 |
+
|
| 184 |
+
Build Issues
|
| 185 |
+
============
|
| 186 |
+
|
| 187 |
+
*TODO*
|
| 188 |
+
|
| 189 |
+
* Need to install jce
|
| 190 |
+
|
| 191 |
+
* If you find any other issues while building, please email the dev@tika.apache.org
|
| 192 |
+
list.
|
local-test-tika-full-01-vuln_8/afc-tika/assembly.xml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 4 |
+
this work for additional information regarding copyright ownership.
|
| 5 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
+
(the "License"); you may not use this file except in compliance with
|
| 7 |
+
the License. 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 |
+
<assembly>
|
| 18 |
+
<id>src</id>
|
| 19 |
+
<formats>
|
| 20 |
+
<format>zip</format>
|
| 21 |
+
</formats>
|
| 22 |
+
<fileSets>
|
| 23 |
+
<fileSet>
|
| 24 |
+
<directory>${project.basedir}</directory>
|
| 25 |
+
<outputDirectory></outputDirectory>
|
| 26 |
+
<excludes>
|
| 27 |
+
<exclude>**/target/**</exclude>
|
| 28 |
+
<exclude>**/.*/**</exclude>
|
| 29 |
+
<exclude>**/opennlp/ner-*.bin</exclude>
|
| 30 |
+
<exclude>**/opennlp/en-*.bin</exclude>
|
| 31 |
+
<exclude>**/recognition/*.bin</exclude>
|
| 32 |
+
<exclude>**/*.releaseBackup</exclude>
|
| 33 |
+
</excludes>
|
| 34 |
+
</fileSet>
|
| 35 |
+
</fileSets>
|
| 36 |
+
</assembly>
|
local-test-tika-full-01-vuln_8/afc-tika/overview.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 4 |
+
this work for additional information regarding copyright ownership.
|
| 5 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
+
(the "License"); you may not use this file except in compliance with
|
| 7 |
+
the License. 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 |
+
<html>
|
| 18 |
+
<head>
|
| 19 |
+
<title>Apache Tika</title>
|
| 20 |
+
</head>
|
| 21 |
+
<body>
|
| 22 |
+
|
| 23 |
+
<h1>Parsers</h1>
|
| 24 |
+
As of Apache Tika 2.0, there are three parser packages.
|
| 25 |
+
<ol>
|
| 26 |
+
<li>tike-parser-modules: basic parsers -- java only, no native code, no parsers that require rest calls</li>
|
| 27 |
+
<li>tike-parsers-extended: extended parsers -- allowed: native code and parsers that require rest calls, heavy dependencies</li>
|
| 28 |
+
<li>tika-parsers-ml: parsers/recognizers that rely on machine learning and/or natural language processing</li>
|
| 29 |
+
</ol>
|
| 30 |
+
<p>
|
| 31 |
+
The <i>tika-parser-modules</i> modules are packaged as one in <i>tika-parsers</i>. The tika-app and tika-server jars
|
| 32 |
+
depend on <i>tika-parsers</i>. If you need an extended-parser or an ml parser, you're responsible for adding
|
| 33 |
+
those jars to your classpath.
|
| 34 |
+
</p>
|
| 35 |
+
</body>
|
| 36 |
+
</html>
|
local-test-tika-full-01-vuln_8/afc-tika/pom.xml
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika</artifactId>
|
| 33 |
+
<packaging>pom</packaging>
|
| 34 |
+
<name>Apache Tika</name>
|
| 35 |
+
<url>https://tika.apache.org</url>
|
| 36 |
+
|
| 37 |
+
<modules>
|
| 38 |
+
<module>tika-parent</module>
|
| 39 |
+
<module>tika-bom</module>
|
| 40 |
+
<module>tika-core</module>
|
| 41 |
+
<module>tika-serialization</module>
|
| 42 |
+
<module>tika-detectors</module>
|
| 43 |
+
<module>tika-parsers</module>
|
| 44 |
+
<module>tika-bundles</module>
|
| 45 |
+
<module>tika-xmp</module>
|
| 46 |
+
<module>tika-batch</module>
|
| 47 |
+
<module>tika-langdetect</module>
|
| 48 |
+
<module>tika-pipes</module>
|
| 49 |
+
<module>tika-grpc</module>
|
| 50 |
+
<module>tika-app</module>
|
| 51 |
+
<module>tika-server</module>
|
| 52 |
+
<module>tika-integration-tests</module>
|
| 53 |
+
<module>tika-eval</module>
|
| 54 |
+
<module>tika-fuzzing</module>
|
| 55 |
+
<module>tika-translate</module>
|
| 56 |
+
<module>tika-example</module>
|
| 57 |
+
<module>tika-java7</module>
|
| 58 |
+
<module>tika-handlers</module>
|
| 59 |
+
</modules>
|
| 60 |
+
|
| 61 |
+
<profiles>
|
| 62 |
+
<profile>
|
| 63 |
+
<id>apache-release</id>
|
| 64 |
+
<properties>
|
| 65 |
+
<username>${user.name}</username>
|
| 66 |
+
</properties>
|
| 67 |
+
<build>
|
| 68 |
+
<plugins>
|
| 69 |
+
<plugin>
|
| 70 |
+
<artifactId>maven-assembly-plugin</artifactId>
|
| 71 |
+
<executions>
|
| 72 |
+
<execution>
|
| 73 |
+
<id>src</id>
|
| 74 |
+
<goals>
|
| 75 |
+
<goal>single</goal>
|
| 76 |
+
</goals>
|
| 77 |
+
<phase>package</phase>
|
| 78 |
+
<configuration>
|
| 79 |
+
<descriptors>
|
| 80 |
+
<descriptor>assembly.xml</descriptor>
|
| 81 |
+
</descriptors>
|
| 82 |
+
</configuration>
|
| 83 |
+
</execution>
|
| 84 |
+
<execution>
|
| 85 |
+
<id>source-release-assembly</id>
|
| 86 |
+
<configuration>
|
| 87 |
+
<skipAssembly>true</skipAssembly>
|
| 88 |
+
</configuration>
|
| 89 |
+
</execution>
|
| 90 |
+
</executions>
|
| 91 |
+
</plugin>
|
| 92 |
+
<plugin>
|
| 93 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 94 |
+
<artifactId>maven-antrun-plugin</artifactId>
|
| 95 |
+
<version>${maven.antrun.version}</version>
|
| 96 |
+
<executions>
|
| 97 |
+
<execution>
|
| 98 |
+
<goals>
|
| 99 |
+
<goal>run</goal>
|
| 100 |
+
</goals>
|
| 101 |
+
<phase>deploy</phase>
|
| 102 |
+
<configuration>
|
| 103 |
+
<target>
|
| 104 |
+
<mkdir dir="${basedir}/target/${project.version}" />
|
| 105 |
+
<copy todir="${basedir}/target/${project.version}" flatten="true">
|
| 106 |
+
<fileset dir="${basedir}">
|
| 107 |
+
<include name="CHANGES.txt" />
|
| 108 |
+
<include name="target/*-src.zip*" />
|
| 109 |
+
<include name="tika-parsers/tika-parsers-extended/tika-parser-scientific-package/target/tika-parser-scientific-package-${project.version}.jar*" />
|
| 110 |
+
<include name="tika-parsers/tika-parsers-extended/tika-parser-sqlite3-package/target/tika-parser-sqlite3-package-${project.version}.jar*" />
|
| 111 |
+
<include name="tika-parsers/tika-parsers-ml/tika-parser-nlp-package/target/tika-parser-nlp-package-${project.version}.jar*" />
|
| 112 |
+
<include name="tika-app/target/tika-app-${project.version}.jar*" />
|
| 113 |
+
<include name="tika-server/tika-server-standard/target/tika-server-standard-${project.version}.jar*" />
|
| 114 |
+
<include name="tika-server/tika-server-standard/target/tika-server-standard-${project.version}-bin.tgz*" />
|
| 115 |
+
<include name="tika-server/tika-server-standard/target/tika-server-standard-${project.version}-bin.zip*" />
|
| 116 |
+
<include name="tika-eval/tika-eval-app/target/tika-eval-app-${project.version}.jar*" />
|
| 117 |
+
</fileset>
|
| 118 |
+
</copy>
|
| 119 |
+
<checksum algorithm="SHA-512" fileext=".sha512">
|
| 120 |
+
<fileset dir="${basedir}/target/${project.version}">
|
| 121 |
+
<include name="*.tgz" />
|
| 122 |
+
<include name="*.zip" />
|
| 123 |
+
<include name="*.?ar" />
|
| 124 |
+
</fileset>
|
| 125 |
+
</checksum>
|
| 126 |
+
<checksum file="${basedir}/target/${project.version}/tika-${project.version}-src.zip" algorithm="SHA-512" property="checksum" />
|
| 127 |
+
<!-- this spacing is less than ideal, but if you indent here, the vote.txt file will have the leading spaces -->
|
| 128 |
+
<echo file="${basedir}/target/vote.txt">
|
| 129 |
+
From: ${username}@apache.org
|
| 130 |
+
To: dev@tika.apache.org
|
| 131 |
+
user@tika.apache.org
|
| 132 |
+
Subject: [VOTE] Release Apache Tika ${project.version} Candidate #N
|
| 133 |
+
|
| 134 |
+
A candidate for the Tika ${project.version} release is available at:
|
| 135 |
+
https://dist.apache.org/repos/dist/dev/tika/${project.version}
|
| 136 |
+
|
| 137 |
+
The release candidate is a zip archive of the sources in:
|
| 138 |
+
https://github.com/apache/tika/tree/{project.version}-rcN/
|
| 139 |
+
|
| 140 |
+
The SHA-512 checksum of the archive is
|
| 141 |
+
${checksum}.
|
| 142 |
+
|
| 143 |
+
In addition, a staged maven repository is available here:
|
| 144 |
+
https://repository.apache.org/content/repositories/orgapachetika-.../org/apache/tika
|
| 145 |
+
|
| 146 |
+
Please vote on releasing this package as Apache Tika ${project.version}.
|
| 147 |
+
The vote is open for the next 72 hours and passes if a majority of at
|
| 148 |
+
least three +1 Tika PMC votes are cast.
|
| 149 |
+
|
| 150 |
+
[ ] +1 Release this package as Apache Tika ${project.version}
|
| 151 |
+
[ ] -1 Do not release this package because...${line.separator}
|
| 152 |
+
</echo>
|
| 153 |
+
<echo />
|
| 154 |
+
<echo>
|
| 155 |
+
The release candidate has been prepared in:
|
| 156 |
+
|
| 157 |
+
${basedir}/target/${project.version}
|
| 158 |
+
|
| 159 |
+
Please deploy it to people.apache.org like this:
|
| 160 |
+
|
| 161 |
+
scp -r ${basedir}/target/${project.version} people.apache.org:public_html/tika/
|
| 162 |
+
|
| 163 |
+
A release vote template has been generated for you:
|
| 164 |
+
|
| 165 |
+
file://${basedir}/target/vote.txt
|
| 166 |
+
</echo>
|
| 167 |
+
<echo />
|
| 168 |
+
</target>
|
| 169 |
+
</configuration>
|
| 170 |
+
</execution>
|
| 171 |
+
</executions>
|
| 172 |
+
<dependencies>
|
| 173 |
+
<dependency>
|
| 174 |
+
<groupId>org.apache.ant</groupId>
|
| 175 |
+
<artifactId>ant-nodeps</artifactId>
|
| 176 |
+
<version>1.8.1</version>
|
| 177 |
+
</dependency>
|
| 178 |
+
</dependencies>
|
| 179 |
+
</plugin>
|
| 180 |
+
</plugins>
|
| 181 |
+
</build>
|
| 182 |
+
</profile>
|
| 183 |
+
</profiles>
|
| 184 |
+
|
| 185 |
+
<build>
|
| 186 |
+
<plugins>
|
| 187 |
+
<plugin>
|
| 188 |
+
<groupId>org.apache.rat</groupId>
|
| 189 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 190 |
+
<version>${rat.version}</version>
|
| 191 |
+
<configuration>
|
| 192 |
+
<excludes>
|
| 193 |
+
<exclude>CHANGES.txt</exclude>
|
| 194 |
+
<exclude>README.md</exclude>
|
| 195 |
+
<!-- remove this once we figure out the bundle packaging -->
|
| 196 |
+
<exclude>tika-bundle/src/main/resources/META-INF/MANIFEST.MF</exclude>
|
| 197 |
+
<exclude>.gitattributes</exclude>
|
| 198 |
+
</excludes>
|
| 199 |
+
</configuration>
|
| 200 |
+
</plugin>
|
| 201 |
+
</plugins>
|
| 202 |
+
</build>
|
| 203 |
+
<description>The Apache Tika™ toolkit detects and extracts metadata and structured text content from various documents
|
| 204 |
+
using existing parser libraries.
|
| 205 |
+
</description>
|
| 206 |
+
<organization>
|
| 207 |
+
<name>The Apache Software Foundation</name>
|
| 208 |
+
<url>https://www.apache.org</url>
|
| 209 |
+
</organization>
|
| 210 |
+
<issueManagement>
|
| 211 |
+
<system>JIRA</system>
|
| 212 |
+
<url>https://issues.apache.org/jira/browse/TIKA</url>
|
| 213 |
+
</issueManagement>
|
| 214 |
+
<ciManagement>
|
| 215 |
+
<system>Jenkins</system>
|
| 216 |
+
<url>https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/</url>
|
| 217 |
+
</ciManagement>
|
| 218 |
+
|
| 219 |
+
<scm>
|
| 220 |
+
<tag>3.0.0-rc1</tag>
|
| 221 |
+
</scm>
|
| 222 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-app/pom.xml
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-app</artifactId>
|
| 33 |
+
<name>Apache Tika application</name>
|
| 34 |
+
<url>https://tika.apache.org/</url>
|
| 35 |
+
|
| 36 |
+
<properties>
|
| 37 |
+
<ikvm>${env.IKVM_HOME}</ikvm>
|
| 38 |
+
</properties>
|
| 39 |
+
|
| 40 |
+
<dependencies>
|
| 41 |
+
<dependency>
|
| 42 |
+
<groupId>${project.groupId}</groupId>
|
| 43 |
+
<artifactId>tika-parsers-standard-package</artifactId>
|
| 44 |
+
<version>${project.version}</version>
|
| 45 |
+
</dependency>
|
| 46 |
+
<dependency>
|
| 47 |
+
<groupId>${project.groupId}</groupId>
|
| 48 |
+
<artifactId>tika-handler-boilerpipe</artifactId>
|
| 49 |
+
<version>${project.version}</version>
|
| 50 |
+
</dependency>
|
| 51 |
+
<dependency>
|
| 52 |
+
<groupId>${project.groupId}</groupId>
|
| 53 |
+
<artifactId>tika-langdetect-optimaize</artifactId>
|
| 54 |
+
<version>${project.version}</version>
|
| 55 |
+
</dependency>
|
| 56 |
+
<dependency>
|
| 57 |
+
<groupId>${project.groupId}</groupId>
|
| 58 |
+
<artifactId>tika-serialization</artifactId>
|
| 59 |
+
<version>${project.version}</version>
|
| 60 |
+
</dependency>
|
| 61 |
+
<dependency>
|
| 62 |
+
<groupId>${project.groupId}</groupId>
|
| 63 |
+
<artifactId>tika-xmp</artifactId>
|
| 64 |
+
<version>${project.version}</version>
|
| 65 |
+
</dependency>
|
| 66 |
+
<dependency>
|
| 67 |
+
<groupId>${project.groupId}</groupId>
|
| 68 |
+
<artifactId>tika-emitter-fs</artifactId>
|
| 69 |
+
<version>${project.version}</version>
|
| 70 |
+
</dependency>
|
| 71 |
+
<!-- this brings in tika-core -->
|
| 72 |
+
<dependency>
|
| 73 |
+
<groupId>${project.groupId}</groupId>
|
| 74 |
+
<artifactId>tika-async-cli</artifactId>
|
| 75 |
+
<version>${project.version}</version>
|
| 76 |
+
</dependency>
|
| 77 |
+
|
| 78 |
+
<!-- logging -->
|
| 79 |
+
<dependency>
|
| 80 |
+
<groupId>org.apache.logging.log4j</groupId>
|
| 81 |
+
<artifactId>log4j-core</artifactId>
|
| 82 |
+
</dependency>
|
| 83 |
+
<dependency>
|
| 84 |
+
<groupId>org.apache.logging.log4j</groupId>
|
| 85 |
+
<artifactId>log4j-slf4j2-impl</artifactId>
|
| 86 |
+
</dependency>
|
| 87 |
+
<dependency>
|
| 88 |
+
<groupId>org.slf4j</groupId>
|
| 89 |
+
<artifactId>jcl-over-slf4j</artifactId>
|
| 90 |
+
</dependency>
|
| 91 |
+
</dependencies>
|
| 92 |
+
|
| 93 |
+
<build>
|
| 94 |
+
<resources>
|
| 95 |
+
<resource>
|
| 96 |
+
<directory>src/main/resources</directory>
|
| 97 |
+
<filtering>false</filtering>
|
| 98 |
+
</resource>
|
| 99 |
+
<resource>
|
| 100 |
+
<directory>src/main/resources-filtered</directory>
|
| 101 |
+
<filtering>true</filtering>
|
| 102 |
+
</resource>
|
| 103 |
+
</resources>
|
| 104 |
+
<plugins>
|
| 105 |
+
<plugin>
|
| 106 |
+
<artifactId>maven-shade-plugin</artifactId>
|
| 107 |
+
<version>${maven.shade.version}</version>
|
| 108 |
+
<executions>
|
| 109 |
+
<execution>
|
| 110 |
+
<phase>package</phase>
|
| 111 |
+
<goals>
|
| 112 |
+
<goal>shade</goal>
|
| 113 |
+
</goals>
|
| 114 |
+
<configuration>
|
| 115 |
+
<createDependencyReducedPom>
|
| 116 |
+
false
|
| 117 |
+
</createDependencyReducedPom>
|
| 118 |
+
<artifactSet>
|
| 119 |
+
<excludes>
|
| 120 |
+
<exclude>org.apache.tika:tika-parsers-standard-package:jar:</exclude>
|
| 121 |
+
</excludes>
|
| 122 |
+
</artifactSet>
|
| 123 |
+
<filters>
|
| 124 |
+
<filter>
|
| 125 |
+
<artifact>*:*</artifact>
|
| 126 |
+
<excludes>
|
| 127 |
+
<exclude>META-INF/maven/plugin.xml</exclude>
|
| 128 |
+
<exclude>module-info.class</exclude>
|
| 129 |
+
<exclude>META-INF/*</exclude>
|
| 130 |
+
<exclude>LICENSE.txt</exclude>
|
| 131 |
+
<exclude>NOTICE.txt</exclude>
|
| 132 |
+
<exclude>CHANGES</exclude>
|
| 133 |
+
<exclude>README</exclude>
|
| 134 |
+
<exclude>builddef.lst</exclude>
|
| 135 |
+
<!-- https://issues.apache.org/jira/browse/TIKA-3650 -->
|
| 136 |
+
<exclude>javax/**/*</exclude>
|
| 137 |
+
|
| 138 |
+
</excludes>
|
| 139 |
+
</filter>
|
| 140 |
+
</filters>
|
| 141 |
+
<transformers>
|
| 142 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
| 143 |
+
<mainClass>org.apache.tika.cli.TikaCLI</mainClass>
|
| 144 |
+
<manifestEntries>
|
| 145 |
+
<Multi-Release>true</Multi-Release>
|
| 146 |
+
</manifestEntries>
|
| 147 |
+
</transformer>
|
| 148 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
| 149 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
| 150 |
+
<resource>META-INF/LICENSE</resource>
|
| 151 |
+
<file>target/classes/META-INF/LICENSE</file>
|
| 152 |
+
</transformer>
|
| 153 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
| 154 |
+
<resource>META-INF/NOTICE</resource>
|
| 155 |
+
<file>target/classes/META-INF/NOTICE</file>
|
| 156 |
+
</transformer>
|
| 157 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
| 158 |
+
<resource>META-INF/DEPENDENCIES</resource>
|
| 159 |
+
<file>target/classes/META-INF/DEPENDENCIES</file>
|
| 160 |
+
</transformer>
|
| 161 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
| 162 |
+
<resource>META-INF/cxf/bus-extensions.txt</resource>
|
| 163 |
+
</transformer>
|
| 164 |
+
</transformers>
|
| 165 |
+
</configuration>
|
| 166 |
+
</execution>
|
| 167 |
+
</executions>
|
| 168 |
+
</plugin>
|
| 169 |
+
<plugin>
|
| 170 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 171 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 172 |
+
<configuration>
|
| 173 |
+
<archive>
|
| 174 |
+
<manifestEntries>
|
| 175 |
+
<Automatic-Module-Name>org.apache.tika.app</Automatic-Module-Name>
|
| 176 |
+
</manifestEntries>
|
| 177 |
+
</archive>
|
| 178 |
+
</configuration>
|
| 179 |
+
<executions>
|
| 180 |
+
<execution>
|
| 181 |
+
<goals>
|
| 182 |
+
<goal>test-jar</goal>
|
| 183 |
+
</goals>
|
| 184 |
+
</execution>
|
| 185 |
+
</executions>
|
| 186 |
+
</plugin>
|
| 187 |
+
<plugin>
|
| 188 |
+
<groupId>org.apache.rat</groupId>
|
| 189 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 190 |
+
<version>${rat.version}</version>
|
| 191 |
+
<configuration>
|
| 192 |
+
<excludes>
|
| 193 |
+
<exclude>src/test/resources/test-data/**</exclude>
|
| 194 |
+
</excludes>
|
| 195 |
+
</configuration>
|
| 196 |
+
</plugin>
|
| 197 |
+
</plugins>
|
| 198 |
+
</build>
|
| 199 |
+
|
| 200 |
+
<profiles>
|
| 201 |
+
<profile>
|
| 202 |
+
<id>ikvm</id>
|
| 203 |
+
<activation>
|
| 204 |
+
<file>
|
| 205 |
+
<exists>${ikvm}/bin/ikvmc.exe</exists>
|
| 206 |
+
</file>
|
| 207 |
+
</activation>
|
| 208 |
+
<build>
|
| 209 |
+
<plugins>
|
| 210 |
+
<plugin>
|
| 211 |
+
<artifactId>maven-antrun-plugin</artifactId>
|
| 212 |
+
<version>${maven.antrun.version}</version>
|
| 213 |
+
<executions>
|
| 214 |
+
<execution>
|
| 215 |
+
<phase>package</phase>
|
| 216 |
+
<goals>
|
| 217 |
+
<goal>run</goal>
|
| 218 |
+
</goals>
|
| 219 |
+
<configuration>
|
| 220 |
+
<target>
|
| 221 |
+
<exec executable="${ikvm}/bin/ikvmc.exe">
|
| 222 |
+
<arg value="-nowarn:0100" />
|
| 223 |
+
<arg value="-nowarn:0105" />
|
| 224 |
+
<arg value="-nowarn:0109" />
|
| 225 |
+
<arg value="-nowarn:0111" />
|
| 226 |
+
<arg value="-nowarn:0112" />
|
| 227 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Util.dll" />
|
| 228 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Charsets.dll" />
|
| 229 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Text.dll" />
|
| 230 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Core.dll" />
|
| 231 |
+
<arg value="-reference:${ikvm}/bin/IKVM.AWT.WinForms.dll" />
|
| 232 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Media.dll" />
|
| 233 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Misc.dll" />
|
| 234 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Security.dll" />
|
| 235 |
+
<arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.SwingAWT.dll" />
|
| 236 |
+
<arg value="-target:library" />
|
| 237 |
+
<arg value="-compressresources" />
|
| 238 |
+
<arg value="-out:${project.build.directory}/${project.build.finalName}.dll" />
|
| 239 |
+
<arg value="${project.build.directory}/${project.build.finalName}.jar" />
|
| 240 |
+
</exec>
|
| 241 |
+
</target>
|
| 242 |
+
</configuration>
|
| 243 |
+
</execution>
|
| 244 |
+
</executions>
|
| 245 |
+
</plugin>
|
| 246 |
+
<plugin>
|
| 247 |
+
<groupId>org.codehaus.mojo</groupId>
|
| 248 |
+
<artifactId>build-helper-maven-plugin</artifactId>
|
| 249 |
+
<version>3.6.0</version>
|
| 250 |
+
<executions>
|
| 251 |
+
<execution>
|
| 252 |
+
<phase>package</phase>
|
| 253 |
+
<goals>
|
| 254 |
+
<goal>attach-artifact</goal>
|
| 255 |
+
</goals>
|
| 256 |
+
<configuration>
|
| 257 |
+
<artifacts>
|
| 258 |
+
<artifacts>
|
| 259 |
+
<file>${project.build.directory}/${project.build.finalName}.dll</file>
|
| 260 |
+
<type>dll</type>
|
| 261 |
+
</artifacts>
|
| 262 |
+
</artifacts>
|
| 263 |
+
</configuration>
|
| 264 |
+
</execution>
|
| 265 |
+
</executions>
|
| 266 |
+
</plugin>
|
| 267 |
+
</plugins>
|
| 268 |
+
</build>
|
| 269 |
+
</profile>
|
| 270 |
+
</profiles>
|
| 271 |
+
|
| 272 |
+
<organization>
|
| 273 |
+
<name>The Apache Software Foundation</name>
|
| 274 |
+
<url>http://www.apache.org</url>
|
| 275 |
+
</organization>
|
| 276 |
+
<issueManagement>
|
| 277 |
+
<system>JIRA</system>
|
| 278 |
+
<url>https://issues.apache.org/jira/browse/TIKA</url>
|
| 279 |
+
</issueManagement>
|
| 280 |
+
<ciManagement>
|
| 281 |
+
<system>Jenkins</system>
|
| 282 |
+
<url>https://builds.apache.org/job/Tika-trunk/</url>
|
| 283 |
+
</ciManagement>
|
| 284 |
+
|
| 285 |
+
<scm>
|
| 286 |
+
<tag>3.0.0-rc1</tag>
|
| 287 |
+
</scm>
|
| 288 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-detectors/pom.xml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-detectors</artifactId>
|
| 33 |
+
<packaging>pom</packaging>
|
| 34 |
+
<name>Apache Tika Detectors</name>
|
| 35 |
+
|
| 36 |
+
<modules>
|
| 37 |
+
<module>tika-detector-siegfried</module>
|
| 38 |
+
<module>tika-detector-magika</module>
|
| 39 |
+
</modules>
|
| 40 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-example/pom.xml
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-example</artifactId>
|
| 33 |
+
<name>Apache Tika examples</name>
|
| 34 |
+
<url>https://tika.apache.org/</url>
|
| 35 |
+
|
| 36 |
+
<!-- List of dependencies that we depend on for the examples. See the full list of Tika
|
| 37 |
+
modules and how to use them at http://mvnrepository.com/artifact/org.apache.tika.-->
|
| 38 |
+
<dependencies>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.apache.tika</groupId>
|
| 41 |
+
<artifactId>tika-app</artifactId>
|
| 42 |
+
<version>${project.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>org.apache.tika</groupId>
|
| 46 |
+
<artifactId>tika-serialization</artifactId>
|
| 47 |
+
<version>${project.version}</version>
|
| 48 |
+
</dependency>
|
| 49 |
+
<dependency>
|
| 50 |
+
<groupId>org.apache.tika</groupId>
|
| 51 |
+
<artifactId>tika-translate</artifactId>
|
| 52 |
+
<version>${project.version}</version>
|
| 53 |
+
</dependency>
|
| 54 |
+
<dependency>
|
| 55 |
+
<groupId>${project.groupId}</groupId>
|
| 56 |
+
<artifactId>tika-langdetect-optimaize</artifactId>
|
| 57 |
+
<version>${project.version}</version>
|
| 58 |
+
</dependency>
|
| 59 |
+
<dependency>
|
| 60 |
+
<groupId>org.apache.tika</groupId>
|
| 61 |
+
<artifactId>tika-eval-core</artifactId>
|
| 62 |
+
<version>${project.version}</version>
|
| 63 |
+
</dependency>
|
| 64 |
+
<dependency>
|
| 65 |
+
<groupId>org.apache.tika</groupId>
|
| 66 |
+
<artifactId>tika-transcribe-aws</artifactId>
|
| 67 |
+
<version>${project.version}</version>
|
| 68 |
+
</dependency>
|
| 69 |
+
<dependency>
|
| 70 |
+
<groupId>org.apache.tika</groupId>
|
| 71 |
+
<artifactId>tika-core</artifactId>
|
| 72 |
+
<version>${project.version}</version>
|
| 73 |
+
<type>test-jar</type>
|
| 74 |
+
<scope>test</scope>
|
| 75 |
+
</dependency>
|
| 76 |
+
<dependency>
|
| 77 |
+
<groupId>javax.jcr</groupId>
|
| 78 |
+
<artifactId>jcr</artifactId>
|
| 79 |
+
<version>${javax.jcr.version}</version>
|
| 80 |
+
</dependency>
|
| 81 |
+
<dependency>
|
| 82 |
+
<groupId>org.apache.jackrabbit</groupId>
|
| 83 |
+
<artifactId>jackrabbit-jcr-server</artifactId>
|
| 84 |
+
<version>${jackrabbit.version}</version>
|
| 85 |
+
<exclusions>
|
| 86 |
+
<exclusion>
|
| 87 |
+
<groupId>org.apache.tika</groupId>
|
| 88 |
+
<artifactId>tika-core</artifactId>
|
| 89 |
+
</exclusion>
|
| 90 |
+
</exclusions>
|
| 91 |
+
</dependency>
|
| 92 |
+
<dependency>
|
| 93 |
+
<groupId>org.apache.jackrabbit</groupId>
|
| 94 |
+
<artifactId>jackrabbit-core</artifactId>
|
| 95 |
+
<version>${jackrabbit.version}</version>
|
| 96 |
+
<exclusions>
|
| 97 |
+
<exclusion>
|
| 98 |
+
<groupId>org.apache.tika</groupId>
|
| 99 |
+
<artifactId>tika-core</artifactId>
|
| 100 |
+
</exclusion>
|
| 101 |
+
</exclusions>
|
| 102 |
+
</dependency>
|
| 103 |
+
<dependency>
|
| 104 |
+
<groupId>org.apache.lucene</groupId>
|
| 105 |
+
<artifactId>lucene-core</artifactId>
|
| 106 |
+
</dependency>
|
| 107 |
+
<dependency>
|
| 108 |
+
<groupId>org.springframework</groupId>
|
| 109 |
+
<artifactId>spring-context</artifactId>
|
| 110 |
+
<version>${spring.version}</version>
|
| 111 |
+
</dependency>
|
| 112 |
+
</dependencies>
|
| 113 |
+
|
| 114 |
+
<description>This module contains examples of how to use Apache Tika.</description>
|
| 115 |
+
<build>
|
| 116 |
+
<plugins>
|
| 117 |
+
<plugin>
|
| 118 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 119 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 120 |
+
<version>${checkstyle.plugin.version}</version>
|
| 121 |
+
<dependencies>
|
| 122 |
+
<dependency>
|
| 123 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 124 |
+
<artifactId>checkstyle</artifactId>
|
| 125 |
+
<version>${puppycrawl.version}</version>
|
| 126 |
+
</dependency>
|
| 127 |
+
</dependencies>
|
| 128 |
+
<executions>
|
| 129 |
+
<execution>
|
| 130 |
+
<id>validate</id>
|
| 131 |
+
<phase>validate</phase>
|
| 132 |
+
<configuration>
|
| 133 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 134 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 135 |
+
<consoleOutput>false</consoleOutput>
|
| 136 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 137 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 138 |
+
<violationSeverity>error</violationSeverity>
|
| 139 |
+
<failOnViolation>true</failOnViolation>
|
| 140 |
+
</configuration>
|
| 141 |
+
<goals>
|
| 142 |
+
<goal>check</goal>
|
| 143 |
+
</goals>
|
| 144 |
+
</execution>
|
| 145 |
+
</executions>
|
| 146 |
+
</plugin>
|
| 147 |
+
</plugins>
|
| 148 |
+
</build>
|
| 149 |
+
|
| 150 |
+
<scm>
|
| 151 |
+
<tag>3.0.0-rc1</tag>
|
| 152 |
+
</scm>
|
| 153 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-fuzzing/pom.xml
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<groupId>org.apache.tika</groupId>
|
| 23 |
+
<artifactId>tika-parent</artifactId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
|
| 28 |
+
<artifactId>tika-fuzzing</artifactId>
|
| 29 |
+
<name>Apache Tika fuzzing</name>
|
| 30 |
+
<url>https://tika.apache.org/</url>
|
| 31 |
+
|
| 32 |
+
<modelVersion>4.0.0</modelVersion>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
<dependencies>
|
| 36 |
+
<dependency>
|
| 37 |
+
<groupId>${project.groupId}</groupId>
|
| 38 |
+
<artifactId>tika-core</artifactId>
|
| 39 |
+
<version>${project.version}</version>
|
| 40 |
+
<scope>provided</scope>
|
| 41 |
+
</dependency>
|
| 42 |
+
<dependency>
|
| 43 |
+
<groupId>${project.groupId}</groupId>
|
| 44 |
+
<artifactId>tika-serialization</artifactId>
|
| 45 |
+
<version>${project.version}</version>
|
| 46 |
+
</dependency>
|
| 47 |
+
<dependency>
|
| 48 |
+
<groupId>${project.groupId}</groupId>
|
| 49 |
+
<artifactId>tika-emitter-fs</artifactId>
|
| 50 |
+
<version>${project.version}</version>
|
| 51 |
+
</dependency>
|
| 52 |
+
<dependency>
|
| 53 |
+
<groupId>commons-cli</groupId>
|
| 54 |
+
<artifactId>commons-cli</artifactId>
|
| 55 |
+
</dependency>
|
| 56 |
+
<dependency>
|
| 57 |
+
<groupId>org.apache.tika</groupId>
|
| 58 |
+
<artifactId>tika-parser-pkg-module</artifactId>
|
| 59 |
+
<version>${project.version}</version>
|
| 60 |
+
</dependency>
|
| 61 |
+
<dependency>
|
| 62 |
+
<groupId>org.apache.tika</groupId>
|
| 63 |
+
<artifactId>tika-parser-pdf-module</artifactId>
|
| 64 |
+
<version>${project.version}</version>
|
| 65 |
+
</dependency>
|
| 66 |
+
<!-- logging -->
|
| 67 |
+
<dependency>
|
| 68 |
+
<groupId>org.apache.logging.log4j</groupId>
|
| 69 |
+
<artifactId>log4j-slf4j2-impl</artifactId>
|
| 70 |
+
</dependency>
|
| 71 |
+
<dependency>
|
| 72 |
+
<groupId>org.slf4j</groupId>
|
| 73 |
+
<artifactId>jcl-over-slf4j</artifactId>
|
| 74 |
+
</dependency>
|
| 75 |
+
<!-- test -->
|
| 76 |
+
<dependency>
|
| 77 |
+
<groupId>org.apache.tika</groupId>
|
| 78 |
+
<artifactId>tika-parser-digest-commons</artifactId>
|
| 79 |
+
<version>${project.version}</version>
|
| 80 |
+
</dependency>
|
| 81 |
+
|
| 82 |
+
<!-- bring in the mock parser -->
|
| 83 |
+
<dependency>
|
| 84 |
+
<groupId>${project.groupId}</groupId>
|
| 85 |
+
<artifactId>tika-core</artifactId>
|
| 86 |
+
<version>${project.version}</version>
|
| 87 |
+
<type>test-jar</type>
|
| 88 |
+
<scope>test</scope>
|
| 89 |
+
</dependency>
|
| 90 |
+
</dependencies>
|
| 91 |
+
<build>
|
| 92 |
+
<plugins>
|
| 93 |
+
<plugin>
|
| 94 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 95 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 96 |
+
<version>${checkstyle.plugin.version}</version>
|
| 97 |
+
<dependencies>
|
| 98 |
+
<dependency>
|
| 99 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 100 |
+
<artifactId>checkstyle</artifactId>
|
| 101 |
+
<version>${puppycrawl.version}</version>
|
| 102 |
+
</dependency>
|
| 103 |
+
</dependencies>
|
| 104 |
+
<executions>
|
| 105 |
+
<execution>
|
| 106 |
+
<id>validate</id>
|
| 107 |
+
<phase>validate</phase>
|
| 108 |
+
<configuration>
|
| 109 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 110 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 111 |
+
<consoleOutput>false</consoleOutput>
|
| 112 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 113 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 114 |
+
<violationSeverity>error</violationSeverity>
|
| 115 |
+
<failOnViolation>true</failOnViolation>
|
| 116 |
+
</configuration>
|
| 117 |
+
<goals>
|
| 118 |
+
<goal>check</goal>
|
| 119 |
+
</goals>
|
| 120 |
+
</execution>
|
| 121 |
+
</executions>
|
| 122 |
+
</plugin>
|
| 123 |
+
<plugin>
|
| 124 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 125 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 126 |
+
<configuration>
|
| 127 |
+
<archive>
|
| 128 |
+
<manifestEntries>
|
| 129 |
+
<Automatic-Module-Name>org.apache.tika.fuzzing</Automatic-Module-Name>
|
| 130 |
+
</manifestEntries>
|
| 131 |
+
</archive>
|
| 132 |
+
</configuration>
|
| 133 |
+
</plugin>
|
| 134 |
+
</plugins>
|
| 135 |
+
</build>
|
| 136 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-grpc/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tika Pipes GRPC Server
|
| 2 |
+
|
| 3 |
+
The following is the Tika Pipes GRPC Server.
|
| 4 |
+
|
| 5 |
+
This server will manage a pool of Tika Pipes clients.
|
| 6 |
+
|
| 7 |
+
* Tika Pipes Fetcher CRUD operations
|
| 8 |
+
* Create
|
| 9 |
+
* Read
|
| 10 |
+
* Update
|
| 11 |
+
* Delete
|
| 12 |
+
* Fetch + Parse a given Fetch Item
|
| 13 |
+
|
local-test-tika-full-01-vuln_8/afc-tika/tika-grpc/pom.xml
ADDED
|
@@ -0,0 +1,434 @@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
| 21 |
+
<modelVersion>4.0.0</modelVersion>
|
| 22 |
+
<artifactId>tika-grpc</artifactId>
|
| 23 |
+
<packaging>jar</packaging>
|
| 24 |
+
<!-- Feel free to delete the comment at the end of these lines. It is just
|
| 25 |
+
for safely updating the version in our release process. -->
|
| 26 |
+
<name>Apache Tika pipes gRPC server</name>
|
| 27 |
+
<url>https://tika.apache.org/</url>
|
| 28 |
+
|
| 29 |
+
<parent>
|
| 30 |
+
<groupId>org.apache.tika</groupId>
|
| 31 |
+
<artifactId>tika-parent</artifactId>
|
| 32 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 33 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 34 |
+
</parent>
|
| 35 |
+
|
| 36 |
+
<properties>
|
| 37 |
+
<grpc.version>1.71.0</grpc.version>
|
| 38 |
+
<asarkar-grpc-test.version>1.2.2</asarkar-grpc-test.version>
|
| 39 |
+
<awaitility.version>4.3.0</awaitility.version>
|
| 40 |
+
<j2objc-annotations.version>3.0.0</j2objc-annotations.version>
|
| 41 |
+
<!-- javadocs doesn't build for generated code in release:perform, but
|
| 42 |
+
appears to work generally :/ -->
|
| 43 |
+
<maven.javadoc.skip>true</maven.javadoc.skip>
|
| 44 |
+
</properties>
|
| 45 |
+
|
| 46 |
+
<dependencyManagement>
|
| 47 |
+
<dependencies>
|
| 48 |
+
<dependency>
|
| 49 |
+
<groupId>io.grpc</groupId>
|
| 50 |
+
<artifactId>grpc-bom</artifactId>
|
| 51 |
+
<version>${grpc.version}</version>
|
| 52 |
+
<type>pom</type>
|
| 53 |
+
<scope>import</scope>
|
| 54 |
+
</dependency>
|
| 55 |
+
</dependencies>
|
| 56 |
+
</dependencyManagement>
|
| 57 |
+
|
| 58 |
+
<dependencies>
|
| 59 |
+
<dependency>
|
| 60 |
+
<groupId>io.grpc</groupId>
|
| 61 |
+
<artifactId>grpc-netty-shaded</artifactId>
|
| 62 |
+
<scope>runtime</scope>
|
| 63 |
+
<exclusions>
|
| 64 |
+
<exclusion>
|
| 65 |
+
<groupId>com.google.guava</groupId>
|
| 66 |
+
<artifactId>guava</artifactId>
|
| 67 |
+
</exclusion>
|
| 68 |
+
<exclusion>
|
| 69 |
+
<groupId>com.google.errorprone</groupId>
|
| 70 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 71 |
+
</exclusion>
|
| 72 |
+
<exclusion>
|
| 73 |
+
<groupId>com.google.code.gson</groupId>
|
| 74 |
+
<artifactId>gson</artifactId>
|
| 75 |
+
</exclusion>
|
| 76 |
+
</exclusions>
|
| 77 |
+
</dependency>
|
| 78 |
+
<dependency>
|
| 79 |
+
<groupId>io.grpc</groupId>
|
| 80 |
+
<artifactId>grpc-protobuf</artifactId>
|
| 81 |
+
<exclusions>
|
| 82 |
+
<exclusion>
|
| 83 |
+
<groupId>com.google.guava</groupId>
|
| 84 |
+
<artifactId>guava</artifactId>
|
| 85 |
+
</exclusion>
|
| 86 |
+
<exclusion>
|
| 87 |
+
<groupId>com.google.errorprone</groupId>
|
| 88 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 89 |
+
</exclusion>
|
| 90 |
+
</exclusions>
|
| 91 |
+
</dependency>
|
| 92 |
+
<dependency>
|
| 93 |
+
<groupId>io.grpc</groupId>
|
| 94 |
+
<artifactId>grpc-services</artifactId>
|
| 95 |
+
<exclusions>
|
| 96 |
+
<exclusion>
|
| 97 |
+
<groupId>com.google.protobuf</groupId>
|
| 98 |
+
<artifactId>protobuf-java-util</artifactId>
|
| 99 |
+
</exclusion>
|
| 100 |
+
<exclusion>
|
| 101 |
+
<groupId>com.google.guava</groupId>
|
| 102 |
+
<artifactId>guava</artifactId>
|
| 103 |
+
</exclusion>
|
| 104 |
+
<exclusion>
|
| 105 |
+
<groupId>com.google.errorprone</groupId>
|
| 106 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 107 |
+
</exclusion>
|
| 108 |
+
<exclusion>
|
| 109 |
+
<groupId>com.google.j2objc</groupId>
|
| 110 |
+
<artifactId>j2objc-annotations</artifactId>
|
| 111 |
+
</exclusion>
|
| 112 |
+
</exclusions>
|
| 113 |
+
</dependency>
|
| 114 |
+
<dependency>
|
| 115 |
+
<groupId>io.grpc</groupId>
|
| 116 |
+
<artifactId>grpc-stub</artifactId>
|
| 117 |
+
<exclusions>
|
| 118 |
+
<exclusion>
|
| 119 |
+
<groupId>com.google.guava</groupId>
|
| 120 |
+
<artifactId>guava</artifactId>
|
| 121 |
+
</exclusion>
|
| 122 |
+
<exclusion>
|
| 123 |
+
<groupId>com.google.errorprone</groupId>
|
| 124 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 125 |
+
</exclusion>
|
| 126 |
+
</exclusions>
|
| 127 |
+
</dependency>
|
| 128 |
+
<dependency>
|
| 129 |
+
<groupId>com.google.protobuf</groupId>
|
| 130 |
+
<artifactId>protobuf-java-util</artifactId>
|
| 131 |
+
<version>${protobuf.version}</version>
|
| 132 |
+
<exclusions>
|
| 133 |
+
<exclusion>
|
| 134 |
+
<groupId>com.google.guava</groupId>
|
| 135 |
+
<artifactId>guava</artifactId>
|
| 136 |
+
</exclusion>
|
| 137 |
+
<exclusion>
|
| 138 |
+
<groupId>com.google.errorprone</groupId>
|
| 139 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 140 |
+
</exclusion>
|
| 141 |
+
<exclusion>
|
| 142 |
+
<groupId>com.google.j2objc</groupId>
|
| 143 |
+
<artifactId>j2objc-annotations</artifactId>
|
| 144 |
+
</exclusion>
|
| 145 |
+
</exclusions>
|
| 146 |
+
</dependency>
|
| 147 |
+
<dependency>
|
| 148 |
+
<groupId>com.google.j2objc</groupId>
|
| 149 |
+
<artifactId>j2objc-annotations</artifactId>
|
| 150 |
+
<version>${j2objc-annotations.version}</version> <!-- prevent downgrade of version in guava -->
|
| 151 |
+
</dependency>
|
| 152 |
+
<dependency>
|
| 153 |
+
<groupId>org.apache.tika</groupId>
|
| 154 |
+
<artifactId>tika-async-cli</artifactId>
|
| 155 |
+
<version>${project.version}</version>
|
| 156 |
+
</dependency>
|
| 157 |
+
<dependency>
|
| 158 |
+
<groupId>org.apache.tika</groupId>
|
| 159 |
+
<artifactId>tika-parsers-standard-package</artifactId>
|
| 160 |
+
<version>${project.version}</version>
|
| 161 |
+
</dependency>
|
| 162 |
+
<dependency>
|
| 163 |
+
<groupId>org.apache.tika</groupId>
|
| 164 |
+
<artifactId>tika-core</artifactId>
|
| 165 |
+
<version>${project.version}</version>
|
| 166 |
+
</dependency>
|
| 167 |
+
<dependency>
|
| 168 |
+
<groupId>com.google.guava</groupId>
|
| 169 |
+
<artifactId>guava</artifactId>
|
| 170 |
+
<exclusions>
|
| 171 |
+
<exclusion>
|
| 172 |
+
<groupId>com.google.errorprone</groupId>
|
| 173 |
+
<artifactId>error_prone_annotations</artifactId>
|
| 174 |
+
</exclusion>
|
| 175 |
+
<exclusion>
|
| 176 |
+
<groupId>com.google.j2objc</groupId>
|
| 177 |
+
<artifactId>j2objc-annotations</artifactId>
|
| 178 |
+
</exclusion>
|
| 179 |
+
</exclusions>
|
| 180 |
+
</dependency>
|
| 181 |
+
<!-- logging -->
|
| 182 |
+
<dependency>
|
| 183 |
+
<groupId>org.apache.logging.log4j</groupId>
|
| 184 |
+
<artifactId>log4j-core</artifactId>
|
| 185 |
+
</dependency>
|
| 186 |
+
<dependency>
|
| 187 |
+
<groupId>org.apache.logging.log4j</groupId>
|
| 188 |
+
<artifactId>log4j-slf4j2-impl</artifactId>
|
| 189 |
+
</dependency>
|
| 190 |
+
<dependency>
|
| 191 |
+
<groupId>org.slf4j</groupId>
|
| 192 |
+
<artifactId>jcl-over-slf4j</artifactId>
|
| 193 |
+
</dependency>
|
| 194 |
+
<dependency>
|
| 195 |
+
<groupId>org.apache.tomcat</groupId>
|
| 196 |
+
<artifactId>annotations-api</artifactId>
|
| 197 |
+
<version>6.0.53</version>
|
| 198 |
+
<scope>provided</scope>
|
| 199 |
+
</dependency>
|
| 200 |
+
<dependency>
|
| 201 |
+
<groupId>com.beust</groupId>
|
| 202 |
+
<artifactId>jcommander</artifactId>
|
| 203 |
+
</dependency>
|
| 204 |
+
<dependency>
|
| 205 |
+
<groupId>org.mockito</groupId>
|
| 206 |
+
<artifactId>mockito-core</artifactId>
|
| 207 |
+
<scope>test</scope>
|
| 208 |
+
</dependency>
|
| 209 |
+
<dependency>
|
| 210 |
+
<groupId>io.grpc</groupId>
|
| 211 |
+
<artifactId>grpc-testing</artifactId>
|
| 212 |
+
<scope>test</scope>
|
| 213 |
+
<exclusions>
|
| 214 |
+
<exclusion>
|
| 215 |
+
<groupId>com.google.guava</groupId>
|
| 216 |
+
<artifactId>guava</artifactId>
|
| 217 |
+
</exclusion>
|
| 218 |
+
</exclusions>
|
| 219 |
+
</dependency>
|
| 220 |
+
<dependency>
|
| 221 |
+
<groupId>org.apache.tika</groupId>
|
| 222 |
+
<artifactId>tika-fetcher-http</artifactId>
|
| 223 |
+
<version>${project.version}</version>
|
| 224 |
+
</dependency>
|
| 225 |
+
<dependency>
|
| 226 |
+
<groupId>com.fasterxml.jackson.module</groupId>
|
| 227 |
+
<artifactId>jackson-module-jsonSchema</artifactId>
|
| 228 |
+
</dependency>
|
| 229 |
+
<dependency>
|
| 230 |
+
<groupId>com.asarkar.grpc</groupId>
|
| 231 |
+
<artifactId>grpc-test</artifactId>
|
| 232 |
+
<version>${asarkar-grpc-test.version}</version>
|
| 233 |
+
<scope>test</scope>
|
| 234 |
+
</dependency>
|
| 235 |
+
<dependency>
|
| 236 |
+
<groupId>org.eclipse.jetty</groupId>
|
| 237 |
+
<artifactId>jetty-server</artifactId>
|
| 238 |
+
<scope>test</scope>
|
| 239 |
+
</dependency>
|
| 240 |
+
<dependency>
|
| 241 |
+
<groupId>org.awaitility</groupId>
|
| 242 |
+
<artifactId>awaitility</artifactId>
|
| 243 |
+
<version>${awaitility.version}</version>
|
| 244 |
+
<scope>test</scope>
|
| 245 |
+
</dependency>
|
| 246 |
+
</dependencies>
|
| 247 |
+
<build>
|
| 248 |
+
<extensions>
|
| 249 |
+
<extension>
|
| 250 |
+
<groupId>kr.motd.maven</groupId>
|
| 251 |
+
<artifactId>os-maven-plugin</artifactId>
|
| 252 |
+
<version>1.7.1</version>
|
| 253 |
+
</extension>
|
| 254 |
+
</extensions>
|
| 255 |
+
<plugins>
|
| 256 |
+
<plugin>
|
| 257 |
+
<groupId>org.xolstice.maven.plugins</groupId>
|
| 258 |
+
<artifactId>protobuf-maven-plugin</artifactId>
|
| 259 |
+
<version>0.6.1</version>
|
| 260 |
+
<configuration>
|
| 261 |
+
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
|
| 262 |
+
<pluginId>grpc-java</pluginId>
|
| 263 |
+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
| 264 |
+
</configuration>
|
| 265 |
+
<executions>
|
| 266 |
+
<execution>
|
| 267 |
+
<goals>
|
| 268 |
+
<goal>compile</goal>
|
| 269 |
+
<goal>compile-custom</goal>
|
| 270 |
+
</goals>
|
| 271 |
+
</execution>
|
| 272 |
+
</executions>
|
| 273 |
+
</plugin>
|
| 274 |
+
<plugin>
|
| 275 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 276 |
+
<artifactId>maven-enforcer-plugin</artifactId>
|
| 277 |
+
<version>3.5.0</version>
|
| 278 |
+
<executions>
|
| 279 |
+
<execution>
|
| 280 |
+
<id>enforce</id>
|
| 281 |
+
<goals>
|
| 282 |
+
<goal>enforce</goal>
|
| 283 |
+
</goals>
|
| 284 |
+
<configuration>
|
| 285 |
+
<rules>
|
| 286 |
+
<requireUpperBoundDeps />
|
| 287 |
+
</rules>
|
| 288 |
+
</configuration>
|
| 289 |
+
</execution>
|
| 290 |
+
</executions>
|
| 291 |
+
</plugin>
|
| 292 |
+
<plugin>
|
| 293 |
+
<groupId>org.apache.rat</groupId>
|
| 294 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 295 |
+
<version>${rat.version}</version>
|
| 296 |
+
<configuration>
|
| 297 |
+
<excludes>
|
| 298 |
+
<exclude>src/test/resources/certs/**</exclude>
|
| 299 |
+
<exclude>README.md</exclude>
|
| 300 |
+
</excludes>
|
| 301 |
+
</configuration>
|
| 302 |
+
</plugin>
|
| 303 |
+
<plugin>
|
| 304 |
+
<groupId>org.codehaus.mojo</groupId>
|
| 305 |
+
<artifactId>build-helper-maven-plugin</artifactId>
|
| 306 |
+
<version>3.6.0</version>
|
| 307 |
+
<executions>
|
| 308 |
+
<execution>
|
| 309 |
+
<id>test</id>
|
| 310 |
+
<phase>generate-sources</phase>
|
| 311 |
+
<goals>
|
| 312 |
+
<goal>add-source</goal>
|
| 313 |
+
</goals>
|
| 314 |
+
<configuration>
|
| 315 |
+
<sources>
|
| 316 |
+
<source>${basedir}/target/generated-sources/protobuf/grpc-java</source>
|
| 317 |
+
<source>${basedir}/target/generated-sources/protobuf/java</source>
|
| 318 |
+
</sources>
|
| 319 |
+
</configuration>
|
| 320 |
+
</execution>
|
| 321 |
+
</executions>
|
| 322 |
+
</plugin>
|
| 323 |
+
<plugin>
|
| 324 |
+
<groupId>org.codehaus.mojo</groupId>
|
| 325 |
+
<artifactId>exec-maven-plugin</artifactId>
|
| 326 |
+
<version>3.5.0</version>
|
| 327 |
+
<executions>
|
| 328 |
+
<execution>
|
| 329 |
+
<goals>
|
| 330 |
+
<goal>java</goal>
|
| 331 |
+
</goals>
|
| 332 |
+
</execution>
|
| 333 |
+
</executions>
|
| 334 |
+
<configuration>
|
| 335 |
+
<mainClass>org.apache.tika.pipes.grpc.TikaGrpcServer</mainClass>
|
| 336 |
+
</configuration>
|
| 337 |
+
</plugin>
|
| 338 |
+
<plugin>
|
| 339 |
+
<artifactId>maven-shade-plugin</artifactId>
|
| 340 |
+
<version>${maven.shade.version}</version>
|
| 341 |
+
<executions>
|
| 342 |
+
<execution>
|
| 343 |
+
<phase>package</phase>
|
| 344 |
+
<goals>
|
| 345 |
+
<goal>shade</goal>
|
| 346 |
+
</goals>
|
| 347 |
+
<configuration>
|
| 348 |
+
<createDependencyReducedPom>
|
| 349 |
+
false
|
| 350 |
+
</createDependencyReducedPom>
|
| 351 |
+
<artifactSet>
|
| 352 |
+
<excludes>
|
| 353 |
+
</excludes>
|
| 354 |
+
</artifactSet>
|
| 355 |
+
<filters>
|
| 356 |
+
<filter>
|
| 357 |
+
<artifact>*:*</artifact>
|
| 358 |
+
<excludes>
|
| 359 |
+
<exclude>module-info.class</exclude>
|
| 360 |
+
<exclude>META-INF/maven/plugin.xml</exclude>
|
| 361 |
+
<exclude>META-INF/versions/9/module-info.class</exclude>
|
| 362 |
+
<exclude>META-INF/*.SF</exclude>
|
| 363 |
+
<exclude>META-INF/*.DSA</exclude>
|
| 364 |
+
<exclude>META-INF/*.RSA</exclude>
|
| 365 |
+
<exclude>META-INF/*.txt</exclude>
|
| 366 |
+
<exclude>META-INF/ASL2.0</exclude>
|
| 367 |
+
<exclude>META-INF/DEPENDENCIES</exclude>
|
| 368 |
+
<exclude>META-INF/LICENSE</exclude>
|
| 369 |
+
<exclude>META-INF/NOTICE</exclude>
|
| 370 |
+
<exclude>META-INF/README</exclude>
|
| 371 |
+
<exclude>META-INF/MANIFEST.MF</exclude>
|
| 372 |
+
<exclude>LICENSE.txt</exclude>
|
| 373 |
+
<exclude>NOTICE.txt</exclude>
|
| 374 |
+
<exclude>CHANGES</exclude>
|
| 375 |
+
<exclude>README</exclude>
|
| 376 |
+
<exclude>builddef.lst</exclude>
|
| 377 |
+
</excludes>
|
| 378 |
+
</filter>
|
| 379 |
+
</filters>
|
| 380 |
+
<transformers>
|
| 381 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
| 382 |
+
<mainClass>org.apache.tika.pipes.grpc.TikaGrpcServer</mainClass>
|
| 383 |
+
<manifestEntries>
|
| 384 |
+
<Multi-Release>true</Multi-Release>
|
| 385 |
+
</manifestEntries>
|
| 386 |
+
</transformer>
|
| 387 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
| 388 |
+
<resource>META-INF/LICENSE</resource>
|
| 389 |
+
<file>target/classes/META-INF/LICENSE</file>
|
| 390 |
+
</transformer>
|
| 391 |
+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
| 392 |
+
<resource>META-INF/NOTICE</resource>
|
| 393 |
+
<file>target/classes/META-INF/NOTICE</file>
|
| 394 |
+
</transformer>
|
| 395 |
+
</transformers>
|
| 396 |
+
</configuration>
|
| 397 |
+
</execution>
|
| 398 |
+
</executions>
|
| 399 |
+
</plugin>
|
| 400 |
+
<plugin>
|
| 401 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 402 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 403 |
+
<version>${checkstyle.plugin.version}</version>
|
| 404 |
+
<dependencies>
|
| 405 |
+
<dependency>
|
| 406 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 407 |
+
<artifactId>checkstyle</artifactId>
|
| 408 |
+
<version>${puppycrawl.version}</version>
|
| 409 |
+
</dependency>
|
| 410 |
+
</dependencies>
|
| 411 |
+
<executions>
|
| 412 |
+
<execution>
|
| 413 |
+
<id>validate</id>
|
| 414 |
+
<phase>validate</phase>
|
| 415 |
+
<configuration>
|
| 416 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 417 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 418 |
+
<consoleOutput>true</consoleOutput>
|
| 419 |
+
<logViolationsToConsole>true</logViolationsToConsole>
|
| 420 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 421 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 422 |
+
<violationSeverity>error</violationSeverity>
|
| 423 |
+
<failOnViolation>true</failOnViolation>
|
| 424 |
+
<excludeGeneratedSources>true</excludeGeneratedSources>
|
| 425 |
+
</configuration>
|
| 426 |
+
<goals>
|
| 427 |
+
<goal>check</goal>
|
| 428 |
+
</goals>
|
| 429 |
+
</execution>
|
| 430 |
+
</executions>
|
| 431 |
+
</plugin>
|
| 432 |
+
</plugins>
|
| 433 |
+
</build>
|
| 434 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-handlers/README.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This package is intended to hold non-standard handlers. These may have dependencies that some don't want,
|
| 2 |
+
or they may have a focus that isn't general enough to warrant adding them to tika-core
|
local-test-tika-full-01-vuln_8/afc-tika/tika-integration-tests/pom.xml
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<groupId>org.apache.tika</groupId>
|
| 23 |
+
<artifactId>tika-parent</artifactId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-integration-tests</artifactId>
|
| 30 |
+
<name>Apache Tika integration tests</name>
|
| 31 |
+
|
| 32 |
+
<packaging>pom</packaging>
|
| 33 |
+
|
| 34 |
+
<modules>
|
| 35 |
+
<module>tika-pipes-solr-integration-tests</module>
|
| 36 |
+
<module>tika-pipes-opensearch-integration-tests</module>
|
| 37 |
+
<module>tika-pipes-s3-integration-tests</module>
|
| 38 |
+
<module>tika-resource-loading-tests</module>
|
| 39 |
+
<module>tika-pipes-kafka-integration-tests</module>
|
| 40 |
+
</modules>
|
| 41 |
+
|
| 42 |
+
<dependencies>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>${project.groupId}</groupId>
|
| 45 |
+
<artifactId>tika-core</artifactId>
|
| 46 |
+
<version>${project.version}</version>
|
| 47 |
+
<scope>test</scope>
|
| 48 |
+
</dependency>
|
| 49 |
+
<dependency>
|
| 50 |
+
<groupId>${project.groupId}</groupId>
|
| 51 |
+
<artifactId>tika-serialization</artifactId>
|
| 52 |
+
<version>${project.version}</version>
|
| 53 |
+
<scope>test</scope>
|
| 54 |
+
</dependency>
|
| 55 |
+
<!-- after we migrate everything to junit5, we can get rid of this -->
|
| 56 |
+
<dependency>
|
| 57 |
+
<groupId>org.junit.vintage</groupId>
|
| 58 |
+
<artifactId>junit-vintage-engine</artifactId>
|
| 59 |
+
<scope>test</scope>
|
| 60 |
+
</dependency>
|
| 61 |
+
</dependencies>
|
| 62 |
+
|
| 63 |
+
<scm>
|
| 64 |
+
<tag>3.0.0-rc1</tag>
|
| 65 |
+
</scm>
|
| 66 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-java7/pom.xml
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-java7</artifactId>
|
| 33 |
+
<packaging>bundle</packaging>
|
| 34 |
+
<name>Apache Tika Java-7 Components</name>
|
| 35 |
+
<url>https://tika.apache.org/</url>
|
| 36 |
+
|
| 37 |
+
<properties>
|
| 38 |
+
<maven.compiler.source>1.7</maven.compiler.source>
|
| 39 |
+
<maven.compiler.target>1.7</maven.compiler.target>
|
| 40 |
+
</properties>
|
| 41 |
+
|
| 42 |
+
<build>
|
| 43 |
+
<plugins>
|
| 44 |
+
<plugin>
|
| 45 |
+
<groupId>org.apache.felix</groupId>
|
| 46 |
+
<artifactId>maven-scr-plugin</artifactId>
|
| 47 |
+
<version>${maven.scr.version}</version>
|
| 48 |
+
</plugin>
|
| 49 |
+
<plugin>
|
| 50 |
+
<!-- builds the bundle -->
|
| 51 |
+
<groupId>org.apache.felix</groupId>
|
| 52 |
+
<artifactId>maven-bundle-plugin</artifactId>
|
| 53 |
+
<version>${maven.bundle.version}</version>
|
| 54 |
+
<extensions>true</extensions>
|
| 55 |
+
<configuration>
|
| 56 |
+
<instructions>
|
| 57 |
+
<Export-Package>
|
| 58 |
+
org.apache.tika.filetypedetector
|
| 59 |
+
</Export-Package>
|
| 60 |
+
<Private-Package />
|
| 61 |
+
</instructions>
|
| 62 |
+
</configuration>
|
| 63 |
+
</plugin>
|
| 64 |
+
<plugin>
|
| 65 |
+
<groupId>org.apache.rat</groupId>
|
| 66 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 67 |
+
<version>${rat.version}</version>
|
| 68 |
+
<configuration>
|
| 69 |
+
<excludes>
|
| 70 |
+
<exclude>src/main/resources/META-INF/services/java.nio.file.spi.FileTypeDetector</exclude>
|
| 71 |
+
<exclude>src/test/resources/test-documents/*</exclude>
|
| 72 |
+
</excludes>
|
| 73 |
+
</configuration>
|
| 74 |
+
</plugin>
|
| 75 |
+
<plugin>
|
| 76 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 77 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 78 |
+
<configuration>
|
| 79 |
+
<archive>
|
| 80 |
+
<manifestEntries>
|
| 81 |
+
<Automatic-Module-Name>org.apache.tika.java7</Automatic-Module-Name>
|
| 82 |
+
</manifestEntries>
|
| 83 |
+
</archive>
|
| 84 |
+
</configuration>
|
| 85 |
+
</plugin>
|
| 86 |
+
</plugins>
|
| 87 |
+
</build>
|
| 88 |
+
|
| 89 |
+
<dependencies>
|
| 90 |
+
<dependency>
|
| 91 |
+
<groupId>${project.groupId}</groupId>
|
| 92 |
+
<artifactId>tika-core</artifactId>
|
| 93 |
+
<version>${project.version}</version>
|
| 94 |
+
<scope>provided</scope>
|
| 95 |
+
</dependency>
|
| 96 |
+
<dependency>
|
| 97 |
+
<groupId>${project.groupId}</groupId>
|
| 98 |
+
<artifactId>tika-parsers-standard-package</artifactId>
|
| 99 |
+
<version>${project.version}</version>
|
| 100 |
+
</dependency>
|
| 101 |
+
<dependency>
|
| 102 |
+
<groupId>biz.aQute.bnd</groupId>
|
| 103 |
+
<artifactId>biz.aQute.bndlib</artifactId>
|
| 104 |
+
<scope>provided</scope>
|
| 105 |
+
</dependency>
|
| 106 |
+
</dependencies>
|
| 107 |
+
|
| 108 |
+
<description>Java-7 reliant components, including FileTypeDetector implementations</description>
|
| 109 |
+
<organization>
|
| 110 |
+
<name>The Apache Software Foundation</name>
|
| 111 |
+
<url>http://www.apache.org</url>
|
| 112 |
+
</organization>
|
| 113 |
+
<issueManagement>
|
| 114 |
+
<system>JIRA</system>
|
| 115 |
+
<url>https://issues.apache.org/jira/browse/TIKA</url>
|
| 116 |
+
</issueManagement>
|
| 117 |
+
<ciManagement>
|
| 118 |
+
<system>Jenkins</system>
|
| 119 |
+
<url>https://builds.apache.org/job/Tika-trunk/</url>
|
| 120 |
+
</ciManagement>
|
| 121 |
+
|
| 122 |
+
<scm>
|
| 123 |
+
<tag>3.0.0-rc1</tag>
|
| 124 |
+
</scm>
|
| 125 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-langdetect/pom.xml
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<groupId>org.apache.tika</groupId>
|
| 23 |
+
<artifactId>tika-parent</artifactId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-langdetect</artifactId>
|
| 30 |
+
<packaging>pom</packaging>
|
| 31 |
+
<name>Apache Tika language detection</name>
|
| 32 |
+
<url>https://tika.apache.org/</url>
|
| 33 |
+
|
| 34 |
+
<modules>
|
| 35 |
+
<module>tika-langdetect-test-commons</module>
|
| 36 |
+
<module>tika-langdetect-tika</module>
|
| 37 |
+
<module>tika-langdetect-lingo24</module>
|
| 38 |
+
<module>tika-langdetect-optimaize</module>
|
| 39 |
+
<module>tika-langdetect-mitll-text</module>
|
| 40 |
+
<module>tika-langdetect-opennlp</module>
|
| 41 |
+
</modules>
|
| 42 |
+
|
| 43 |
+
<dependencies>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>${project.groupId}</groupId>
|
| 46 |
+
<artifactId>tika-core</artifactId>
|
| 47 |
+
<version>${project.version}</version>
|
| 48 |
+
<scope>provided</scope>
|
| 49 |
+
</dependency>
|
| 50 |
+
<!-- test dependencies -->
|
| 51 |
+
<dependency>
|
| 52 |
+
<groupId>org.junit.jupiter</groupId>
|
| 53 |
+
<artifactId>junit-jupiter-api</artifactId>
|
| 54 |
+
<scope>test</scope>
|
| 55 |
+
</dependency>
|
| 56 |
+
<dependency>
|
| 57 |
+
<groupId>org.junit.jupiter</groupId>
|
| 58 |
+
<artifactId>junit-jupiter-engine</artifactId>
|
| 59 |
+
<scope>test</scope>
|
| 60 |
+
</dependency>
|
| 61 |
+
</dependencies>
|
| 62 |
+
|
| 63 |
+
<build>
|
| 64 |
+
<plugins>
|
| 65 |
+
<plugin>
|
| 66 |
+
<groupId>org.apache.rat</groupId>
|
| 67 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 68 |
+
<version>${rat.version}</version>
|
| 69 |
+
<configuration>
|
| 70 |
+
<excludes>
|
| 71 |
+
<exclude>**/*.test</exclude>
|
| 72 |
+
<exclude>**/text-test.tsv</exclude>
|
| 73 |
+
<exclude>**/language-codes.tsv</exclude>
|
| 74 |
+
<exclude>**/udhr-known.txt</exclude>
|
| 75 |
+
<exclude>**/udhr-unknown.txt</exclude>
|
| 76 |
+
<exclude>**/language-codes.txt</exclude>
|
| 77 |
+
</excludes>
|
| 78 |
+
</configuration>
|
| 79 |
+
</plugin>
|
| 80 |
+
<plugin>
|
| 81 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 82 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 83 |
+
<version>${checkstyle.plugin.version}</version>
|
| 84 |
+
<dependencies>
|
| 85 |
+
<dependency>
|
| 86 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 87 |
+
<artifactId>checkstyle</artifactId>
|
| 88 |
+
<version>${puppycrawl.version}</version>
|
| 89 |
+
</dependency>
|
| 90 |
+
</dependencies>
|
| 91 |
+
<executions>
|
| 92 |
+
<execution>
|
| 93 |
+
<id>validate</id>
|
| 94 |
+
<phase>validate</phase>
|
| 95 |
+
<configuration>
|
| 96 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 97 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 98 |
+
<consoleOutput>false</consoleOutput>
|
| 99 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 100 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 101 |
+
<violationSeverity>error</violationSeverity>
|
| 102 |
+
<failOnViolation>true</failOnViolation>
|
| 103 |
+
</configuration>
|
| 104 |
+
<goals>
|
| 105 |
+
<goal>check</goal>
|
| 106 |
+
</goals>
|
| 107 |
+
</execution>
|
| 108 |
+
</executions>
|
| 109 |
+
</plugin>
|
| 110 |
+
</plugins>
|
| 111 |
+
</build>
|
| 112 |
+
|
| 113 |
+
<scm>
|
| 114 |
+
<tag>3.0.0-rc1</tag>
|
| 115 |
+
</scm>
|
| 116 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-parent/intellij-code-style.xml
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 3 |
+
or more contributor license agreements. See the NOTICE file
|
| 4 |
+
distributed with this work for additional information
|
| 5 |
+
regarding copyright ownership. The ASF licenses this file
|
| 6 |
+
to you under the Apache License, Version 2.0 (the
|
| 7 |
+
"License"); you may not use this file except in compliance
|
| 8 |
+
with the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing,
|
| 13 |
+
software distributed under the License is distributed on an
|
| 14 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 15 |
+
KIND, either express or implied. See the License for the
|
| 16 |
+
specific language governing permissions and limitations
|
| 17 |
+
under the License.
|
| 18 |
+
-->
|
| 19 |
+
<code_scheme name="tika" version="173">
|
| 20 |
+
<JavaCodeStyleSettings>
|
| 21 |
+
<option name="ANNOTATION_PARAMETER_WRAP" value="1" />
|
| 22 |
+
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="100000" />
|
| 23 |
+
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="10000" />
|
| 24 |
+
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
|
| 25 |
+
<value />
|
| 26 |
+
</option>
|
| 27 |
+
<option name="IMPORT_LAYOUT_TABLE">
|
| 28 |
+
<value>
|
| 29 |
+
<package name="" withSubpackages="true" static="true" />
|
| 30 |
+
<emptyLine />
|
| 31 |
+
<package name="java" withSubpackages="true" static="false" />
|
| 32 |
+
<package name="javax" withSubpackages="true" static="false" />
|
| 33 |
+
<emptyLine />
|
| 34 |
+
<package name="" withSubpackages="true" static="false" />
|
| 35 |
+
<emptyLine />
|
| 36 |
+
<package name="org.apache.tika" withSubpackages="true" static="false" />
|
| 37 |
+
</value>
|
| 38 |
+
</option>
|
| 39 |
+
</JavaCodeStyleSettings>
|
| 40 |
+
<editorconfig>
|
| 41 |
+
<option name="ENABLED" value="false" />
|
| 42 |
+
</editorconfig>
|
| 43 |
+
<codeStyleSettings language="JAVA">
|
| 44 |
+
<option name="RIGHT_MARGIN" value="180" />
|
| 45 |
+
<option name="KEEP_LINE_BREAKS" value="false" />
|
| 46 |
+
<option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
|
| 47 |
+
<option name="CALL_PARAMETERS_WRAP" value="1" />
|
| 48 |
+
<option name="METHOD_PARAMETERS_WRAP" value="1" />
|
| 49 |
+
<option name="RESOURCE_LIST_WRAP" value="1" />
|
| 50 |
+
<option name="EXTENDS_LIST_WRAP" value="1" />
|
| 51 |
+
<option name="THROWS_LIST_WRAP" value="1" />
|
| 52 |
+
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
|
| 53 |
+
<option name="THROWS_KEYWORD_WRAP" value="1" />
|
| 54 |
+
<option name="METHOD_CALL_CHAIN_WRAP" value="2" />
|
| 55 |
+
<option name="WRAP_FIRST_METHOD_IN_CALL_CHAIN" value="true" />
|
| 56 |
+
<option name="BINARY_OPERATION_WRAP" value="1" />
|
| 57 |
+
<option name="TERNARY_OPERATION_WRAP" value="1" />
|
| 58 |
+
<option name="FOR_STATEMENT_WRAP" value="1" />
|
| 59 |
+
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
|
| 60 |
+
<option name="ASSIGNMENT_WRAP" value="1" />
|
| 61 |
+
<option name="ASSERT_STATEMENT_WRAP" value="1" />
|
| 62 |
+
<option name="IF_BRACE_FORCE" value="3" />
|
| 63 |
+
<option name="PARAMETER_ANNOTATION_WRAP" value="1" />
|
| 64 |
+
<option name="VARIABLE_ANNOTATION_WRAP" value="1" />
|
| 65 |
+
<option name="ENUM_CONSTANTS_WRAP" value="1" />
|
| 66 |
+
<option name="WRAP_ON_TYPING" value="1" />
|
| 67 |
+
</codeStyleSettings>
|
| 68 |
+
<codeStyleSettings language="XML">
|
| 69 |
+
<indentOptions>
|
| 70 |
+
<option name="INDENT_SIZE" value="2" />
|
| 71 |
+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
| 72 |
+
<option name="TAB_SIZE" value="2" />
|
| 73 |
+
</indentOptions>
|
| 74 |
+
</codeStyleSettings>
|
| 75 |
+
</code_scheme>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/pom.xml
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<groupId>org.apache.tika</groupId>
|
| 23 |
+
<artifactId>tika-parent</artifactId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
|
| 28 |
+
<modelVersion>4.0.0</modelVersion>
|
| 29 |
+
|
| 30 |
+
<artifactId>tika-parsers</artifactId>
|
| 31 |
+
<name>Apache Tika parser modules</name>
|
| 32 |
+
|
| 33 |
+
<packaging>pom</packaging>
|
| 34 |
+
<modules>
|
| 35 |
+
<!-- basic parsers - avoid network dependent parsers, native code -->
|
| 36 |
+
<module>tika-parsers-standard</module>
|
| 37 |
+
<!-- allow network dependent parsers and native code -->
|
| 38 |
+
<module>tika-parsers-extended</module>
|
| 39 |
+
<!-- potentially massive dependencies (e.g. dl4j) -->
|
| 40 |
+
<module>tika-parsers-ml</module>
|
| 41 |
+
</modules>
|
| 42 |
+
|
| 43 |
+
<dependencies>
|
| 44 |
+
<!-- test dependencies -->
|
| 45 |
+
<dependency>
|
| 46 |
+
<groupId>org.junit.jupiter</groupId>
|
| 47 |
+
<artifactId>junit-jupiter-api</artifactId>
|
| 48 |
+
<scope>test</scope>
|
| 49 |
+
</dependency>
|
| 50 |
+
<dependency>
|
| 51 |
+
<groupId>org.junit.jupiter</groupId>
|
| 52 |
+
<artifactId>junit-jupiter-engine</artifactId>
|
| 53 |
+
<scope>test</scope>
|
| 54 |
+
</dependency>
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>org.apache.tika</groupId>
|
| 57 |
+
<artifactId>tika-core</artifactId>
|
| 58 |
+
<version>${project.version}</version>
|
| 59 |
+
<type>test-jar</type>
|
| 60 |
+
<scope>test</scope>
|
| 61 |
+
</dependency>
|
| 62 |
+
</dependencies>
|
| 63 |
+
|
| 64 |
+
<build>
|
| 65 |
+
<plugins>
|
| 66 |
+
<plugin>
|
| 67 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 68 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 69 |
+
<version>${checkstyle.plugin.version}</version>
|
| 70 |
+
<dependencies>
|
| 71 |
+
<dependency>
|
| 72 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 73 |
+
<artifactId>checkstyle</artifactId>
|
| 74 |
+
<version>${puppycrawl.version}</version>
|
| 75 |
+
</dependency>
|
| 76 |
+
</dependencies>
|
| 77 |
+
<executions>
|
| 78 |
+
<execution>
|
| 79 |
+
<id>validate</id>
|
| 80 |
+
<phase>validate</phase>
|
| 81 |
+
<configuration>
|
| 82 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 83 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 84 |
+
<consoleOutput>false</consoleOutput>
|
| 85 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 86 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 87 |
+
<violationSeverity>error</violationSeverity>
|
| 88 |
+
<failOnViolation>true</failOnViolation>
|
| 89 |
+
</configuration>
|
| 90 |
+
<goals>
|
| 91 |
+
<goal>check</goal>
|
| 92 |
+
</goals>
|
| 93 |
+
</execution>
|
| 94 |
+
</executions>
|
| 95 |
+
</plugin>
|
| 96 |
+
</plugins>
|
| 97 |
+
</build>
|
| 98 |
+
|
| 99 |
+
<scm>
|
| 100 |
+
<tag>3.0.0-rc1</tag>
|
| 101 |
+
</scm>
|
| 102 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-serialization/pom.xml
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-serialization</artifactId>
|
| 33 |
+
<name>Apache Tika serialization</name>
|
| 34 |
+
<url>https://tika.apache.org</url>
|
| 35 |
+
|
| 36 |
+
<dependencies>
|
| 37 |
+
<!-- Optional OSGi dependency, used only when running within OSGi -->
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>org.osgi</groupId>
|
| 40 |
+
<artifactId>org.osgi.core</artifactId>
|
| 41 |
+
<scope>provided</scope>
|
| 42 |
+
<optional>true</optional>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>${project.groupId}</groupId>
|
| 46 |
+
<artifactId>tika-core</artifactId>
|
| 47 |
+
<version>${project.version}</version>
|
| 48 |
+
<scope>provided</scope>
|
| 49 |
+
</dependency>
|
| 50 |
+
<dependency>
|
| 51 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 52 |
+
<artifactId>jackson-core</artifactId>
|
| 53 |
+
</dependency>
|
| 54 |
+
<dependency>
|
| 55 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 56 |
+
<artifactId>jackson-databind</artifactId>
|
| 57 |
+
</dependency>
|
| 58 |
+
</dependencies>
|
| 59 |
+
<build>
|
| 60 |
+
<plugins>
|
| 61 |
+
<plugin>
|
| 62 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 63 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 64 |
+
<configuration>
|
| 65 |
+
<archive>
|
| 66 |
+
<manifestEntries>
|
| 67 |
+
<Automatic-Module-Name>org.apache.tika.serialization</Automatic-Module-Name>
|
| 68 |
+
</manifestEntries>
|
| 69 |
+
</archive>
|
| 70 |
+
</configuration>
|
| 71 |
+
<executions>
|
| 72 |
+
<execution>
|
| 73 |
+
<goals>
|
| 74 |
+
<goal>test-jar</goal>
|
| 75 |
+
</goals>
|
| 76 |
+
</execution>
|
| 77 |
+
</executions>
|
| 78 |
+
</plugin>
|
| 79 |
+
<plugin>
|
| 80 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 81 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 82 |
+
<version>${checkstyle.plugin.version}</version>
|
| 83 |
+
<dependencies>
|
| 84 |
+
<dependency>
|
| 85 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 86 |
+
<artifactId>checkstyle</artifactId>
|
| 87 |
+
<version>${puppycrawl.version}</version>
|
| 88 |
+
</dependency>
|
| 89 |
+
</dependencies>
|
| 90 |
+
<executions>
|
| 91 |
+
<execution>
|
| 92 |
+
<id>validate</id>
|
| 93 |
+
<phase>validate</phase>
|
| 94 |
+
<configuration>
|
| 95 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 96 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 97 |
+
<consoleOutput>false</consoleOutput>
|
| 98 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 99 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 100 |
+
<violationSeverity>error</violationSeverity>
|
| 101 |
+
<failOnViolation>true</failOnViolation>
|
| 102 |
+
</configuration>
|
| 103 |
+
<goals>
|
| 104 |
+
<goal>check</goal>
|
| 105 |
+
</goals>
|
| 106 |
+
</execution>
|
| 107 |
+
</executions>
|
| 108 |
+
</plugin>
|
| 109 |
+
</plugins>
|
| 110 |
+
</build>
|
| 111 |
+
|
| 112 |
+
<scm>
|
| 113 |
+
<tag>3.0.0-rc1</tag>
|
| 114 |
+
</scm>
|
| 115 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-server/README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 3 |
+
or more contributor license agreements. See the NOTICE file
|
| 4 |
+
distributed with this work for additional information
|
| 5 |
+
regarding copyright ownership. The ASF licenses this file
|
| 6 |
+
to you under the Apache License, Version 2.0 (the
|
| 7 |
+
"License"); you may not use this file except in compliance
|
| 8 |
+
with the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing,
|
| 13 |
+
software distributed under the License is distributed on an
|
| 14 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 15 |
+
KIND, either express or implied. See the License for the
|
| 16 |
+
specific language governing permissions and limitations
|
| 17 |
+
under the License.
|
| 18 |
+
-->
|
| 19 |
+
# Apache Tika Server
|
| 20 |
+
|
| 21 |
+
https://cwiki.apache.org/confluence/display/TIKA/TikaJAXRS
|
| 22 |
+
|
| 23 |
+
Running
|
| 24 |
+
-------
|
| 25 |
+
```
|
| 26 |
+
$ java -jar tika-server/target/tika-server.jar --help
|
| 27 |
+
usage: tikaserver
|
| 28 |
+
-?,--help this help message
|
| 29 |
+
-h,--host <arg> host name (default = localhost)
|
| 30 |
+
-l,--log <arg> request URI log level ('debug' or 'info')
|
| 31 |
+
-p,--port <arg> listen port (default = 9998)
|
| 32 |
+
-s,--includeStack whether or not to return a stack trace
|
| 33 |
+
if there is an exception during 'parse'
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
Running via Docker
|
| 37 |
+
------------------
|
| 38 |
+
Assuming you have Docker installed, you can use a prebuilt image:
|
| 39 |
+
|
| 40 |
+
`docker run -d -p 9998:9998 apache/tika`
|
| 41 |
+
|
| 42 |
+
This will load Apache Tika Server and expose its interface on:
|
| 43 |
+
|
| 44 |
+
`http://localhost:9998`
|
| 45 |
+
|
| 46 |
+
You may also be interested in the https://github.com/apache/tika-docker project
|
| 47 |
+
which provides prebuilt Docker images.
|
| 48 |
+
|
| 49 |
+
Installing as a Service on Linux
|
| 50 |
+
-----------------------
|
| 51 |
+
To run as a service on Linux you need to run the `install_tika_service.sh` script.
|
| 52 |
+
|
| 53 |
+
Assuming you have the binary distribution like `tika-server-2.0.0-bin.tgz`,
|
| 54 |
+
then you can extract the install script via:
|
| 55 |
+
|
| 56 |
+
`tar xzf tika-server-2.0.0-bin.tgz --strip-components=2 tika-server-2.0.0-bin/bin/install_tika_service.sh`
|
| 57 |
+
|
| 58 |
+
and then run the installation process via:
|
| 59 |
+
|
| 60 |
+
`./install_tika_service.sh ./tika-server-2.0.0-bin.tgz`
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
Usage
|
| 64 |
+
-----
|
| 65 |
+
Usage examples from command line with `curl` utility:
|
| 66 |
+
|
| 67 |
+
* Extract plain text:
|
| 68 |
+
`curl -T price.xls http://localhost:9998/tika`
|
| 69 |
+
|
| 70 |
+
* Extract text with mime-type hint:
|
| 71 |
+
`curl -v -H "Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" -T document.docx http://localhost:9998/tika`
|
| 72 |
+
|
| 73 |
+
* Get all document attachments as ZIP-file:
|
| 74 |
+
`curl -v -T Doc1_ole.doc http://localhost:9998/unpacker > /var/tmp/x.zip`
|
| 75 |
+
|
| 76 |
+
* Extract metadata to CSV format:
|
| 77 |
+
`curl -T price.xls http://localhost:9998/meta`
|
| 78 |
+
|
| 79 |
+
* Detect media type from CSV format using file extension hint:
|
| 80 |
+
`curl -X PUT -H "Content-Disposition: attachment; filename=foo.csv" --upload-file foo.csv http://localhost:9998/detect/stream`
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
HTTP Return Codes
|
| 84 |
+
-----------------
|
| 85 |
+
`200` - Ok
|
| 86 |
+
`204` - No content (for example when we are unpacking file without attachments)
|
| 87 |
+
`415` - Unknown file type
|
| 88 |
+
`422` - Unparsable document of known type (password protected documents and unsupported versions like Biff5 Excel)
|
| 89 |
+
`500` - Internal error
|
local-test-tika-full-01-vuln_8/afc-tika/tika-server/pom.xml
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 4 |
+
this work for additional information regarding copyright ownership.
|
| 5 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
+
(the "License"); you may not use this file except in compliance with
|
| 7 |
+
the License. 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 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 18 |
+
<modelVersion>4.0.0</modelVersion>
|
| 19 |
+
<modules>
|
| 20 |
+
<module>tika-server-core</module>
|
| 21 |
+
<module>tika-server-standard</module>
|
| 22 |
+
<module>tika-server-client</module>
|
| 23 |
+
<module>tika-server-eval</module>
|
| 24 |
+
</modules>
|
| 25 |
+
|
| 26 |
+
<parent>
|
| 27 |
+
<groupId>org.apache.tika</groupId>
|
| 28 |
+
<artifactId>tika-parent</artifactId>
|
| 29 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 30 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 31 |
+
</parent>
|
| 32 |
+
|
| 33 |
+
<artifactId>tika-server</artifactId>
|
| 34 |
+
<name>Apache Tika server module</name>
|
| 35 |
+
<url>https://tika.apache.org/</url>
|
| 36 |
+
<packaging>pom</packaging>
|
| 37 |
+
<build>
|
| 38 |
+
<plugins>
|
| 39 |
+
<plugin>
|
| 40 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 41 |
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
| 42 |
+
<version>${checkstyle.plugin.version}</version>
|
| 43 |
+
<dependencies>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>com.puppycrawl.tools</groupId>
|
| 46 |
+
<artifactId>checkstyle</artifactId>
|
| 47 |
+
<version>${puppycrawl.version}</version>
|
| 48 |
+
</dependency>
|
| 49 |
+
</dependencies>
|
| 50 |
+
<executions>
|
| 51 |
+
<execution>
|
| 52 |
+
<id>validate</id>
|
| 53 |
+
<phase>validate</phase>
|
| 54 |
+
<configuration>
|
| 55 |
+
<configLocation>checkstyle.xml</configLocation>
|
| 56 |
+
<inputEncoding>UTF-8</inputEncoding>
|
| 57 |
+
<consoleOutput>false</consoleOutput>
|
| 58 |
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
| 59 |
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
|
| 60 |
+
<violationSeverity>error</violationSeverity>
|
| 61 |
+
<failOnViolation>true</failOnViolation>
|
| 62 |
+
</configuration>
|
| 63 |
+
<goals>
|
| 64 |
+
<goal>check</goal>
|
| 65 |
+
</goals>
|
| 66 |
+
</execution>
|
| 67 |
+
</executions>
|
| 68 |
+
</plugin>
|
| 69 |
+
</plugins>
|
| 70 |
+
</build>
|
| 71 |
+
|
| 72 |
+
<scm>
|
| 73 |
+
<tag>3.0.0-rc1</tag>
|
| 74 |
+
</scm>
|
| 75 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-translate/pom.xml
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-translate</artifactId>
|
| 33 |
+
<packaging>bundle</packaging>
|
| 34 |
+
<name>Apache Tika translate</name>
|
| 35 |
+
<url>https://tika.apache.org/</url>
|
| 36 |
+
|
| 37 |
+
<dependencies>
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>org.apache.tika</groupId>
|
| 40 |
+
<artifactId>tika-core</artifactId>
|
| 41 |
+
<version>${project.version}</version>
|
| 42 |
+
<scope>provided</scope>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>org.apache.tika</groupId>
|
| 46 |
+
<artifactId>tika-langdetect-optimaize</artifactId>
|
| 47 |
+
<version>${project.version}</version>
|
| 48 |
+
</dependency>
|
| 49 |
+
<dependency>
|
| 50 |
+
<groupId>com.memetix</groupId>
|
| 51 |
+
<artifactId>microsoft-translator-java-api</artifactId>
|
| 52 |
+
<version>${microsoft.translator.version}</version>
|
| 53 |
+
<type>jar</type>
|
| 54 |
+
</dependency>
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>com.googlecode.json-simple</groupId>
|
| 57 |
+
<artifactId>json-simple</artifactId>
|
| 58 |
+
</dependency>
|
| 59 |
+
<dependency>
|
| 60 |
+
<groupId>org.apache.cxf</groupId>
|
| 61 |
+
<artifactId>cxf-rt-rs-client</artifactId>
|
| 62 |
+
</dependency>
|
| 63 |
+
<dependency>
|
| 64 |
+
<groupId>org.apache.cxf</groupId>
|
| 65 |
+
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
| 66 |
+
</dependency>
|
| 67 |
+
<dependency>
|
| 68 |
+
<groupId>com.fasterxml.jackson.jakarta.rs</groupId>
|
| 69 |
+
<artifactId>jackson-jakarta-rs-json-provider</artifactId>
|
| 70 |
+
</dependency>
|
| 71 |
+
<dependency>
|
| 72 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 73 |
+
<artifactId>jackson-annotations</artifactId>
|
| 74 |
+
</dependency>
|
| 75 |
+
<dependency>
|
| 76 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 77 |
+
<artifactId>jackson-databind</artifactId>
|
| 78 |
+
</dependency>
|
| 79 |
+
<!-- web sockets -->
|
| 80 |
+
<dependency>
|
| 81 |
+
<groupId>jakarta.websocket</groupId>
|
| 82 |
+
<artifactId>jakarta.websocket-api</artifactId>
|
| 83 |
+
<version>2.2.0</version>
|
| 84 |
+
</dependency>
|
| 85 |
+
<dependency>
|
| 86 |
+
<groupId>org.glassfish.tyrus.bundles</groupId>
|
| 87 |
+
<artifactId>tyrus-standalone-client</artifactId>
|
| 88 |
+
<version>2.2.0</version>
|
| 89 |
+
</dependency>
|
| 90 |
+
</dependencies>
|
| 91 |
+
<reporting>
|
| 92 |
+
<plugins>
|
| 93 |
+
<plugin>
|
| 94 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 95 |
+
<artifactId>maven-project-info-reports-plugin</artifactId>
|
| 96 |
+
<version>${maven.project.info.reports.version}</version>
|
| 97 |
+
<reportSets>
|
| 98 |
+
<reportSet>
|
| 99 |
+
<reports>
|
| 100 |
+
<report>index</report>
|
| 101 |
+
</reports>
|
| 102 |
+
</reportSet>
|
| 103 |
+
</reportSets>
|
| 104 |
+
</plugin>
|
| 105 |
+
<plugin>
|
| 106 |
+
<groupId>org.codehaus.mojo</groupId>
|
| 107 |
+
<artifactId>findbugs-maven-plugin</artifactId>
|
| 108 |
+
<version>3.0.5</version>
|
| 109 |
+
<configuration>
|
| 110 |
+
<jvmArgs>-Xmx256m</jvmArgs>
|
| 111 |
+
<timeout>240000</timeout>
|
| 112 |
+
<effort>max</effort>
|
| 113 |
+
<failOnError>true</failOnError>
|
| 114 |
+
</configuration>
|
| 115 |
+
</plugin>
|
| 116 |
+
</plugins>
|
| 117 |
+
</reporting>
|
| 118 |
+
<build>
|
| 119 |
+
<plugins>
|
| 120 |
+
<plugin>
|
| 121 |
+
<groupId>org.apache.felix</groupId>
|
| 122 |
+
<artifactId>maven-bundle-plugin</artifactId>
|
| 123 |
+
<version>${maven.bundle.version}</version>
|
| 124 |
+
<extensions>true</extensions>
|
| 125 |
+
<configuration>
|
| 126 |
+
<instructions>
|
| 127 |
+
<Bundle-DocURL>${project.url}</Bundle-DocURL>
|
| 128 |
+
<Bundle-Activator>
|
| 129 |
+
org.apache.tika.parser.internal.Activator
|
| 130 |
+
</Bundle-Activator>
|
| 131 |
+
<Import-Package>
|
| 132 |
+
org.w3c.dom,
|
| 133 |
+
org.apache.tika.*,
|
| 134 |
+
*;resolution:=optional
|
| 135 |
+
</Import-Package>
|
| 136 |
+
</instructions>
|
| 137 |
+
</configuration>
|
| 138 |
+
</plugin>
|
| 139 |
+
<plugin>
|
| 140 |
+
<groupId>org.apache.rat</groupId>
|
| 141 |
+
<artifactId>apache-rat-plugin</artifactId>
|
| 142 |
+
<configuration>
|
| 143 |
+
<excludes>
|
| 144 |
+
<exclude>src/main/java/org/apache/tika/parser/txt/Charset*.java</exclude>
|
| 145 |
+
<exclude>src/test/resources/test-documents/**</exclude>
|
| 146 |
+
</excludes>
|
| 147 |
+
</configuration>
|
| 148 |
+
</plugin>
|
| 149 |
+
<plugin>
|
| 150 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 151 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 152 |
+
<configuration>
|
| 153 |
+
<archive>
|
| 154 |
+
<manifestEntries>
|
| 155 |
+
<Automatic-Module-Name>org.apache.tika.translate</Automatic-Module-Name>
|
| 156 |
+
</manifestEntries>
|
| 157 |
+
</archive>
|
| 158 |
+
</configuration>
|
| 159 |
+
<executions>
|
| 160 |
+
<execution>
|
| 161 |
+
<goals>
|
| 162 |
+
<goal>test-jar</goal>
|
| 163 |
+
</goals>
|
| 164 |
+
</execution>
|
| 165 |
+
</executions>
|
| 166 |
+
</plugin>
|
| 167 |
+
<plugin>
|
| 168 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 169 |
+
<artifactId>maven-site-plugin</artifactId>
|
| 170 |
+
<version>3.21.0</version>
|
| 171 |
+
</plugin>
|
| 172 |
+
</plugins>
|
| 173 |
+
|
| 174 |
+
<pluginManagement>
|
| 175 |
+
<plugins>
|
| 176 |
+
<!-- This plugin's configuration is used to store Eclipse m2e -->
|
| 177 |
+
<!-- settings only. It has no influence on the Maven build itself. -->
|
| 178 |
+
<plugin>
|
| 179 |
+
<groupId>org.eclipse.m2e</groupId>
|
| 180 |
+
<artifactId>lifecycle-mapping</artifactId>
|
| 181 |
+
<version>1.0.0</version>
|
| 182 |
+
<configuration>
|
| 183 |
+
<lifecycleMappingMetadata>
|
| 184 |
+
<pluginExecutions>
|
| 185 |
+
<pluginExecution>
|
| 186 |
+
<pluginExecutionFilter>
|
| 187 |
+
<groupId>org.apache.felix</groupId>
|
| 188 |
+
<artifactId>maven-scr-plugin</artifactId>
|
| 189 |
+
<version>${maven.scr.version}</version>
|
| 190 |
+
<goals>
|
| 191 |
+
<goal>scr</goal>
|
| 192 |
+
</goals>
|
| 193 |
+
</pluginExecutionFilter>
|
| 194 |
+
<action>
|
| 195 |
+
<execute />
|
| 196 |
+
</action>
|
| 197 |
+
</pluginExecution>
|
| 198 |
+
</pluginExecutions>
|
| 199 |
+
</lifecycleMappingMetadata>
|
| 200 |
+
</configuration>
|
| 201 |
+
</plugin>
|
| 202 |
+
|
| 203 |
+
</plugins>
|
| 204 |
+
</pluginManagement>
|
| 205 |
+
</build>
|
| 206 |
+
|
| 207 |
+
<description>This is the translate Apache Tika™ toolkit. Translator implementations may depend on web services.
|
| 208 |
+
</description>
|
| 209 |
+
<organization>
|
| 210 |
+
<name>The Apache Software Foundation</name>
|
| 211 |
+
<url>http://www.apache.org</url>
|
| 212 |
+
</organization>
|
| 213 |
+
<issueManagement>
|
| 214 |
+
<system>JIRA</system>
|
| 215 |
+
<url>https://issues.apache.org/jira/browse/TIKA</url>
|
| 216 |
+
</issueManagement>
|
| 217 |
+
<ciManagement>
|
| 218 |
+
<system>Jenkins</system>
|
| 219 |
+
<url>https://builds.apache.org/job/Tika-trunk/</url>
|
| 220 |
+
</ciManagement>
|
| 221 |
+
|
| 222 |
+
<scm>
|
| 223 |
+
<tag>3.0.0-rc1</tag>
|
| 224 |
+
</scm>
|
| 225 |
+
</project>
|
local-test-tika-full-01-vuln_8/afc-tika/tika-xmp/pom.xml
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 23 |
+
<modelVersion>4.0.0</modelVersion>
|
| 24 |
+
|
| 25 |
+
<parent>
|
| 26 |
+
<groupId>org.apache.tika</groupId>
|
| 27 |
+
<artifactId>tika-parent</artifactId>
|
| 28 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 29 |
+
<relativePath>../tika-parent/pom.xml</relativePath>
|
| 30 |
+
</parent>
|
| 31 |
+
|
| 32 |
+
<artifactId>tika-xmp</artifactId>
|
| 33 |
+
<packaging>bundle</packaging>
|
| 34 |
+
<name>Apache Tika XMP</name>
|
| 35 |
+
<url>https://tika.apache.org/</url>
|
| 36 |
+
|
| 37 |
+
<build>
|
| 38 |
+
<plugins>
|
| 39 |
+
<plugin>
|
| 40 |
+
<groupId>org.apache.felix</groupId>
|
| 41 |
+
<artifactId>maven-scr-plugin</artifactId>
|
| 42 |
+
<version>${maven.scr.version}</version>
|
| 43 |
+
</plugin>
|
| 44 |
+
<plugin>
|
| 45 |
+
<!-- builds the bundle -->
|
| 46 |
+
<groupId>org.apache.felix</groupId>
|
| 47 |
+
<artifactId>maven-bundle-plugin</artifactId>
|
| 48 |
+
<version>${maven.bundle.version}</version>
|
| 49 |
+
<extensions>true</extensions>
|
| 50 |
+
<configuration>
|
| 51 |
+
<instructions>
|
| 52 |
+
<Export-Package>
|
| 53 |
+
org.apache.tika.xmp,
|
| 54 |
+
org.apache.tika.xmp.convert
|
| 55 |
+
</Export-Package>
|
| 56 |
+
<Private-Package />
|
| 57 |
+
</instructions>
|
| 58 |
+
</configuration>
|
| 59 |
+
</plugin>
|
| 60 |
+
<plugin>
|
| 61 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 62 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 63 |
+
<configuration>
|
| 64 |
+
<archive>
|
| 65 |
+
<manifestEntries>
|
| 66 |
+
<Automatic-Module-Name>org.apache.tika.xmp</Automatic-Module-Name>
|
| 67 |
+
</manifestEntries>
|
| 68 |
+
</archive>
|
| 69 |
+
</configuration>
|
| 70 |
+
<executions>
|
| 71 |
+
<execution>
|
| 72 |
+
<goals>
|
| 73 |
+
<goal>test-jar</goal>
|
| 74 |
+
</goals>
|
| 75 |
+
</execution>
|
| 76 |
+
</executions>
|
| 77 |
+
</plugin>
|
| 78 |
+
</plugins>
|
| 79 |
+
</build>
|
| 80 |
+
|
| 81 |
+
<dependencies>
|
| 82 |
+
<dependency>
|
| 83 |
+
<groupId>${project.groupId}</groupId>
|
| 84 |
+
<artifactId>tika-core</artifactId>
|
| 85 |
+
<version>${project.version}</version>
|
| 86 |
+
<scope>provided</scope>
|
| 87 |
+
</dependency>
|
| 88 |
+
<dependency>
|
| 89 |
+
<groupId>${project.groupId}</groupId>
|
| 90 |
+
<artifactId>tika-parser-microsoft-module</artifactId>
|
| 91 |
+
<version>${project.version}</version>
|
| 92 |
+
</dependency>
|
| 93 |
+
<dependency>
|
| 94 |
+
<groupId>${project.groupId}</groupId>
|
| 95 |
+
<artifactId>tika-parser-miscoffice-module</artifactId>
|
| 96 |
+
<version>${project.version}</version>
|
| 97 |
+
</dependency>
|
| 98 |
+
<dependency>
|
| 99 |
+
<groupId>com.adobe.xmp</groupId>
|
| 100 |
+
<artifactId>xmpcore</artifactId>
|
| 101 |
+
<version>${xmpcore.version}</version>
|
| 102 |
+
</dependency>
|
| 103 |
+
</dependencies>
|
| 104 |
+
|
| 105 |
+
<description>Converts Tika metadata to XMP</description>
|
| 106 |
+
<organization>
|
| 107 |
+
<name>The Apache Software Foundation</name>
|
| 108 |
+
<url>http://www.apache.org</url>
|
| 109 |
+
</organization>
|
| 110 |
+
<issueManagement>
|
| 111 |
+
<system>JIRA</system>
|
| 112 |
+
<url>https://issues.apache.org/jira/browse/TIKA</url>
|
| 113 |
+
</issueManagement>
|
| 114 |
+
<ciManagement>
|
| 115 |
+
<system>Jenkins</system>
|
| 116 |
+
<url>https://builds.apache.org/job/Tika-trunk/</url>
|
| 117 |
+
</ciManagement>
|
| 118 |
+
|
| 119 |
+
<scm>
|
| 120 |
+
<tag>3.0.0-rc1</tag>
|
| 121 |
+
</scm>
|
| 122 |
+
</project>
|
local-test-tika-full-01-vuln_8/fuzz-tooling/CITATION.cff
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
title: OSS-Fuzz
|
| 3 |
+
message: >-
|
| 4 |
+
If you use this software, please cite it using the
|
| 5 |
+
metadata from this file.
|
| 6 |
+
type: software
|
| 7 |
+
authors:
|
| 8 |
+
- given-names: Abhishek
|
| 9 |
+
family-names: Arya
|
| 10 |
+
affiliation: Google LLC
|
| 11 |
+
email: aarya@google.com
|
| 12 |
+
orcid: 'https://orcid.org/0009-0009-4558-4314'
|
| 13 |
+
- given-names: Oliver
|
| 14 |
+
family-names: Chang
|
| 15 |
+
email: ochang@google.com
|
| 16 |
+
affiliation: Google LLC
|
| 17 |
+
orcid: 'https://orcid.org/0009-0006-3181-4551'
|
| 18 |
+
- given-names: Jonathan
|
| 19 |
+
family-names: Metzman
|
| 20 |
+
email: metzman@google.com
|
| 21 |
+
affiliation: Google LLC
|
| 22 |
+
orcid: 'https://orcid.org/0000-0002-7042-0444'
|
| 23 |
+
- given-names: Kostya
|
| 24 |
+
family-names: Serebryany
|
| 25 |
+
email: kcc@google.com
|
| 26 |
+
affiliation: Google LLC
|
| 27 |
+
orcid: 'https://orcid.org/0009-0009-2379-3641'
|
| 28 |
+
- given-names: Dongge
|
| 29 |
+
family-names: Liu
|
| 30 |
+
email: donggeliu@google.com
|
| 31 |
+
affiliation: Google LLC
|
| 32 |
+
orcid: 'https://orcid.org/0000-0003-4821-7033'
|
| 33 |
+
repository-code: 'https://github.com/google/oss-fuzz'
|
| 34 |
+
abstract: >-
|
| 35 |
+
OSS-Fuzz is an open-source project by Google that provides
|
| 36 |
+
continuous fuzzing for open-source software. It aims to
|
| 37 |
+
make common open-source software more secure and stable by
|
| 38 |
+
combining modern fuzzing techniques with scalable,
|
| 39 |
+
distributed execution. As of August 2023, OSS-Fuzz has
|
| 40 |
+
helped identify and fix over 10,000 vulnerabilities and
|
| 41 |
+
36,000 bugs across 1,000 projects.
|
| 42 |
+
keywords:
|
| 43 |
+
- open-source
|
| 44 |
+
- fuzzing
|
| 45 |
+
license: Apache-2.0
|
| 46 |
+
|
local-test-tika-full-01-vuln_8/fuzz-tooling/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Want to contribute? Great! First, read this page (including the small print at
|
| 2 |
+
the end).
|
| 3 |
+
|
| 4 |
+
### Before you contribute
|
| 5 |
+
Before we can use your code, you must sign the
|
| 6 |
+
[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual)
|
| 7 |
+
(CLA), which you can do online. The CLA is necessary mainly because you own the
|
| 8 |
+
copyright to your changes, even after your contribution becomes part of our
|
| 9 |
+
codebase, so we need your permission to use and distribute your code. We also
|
| 10 |
+
need to be sure of various other things: for instance that you'll tell us if you
|
| 11 |
+
know that your code infringes on other people's patents. You don't have to sign
|
| 12 |
+
the CLA until after you've submitted your code for review and a member has
|
| 13 |
+
approved it, but you must do it before we can put your code into our codebase.
|
| 14 |
+
Before you start working on a larger contribution, you should get in touch with
|
| 15 |
+
us first through the issue tracker with your idea so that we can help out and
|
| 16 |
+
possibly guide you. Coordinating up front makes it much easier to avoid
|
| 17 |
+
frustration later on.
|
| 18 |
+
|
| 19 |
+
### Code reviews
|
| 20 |
+
All submissions, including submissions by project members, require review. We
|
| 21 |
+
use GitHub pull requests for this purpose.
|
| 22 |
+
|
| 23 |
+
### The small print
|
| 24 |
+
Contributions made by corporations are covered by a different agreement than
|
| 25 |
+
the one above, the
|
| 26 |
+
[Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate).
|
local-test-tika-full-01-vuln_8/fuzz-tooling/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright {yyyy} {name of copyright owner}
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
local-test-tika-full-01-vuln_8/fuzz-tooling/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OSS-Fuzz-AIxCC: AIxCC AFC Competition fork of OSS-Fuzz (v1.2.0)
|
| 2 |
+
|
| 3 |
+
Changes in v1.2.0:
|
| 4 |
+
|
| 5 |
+
- `base-builder-jvm` has been updated to use the lastest aixcc-jazzer ref, adjusting the OsCmdInjection sanitizer.
|
| 6 |
+
- This adjustment adds some safety measures around OsCmdInjection to reduce risk and reduce potential
|
| 7 |
+
unintentional crash-state explosion when dealing with such vulnerabilities.
|
| 8 |
+
- `helper.py` commands `build_image`, `build_fuzzers`, and `shell` have added optional flags to control docker image tags.
|
| 9 |
+
- Adds the flag `--docker_image_tag TAG` to the commands. This is entirely optional and backwards
|
| 10 |
+
compatible, but can allow control over the project-image docker tag, enabling easier parallel processing.
|
| 11 |
+
- `helper.py reproduce` has an added optional flag to reproduce with docker running in non-privileged mode.
|
| 12 |
+
- `helper.py reproduce` has an added optional flag to timeout when the reproduce subprocess hangs.
|
| 13 |
+
- This enables crash detection to handle cases where sanitizers are hit, yet for various reasons the
|
| 14 |
+
reproduce subprocess does not resolve and hangs indefinitely. If `timeout` is set, when the reproduce
|
| 15 |
+
subprocess does not resolve within `timeout` seconds, reproduce will end the subprocess and return with code 124.
|
| 16 |
+
|
| 17 |
+
Changes in v1.1.0:
|
| 18 |
+
|
| 19 |
+
- The state of oss-fuzz-aixcc has been synced with upstream changes at 162f2ab818f5992b66486a4d06cb0e3c88c37773.
|
| 20 |
+
- `helper.py build_fuzzers` with local source now matches behavior of non-local source, keeping the build state clean between runs.
|
| 21 |
+
- `base-image` has been updated to default its locale to C.UTF-8 instead of POSIX.
|
| 22 |
+
|
| 23 |
+
This is a competition fork of oss-fuzz which is guaranteed to be
|
| 24 |
+
compatible with the AFC challenges. This fork is designed to remain
|
| 25 |
+
fully backwards compatible with the public/upstream oss-fuzz, and
|
| 26 |
+
thus competition challenges will reflect realistic real-world repositories.
|
| 27 |
+
|
| 28 |
+
***Other than base-image changes, the projects files have not been touched
|
| 29 |
+
in this repository. The list of projects in the projects directory does
|
| 30 |
+
not reflect which projects will be used in any AFC round.***
|
| 31 |
+
|
| 32 |
+
Competitors are recommended to test their CRS against public repositories using this competition fork.
|
| 33 |
+
Competitors are recommended to view the [example-crs-architecture] repository's
|
| 34 |
+
[example-challenge-evaluation] scripts to see details on how this fuzz tooling is used during competition.
|
| 35 |
+
|
| 36 |
+
[example-crs-arhictecture]: https://github.com/aixcc-finals/example-crs-architecture
|
| 37 |
+
[example-challenge-evaluation]: https://github.com/aixcc-finals/example-crs-architecture/tree/main/example-challenge-evaluation
|
| 38 |
+
|
| 39 |
+
Example basic usage of the helper script is below. **Note: When working with local source, you must pass the local
|
| 40 |
+
source repository into the scripts as detailed below.**
|
| 41 |
+
|
| 42 |
+
```bash
|
| 43 |
+
# Build the project image and pull AFC base images
|
| 44 |
+
infra/helper.py build_image --pull <project_name>
|
| 45 |
+
|
| 46 |
+
# Build the fuzzer harnesses for the project, using local source
|
| 47 |
+
infra/helper.py build_fuzzers --clean --sanitizer <sanitizer> --engine <engine> <project_name> <path-to-local-src>
|
| 48 |
+
|
| 49 |
+
# Check all fuzzer harnesses for build
|
| 50 |
+
infra/helper.py check_build --sanitizer <sanitizer> --engine <engine> <project_name>
|
| 51 |
+
|
| 52 |
+
# Reproduce the testcase
|
| 53 |
+
# optionally use --propagate_exit_codes
|
| 54 |
+
infra/helper.py reproduce <project_name> <harness_name> <path-to-data-blob>
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
# OSS-Fuzz: Continuous Fuzzing for Open Source Software
|
| 60 |
+
|
| 61 |
+
[Fuzz testing] is a well-known technique for uncovering programming errors in
|
| 62 |
+
software. Many of these detectable errors, like [buffer overflow], can have
|
| 63 |
+
serious security implications. Google has found [thousands] of security
|
| 64 |
+
vulnerabilities and stability bugs by deploying [guided in-process fuzzing of
|
| 65 |
+
Chrome components], and we now want to share that service with the open source
|
| 66 |
+
community.
|
| 67 |
+
|
| 68 |
+
[Fuzz testing]: https://en.wikipedia.org/wiki/Fuzz_testing
|
| 69 |
+
[buffer overflow]: https://en.wikipedia.org/wiki/Buffer_overflow
|
| 70 |
+
[thousands]: https://issues.chromium.org/issues?q=label:Stability-LibFuzzer%20-status:Duplicate,WontFix
|
| 71 |
+
[guided in-process fuzzing of Chrome components]: https://security.googleblog.com/2016/08/guided-in-process-fuzzing-of-chrome.html
|
| 72 |
+
|
| 73 |
+
In cooperation with the [Core Infrastructure Initiative] and the [OpenSSF],
|
| 74 |
+
OSS-Fuzz aims to make common open source software more secure and stable by
|
| 75 |
+
combining modern fuzzing techniques with scalable, distributed execution.
|
| 76 |
+
Projects that do not qualify for OSS-Fuzz (e.g. closed source) can run their own
|
| 77 |
+
instances of [ClusterFuzz] or [ClusterFuzzLite].
|
| 78 |
+
|
| 79 |
+
[Core Infrastructure Initiative]: https://www.coreinfrastructure.org/
|
| 80 |
+
[OpenSSF]: https://www.openssf.org/
|
| 81 |
+
|
| 82 |
+
We support the [libFuzzer], [AFL++], and [Honggfuzz] fuzzing engines in
|
| 83 |
+
combination with [Sanitizers], as well as [ClusterFuzz], a distributed fuzzer
|
| 84 |
+
execution environment and reporting tool.
|
| 85 |
+
|
| 86 |
+
[libFuzzer]: https://llvm.org/docs/LibFuzzer.html
|
| 87 |
+
[AFL++]: https://github.com/AFLplusplus/AFLplusplus
|
| 88 |
+
[Honggfuzz]: https://github.com/google/honggfuzz
|
| 89 |
+
[Sanitizers]: https://github.com/google/sanitizers
|
| 90 |
+
[ClusterFuzz]: https://github.com/google/clusterfuzz
|
| 91 |
+
[ClusterFuzzLite]: https://google.github.io/clusterfuzzlite/
|
| 92 |
+
|
| 93 |
+
Currently, OSS-Fuzz supports C/C++, Rust, Go, Python, Java/JVM, and JavaScript code. Other languages
|
| 94 |
+
supported by [LLVM] may work too. OSS-Fuzz supports fuzzing x86_64 and i386
|
| 95 |
+
builds.
|
| 96 |
+
|
| 97 |
+
[LLVM]: https://llvm.org
|
| 98 |
+
|
| 99 |
+
## Overview
|
| 100 |
+

|
| 101 |
+
|
| 102 |
+
## Documentation
|
| 103 |
+
Read our [detailed documentation] to learn how to use OSS-Fuzz.
|
| 104 |
+
|
| 105 |
+
[detailed documentation]: https://google.github.io/oss-fuzz
|
| 106 |
+
|
| 107 |
+
## Trophies
|
| 108 |
+
As of August 2023, OSS-Fuzz has helped identify and fix over [10,000] vulnerabilities and [36,000] bugs across [1,000] projects.
|
| 109 |
+
|
| 110 |
+
[10,000]: https://bugs.chromium.org/p/oss-fuzz/issues/list?q=Type%3DBug-Security%20label%3Aclusterfuzz%20-status%3ADuplicate%2CWontFix&can=1
|
| 111 |
+
[36,000]: https://bugs.chromium.org/p/oss-fuzz/issues/list?q=Type%3DBug%20label%3Aclusterfuzz%20-status%3ADuplicate%2CWontFix&can=1
|
| 112 |
+
[1,000]: https://github.com/google/oss-fuzz/tree/master/projects
|
| 113 |
+
|
| 114 |
+
## Blog posts
|
| 115 |
+
* 2023-08-16 - [AI-Powered Fuzzing: Breaking the Bug Hunting Barrier]
|
| 116 |
+
* 2023-02-01 - [Taking the next step: OSS-Fuzz in 2023]
|
| 117 |
+
* 2022-09-08 - [Fuzzing beyond memory corruption: Finding broader classes of vulnerabilities automatically]
|
| 118 |
+
* 2021-12-16 - [Improving OSS-Fuzz and Jazzer to catch Log4Shell]
|
| 119 |
+
* 2021-03-10 - [Fuzzing Java in OSS-Fuzz]
|
| 120 |
+
* 2020-12-07 - [Improving open source security during the Google summer internship program]
|
| 121 |
+
* 2020-10-09 - [Fuzzing internships for Open Source Software]
|
| 122 |
+
* 2018-11-06 - [A New Chapter for OSS-Fuzz]
|
| 123 |
+
* 2017-05-08 - [OSS-Fuzz: Five months later, and rewarding projects]
|
| 124 |
+
* 2016-12-01 - [Announcing OSS-Fuzz: Continuous fuzzing for open source software]
|
| 125 |
+
|
| 126 |
+
[AI-Powered Fuzzing: Breaking the Bug Hunting Barrier]: https://security.googleblog.com/2023/08/ai-powered-fuzzing-breaking-bug-hunting.html
|
| 127 |
+
[Announcing OSS-Fuzz: Continuous fuzzing for open source software]: https://opensource.googleblog.com/2016/12/announcing-oss-fuzz-continuous-fuzzing.html
|
| 128 |
+
[OSS-Fuzz: Five months later, and rewarding projects]: https://opensource.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html
|
| 129 |
+
[A New Chapter for OSS-Fuzz]: https://security.googleblog.com/2018/11/a-new-chapter-for-oss-fuzz.html
|
| 130 |
+
[Fuzzing internships for Open Source Software]: https://security.googleblog.com/2020/10/fuzzing-internships-for-open-source.html
|
| 131 |
+
[Improving open source security during the Google summer internship program]: https://security.googleblog.com/2020/12/improving-open-source-security-during.html
|
| 132 |
+
[Fuzzing Java in OSS-Fuzz]: https://security.googleblog.com/2021/03/fuzzing-java-in-oss-fuzz.html
|
| 133 |
+
[Improving OSS-Fuzz and Jazzer to catch Log4Shell]: https://security.googleblog.com/2021/12/improving-oss-fuzz-and-jazzer-to-catch.html
|
| 134 |
+
[Fuzzing beyond memory corruption: Finding broader classes of vulnerabilities automatically]: https://security.googleblog.com/2022/09/fuzzing-beyond-memory-corruption.html
|
| 135 |
+
[Taking the next step: OSS-Fuzz in 2023]: https://security.googleblog.com/2023/02/taking-next-step-oss-fuzz-in-2023.html
|