package/s*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:18:05 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 May 2017 12:37:00 +0000 (14:37 +0200)
The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter s in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 files changed:
package/s6-dns/Config.in
package/s6-linux-init/Config.in
package/s6-linux-utils/Config.in
package/s6-networking/Config.in
package/s6-portable-utils/Config.in
package/s6-rc/Config.in
package/s6/Config.in
package/sepolgen/Config.in
package/setools/Config.in
package/sigrok-cli/Config.in
package/sispmctl/Config.in
package/softether/Config.in
package/speex/Config.in
package/sshfs/Config.in
package/startup-notification/Config.in
package/stella/Config.in
package/strongswan/Config.in
package/subversion/Config.in
package/sunxi-mali/Config.in
package/syslog-ng/Config.in
package/sysprof/Config.in
package/sysstat/Config.in

index 75917f9e2ebe180372644bb5455bf5e6c3dfea1d..e982fdad0da3fe6e4dd9d8d04e45504ce1f36eaa 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_S6_DNS
        bool "s6-dns"
-       select BR2_PACKAGE_SKALIBS
        depends on BR2_USE_MMU # skalibs
+       select BR2_PACKAGE_SKALIBS
        help
          s6-dns is a suite of DNS client programs and libraries for
          Unix systems, as an alternative to the BIND, djbdns or other
index d930e2f302efbe4ac51411d94e317659a5ca81c4..b56b861f99e85fb6669efa1154726d9bba2099ba 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_S6_LINUX_INIT
        bool "s6-linux-init"
+       depends on BR2_USE_MMU # s6
        select BR2_PACKAGE_S6
        select BR2_PACKAGE_S6_LINUX_UTILS
        select BR2_PACKAGE_S6_PORTABLE_UTILS
-       depends on BR2_USE_MMU # s6
        help
          s6-linux-init is a set of minimalistic tools to create a
          s6-based init system, including a /sbin/init binary, on a
index 14af3cfe0f99d70bcf796ac3b99680a5360ce0e1..43e6bb9144ca235c1bf4f0a4dd75d4bb95c1d36a 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_S6_LINUX_UTILS
        bool "s6-linux-utils"
-       select BR2_PACKAGE_SKALIBS
        depends on BR2_USE_MMU # skalibs
+       select BR2_PACKAGE_SKALIBS
        help
          s6-linux-utils is a set of minimalistic Linux-specific
          system utilities.
index ebb77a7dd279c1c527c428bb11327cfd5cc2c039..bdf58476c4ba6001ff73798d28f657538a6a5efa 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_S6_NETWORKING
        bool "s6-networking"
+       depends on BR2_USE_MMU # s6
        select BR2_PACKAGE_S6_DNS
        select BR2_PACKAGE_S6
-       depends on BR2_USE_MMU # s6
        help
          s6-networking is a suite of small networking utilities for
          Unix systems. It includes command-line client and server
index 86ebc4c17212e5408385a804da8f574f4adef0df..8521ecfa8a6ad0fa5bd62fc4d5f9608b5f28f934 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_S6_PORTABLE_UTILS
        bool "s6-portable-utils"
-       select BR2_PACKAGE_SKALIBS
        depends on BR2_USE_MMU # skalibs
+       select BR2_PACKAGE_SKALIBS
        help
          s6-portable-utils is a set of tiny general Unix utilities,
          often performing well-known tasks such as cut and grep, but
index d2ec75e8bfe2c39967aebeace16cc67435f5c6bc..39a924eac504d3061649b4e7614842d1f15fb39f 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_S6_RC
        bool "s6-rc"
-       select BR2_PACKAGE_S6
        depends on BR2_USE_MMU # s6
+       select BR2_PACKAGE_S6
        help
          s6-rc is a service manager for s6-based systems, i.e. a
          suite of programs that can start and stop services, both
index 7c192c1de89791cd469bd360cd7b36163fad7b5e..043380f4029b093f7987ebe6cf80236113fc9a10 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_S6
        bool "s6"
-       select BR2_PACKAGE_EXECLINE
        depends on BR2_USE_MMU # execline
+       select BR2_PACKAGE_EXECLINE
        help
          s6 is a small suite of programs for UNIX, designed to allow
          process supervision (a.k.a service supervision), in the line
index 36718163c8f2ec559608e6dbde13eb04da8edf30..8dd90388c876ff83d5486378f9169752faed488d 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_SEPOLGEN
        bool "sepolgen"
