libcap, cdrkit, dvdrw-tools, fastd, squid: remove headers >= 3.0 dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Mar 2016 20:20:10 +0000 (21:20 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 16 Mar 2016 22:20:46 +0000 (23:20 +0100)
Now that the libcap package has a patch that makes it build with
kernel headers < 3.0 (which was needed for the host variant of
libcap), there is no longer a need to have a dependency on headers >=
3.0 for the target variant of libcap.

All reverse dependencies of libcap are handled in this commit, except
lxc, which will be handled in a separate commit since it needs some
special solution.

The build of all those packages has been tested with a toolchain that
uses kernel headers 2.6.32, which is the oldest that our default glibc
version accepts to use.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cdrkit/Config.in
package/dvdrw-tools/Config.in
package/fastd/Config.in
package/libcap/Config.in
package/squid/Config.in

index 46c0ba9bf25556fb99e6b244ccd37c2546dfe3bc..af18ba93024e53aa7afbea5b05b3d081b90d793a 100644 (file)
@@ -4,7 +4,6 @@ config BR2_PACKAGE_CDRKIT
        select BR2_PACKAGE_LIBCAP
        select BR2_PACKAGE_ZLIB
        depends on BR2_USE_MMU # fork
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
        bool "cdrkit"
        help
          cdrkit is a suite of programs for recording CDs and DVDs,
@@ -12,7 +11,3 @@ config BR2_PACKAGE_CDRKIT
          extracting audio CD data, and more.
 
          http://www.cdrkit.org/
-
-comment "cdrkit needs a toolchain w/ headers >= 3.0"
-       depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
index c9dd3dd1c45c4e4640ec61c1696ed8712fc5a435..d4d6bd2cd3c74f8fbaa6ba465b5eed883f2dc1dd 100644 (file)
@@ -39,14 +39,10 @@ choice
 
 config BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND
        bool "cdrkit"
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # cdrkit
        select BR2_PACKAGE_CDRKIT
        help
          Symlink mkisofs to genisoimage from the cdrkit package.
 
-comment "cdrkit needs a toolchain w/ headers >= 3.0"
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
-
 config BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND
        bool "xorriso"
        select BR2_PACKAGE_XORRISO
index 55bdbd632f8ba9438dff1242bfb26be22951ce75..546d44947185e1324453c3431329b31b4cfcdb46 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_FASTD
        bool "fastd"
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
        depends on !BR2_STATIC_LIBS # libuecc
        select BR2_PACKAGE_LIBUECC
        select BR2_PACKAGE_LIBSODIUM
@@ -24,8 +23,7 @@ config BR2_PACKAGE_FASTD_STATUS_SOCKET
 
 endif
 
-comment "fastd needs a toolchain w/ threads, headers >= 3.0, dynamic library"
+comment "fastd needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
        depends on !BR2_TOOLCHAIN_HAS_THREADS \
-               || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
                || BR2_STATIC_LIBS
index 2e3c8d97950ebc77482c0fc7d1cb6d9a5e8aecd9..5b0c827191f930ee3b11cc8fbf2c81dd983d2580 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBCAP
        bool "libcap"
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # XATTR_NAME_CAPS
        help
          This library implements the user-space interfaces to the
          POSIX 1003.1e capabilities available in Linux kernels. These
@@ -23,6 +22,3 @@ config BR2_PACKAGE_LIBCAP_TOOLS
          CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2).
 
 endif
-
-comment "libcap needs a toolchain w/ headers >= 3.0"
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
index 0ab6b373a4937d575d55579d7043ddc340baab59..12bfe19a421d20b769dca75dde54a36d19fb3324 100644 (file)
@@ -1,13 +1,12 @@
-comment "squid needs a toolchain w/ C++, headers >= 3.0"
+comment "squid needs a toolchain w/ C++"
        depends on BR2_USE_MMU
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+       depends on !BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_SQUID
        bool "squid"
        depends on BR2_INSTALL_LIBSTDCPP
        # needs fork()
        depends on BR2_USE_MMU
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
        select BR2_PACKAGE_LIBCAP
        help
          Caching proxy for the Web supporting HTTP, HTTPS, FTP, and more.