From 4662de0511487b4da965c4b2158bae318f3d80a8 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 11 Dec 2009 02:21:10 +0100 Subject: replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest Signed-off-by: Denys Vlasenko --- networking/udhcp/Config.in | 28 ++++++++++++++-------------- networking/udhcp/Kbuild | 12 ++++++------ 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'networking/udhcp') diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index 5f76dd8..fd2a61c 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in @@ -3,26 +3,26 @@ # see scripts/kbuild/config-language.txt. # -config APP_UDHCPD +config UDHCPD bool "udhcp server (udhcpd)" default n help udhcpd is a DHCP server geared primarily toward embedded systems, while striving to be fully functional and RFC compliant. -config APP_DHCPRELAY +config DHCPRELAY bool "dhcprelay" default n - depends on APP_UDHCPD + depends on UDHCPD help dhcprelay listens for dhcp requests on one or more interfaces and forwards these requests to a different interface or dhcp server. -config APP_DUMPLEASES +config DUMPLEASES bool "Lease display utility (dumpleases)" default n - depends on APP_UDHCPD + depends on UDHCPD help dumpleases displays the leases written out by the udhcpd server. Lease times are stored in the file by time remaining in lease, or @@ -31,7 +31,7 @@ config APP_DUMPLEASES config FEATURE_UDHCPD_WRITE_LEASES_EARLY bool "Rewrite the lease file at every new acknowledge" default n - depends on APP_UDHCPD + depends on UDHCPD help If selected, udhcpd will write a new file with leases every time a new lease has been accepted, thus eliminating the need @@ -41,12 +41,12 @@ config FEATURE_UDHCPD_WRITE_LEASES_EARLY config DHCPD_LEASES_FILE string "Absolute path to lease file" default "/var/lib/misc/udhcpd.leases" - depends on APP_UDHCPD + depends on UDHCPD help udhcpd stores addresses in a lease file. This is the absolute path of the file. Normally it is safe to leave it untouched. -config APP_UDHCPC +config UDHCPC bool "udhcp client (udhcpc)" default n help @@ -59,7 +59,7 @@ config APP_UDHCPC config FEATURE_UDHCPC_ARPING bool "Verify that the offered address is free, using ARP ping" default y - depends on APP_UDHCPC + depends on UDHCPC help If selected, udhcpc will send ARP probes and make sure the offered address is really not in use by anyone. The client @@ -69,7 +69,7 @@ config FEATURE_UDHCPC_ARPING config FEATURE_UDHCP_PORT bool "Enable '-P port' option for udhcpd and udhcpc" default n - depends on APP_UDHCPD || APP_UDHCPC + depends on UDHCPD || UDHCPC help At the cost of ~300 bytes, enables -P port option. This feature is typically not needed. @@ -78,7 +78,7 @@ config UDHCP_DEBUG int "Maximum verbosity level for udhcp applets (0..9)" default 0 range 0 9 - depends on APP_UDHCPD || APP_UDHCPC || APP_DHCPRELAY + depends on UDHCPD || UDHCPC || DHCPRELAY help Verbosity can be increased with multiple -v options. This options controls how high it can be cranked up. @@ -89,7 +89,7 @@ config UDHCP_DEBUG config FEATURE_UDHCP_RFC3397 bool "Support for RFC3397 domain search (experimental)" default n - depends on APP_UDHCPD || APP_UDHCPC + depends on UDHCPD || UDHCPC help If selected, both client and server will support passing of domain search lists via option 119, specified in RFC3397. @@ -97,7 +97,7 @@ config FEATURE_UDHCP_RFC3397 config UDHCPC_DEFAULT_SCRIPT string "Absolute path to config script" default "/usr/share/udhcpc/default.script" - depends on APP_UDHCPC + depends on UDHCPC help This script is called after udhcpc receives an answer. See examples/udhcp for a working example. Normally it is safe @@ -107,7 +107,7 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS int "DHCP options slack buffer size" default 80 range 0 924 - depends on APP_UDHCPD || APP_UDHCPC + depends on UDHCPD || UDHCPC help Some buggy DHCP servers send DHCP offer packets with option field larger than we expect (which might also be considered a diff --git a/networking/udhcp/Kbuild b/networking/udhcp/Kbuild index e938076..d1d3567 100644 --- a/networking/udhcp/Kbuild +++ b/networking/udhcp/Kbuild @@ -6,20 +6,20 @@ # lib-y:= -lib-$(CONFIG_APP_UDHCPC) += common.o options.o packet.o \ +lib-$(CONFIG_UDHCPC) += common.o options.o packet.o \ signalpipe.o socket.o -lib-$(CONFIG_APP_UDHCPD) += common.o options.o packet.o \ +lib-$(CONFIG_UDHCPD) += common.o options.o packet.o \ signalpipe.o socket.o -lib-$(CONFIG_APP_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \ +lib-$(CONFIG_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \ script.o UDHCPC_NEEDS_ARPING-$(CONFIG_FEATURE_UDHCPC_ARPING) = y lib-$(UDHCPC_NEEDS_ARPING-y) += arpping.o -lib-$(CONFIG_APP_UDHCPD) += dhcpd.o arpping.o files.o leases.o \ +lib-$(CONFIG_UDHCPD) += dhcpd.o arpping.o files.o leases.o \ serverpacket.o static_leases.o -lib-$(CONFIG_APP_DUMPLEASES) += dumpleases.o -lib-$(CONFIG_APP_DHCPRELAY) += dhcprelay.o +lib-$(CONFIG_DUMPLEASES) += dumpleases.o +lib-$(CONFIG_DHCPRELAY) += dhcprelay.o lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o -- cgit v1.1