-       select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
        depends on BR2_USE_WCHAR # python3
        depends on BR2_USE_MMU # python3
        depends on BR2_TOOLCHAIN_HAS_THREADS # python3
        depends on !BR2_STATIC_LIBS # python3
+       select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
        help
          This package contains a Python module that forms the core of
          the modern audit2allow (which is a part of the package
index 5e7f39d65f9f3b7a5b12f810e7362a4ddb9362e7..d7b119ffc64a58266144a446be37091108f27b53 100644 (file)
@@ -1,9 +1,5 @@
 config BR2_PACKAGE_SETOOLS
        bool "setools"
-       select BR2_PACKAGE_LIBSELINUX
-       select BR2_PACKAGE_SQLITE
-       select BR2_PACKAGE_LIBXML2
-       select BR2_PACKAGE_BZIP2
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
        depends on BR2_INSTALL_LIBSTDCPP
@@ -14,6 +10,10 @@ config BR2_PACKAGE_SETOOLS
        # section for versioned symbol"
        # arc: libselinux not available
        depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
+       select BR2_PACKAGE_LIBSELINUX
+       select BR2_PACKAGE_SQLITE
+       select BR2_PACKAGE_LIBXML2
+       select BR2_PACKAGE_BZIP2
        help
          SETools is an open source project designed to facilitate
          SELinux policy analysis. The primary tools are:
index b8eb60d1ba9e1a7aff20ce1003ba72ef1777f103..236166595d05c66f740821bcd30f55b480671b35 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_SIGROK_CLI
        bool "sigrok-cli"
-       select BR2_PACKAGE_LIBSIGROK
        # libsigrok->libglib2:
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU
        # libsigrok
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+       select BR2_PACKAGE_LIBSIGROK
        help
          Sigrok-cli is a command-line frontend for the sigrok
          software suite.
index 976b08f8853d9194dd2077fe20d272cde3c40607..6066dc051ba80a623ed977977b8062250a073155 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_SISPMCTL
        bool "sispmctl"
-       select BR2_PACKAGE_LIBUSB
-       select BR2_PACKAGE_LIBUSB_COMPAT
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
        depends on BR2_USE_WCHAR
        depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_LIBUSB
+       select BR2_PACKAGE_LIBUSB_COMPAT
        help
          sispmctl is an application enabling the use of the GEMBIRD
          SiS-PM and mSiS(sispm) USB-controlled power-outlet device
index 60f13575295827a94aa47b941c215c0c7d223843..55e5426775e1a91015c9c74fb2841b50983cfdfc 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_SOFTETHER
        bool "softether"
-       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-       select BR2_PACKAGE_OPENSSL
-       select BR2_PACKAGE_READLINE
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
        depends on BR2_USE_WCHAR
+       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_READLINE
        help
          The SoftEther Server is a fully integrated implementation of the SSTP,
          L2TP, L2TPv3, OpenVPN, and IPSec virtual private networking protocols
index f18e866f1bdf8eeb2e22ad71357dbf44d69ae130..c4e3df5dcd31c18733744cbc5fce28d26200b317 100644 (file)
@@ -16,8 +16,8 @@ config BR2_PACKAGE_SPEEX_ARM4
        depends on BR2_ARM_CPU_ARMV4
 
 config BR2_PACKAGE_SPEEX_ARM5E
-       default y
        bool
+       default y
        depends on BR2_arm && !BR2_PACKAGE_SPEEX_ARM4
 
 endif
index 31fef9fc86f2ab8a2cc394d9eec2e43671932ab1..54aa8312b7d63aa0abfaf6a7d18d095f174ecd88 100644 (file)
@@ -1,14 +1,14 @@
 config BR2_PACKAGE_SSHFS
        bool "sshfs (FUSE)"
+       depends on BR2_USE_WCHAR # glib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
+       depends on BR2_USE_MMU # libfuse, glib2
+       depends on !BR2_STATIC_LIBS # libfuse
        select BR2_PACKAGE_LIBFUSE
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        select BR2_PACKAGE_OPENSSH
-       depends on BR2_USE_WCHAR # glib2
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
-       depends on BR2_USE_MMU # libfuse, glib2
-       depends on !BR2_STATIC_LIBS # libfuse
        help
          FUSE filesystem client based on the SSH File Transfer Protocol.
 
index 1fc6dad1e7c28e38deb4f9b15f5dfc22b88c5186..24771ea0f4cc2931b24992f40fd0def8fc939478 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_STARTUP_NOTIFICATION
        bool "startup-notification"
-       select BR2_PACKAGE_XLIB_LIBX11
        depends on BR2_PACKAGE_XORG7
        depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_XLIB_LIBX11
        help
          Startup-notification is a library used to monitor application startup.
 
index 55f177f75371a54a3020b3142101c6204d71617d..dd8e32a6513f416f3a556a4f71965aa618e8e99c 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_STELLA
        bool "stella"
-       select BR2_PACKAGE_SDL2
-       select BR2_PACKAGE_LIBPNG
-       select BR2_PACKAGE_ZLIB
        depends on !BR2_STATIC_LIBS # sdl2
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+       select BR2_PACKAGE_SDL2
+       select BR2_PACKAGE_LIBPNG
+       select BR2_PACKAGE_ZLIB
        help
          Stella is a multi-platform Atari 2600 VCS emulator.
 
index 0a95ac021eed405467fd4c1a2b619f737baa7a1d..5119706f59b8f666f7f93814b937ea0a72c4b858 100644 (file)
@@ -120,12 +120,12 @@ config BR2_PACKAGE_STRONGSWAN_SCEP
 
 config BR2_PACKAGE_STRONGSWAN_SCRIPTS
        bool "Enable additional utilities (found in scripts directory)"
-       depends on BR2_PACKAGE_STRONGSWAN_CHARON
        default y
+       depends on BR2_PACKAGE_STRONGSWAN_CHARON
 
 config BR2_PACKAGE_STRONGSWAN_VICI
        bool "Enable vici/swanctl"
-       depends on BR2_PACKAGE_STRONGSWAN_CHARON
        default y
+       depends on BR2_PACKAGE_STRONGSWAN_CHARON
 
 endif
index ffe424a7e23d4cb999b77b470e7fd1797409ff57..ecac51814e9ff4254ec0bef4cf5bfe79fa892f70 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_SUBVERSION
        bool "subversion"
-       select BR2_PACKAGE_APR
-       select BR2_PACKAGE_APR_UTIL
        # apr really needs shared library support
        depends on !BR2_STATIC_LIBS
        depends on BR2_USE_MMU # apr
+       select BR2_PACKAGE_APR
+       select BR2_PACKAGE_APR_UTIL
        select BR2_PACKAGE_EXPAT
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_SQLITE
index c6754c2821f22663f956b064220984fe28065661..71b11955a8d3d42b26ba8372c77920b93a59804c 100644 (file)
@@ -51,8 +51,8 @@ comment "r3p0 requires an EABIhf toolchain"
        depends on !BR2_ARM_EABIHF
 
 config BR2_PACKAGE_SUNXI_MALI_R3P1
-       depends on BR2_ARM_EABIHF
        bool "r3p1"
+       depends on BR2_ARM_EABIHF
 
 comment "r3p1 requires an EABIhf toolchain"
        depends on !BR2_ARM_EABIHF
index 7f47d86bcf11b8511b5ecf37497b46043f59bce0..fbc236221a901bd5c42bd8b2366763437769fb4f 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_SYSLOG_NG
        bool "syslog-ng"
-       select BR2_PACKAGE_EVENTLOG
-       select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_PCRE
-       select BR2_PACKAGE_OPENSSL
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+       select BR2_PACKAGE_EVENTLOG
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_PCRE
+       select BR2_PACKAGE_OPENSSL
        help
          syslog-ng is an enhanced log daemon, supporting a wide range
          of input and output methods: syslog, unstructured text,
index e1b0488e84b81fa87a800b40126ff8bc3ac1a3c1..3913274be4f6bf251b3c086f61964496588472ec 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_SYSPROF
        bool "sysprof"
-       select BR2_PACKAGE_LIBGLIB2
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
        # In its util.h file, sysprof contains architecture-specific
        # code
        depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_sh4a || BR2_sh4aeb
+       select BR2_PACKAGE_LIBGLIB2
        help
          Sysprof is a statistical, system-wide profiler that can
          profile user and kernel code using the perf API.
index c26279910418dfb2bfd8ed86cbb0497c3f212a01..923c48a1107f6ba23999d8000538fd3d57f8c800 100644 (file)
@@ -1,8 +1,7 @@
 config BR2_PACKAGE_SYSSTAT
        bool "sysstat"
+       depends on BR2_USE_MMU  # fork()
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
-       # Uses fork()
-       depends on BR2_USE_MMU
        help
          The sysstat utilities are a collection of performance
          monitoring tools for Linux. These include sar, sadf, mpstat,