On 03/26/2015 04:45 PM, Oliver Graute wrote: > This patch adds dhcp-helper a DHCP and BOOTP relay agent to ptxdist > > Signed-off-by: Oliver Graute > --- > rules/dhcp-helper.in | 12 ++++++++++ > rules/dhcp-helper.make | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 73 insertions(+) > create mode 100644 rules/dhcp-helper.in > create mode 100644 rules/dhcp-helper.make > > diff --git a/rules/dhcp-helper.in b/rules/dhcp-helper.in > new file mode 100644 > index 0000000..b55755b > --- /dev/null > +++ b/rules/dhcp-helper.in > @@ -0,0 +1,12 @@ > +## SECTION=networking > + > +config DHCP_HELPER > + tristate > + prompt "dhcp-helper" > + help > + dhcp-helper is a DHCP and BOOTP relay agent. It listens for DHCP and > + BOOTP broadcasts on directly connected subnets and relays them to DHCP > + or BOOTP servers elsewhere. It also relays replies from the remote > + servers back to partially configured hosts. Once hosts are fully > + configured they can communicate directly with their servers and no > + longer need the services of a relay. > diff --git a/rules/dhcp-helper.make b/rules/dhcp-helper.make > new file mode 100644 > index 0000000..fa01e4a > --- /dev/null > +++ b/rules/dhcp-helper.make > @@ -0,0 +1,61 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_DHCP_HELPER) += dhcp-helper > + > +# > +# Paths and names > +# > +DHCP_HELPER_VERSION := 1.1 > +DHCP_HELPER_MD5 := 049cc2138f151235903d2303a57f8203 > +DHCP_HELPER := dhcp-helper-$(DHCP_HELPER_VERSION) > +DHCP_HELPER_SUFFIX := tar.gz > +DHCP_HELPER_URL := http://www.thekelleys.org.uk/dhcp-helper/$(DHCP_HELPER).$(DHCP_HELPER_SUFFIX) > +DHCP_HELPER_SOURCE := $(SRCDIR)/$(DHCP_HELPER).$(DHCP_HELPER_SUFFIX) > +DHCP_HELPER_DIR := $(BUILDDIR)/$(DHCP_HELPER) > +DHCP_HELPER_LICENSE := GPLv2 > + > +DHCP_HELPER_CONF_ENV := $(CROSS_ENV) > + > +DHCP_HELPER_CONF_OPT := $(CROSS_AUTOCONF_USR) > + > +# ---------------------------------------------------------------------------- > +# Compile > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/dhcp-helper.compile: > + @$(call targetinfo) > +# @$(call world/compile, DHCP_HELPER) > +# @$(call touch) Nothing to compile? Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |