]> git.ipfire.org Git - pakfire.git/commitdiff
build: Drop check-include
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 17 Mar 2023 10:54:40 +0000 (10:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 17 Mar 2023 10:54:40 +0000 (10:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/libpakfire/build.c
src/scripts/check-include [deleted file]

index 713898fb35bf338ab9f2295a3d21e11a2a741989..ffc7599fdbef2583bef9d045fb835830dc267d82 100644 (file)
@@ -722,7 +722,6 @@ tests_parser_test_LDADD = \
 dist_scripts_SCRIPTS = \
        src/scripts/check-buildroot \
        src/scripts/check-hardening \
-       src/scripts/check-include \
        src/scripts/check-interpreters \
        src/scripts/check-rpaths \
        src/scripts/check-unsafe-files \
index 9887f3480180991eecde6211644b55586c73a95f..db54fdc5d7af0c1753cdf5131997f0469a42ab57 100644 (file)
@@ -1325,7 +1325,6 @@ static const char* post_build_scripts[] = {
        "check-unsafe-files",
        "check-rpaths",
        "check-buildroot",
-       "check-include",
        "check-hardening",
        "check-interpreters",
        "compress-man-pages",
diff --git a/src/scripts/check-include b/src/scripts/check-include
deleted file mode 100644 (file)
index 9630bf8..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-###############################################################################
-#                                                                             #
-# Pakfire - The IPFire package management system                              #
-# Copyright (C) 2021 Pakfire development team                                 #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-error() {
-       echo "$@" >&2
-}
-
-main() {
-       local buildroot="${1}"
-       shift
-
-       # Check if BUILDROOT exists
-       if [ ! -d "${buildroot}" ]; then
-               error "BUILDROOT does not exist"
-               return 1
-       fi
-
-       if [ -d "${buildroot}/usr/include" ]; then
-               chown -R "root:root" "${buildroot}/usr/include"
-       fi
-
-       return 0
-}
-
-main "$@" || exit $?