+# SPDX-License-Identifier: LGPL-2.1-or-later
+
all:
ninja -C build
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
cflags=CFLAGS="$CFLAGS"
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "static const char* const af_names[] = { "
}
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "const char *arphrd_to_name(int id) {"
print " switch(id) {"
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "static const char* const capability_names[] = { "
}
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "static const char* const errno_names[] = { "
}
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -E -dM -include sys/socket.h -include "$2" -include "$3" - </dev/null | \
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include linux/if_arp.h -include "$2" - </dev/null | \
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include linux/capability.h -include "$2" -include "$3" - </dev/null | \
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include errno.h - </dev/null | \
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
for i in *.h */*.h; do
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
if nm -D -u "$1" | grep ' U '; then
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
keywords=0 ; FS="," ;
print "extern const char load_fragment_gperf_nulstr[];" ;
+m4_dnl SPDX-License-Identifier: LGPL-2.1-or-later
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
import sys
import argparse
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "const char *audit_type_to_string(int type) {\n\tswitch(type) {"
}
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cpp="$1"
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
[[ -f /dev/loop-control ]] || exit 77
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "const char *dns_type_to_string(int type) {\n\tswitch(type) {"
}
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
"Generate %-from-name.gperf from %-list.txt"
+# SPDX-License-Identifier: LGPL-2.1-or-later
s/.* DNS_TYPE_(\w+).*/\1/p
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#include <stddef.h>
#include "conf-parser.h"
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
set -eu
$1 -dM -include netinet/in.h - </dev/null | \
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
import sys
import os
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
BEGIN{
print "static const char* const ip_protocol_names[] = { "
}
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
import sys, re
print('#include <stdio.h>')
+# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN {
print "/* GENERATED FILE */";
print "#define ORDERED"
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
awk '
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include linux/input.h - </dev/null | awk '
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cd "$MESON_SOURCE_ROOT"
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
sd_good=0
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
"$@" '-' -o/dev/null </dev/null
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
which perl &>/dev/null || exit 77
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
export SYSTEMD_LOG_LEVEL=info
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
# Fedora uses C.utf8 but Debian uses C.UTF-8
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# The official unmodified version of the script can be found at
# https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
# Try to guess the build directory:
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# Download and extract coverity tool
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
git shortlog -s `git describe --abbrev=0 --match 'v[0-9][0-9][0-9]'`.. | \
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
CONFIG=$1
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
src="$1"
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
if [ "${MESON_INSTALL_QUIET:-0}" = 1 ] ; then
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
set -o pipefail
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cd "$1" && shift
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cd "$1"
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cd "$1"
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
i=1