diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/share/poudriere/awk/dependency_loop.awk | 24 | ||||
-rw-r--r-- | src/share/poudriere/awk/humanize.awk | 24 | ||||
-rw-r--r-- | src/share/poudriere/awk/json.awk | 25 | ||||
-rw-r--r-- | src/share/poudriere/awk/json_jail.awk | 24 | ||||
-rw-r--r-- | src/share/poudriere/awk/json_top.awk | 24 | ||||
-rw-r--r-- | src/share/poudriere/awk/siginfo_buildtime.awk | 24 | ||||
-rwxr-xr-x | src/share/poudriere/common.sh | 2 | ||||
-rw-r--r-- | src/share/poudriere/html/assets/poudriere.css | 2 | ||||
-rw-r--r-- | src/share/poudriere/html/assets/poudriere.js | 2 | ||||
-rw-r--r-- | src/share/poudriere/html/build.html | 2 | ||||
-rw-r--r-- | src/share/poudriere/include/html.sh | 2 |
11 files changed, 150 insertions, 5 deletions
diff --git a/src/share/poudriere/awk/dependency_loop.awk b/src/share/poudriere/awk/dependency_loop.awk index e84b7734..b29e7f0f 100644 --- a/src/share/poudriere/awk/dependency_loop.awk +++ b/src/share/poudriere/awk/dependency_loop.awk @@ -1,3 +1,27 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + # Used by deadlock_detected to parse tsort(1) output BEGIN { i = 0 diff --git a/src/share/poudriere/awk/humanize.awk b/src/share/poudriere/awk/humanize.awk index f8aa2408..859d8e4f 100644 --- a/src/share/poudriere/awk/humanize.awk +++ b/src/share/poudriere/awk/humanize.awk @@ -1,3 +1,27 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + # Humanize the output of a size, ie, 1048576 -> 1MiB function humanize(number) { hum[1024**4]="TiB"; diff --git a/src/share/poudriere/awk/json.awk b/src/share/poudriere/awk/json.awk index 3b8f687a..03c72fb7 100644 --- a/src/share/poudriere/awk/json.awk +++ b/src/share/poudriere/awk/json.awk @@ -1,3 +1,28 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + + # Parse the .poudriere files created during build into a JSON format # that the web interface can fetch and use with jQuery. See # common.sh build_json() for how it is used diff --git a/src/share/poudriere/awk/json_jail.awk b/src/share/poudriere/awk/json_jail.awk index f8932834..ebbae102 100644 --- a/src/share/poudriere/awk/json_jail.awk +++ b/src/share/poudriere/awk/json_jail.awk @@ -1,3 +1,27 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + function get_value(key) { match($0, "\"" key "\":\"[^\"]*\"") key_group = substr($0, RSTART, RLENGTH) diff --git a/src/share/poudriere/awk/json_top.awk b/src/share/poudriere/awk/json_top.awk index a70ef856..a0acb5a6 100644 --- a/src/share/poudriere/awk/json_top.awk +++ b/src/share/poudriere/awk/json_top.awk @@ -1,3 +1,27 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + function get_value(key) { match($0, "\"" key "\":\"[^\"]*\"") key_group = substr($0, RSTART, RLENGTH) diff --git a/src/share/poudriere/awk/siginfo_buildtime.awk b/src/share/poudriere/awk/siginfo_buildtime.awk index 899461ba..2e6d5a51 100644 --- a/src/share/poudriere/awk/siginfo_buildtime.awk +++ b/src/share/poudriere/awk/siginfo_buildtime.awk @@ -1,3 +1,27 @@ +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + # Parse 'path TIME' into an output of duration H:M:S to display # buildtimes in siginfo_handler() diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index d987b8df..282c971c 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -2,7 +2,7 @@ # # Copyright (c) 2010-2013 Baptiste Daroussin <bapt@FreeBSD.org> # Copyright (c) 2010-2011 Julien Laffaye <jlaffaye@FreeBSD.org> -# Copyright (c) 2012-2014 Bryan Drewery <bdrewery@FreeBSD.org> +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/src/share/poudriere/html/assets/poudriere.css b/src/share/poudriere/html/assets/poudriere.css index 22dcac41..4f0df845 100644 --- a/src/share/poudriere/html/assets/poudriere.css +++ b/src/share/poudriere/html/assets/poudriere.css @@ -1,6 +1,6 @@ /* vim: set sts=4 sw=4 ts=4 noet: */ /* - * Copyright (c) 2013-2014 Bryan Drewery <bdrewery@FreeBSD.org> + * Copyright (c) 2013-2017 Bryan Drewery <bdrewery@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/share/poudriere/html/assets/poudriere.js b/src/share/poudriere/html/assets/poudriere.js index 7d38a4f0..9c572c5c 100644 --- a/src/share/poudriere/html/assets/poudriere.js +++ b/src/share/poudriere/html/assets/poudriere.js @@ -1,6 +1,6 @@ // vim: set sts=4 sw=4 ts=4 noet: /* - * Copyright (c) 2013-2015 Bryan Drewery <bdrewery@FreeBSD.org> + * Copyright (c) 2013-2017 Bryan Drewery <bdrewery@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/share/poudriere/html/build.html b/src/share/poudriere/html/build.html index 19519f43..a3b74645 100644 --- a/src/share/poudriere/html/build.html +++ b/src/share/poudriere/html/build.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- /* - * Copyright (c) 2014-2015 Bryan Drewery <bdrewery@FreeBSD.org> + * Copyright (c) 2014-2017 Bryan Drewery <bdrewery@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/share/poudriere/include/html.sh b/src/share/poudriere/include/html.sh index cd721be7..1a0bfde6 100644 --- a/src/share/poudriere/include/html.sh +++ b/src/share/poudriere/include/html.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2012-2014 Bryan Drewery <bdrewery@FreeBSD.org> +# Copyright (c) 2012-2017 Bryan Drewery <bdrewery@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without |