summaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-03-12 09:31:36 -0400
committerDave Barach <openvpp@barachs.net>2018-03-12 15:08:44 +0000
commit8d0f2f0031589513833ab726a7bad5d9e19ff898 (patch)
tree537dc2db6c5df36a50df2a980a77666726d6b710 /build-root
parent3c2a416c42a0481698735a0b1e355bfb7a702882 (diff)
License text cleanup
Change-Id: I105375c653b1a1dce8f0f71005b281ff137c6f42 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-root')
-rwxr-xr-xbuild-root/bootstrap.sh13
-rw-r--r--build-root/build-config.mk.README13
-rw-r--r--build-root/config.site14
-rwxr-xr-xbuild-root/copyimg14
-rw-r--r--build-root/packages/src.mk13
-rw-r--r--build-root/packages/tools.mk13
-rw-r--r--build-root/packages/vppinfra.mk14
-rwxr-xr-xbuild-root/scripts/checkstyle.sh13
-rwxr-xr-xbuild-root/scripts/csit-test-branch16
-rwxr-xr-xbuild-root/scripts/find-api-core-contents14
-rwxr-xr-xbuild-root/scripts/find-api-lib-contents13
-rwxr-xr-xbuild-root/scripts/find-dev-contents13
-rwxr-xr-xbuild-root/scripts/find-plugins-contents13
-rwxr-xr-xbuild-root/scripts/find-vpp-api-java-contents13
-rwxr-xr-xbuild-root/scripts/find-vpp-api-lua-contents13
-rwxr-xr-xbuild-root/scripts/find-vpp-api-python-contents13
-rwxr-xr-xbuild-root/scripts/generate-deb-changelog13
-rwxr-xr-xbuild-root/scripts/remove-rpath13
18 files changed, 240 insertions, 1 deletions
diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh
index 2949c1806c2..3f71cefe2e8 100755
--- a/build-root/bootstrap.sh
+++ b/build-root/bootstrap.sh
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
build_root=`pwd`
cd ../
wsroot=`pwd`
diff --git a/build-root/build-config.mk.README b/build-root/build-config.mk.README
index 8b8c87ddb52..c3cee323dda 100644
--- a/build-root/build-config.mk.README
+++ b/build-root/build-config.mk.README
@@ -1,3 +1,16 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
# To specify directories to find sources, build/packages/*.mk
# and build/platforms.mk
# SOURCE_PATH = PATH1 PATH2 ...
diff --git a/build-root/config.site b/build-root/config.site
index 9f6070860f1..bfdabcb732d 100644
--- a/build-root/config.site
+++ b/build-root/config.site
@@ -1,3 +1,17 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
+
######################################################################
# glibc
######################################################################
diff --git a/build-root/copyimg b/build-root/copyimg
index e5e3fc265ee..d693dfe5e50 100755
--- a/build-root/copyimg
+++ b/build-root/copyimg
@@ -1,5 +1,19 @@
#!/bin/sh
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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 [ $# -lt 2 ]; then
cat - <<EOF
$0 FROM-DIR TO-DIR ENVIRONMENT
diff --git a/build-root/packages/src.mk b/build-root/packages/src.mk
index db48ed58f03..4f7e823078f 100644
--- a/build-root/packages/src.mk
+++ b/build-root/packages/src.mk
@@ -1,3 +1,16 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
# nothing
diff --git a/build-root/packages/tools.mk b/build-root/packages/tools.mk
index d64a7959b7d..7db04e62eb1 100644
--- a/build-root/packages/tools.mk
+++ b/build-root/packages/tools.mk
@@ -1,3 +1,16 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
tools_source = src
tools_configure_args = --disable-vlib --disable-svm --disable-japi
diff --git a/build-root/packages/vppinfra.mk b/build-root/packages/vppinfra.mk
index db48ed58f03..40d9c735dc9 100644
--- a/build-root/packages/vppinfra.mk
+++ b/build-root/packages/vppinfra.mk
@@ -1,3 +1,17 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
+
# nothing
diff --git a/build-root/scripts/checkstyle.sh b/build-root/scripts/checkstyle.sh
index f4ea79adc6d..f2f118ca20d 100755
--- a/build-root/scripts/checkstyle.sh
+++ b/build-root/scripts/checkstyle.sh
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
VPP_DIR=`dirname $0`/../../
EXIT_CODE=0
FIX="0"
diff --git a/build-root/scripts/csit-test-branch b/build-root/scripts/csit-test-branch
index 42be723cceb..23cfae1e1b7 100755
--- a/build-root/scripts/csit-test-branch
+++ b/build-root/scripts/csit-test-branch
@@ -1,2 +1,16 @@
#!/bin/sh
-echo latest \ No newline at end of file
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
+
+echo latest
diff --git a/build-root/scripts/find-api-core-contents b/build-root/scripts/find-api-core-contents
index c1af69db8fc..8e24584be39 100755
--- a/build-root/scripts/find-api-core-contents
+++ b/build-root/scripts/find-api-core-contents
@@ -1,5 +1,19 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
+
for i in $(find ${1}/vpp/share/vpp/api/core -name *.api.json -type f -print); do
echo ../${i} /usr/share/vpp/api/ >> ${2}
done
diff --git a/build-root/scripts/find-api-lib-contents b/build-root/scripts/find-api-lib-contents
index 562db7b8446..b0742662415 100755
--- a/build-root/scripts/find-api-lib-contents
+++ b/build-root/scripts/find-api-lib-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
for i in $(find ${1}/vnet -name *.api.json -type f -print); do
echo ../${i} /usr/share/vpp/api/ >> ${2}
done
diff --git a/build-root/scripts/find-dev-contents b/build-root/scripts/find-dev-contents
index d4f7b63fb86..623121ef95d 100755
--- a/build-root/scripts/find-dev-contents
+++ b/build-root/scripts/find-dev-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
# includes
paths=`find $1/*/include -type f -print | grep -v '/dpdk/include/'`
rm -f $2
diff --git a/build-root/scripts/find-plugins-contents b/build-root/scripts/find-plugins-contents
index ae2a4271d81..394964ca395 100755
--- a/build-root/scripts/find-plugins-contents
+++ b/build-root/scripts/find-plugins-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
rm -f $2
for i in ${1}/vpp/lib64/vpp_plugins/*.so; do
diff --git a/build-root/scripts/find-vpp-api-java-contents b/build-root/scripts/find-vpp-api-java-contents
index 5f1bf197c05..6309c6cbee7 100755
--- a/build-root/scripts/find-vpp-api-java-contents
+++ b/build-root/scripts/find-vpp-api-java-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
rm -f $2
for i in $(find ${1}/vpp/share/java/ -type f -print); do
diff --git a/build-root/scripts/find-vpp-api-lua-contents b/build-root/scripts/find-vpp-api-lua-contents
index f1173db8e11..576bbb82562 100755
--- a/build-root/scripts/find-vpp-api-lua-contents
+++ b/build-root/scripts/find-vpp-api-lua-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
#i for now put everything into examples directory
echo ../../src/vpp-api/lua /usr/share/vpp/examples > ${2}
diff --git a/build-root/scripts/find-vpp-api-python-contents b/build-root/scripts/find-vpp-api-python-contents
index 819c9122aba..f6de6f2fffa 100755
--- a/build-root/scripts/find-vpp-api-python-contents
+++ b/build-root/scripts/find-vpp-api-python-contents
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
rm -f $2
for i in $(find ${1}/vpp/lib/python2.7/site-packages/ -type f -print); do
diff --git a/build-root/scripts/generate-deb-changelog b/build-root/scripts/generate-deb-changelog
index 7bdc6337b0a..d3112f778ac 100755
--- a/build-root/scripts/generate-deb-changelog
+++ b/build-root/scripts/generate-deb-changelog
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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.
+
CHANGELOG=deb/debian/changelog
DIST=unstable
FIRST=1
diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath
index 3912b370448..3e20b06dbfa 100755
--- a/build-root/scripts/remove-rpath
+++ b/build-root/scripts/remove-rpath
@@ -1,5 +1,18 @@
#!/bin/bash
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# 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 [ -z $1 ]; then
echo "Please specify path"
exit 1