From 3104ccaec11e8f8af8cd5179cfc72f6d404a3f77 Mon Sep 17 00:00:00 2001 From: sears Date: Tue, 28 Feb 2012 21:11:51 +0000 Subject: [PATCH] add missing license headers git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3803 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe --- CMakeLists.txt | 16 ++++++++++++++++ Makefile | 15 +++++++++++++++ servers/mapkeeper/Makefile | 15 +++++++++++++++ servers/mapkeeper/main/blsm_client.cpp | 18 ++++++++++++++++++ servers/mapkeeper/main/blsm_server.cpp | 18 ++++++++++++++++++ servers/native/benchmarks/CMakeLists.txt | 15 +++++++++++++++ servers/native/requestDispatch.h | 14 ++++++++++++++ servers/native/util/CMakeLists.txt | 15 +++++++++++++++ servers/native/util/drop_database.cpp | 15 +++++++++++++++ servers/native/util/shutdown.cpp | 15 +++++++++++++++ test/CMakeLists.txt | 15 +++++++++++++++ 11 files changed, 171 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7f9787..84f35f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,19 @@ +# CMakeLists.txt +# +# Copyright 2009-2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + cmake_minimum_required(VERSION 2.4) # For all I know, 2.0 works too... # Make cmake warning go away. They changed the default library search behavior. diff --git a/Makefile b/Makefile index 4c1ff5c..f020033 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,18 @@ +# Makefile +# +# Copyright 2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. include ../mapkeeper/Makefile.config diff --git a/servers/mapkeeper/Makefile b/servers/mapkeeper/Makefile index 18fe69e..6ca6c8c 100644 --- a/servers/mapkeeper/Makefile +++ b/servers/mapkeeper/Makefile @@ -1,3 +1,18 @@ +# Makefile +# +# Copyright 2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. THRIFT_DIR = /home/sears/local/thrift CPPFLAGS =-I../../../stasis -I../.. -I. -I $(THRIFT_DIR)/include/thrift -I../../../mapkeeper/thrift/gen-cpp diff --git a/servers/mapkeeper/main/blsm_client.cpp b/servers/mapkeeper/main/blsm_client.cpp index d269475..5023924 100644 --- a/servers/mapkeeper/main/blsm_client.cpp +++ b/servers/mapkeeper/main/blsm_client.cpp @@ -1,3 +1,21 @@ +/* + * blsm_client.cpp + * + * Copyright 2009-2012 Yahoo! Inc. + * + * Licensed 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * + */ #include "MapKeeper.h" #include #include diff --git a/servers/mapkeeper/main/blsm_server.cpp b/servers/mapkeeper/main/blsm_server.cpp index 8057c4e..4c5a550 100644 --- a/servers/mapkeeper/main/blsm_server.cpp +++ b/servers/mapkeeper/main/blsm_server.cpp @@ -1,3 +1,21 @@ +/* + * blsm_server.cpp + * + * Copyright 2009-2012 Yahoo! Inc. + * + * Licensed 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * + */ #include "MapKeeper.h" #include #include diff --git a/servers/native/benchmarks/CMakeLists.txt b/servers/native/benchmarks/CMakeLists.txt index 714a314..eec5f5d 100644 --- a/servers/native/benchmarks/CMakeLists.txt +++ b/servers/native/benchmarks/CMakeLists.txt @@ -1,2 +1,17 @@ +# CMakeLists.txt +# +# Copyright 2009-2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. CREATE_CLIENT_EXECUTABLE(tcpclient_noop) CREATE_EXECUTABLE(lsm_microbenchmarks) \ No newline at end of file diff --git a/servers/native/requestDispatch.h b/servers/native/requestDispatch.h index 0318f3d..40c530b 100644 --- a/servers/native/requestDispatch.h +++ b/servers/native/requestDispatch.h @@ -3,6 +3,20 @@ * * Created on: Aug 11, 2010 * Author: sears + * + * Copyright 2010-2012 Yahoo! Inc. + * + * Licensed 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. */ #ifndef REQUESTDISPATCH_H_ diff --git a/servers/native/util/CMakeLists.txt b/servers/native/util/CMakeLists.txt index 4d5faec..c0b496c 100644 --- a/servers/native/util/CMakeLists.txt +++ b/servers/native/util/CMakeLists.txt @@ -1,3 +1,18 @@ +# CMakeLists.txt +# +# Copyright 2009-2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. CREATE_CLIENT_EXECUTABLE(change_log_mode) CREATE_CLIENT_EXECUTABLE(copy_database) CREATE_CLIENT_EXECUTABLE(dump_blockmap) diff --git a/servers/native/util/drop_database.cpp b/servers/native/util/drop_database.cpp index 618452d..05a00bb 100644 --- a/servers/native/util/drop_database.cpp +++ b/servers/native/util/drop_database.cpp @@ -3,6 +3,21 @@ * * Created on: Feb 23, 2010 * Author: sears + * + * Copyright 2010-2012 Yahoo! Inc. + * + * Licensed 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * */ #include "../tcpclient.h" diff --git a/servers/native/util/shutdown.cpp b/servers/native/util/shutdown.cpp index a9aceb1..f7d2aec 100644 --- a/servers/native/util/shutdown.cpp +++ b/servers/native/util/shutdown.cpp @@ -3,6 +3,21 @@ * * Created on: Aug 16, 2010 * Author: sears + * + * Copyright 2010-2012 Yahoo! Inc. + * + * Licensed 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * */ #include "../tcpclient.h" diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e73db0a..db34846 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,18 @@ +# CMakeLists.txt +# +# Copyright 2009-2012 Yahoo! Inc. +# +# Licensed 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. IF( HAVE_STASIS ) CREATE_CHECK(check_gen) CREATE_CHECK(check_bloomFilter)