summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-03-30 22:52:51 +0000
committerDavid Reiss <dreiss@apache.org>2009-03-30 22:52:51 +0000
commit16f5cd177d59222f6c2d9dd0427583ff892e1499 (patch)
treee2de1a8e37ad86978e0491f181945e86dbf80eb4
parenteaaf45c0e0ace00808f3c422076d7398f24cb98b (diff)
downloadthrift-16f5cd177d59222f6c2d9dd0427583ff892e1499.tar.gz
THRIFT-387. Add license to a bunch of fb303 files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760222 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--contrib/fb303/acinclude.m45
-rwxr-xr-xcontrib/fb303/bootstrap.sh18
-rw-r--r--contrib/fb303/configure.ac19
-rw-r--r--contrib/fb303/global_footer.mk19
-rw-r--r--contrib/fb303/global_header.mk19
-rwxr-xr-xcontrib/fb303/java/build.xml18
-rw-r--r--contrib/fb303/py/fb303_scripts/__init__.py19
-rw-r--r--contrib/fb303/py/setup.py19
8 files changed, 136 insertions, 0 deletions
diff --git a/contrib/fb303/acinclude.m4 b/contrib/fb303/acinclude.m4
index 5f882ba5c..faafba6b3 100644
--- a/contrib/fb303/acinclude.m4
+++ b/contrib/fb303/acinclude.m4
@@ -1,3 +1,8 @@
+dnl Copyright (C) 2009 Facebook
+dnl Copying and distribution of this file, with or without modification,
+dnl are permitted in any medium without royalty provided the copyright
+dnl notice and this notice are preserved.
+
AC_DEFUN([FB_INITIALIZE],
[
AM_INIT_AUTOMAKE([ foreign 1.9.5 no-define ])
diff --git a/contrib/fb303/bootstrap.sh b/contrib/fb303/bootstrap.sh
index 4bc2bb464..3cbeddb34 100755
--- a/contrib/fb303/bootstrap.sh
+++ b/contrib/fb303/bootstrap.sh
@@ -1,5 +1,23 @@
#!/bin/sh
+#
+# 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
+#
+# 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.
+#
# To be safe include -I flag
aclocal -I ./aclocal
diff --git a/contrib/fb303/configure.ac b/contrib/fb303/configure.ac
index 3e562b099..67cc11085 100644
--- a/contrib/fb303/configure.ac
+++ b/contrib/fb303/configure.ac
@@ -4,6 +4,25 @@
# AC - autoconf
# FB - facebook
+#
+# 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
+#
+# 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.
+#
+
#########################################################################
# DO NOT TOUCH EXCEPT TO CHANGE REV# IN AC_INIT
diff --git a/contrib/fb303/global_footer.mk b/contrib/fb303/global_footer.mk
index 7e5299f25..96f82ebd2 100644
--- a/contrib/fb303/global_footer.mk
+++ b/contrib/fb303/global_footer.mk
@@ -1,2 +1,21 @@
+#
+# 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
+#
+# 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.
+#
+
thriftstyle : $(XBUILT_SOURCES)
diff --git a/contrib/fb303/global_header.mk b/contrib/fb303/global_header.mk
index 23d60fb8b..77c9455ee 100644
--- a/contrib/fb303/global_header.mk
+++ b/contrib/fb303/global_header.mk
@@ -1,3 +1,22 @@
+#
+# 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
+#
+# 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.
+#
+
#define thrift_template
# $(1) : $(2)
# $$(THRIFT) $(3) $(4) $(5) $(6) $(7) $(8) $$<
diff --git a/contrib/fb303/java/build.xml b/contrib/fb303/java/build.xml
index 36923f989..4ad30e53f 100755
--- a/contrib/fb303/java/build.xml
+++ b/contrib/fb303/java/build.xml
@@ -1,3 +1,21 @@
+<!--
+ 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
+
+ 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.
+-->
<project name="libfb303" default="dist" basedir="..">
<!-- project wide settings. All directories relative to basedir -->
diff --git a/contrib/fb303/py/fb303_scripts/__init__.py b/contrib/fb303/py/fb303_scripts/__init__.py
index 1b951c16e..f8e3a94b9 100644
--- a/contrib/fb303/py/fb303_scripts/__init__.py
+++ b/contrib/fb303/py/fb303_scripts/__init__.py
@@ -1 +1,20 @@
+#
+# 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
+#
+# 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.
+#
+
__all__ = ['fb303_simple_mgmt']
diff --git a/contrib/fb303/py/setup.py b/contrib/fb303/py/setup.py
index 68d9845ff..a29f96423 100644
--- a/contrib/fb303/py/setup.py
+++ b/contrib/fb303/py/setup.py
@@ -1,3 +1,22 @@
+#
+# 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
+#
+# 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.
+#
+
from distutils.core import setup
setup(name='fb303',