aboutsummaryrefslogtreecommitdiff
path: root/package/dhcp/dhcp.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/dhcp: fix installation with BR2_STATIC_LIBS=yGravatar Carlos Santos2019-08-091-5/+4
| | | | | | | | | | | | | Use the "install-sbinPROGRAMS" make target to install the utilities instead of guessing their locations. We disable libtool for static builds so the binaries are not always in a ".libs" subdir. Fixes: http://autobuild.buildroot.net/results/0c43c02b8d418b60b4734187abde1da585e9e0ca/ http://autobuild.buildroot.net/results/e61b246df60af1e59b8f643510557ef2270f2d97/ Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dhcp: install shared librariesGravatar Carlos Santos2019-08-091-0/+10
| | | | | | | | | | | | | | | | | | We don't use "make install" for target installation because we build all utilities (server, relay, client) but install only the selected ones. The utilities, however, require the shared libraries to work, so use the "install-exec" make target to install them. This also installs static libraries but they are removed later by target-finalize. With this change the omshell utility is installed if server is selected. We keep it, since it is small and may be useful at run-time. Fixes: https://bugs.busybox.net/show_bug.cgi?id=12086 Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dhcp: fix target installationGravatar Carlos Santos2019-08-011-3/+3
| | | | | | | | | | | | | We don't use "make install" for the target installation so we must pick the executables from the ".libs" directories on which libtool generates them otherwise we install the automatically generated wrapper scripts. This was not necessary before the upgrade to version 4.4.1. Fixes: https://bugs.busybox.net/show_bug.cgi?id=12051 Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dhcp: use system bindGravatar Fabrice Fontaine2019-05-091-23/+8
| | | | | | | | | | | Select bind instead of using the embedded bind libraries. This will help managing correctly all the bind dependencies such as zlib Fixes: - http://autobuild.buildroot.org/results/a61f24e9f117c81893c58befb20d21179e61b85b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dhcp: add missing dependency on zlibGravatar Thomas Petazzoni2019-04-221-0/+1
| | | | | | | | | | | | When BR2_PACKAGE_ZLIB=y, we enable zlib support in the bind included in dhcp, but we forget to add zlib to DHCP_DEPENDENCIES, so it doesn't get built before dhcp, causing build failures. Fixes: http://autobuild.buildroot.net/results/5a33057ceaf3f53e6ba9deab3f214a4c8a644352/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dhcp: bump to version 4.4.1Gravatar Fabrice Fontaine2019-04-201-13/+13
| | | | | | | | | | | | | | | - Use --with-bind-extra-config option to: - add --without-zlib otherwise static build will fail if zlib is found on host - Add --without-dlopen otherwise static build will fail - Drop all patches (already in version) - Drop autoreconf (not needed anymore) - Update license to MPL-2.0: https://www.isc.org/blogs/isc-dhcp-moves-to-mpl-2-0-license - Update hash of license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dhcp: disable isc assertions (reproducible builds)Gravatar Peter Seiderer2018-02-031-1/+3
| | | | | | | | | | | | | | | | The isc assertions from the bundled bind dns library are using the __FILE__ macro for debug messages (see dhcp-4.3.5/bind/bind-9.9.9-P3/lib/isc/include/isc/assertions.h). Disabling the assertions gains: - reproducible builds (no build time paths in the executable) - space saving on the target: dhcpd: 1.9M -> 1.6M dhcrelay: 1.6M -> 1.3M Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcp: bump to version 4.3.6Gravatar Baruch Siach2017-12-131-1/+1
| | | | | | | | | Renumber the patch. Add license hash. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/dhcp: create tmpfiles.d directoryGravatar Romain Naour2017-05-271-0/+1
| | | | | | | | | | | dhcp.mk tries to create dhcp.conf in a non-existant directory. Fixes: http://autobuild.buildroot.net/results/40e/40e48f74b586ce380766cf31473932e43090671e Signed-off-by: Romain Naour <romain.naour@gmail.com> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: bump version to 4.3.5Gravatar Vicente Olivert Riera2016-10-131-4/+3
| | | | | | | | | | | | | - 0001-dhcp-cross-compile.patch is now upstream: https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=commit;h=e2f36ff16f7de5fb6e028354a2cc04a181e887b4 - 0003-bind-host-cc.patch is now upstream: https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=118394ef2ec7cef253c55359a3d70d202ddc2fa0 - --with-randomdev configure option can now be used normally. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dhcp: bump version to 4.3.3-P1Gravatar Doug Kehn2016-02-211-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | bind source tar-ball is now embedded into the dhcp source. The embedded bind tar-ball is extracted after the dhcp source so cross compiling patches can be applied to the dhcp and bind before the package is built. The embedded bind configure is called as part of dhcp make instead of dhcp configure; therefore, needed configure parameters are set in the make env. 0001-dhcp-cross-compile.patch and 0002-bind-cross-compile.patch have been submitted upstream as part of a cross compiling enhancement suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502. 0003-bind-hos-cc.patch is already scheduled for the next dhcp release. Buildroot thread http://lists.busybox.net/pipermail/buildroot/2016-January/149079.html has related information. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: bump to version 4.1-ESV-R12Gravatar Gustavo Zacarias2015-10-191-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dhcp: remove autoreconfGravatar Romain Naour2015-07-201-2/+0
| | | | | | | | 0001-fix-configure-debug.patch was removed in commit 68e846d3b2875b5e7a79bfb33629bf2793840939 Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGravatar Gustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: move systemd service file to /usr/libGravatar Mike Williams2015-03-201-2/+2
| | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: bump to version 4.1-ESV-R11Gravatar Gustavo Zacarias2015-03-111-1/+1
| | | | | | | Add hash file and drop upstreamed patch. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dhcp: Only install the relevant unit fileGravatar Nathaniel Roach2014-12-071-0/+2
| | | | | | | | | | | | | | | | Previous to this patch, if BR2_PACKAGE_DHCP_CLIENT was selected, dhcpd.service was installed to the target on systemd systems. On the resultant system, this would mean that systemctl would show an error starting dhcpd.service, as the requisite files do not exist. This does not cause issue on sysvinit systems as the init scripts silently error when the files aren't found. Fix this by adding a conditional check to the install define. Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: install dhclient to /sbinGravatar Gustavo Zacarias2014-11-181-1/+1
| | | | | | | | | Debian ifupdown uses an explicit call to /sbin/dhclient. Busybox ifupdown uses the search path. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: fix bad --enable/disable-debug logicGravatar Gustavo Zacarias2014-11-111-0/+2
| | | | | | | | | | | | It interprets disable as enable and wreaks havoc since it changes the behaviour of the build, for instance not using configured leases files paths. Thanks to Nathaniel Roach for pointing me to this problem. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Nathaniel Roach <nroach44@gmail.com> Tested-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: add systemd service fileGravatar Eric Le Bihan2014-10-291-0/+15
| | | | | | | | | | | | | | | Add a systemd service file to start dhcpd. The network interfaces to listen on can be set via the variable INTERFACES in /etc/default/dhcpd.conf. Example: INTERFACES="eth0 eth1" Also install a tmpfiles.d file to create /var/lib/dhcp/dhcpd.leases (needed at dhcpd start-up). Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-10-261-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/.mk files: remove --localstatedir=/var from autotools packagesGravatar Jörg Krause2014-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Remove --localstatedir=/var from all autotools packages where it is no longer needed. Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is used by dhcp to set the default directory for the leases files. This can also be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in dhcp.mk. A custom --localstatedir is left in: * proftpd.mk * mysql.mk This is safe to do: One of the good thing with autoconf is that if you pass: --localstatedir=/var ... --localstatedir=/var/something Then /var/something will be used. So, we can set --localstatedir=/var by default in the infrastructure, and still have certain packages doing weird things override it. [Thanks to Thomas Petazzoni] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-3/+3
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: bump to version 4.1-ESV-R10Gravatar Gustavo Zacarias2014-09-051-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcp: Fix IPv6 files pathsGravatar Benoît Thébaudeau2014-08-041-1/+6
| | | | | | | | Use IPv6 file locations consistent with those set for IPv4 instead of keeping the defaults, which use different locations. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: Fix config files pathsGravatar Benoît Thébaudeau2014-08-041-1/+4
| | | | | | | | | The built dhcp binaries and the installed startup scripts used configuration files under /etc/, but the configuration files were installed under /etc/dhcp/. Fix everything to have configuration files under /etc/dhcp/. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: bump to version 4.1-ESV-R9Gravatar Gustavo Zacarias2014-06-111-5/+9
| | | | | | | | | | Also install the SysV initscripts from the proper hook. Since the scripts check for the proper files to be present there's no need to exclude them according to options since they won't try to start anything. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcp: install to stagingGravatar Thomas De Schampheleire2013-07-271-0/+1
| | | | | | | | Install dhcp to staging so other applications can use its include files and libraries. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: add config option for delayed-ack feature of dhcp serverGravatar Thomas De Schampheleire2013-07-191-0/+4
| | | | | | | | This patch creates a config option for the ISC DHCP server to allow passing --enable-delayed-ack to its configure script. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: bump to version 4.1-ESV-R8Gravatar Gustavo Zacarias2013-02-051-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: add license informationGravatar Gustavo Zacarias2013-01-281-2/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: security bump to version 4.1-ESV-R7Gravatar Gustavo Zacarias2012-09-201-1/+1
| | | | | | | Bump dhcp to version 4.1-ESV-R7 to fix CVE-2012-3955 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: security bump to version 4.1-ESV-R6Gravatar Gustavo Zacarias2012-07-301-1/+1
| | | | | | | Fixes CVE-2012-3571 and CVE-2012-3954. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcp: fix download URLGravatar Peter Korsgaard2012-03-151-1/+1
| | | | | | Tarball is in a subdir. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: security bump to version 4.1-ESV-R4Gravatar Gustavo Zacarias2012-03-111-1/+1
| | | | | | | Bump to version 4.1-ESV-R4 to fix CVE-2011-4539 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: security bump to version 4.1-ESV-R3Gravatar Gustavo Zacarias2011-11-091-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: allow IPv6 to be turned onGravatar Heiko Zuerker2011-04-251-2/+5
| | | | | Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: fix install -D invocation in target-installGravatar Peter Korsgaard2011-02-011-7/+10
| | | | | | | | | Closes #3181 When install -D is used (to ensure destination dirs exists), the destination file name has to be given as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcp: Bump to 4.1.1-P1 and convert to autotoolsGravatar Thomas Petazzoni2010-07-171-89/+37
| | | | | | | | | | | | | | dhcp 3.0.5 was causing build issues due to its build system not based on the autotools. Instead of work-arounding dhcp 3.0.5 issues, this commit bumps to 4.1.1 which uses the autotools as the build system. The package is therefore converted to the autotools infrastructure. The dhcp_xecute patch is no longer needed, this feature seems to have been merged into the upstream dhcp (according to the manpage). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Do not let packages remove man pages, info pages and documentationGravatar Thomas Petazzoni2010-04-111-25/+0
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-3/+3
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-4/+4
|
* - just use the strip binary to avoid confusing libtool (quotes)Gravatar Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Gravatar Bernhard Reutner-Fischer2007-09-171-20/+50
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Gravatar Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* Make sure directories are available before install of dhcp targetsGravatar Ulf Samuelsson2007-08-201-0/+7
|