package/n*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:18:00 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 1 May 2017 09:59:26 +0000 (11:59 +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 n 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>
package/neon/Config.in
package/netcat-openbsd/Config.in
package/netsniff-ng/Config.in
package/nfs-utils/Config.in
package/nginx/Config.in

index e76278c37e50016e10f3967d2118009147f9c8f1..983134339b2ece0ec6bb8bd007fc39a54727cbd2 100644 (file)
@@ -27,8 +27,8 @@ config BR2_PACKAGE_NEON_XML
 
 config BR2_PACKAGE_NEON_EXPAT
        bool "XML support with expat"
-       select BR2_PACKAGE_EXPAT
        depends on !BR2_PACKAGE_NEON_LIBXML2
+       select BR2_PACKAGE_EXPAT
        help
          Enable XML support in neon, using the Expat XML library.
 
index 0df997cb22048b0053967f39ad9ea03ef01c76f6..6df87ec688393c15713b1bf1f40aeda1959fab9a 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_NETCAT_OPENBSD
        bool "netcat-openbsd"
-       select BR2_PACKAGE_LIBBSD
        depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_TOOLCHAIN_USES_GLIBC
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+       select BR2_PACKAGE_LIBBSD
        help
          A simple Unix utility which reads and writes data across network
          connections using TCP or UDP protocol. It is designed to be a
index b59c876a9927b86be1e6d1739a3a8efe05e3c67b..c4803b2fa26fd8fb1a9633ff1adac4f91db224f6 100644 (file)
@@ -1,16 +1,16 @@
 config BR2_PACKAGE_NETSNIFF_NG
        bool "netsniff-ng"
+       # Build with uClibc fails due to missing ceill()
+       depends on !BR2_TOOLCHAIN_USES_UCLIBC
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
        select BR2_PACKAGE_LIBNL
        select BR2_PACKAGE_LIBPCAP
        select BR2_PACKAGE_LIBCLI
        select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
        select BR2_PACKAGE_LIBURCU
        select BR2_PACKAGE_LIBNET
-       # Build with uClibc fails due to missing ceill()
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
        help
          netsniff-ng is a free, performant Linux network analyzer and
          networking toolkit. If you will, the Swiss army knife for
index bfaddd151610a7bf329cd0514cb616a34fff39cd..4e139363fce9a26ae31eb30caab425b793319705 100644 (file)
@@ -5,9 +5,9 @@ comment "nfs-utils needs a toolchain w/ threads"
 config BR2_PACKAGE_NFS_UTILS
        bool "nfs-utils"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_PACKAGE_RPCBIND # runtime
-       depends on BR2_USE_MMU # fork()
        help
          The NFS Linux kernel server.
 
index e6f2d96d34633ce6cdd48e9a9f0d5964f5e7da83..36fa69cd2abd3d68d36d65658173f3dbd7124776 100644 (file)
@@ -141,8 +141,8 @@ config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
 
 config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
        bool "ngx_http_gzip_module"
-       select BR2_PACKAGE_ZLIB
        default y
+       select BR2_PACKAGE_ZLIB
        help
          Enable ngx_http_gzip_module
 
@@ -202,8 +202,8 @@ config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
 
 config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
        bool "ngx_http_rewrite_module"
-       select BR2_PACKAGE_PCRE
        default y
+       select BR2_PACKAGE_PCRE
        help
          Enable ngx_http_rewrite_module