difos/package/network/services
Konstantin Demin e1bd9645b6 dropbear: roll up recipes into mapping lists
this commit removes manual recipes for options and introduces mapping lists:
- DB_OPT_COMMON holds option mappings which are common for all builds;
- DB_OPT_CONFIG holds option mappings which are depend on config settings.

DB_OPT_COMMON is space-separated list of 'words', each of them is in format:
  'header_option|value'

'header_option' is added with value 'value' to 'localoptions.h'.

if 'header_option' is preceded by two exclamation marks ('!!')
then option is not added to 'localoptions.h' but replaced in 'sysoptions.h'.

in short:
   option|value - add option to localoptions.h
 !!option|value - replace option in sysoptions.h

DB_OPT_CONFIG is space-separated list of 'words', each of them is in format:
  'header_option|config_variable|value_enabled|value_disabled'

'header_option' is handled likewise in DB_OPT_COMMON.

if 'config_variable' is enabled (technically: not disabled)
then 'header_option' is set to 'value_enabled' and 'value_disabled' otherwise.

in short:
   option|config|enabled|disabled = add option to localoptions.h
 !!option|config|enabled|disabled = replace option in sysoptions.h

   option := (config) ? enabled : disabled

If you're not sure that option's value doesn't have '|' within - add your recipe
manually right after '$(Build/Configure/dropbear_headers)' and write some words
about your decision.

PS about two exclamation marks:
early idea was to use one exclamation mark to denote such header options
but then i thought single exclamation mark may be overlooked by mistake.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2020-12-11 13:48:24 +01:00
..
dnsmasq dnsmasq: 'ipset' config sections 2020-11-11 20:47:34 +01:00
dropbear dropbear: roll up recipes into mapping lists 2020-12-11 13:48:24 +01:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: Disable 802.11b data rates by default 2020-12-06 08:51:32 -10:00
igmpproxy igmpproxy: remove some bashism 2020-06-23 20:00:16 +02:00
ipset-dns base-files: move /tmp/resolv.conf.auto to /tmp/resolv.conf.d/ 2020-01-07 15:36:03 +02:00
lldpd lldpd: fix autoreconf failure 2020-12-09 12:36:40 +01:00
odhcpd odhcpd: update to latest git HEAD 2020-11-15 18:48:33 +01:00
omcproxy omcproxy: define configuration file 2019-02-27 10:26:14 +01:00
ppp ppp: update to version 2.4.8.git-2020-10-03 2020-10-05 21:29:01 +02:00
relayd relayd: bump to version 2020-04-25 2020-04-26 13:00:36 +01:00
uhttpd uhttpd: update to git HEAD 2020-11-23 02:06:35 +00:00
umdns umdns: add check for seccomp list 2020-11-30 10:38:13 +00:00
wireguard wireguard: bump to 1.0.20201112 2020-11-12 13:28:38 +01:00