From 53c2e2f0a25ef3d9a0ac71063cfe7c1cb574fc40 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Tue, 8 Feb 2022 11:49:02 +0100 Subject: [PATCH] iop: classify config --- iop/config | 283 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 167 insertions(+), 116 deletions(-) diff --git a/iop/config b/iop/config index 98d238564..8a2b4a35e 100644 --- a/iop/config +++ b/iop/config @@ -1,32 +1,139 @@ -CONFIG_BUSYBOX_CUSTOM=y +############ +# Generic # +########## + +# Build # +CONFIG_BUILD_LOG=y CONFIG_CCACHE=y CONFIG_DEBUG=y CONFIG_DEVEL=y +# CONFIG_USE_SSTRIP is not set +CONFIG_USE_STRIP=y +# CONFIG_SIGNED_PACKAGES is not set + +# Image # +CONFIG_TARGET_CUSTOMER="IOPSYS" +CONFIG_TARGET_ROOTFS_TARGZ=y + +# /etc/banner and /etc/device_info # +CONFIG_IMAGEOPT=y +CONFIG_VERSIONOPT=y +CONFIG_VERSION_MANUFACTURER="iopsysWrt" +CONFIG_VERSION_MANUFACTURER_URL="https://iopsys.eu/" + +# /lib/preinit # +CONFIG_PREINITOPT=y +# CONFIG_TARGET_PREINIT_SUPPRESS_STDERR is not set +CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE=y +CONFIG_TARGET_PREINIT_TIMEOUT=1 +# CONFIG_TARGET_PREINIT_SHOW_NETMSG is not set +# CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG is not set +CONFIG_TARGET_PREINIT_IFNAME="" +CONFIG_TARGET_PREINIT_IP="" +CONFIG_TARGET_PREINIT_NETMASK="" +CONFIG_TARGET_PREINIT_BROADCAST="" + +# Mirror # +CONFIG_LOCALMIRROR="https://download.iopsys.eu/iopsys/mirror/" + + +################## +# IOWRT Add-ons # +################ + +# EasySoC HAL # +CONFIG_PACKAGE_inbd=y +CONFIG_PACKAGE_libwifi=y +CONFIG_PACKAGE_peripheral_manager=y +CONFIG_PACKAGE_port-management=y +CONFIG_PACKAGE_wifimngr=y + +# Multi-AP # +CONFIG_PACKAGE_ieee1905=y +CONFIG_PACKAGE_map-topology=y +CONFIG_PACKAGE_wfadatad=y +CONFIG_PACKAGE_wfadatad-collector=y + +# Network # +CONFIG_PACKAGE_netmode=y +CONFIG_PACKAGE_owsd=m +CONFIG_PACKAGE_urlfilter=y + +# System # +CONFIG_PACKAGE_imonitor=m +CONFIG_PACKAGE_questd=y +CONFIG_PACKAGE_rulengd=y + +# TR-x69 # +CONFIG_PACKAGE_uspd=y +CONFIG_PACKAGE_icwmp=y +CONFIG_PACKAGE_obuspa=y +CONFIG_PACKAGE_bulkdata=y +CONFIG_PACKAGE_periodicstats=y +CONFIG_PACKAGE_stunc=m +CONFIG_PACKAGE_swmodd=m +CONFIG_PACKAGE_twamp=m +CONFIG_PACKAGE_udpechoserver=m +CONFIG_PACKAGE_xmppc=m + +# WebGUI # +CONFIG_PACKAGE_sulu=y + + +############ +# Network # +########## + +# Protocols # CONFIG_PACKAGE_6in4=y CONFIG_PACKAGE_6rd=y CONFIG_PACKAGE_6to4=y -CONFIG_PACKAGE_at=y -CONFIG_PACKAGE_atftp=m -CONFIG_PACKAGE_atftpd=m -CONFIG_PACKAGE_bulkdata=y CONFIG_PACKAGE_chat=y CONFIG_PACKAGE_comgt=y CONFIG_PACKAGE_comgt-directip=y CONFIG_PACKAGE_comgt-ncm=y -CONFIG_PACKAGE_ddns-scripts=y CONFIG_PACKAGE_ds-lite=y -CONFIG_PACKAGE_ethtool=y -CONFIG_PACKAGE_getopt=y CONFIG_PACKAGE_gre=y -CONFIG_PACKAGE_icwmp=y -CONFIG_PACKAGE_ieee1905=y -CONFIG_PACKAGE_map-topology=y +CONFIG_PACKAGE_map=y +CONFIG_PACKAGE_ntfs-3g=y +CONFIG_PACKAGE_ntpd=y +CONFIG_PACKAGE_odhcp6c=y +CONFIG_PACKAGE_odhcpd=y +CONFIG_PACKAGE_ppp-mod-pppoa=y +CONFIG_PACKAGE_ppp-mod-pppoe=y +CONFIG_PACKAGE_ppp-mod-pppol2tp=y +CONFIG_PACKAGE_ppp-mod-pptp=y +CONFIG_PACKAGE_ppp-multilink=y +# CONFIG_PACKAGE_ppp is not set +CONFIG_PACKAGE_relayd=y +CONFIG_PACKAGE_umbim=y +CONFIG_PACKAGE_uqmi=y +CONFIG_PACKAGE_wwan=y +CONFIG_PACKAGE_xl2tpd=y + +# Services # +CONFIG_PACKAGE_atftp=m +CONFIG_PACKAGE_atftpd=m +CONFIG_PACKAGE_ddns-scripts=y +CONFIG_PACKAGE_miniupnpd=y CONFIG_PACKAGE_mosquitto-client-ssl=y CONFIG_PACKAGE_mosquitto-ssl=y -CONFIG_PACKAGE_wfadatad=y -CONFIG_PACKAGE_wfadatad-collector=y -CONFIG_PACKAGE_imonitor=m -CONFIG_PACKAGE_inbd=y +CONFIG_PACKAGE_mwan3=y +CONFIG_PACKAGE_nginx=y +CONFIG_PACKAGE_openvpn-easy-rsa=y +CONFIG_PACKAGE_openvpn-openssl=y +CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y +# CONFIG_PACKAGE_qos-scripts is not set +CONFIG_PACKAGE_rdnssd=y +CONFIG_PACKAGE_vsftpd-tls=m + +# Tools and Utilities # +CONFIG_PACKAGE_curl=y +CONFIG_PACKAGE_libcurl=y +CONFIG_LIBCURL_CRYPTO_AUTH=y +# CONFIG_LIBCURL_MBEDTLS is not set +CONFIG_LIBCURL_OPENSSL=y +CONFIG_PACKAGE_ethtool=y CONFIG_PACKAGE_ip-full=y CONFIG_PACKAGE_iperf3=y CONFIG_PACKAGE_ipset=y @@ -34,87 +141,67 @@ CONFIG_PACKAGE_iptables=y CONFIG_PACKAGE_iptables-mod-conntrack-extra=y CONFIG_PACKAGE_iptables-mod-filter=y CONFIG_PACKAGE_iptables-mod-ipopt=y +CONFIG_PACKAGE_ndisc6=y +CONFIG_PACKAGE_rdisc6=y +CONFIG_PACKAGE_resolveip=y +CONFIG_PACKAGE_tcpdump=y +CONFIG_PACKAGE_traceroute6=y + + +############ +# System # +########## + +CONFIG_PACKAGE_at=y +CONFIG_PACKAGE_getopt=y # CONFIG_PACKAGE_iwatchdog is not set CONFIG_PACKAGE_jq=y -CONFIG_PACKAGE_libwifi=y +CONFIG_PACKAGE_libustream-openssl=y +# CONFIG_PACKAGE_libustream-wolfssl is not set CONFIG_PACKAGE_lscpu=y +CONFIG_PACKAGE_nand-utils=y +CONFIG_PACKAGE_openssl-util=y +CONFIG_OPENSSL_WITH_COMPRESSION=y +CONFIG_PACKAGE_rpcd=y +CONFIG_PACKAGE_rpcd-mod-rpcsys=y +CONFIG_PACKAGE_rpcd-mod-rrdns=y +CONFIG_PACKAGE_strace=y +CONFIG_PACKAGE_terminfo=y +CONFIG_PACKAGE_uledd=y +# The urandom-seed package is very strange. It seeds urandom with urandom... +# Disable it. Most SoCs nowadays has HW random generators anyway. +# CONFIG_PACKAGE_urandom-seed is not set +# CONFIG_PACKAGE_urngd is not set +CONFIG_PACKAGE_usb-modeswitch=y +CONFIG_PACKAGE_uuidgen=y +CONFIG_PACKAGE_zoneinfo-core=y +CONFIG_PACKAGE_zoneinfo-europe=y + + +################ +# LuCI WebGUI # +############## # BEGIN: luci-nginx metapackage with some changes -# We do not need luci-theme-bootstrap # We do not want libiwinfo-lua on non-WiFi targets, but it is already # depended on by other luci-packages, so no need to take it in explicitly -CONFIG_PACKAGE_nginx=y -CONFIG_PACKAGE_nginx-mod-luci=y CONFIG_PACKAGE_luci-mod-admin-full=y CONFIG_PACKAGE_luci-app-firewall=y CONFIG_PACKAGE_luci-app-opkg=y CONFIG_PACKAGE_luci-proto-ppp=y CONFIG_PACKAGE_luci-proto-ipv6=y -CONFIG_PACKAGE_rpcd-mod-rrdns=y -# END: luci-nginx metapackage with some changes - # CONFIG_LUCI_JSMIN is not set # CONFIG_LUCI_CSSTIDY is not set CONFIG_PACKAGE_luci-mod-dashboard=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y +CONFIG_PACKAGE_nginx-mod-luci=y -CONFIG_PACKAGE_map=y -CONFIG_PACKAGE_miniupnpd=y -CONFIG_PACKAGE_mwan3=y -CONFIG_PACKAGE_nand-utils=y -CONFIG_PACKAGE_ndisc6=y -CONFIG_PACKAGE_netmode=y -CONFIG_PACKAGE_ntfs-3g=y -CONFIG_PACKAGE_ntpd=y -CONFIG_PACKAGE_obuspa=y -CONFIG_PACKAGE_odhcp6c=y -CONFIG_PACKAGE_odhcpd=y -CONFIG_PACKAGE_openssl-util=y -CONFIG_OPENSSL_WITH_COMPRESSION=y -CONFIG_PACKAGE_openvpn-easy-rsa=y -CONFIG_PACKAGE_openvpn-openssl=y -CONFIG_PACKAGE_owsd=y -CONFIG_PACKAGE_periodicstats=y -CONFIG_PACKAGE_peripheral_manager=y -CONFIG_PACKAGE_port-management=y -CONFIG_PACKAGE_ppp-mod-pppoa=y -CONFIG_PACKAGE_ppp-mod-pppoe=y -CONFIG_PACKAGE_ppp-mod-pppol2tp=y -CONFIG_PACKAGE_ppp-mod-pptp=y -CONFIG_PACKAGE_ppp-multilink=y -# CONFIG_PACKAGE_ppp is not set -# CONFIG_PACKAGE_qos-scripts is not set -CONFIG_PACKAGE_questd=y -CONFIG_PACKAGE_rdisc6=y -CONFIG_PACKAGE_rdnssd=y -CONFIG_PACKAGE_relayd=y -CONFIG_PACKAGE_resolveip=y -CONFIG_PACKAGE_rpcd=y -CONFIG_PACKAGE_rpcd-mod-rpcsys=y -CONFIG_PACKAGE_rulengd=y -CONFIG_PACKAGE_strace=y -CONFIG_PACKAGE_sulu=y -CONFIG_PACKAGE_swmodd=m -CONFIG_PACKAGE_tcpdump=y -CONFIG_PACKAGE_terminfo=y -CONFIG_PACKAGE_traceroute6=y -CONFIG_PACKAGE_uledd=y -CONFIG_PACKAGE_umbim=y -CONFIG_PACKAGE_uqmi=y -CONFIG_PACKAGE_urlfilter=y -CONFIG_PACKAGE_usb-modeswitch=y -CONFIG_PACKAGE_uspd=y -CONFIG_PACKAGE_vsftpd-tls=m -CONFIG_PACKAGE_wwan=y -CONFIG_PACKAGE_wifimngr=y -CONFIG_PACKAGE_uuidgen=y -CONFIG_PACKAGE_xl2tpd=y -CONFIG_PACKAGE_zoneinfo-core=y -CONFIG_PACKAGE_zoneinfo-europe=y -CONFIG_TARGET_CUSTOMER="IOPSYS" -# CONFIG_USE_SSTRIP is not set -CONFIG_USE_STRIP=y -CONFIG_BUILD_LOG=y + +############ +# BusyBox # +########## + +CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_ADDUSER=y CONFIG_BUSYBOX_CONFIG_ARPING=y CONFIG_BUSYBOX_CONFIG_ASH_IDLE_TIMEOUT=y @@ -134,6 +221,7 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS=y CONFIG_BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS=y CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules" CONFIG_BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" +# CONFIG_BUSYBOX_CONFIG_IP is not set CONFIG_BUSYBOX_CONFIG_LAST_SYSTEM_ID=999 CONFIG_BUSYBOX_CONFIG_LOGIN=y # CONFIG_BUSYBOX_CONFIG_LSMOD is not set @@ -197,40 +285,3 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_SQUASHFS=y CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_UBIFS=y CONFIG_BUSYBOX_CONFIG_TIMEOUT=y CONFIG_BUSYBOX_CONFIG_NOHUP=y -CONFIG_LIBCURL_CRYPTO_AUTH=y -# CONFIG_LIBCURL_MBEDTLS is not set -CONFIG_LIBCURL_OPENSSL=y -CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y -# CONFIG_SIGNED_PACKAGES is not set -# CONFIG_BUSYBOX_CONFIG_IP is not set -CONFIG_LOCALMIRROR="https://download.iopsys.eu/iopsys/mirror/" - -# Generation of /etc/banner. -CONFIG_IMAGEOPT=y -CONFIG_VERSIONOPT=y -CONFIG_VERSION_MANUFACTURER="iopsysWrt" -CONFIG_VERSION_MANUFACTURER_URL="https://iopsys.eu/" - -# Disable as much as possible of OpenWrt messy "pre-init" stuff. -CONFIG_PREINITOPT=y -# CONFIG_TARGET_PREINIT_SUPPRESS_STDERR is not set -CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE=y -CONFIG_TARGET_PREINIT_TIMEOUT=1 -# CONFIG_TARGET_PREINIT_SHOW_NETMSG is not set -# CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG is not set -CONFIG_TARGET_PREINIT_IFNAME="" -CONFIG_TARGET_PREINIT_IP="" -CONFIG_TARGET_PREINIT_NETMASK="" -CONFIG_TARGET_PREINIT_BROADCAST="" - -# Generate rootfs tar file -CONFIG_TARGET_ROOTFS_TARGZ=y - -# The urandom-seed package is very strange. It seeds urandom with urandom... -# Disable it. Most SoCs nowadays has HW random generators anyway. -# CONFIG_PACKAGE_urandom-seed is not set -# CONFIG_PACKAGE_urngd is not set - -# We use OpenSSL, no need to ship multiple TLS libraries -CONFIG_PACKAGE_libustream-openssl=y -# CONFIG_PACKAGE_libustream-wolfssl is not set