summaryrefslogtreecommitdiffstats
path: root/package/dhcpcd
Commit message (Collapse)AuthorAgeFilesLines
* packages: update sysv S* scripts to 644Matt Weber2019-02-081-0/+0
| | | | | Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dhcpcd: systemv and systemd services conflict with NetworkManagerJim Brennan2019-02-061-0/+5
| | | | | | | | | | | | | | | When NetworkManager and dhcpcd packages are both enabled, dhcpcd services and NetworkManager both spawn dhcpcd. This causes the network port to retrieve an IP address and later lose it a few seconds after startup. This patch prevents dhcpcd services from launching dhcpcd if NetworkManager is enabled. Signed-off-by: Jim Brennan <jbrennan@impinj.com> [Thomas: add a comment in the code to explain the seemingly strange condition.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dhcpcd: fix legal infoBaruch Siach2018-04-202-1/+3
| | | | | | | | | | | | | | | | | | | The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the tarball now has a LICENSE file, use that instead. While at it, add a hash for that file. Fixes: http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/ http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/ http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/ Cc: John Stile <johns@msli.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dhcpc: bump to version 7.0.3Yegor Yefremov2018-04-192-3/+3
| | | | | | | Use sha256 checksum from *.distinfo.asc file. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dhcpcd: don't test if the binary exists in the init scriptCarlos Santos2018-04-161-1/+0
| | | | | | | | The test doesn't make sense. It just exits without any error if the binary doesn't exist, which is silly. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dhcpcd: add systemd start-up serviceMarkus Mayer2017-11-022-0/+21
| | | | | | | | Add systemd start-up configuration for dhcpcd that is executed after the network has been brought up. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: add SysV start-up scriptMarkus Mayer2017-11-022-0/+39
| | | | | | | | Add System V start-up script for dhcpcd that is run after the network has been brought up. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: bump to version 6.11.5Gustavo Zacarias2016-10-132-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.11.1Gustavo Zacarias2016-06-192-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: security bump to version 6.11.0Baruch Siach2016-06-142-2/+2
| | | | | | | | | | Fixes CVE-2014-7913: The print_option function in dhcp-common.c in dhcpcd through 6.10.2 misinterprets the return value of the snprintf function, which allows remote DHCP servers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted message. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.10.1Gustavo Zacarias2016-01-212-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: security bump to version 6.10.0Gustavo Zacarias2016-01-082-2/+2
| | | | | | | | | | | Fixes: CVE-2016-1503 - heap overflow via malformed dhcp responses later in print_option (via dhcp_envoption1) due to incorrect option length values. CVE-2016-1504 - invalid read/crash via malformed dhcp responses. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.9.4Gustavo Zacarias2015-12-012-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* blackfin: 2012R2 toolchain is gone, remove kludgesMaxime Hadjinlian2015-10-041-2/+0
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: move libexecdirGustavo Zacarias2015-10-031-0/+1
| | | | | | | | | | | The default is $PREFIX/libexec which ends up in an ugly and non-standard /libexec dir in the target. Move it to $PREFIX/lib/dhcpcd which is far more nicer and suitable. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.9.3Gustavo Zacarias2015-10-032-2/+2
| | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.9.1Gustavo Zacarias2015-07-183-165/+4
| | | | | | | | Patch upstream so drop it. Also use main dhcpcd.c file as license info (it's in the header). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: needs kernel headers >= 3.1Peter Korsgaard2015-05-131-2/+4
| | | | | | | | | | | | | | commit dfbfa6ef (dhcpcd: blacklist Sourcery PowerPC toolchains) blacklisted specific toolchains, but the issue is actually that the kernel headers before 3.1 didn't define sa_family_t, so instead require 3.1+ headers. The specific kernel change fixing the headers is: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6602a4baf4d1a73cc The only reverse dependency of dhcpcd (network-manager) already needs 3.7+, so this dependency doesn't need to be propagated. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: add upstream patch to fix build issuePeter Korsgaard2015-04-291-0/+162
| | | | | | | | Fixes http://autobuild.buildroot.net/results/523/523858fb930e74fe28f24989ff0697693b5fdd67/ Patch from http://roy.marples.name/projects/dhcpcd/vpatch?from=e05490e2d12d03b1&to=c32714545158ca83 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "dhcpcd: fix ipv6 related compile failure"Peter Korsgaard2015-04-291-2/+2
| | | | | | | | This reverts commit 6b1f66643d782fc6f00e7436d41ceea6d88ad6bf. It turns out to not really fix the build errors after all, so revert it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: fix ipv6 related compile failurePeter Seiderer2015-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | Add '-D_GNU_SOURCE' to gain missing struct in6_pktinfo definition. Fixes [1]: ipv6.h:211:41: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo' unsigned char sndbuf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; ^ ipv6.h:195:38: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo' #define IP6BUFLEN (CMSG_SPACE(sizeof(struct in6_pktinfo)) + \ ^ ipv6.h:214:23: note: in expansion of macro 'IP6BUFLEN' unsigned char rcvbuf[IP6BUFLEN]; [1] http://autobuild.buildroot.net/results/523/523858fb930e74fe28f24989ff0697693b5fdd67 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo 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>
* package/dhcpcd: bump to version 6.8.1Bernd Kuhls2015-04-203-27/+2
| | | | | | | removed patch applied upstream Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-3/+3
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: fix wrong macro nameBaruch Siach2015-03-251-0/+25
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/788/788e7103c7c7c0199f221f42be6c22cc9eac3e0b/ http://autobuild.buildroot.net/results/673/673d4a0a334c4694cc4dd05ef99069f681f98f0a/ http://autobuild.buildroot.net/results/4bb/4bbf9e785eb9cb0f916f0a2bdaf7a6a5f639f7ea/ and many more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: bump to version 6.7.1Gustavo Zacarias2015-03-202-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: blacklist Sourcery PowerPC toolchainsBaruch Siach2014-12-311-0/+2
| | | | | | | | | | | | | | | The linux/socket.h header in these toolchains is broken as described in commit f5866484ffe (libnftnl: exclude for CS PPC toolchains). Fixes: http://autobuild.buildroot.net/results/d92/d92e7f2af0e64bc40f7b5c9ea081471de98bf8e8/ http://autobuild.buildroot.net/results/e97/e97e980a2f1e0ff4138a6dc03d86ad3ff0973e4a/ http://autobuild.buildroot.net/results/ca3/ca32c4de8b645c96cedb80b6270a792e9601ad84/ and some more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: bump to version 6.6.7Gustavo Zacarias2014-12-242-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* dhcpcd; bump to version 6.6.5Gustavo Zacarias2014-12-102-2/+2
| | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: bump to version 6.6.4Gustavo Zacarias2014-11-282-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.6.2Gustavo Zacarias2014-11-192-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: use standard installationGustavo Zacarias2014-11-191-6/+1
| | | | | | | | | | | | Drop the custom/manual install cmds and do a normal make install. This gets dhcpcd-hooks installed which are useful for many accesory setup functions like dns, ntp server, and so on. Also install dhcpcd to /sbin since it's expected by debian ifupdown, For busybox ifupdown when external dhcp clients are enabled (not in the default config we ship) will search the path. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: do not pass --target optionThomas Petazzoni2014-11-071-1/+0
| | | | | | | | | | | | | | | | | | | | dhcpcd is using $(BR2_GCC_TARGET_ARCH) as the value of its --target option. However, depending on the architecture, this value might be empty. After inspecting the dhcpcd configure script, it turns out that in fact the --target option has the following semantic: --target=TARGET configure for building compilers for TARGET [HOST] So it is very much like the --target option of regular, autoconf-based, configure scripts. Since dhcpcd is not a compiler, passing --target is pointless. Moreover, as long as --os=linux is passed, passing --host or --target is completely ignored by the configure script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename misc. occurrences of _OPT into _OPTSThomas De Schampheleire2014-10-041-4/+4
| | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, change remaining occurrences of _OPT into _OPTS. 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>
* dhcpcd: security bump to version 6.4.7Gustavo Zacarias2014-09-281-1/+1
| | | | | | | Does extra escaping to cover for vulnerable bash versions. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: security bump to version 6.4.3Gustavo Zacarias2014-08-042-45/+1
| | | | | | | | Issue and CVE req: http://seclists.org/oss-sec/2014/q3/261 Patch upstreamed in a subtly different way. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: correct ccache-fixing patch for XtensaThomas De Schampheleire2014-06-291-8/+20
| | | | | | | | | | The Xtensa gcc does not seem to like output on /dev/null. The applied patch on dhcpcd is thus unusable, and a more verbose version involving a temporary file is needed. Reported-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: refer to the actual homepageBaruch Siach2014-06-291-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: fix build with ccacheThomas De Schampheleire2014-06-221-0/+32
| | | | | | | | | | | | | | | After the bump to dhcpcd 6.4.0, building dhcpcd with ccache fails at the configure step: Using compiler .. <buildroot>/output/host/usr/bin/ccache <buildroot>/output/host/usr/bin/i686-pc-linux-gnu-gcc <buildroot>/output/host/usr/bin/ccache <buildroot>/output/host/usr/bin/i686-pc-linux-gnu-gcc is not an executable make: *** [<buildroot>/output/build/dhcpcd-6.4.0/.stamp_configured] Error 1 This patch backports an upstream patch to fix this issue. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dhcpcd: bump to version 6.4.0Gustavo Zacarias2014-06-182-9/+7
| | | | | | | Now with support for static builds. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: disable on static library buildsThomas Petazzoni2014-02-211-0/+6
| | | | | | | | | | | | dhcpcd uses dlopen(), so it is not compatible with pure static library builds. Fixes: http://autobuild.buildroot.net/results/512/51249e8d3487e17bb6a60a99dcbd461f7b591eac/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: install dhcpcd as /usr/sbin/dhcpcd.eric.le.bihan.dev@free.fr2014-01-091-1/+1
| | | | | | | | | GNU/Linux distributions usually install dhcpcd in /usr/sbin. NetworkManager will look for it in this directory. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: bump to version 6.1.0Gustavo Zacarias2013-11-102-10/+15
| | | | | | | Now has proper support for nommu and non-IPv6. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dhcpcd: needs MMUThomas Petazzoni2013-11-042-4/+1
| | | | | | | | | | | | | | | | | dhcpcd fails to build on non-MMU platforms, even with the --disable-fork option: bind.o: In function `_daemonise': bind.c:(.text+0x62): undefined reference to `_fork' collect2: ld returned 1 exit status Therefore, we make dhcpcd depend on MMU support, and remove the non-MMU condition in the .mk file. More recent versions of dhcpcd do support non-MMU properly, but this commit intends to be only a fix. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Samuel Martin <s.martin49@gmail.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: drop unneeded 'call' from {generic,autotools}-package invocationPeter Korsgaard2013-09-111-1/+1
| | | | | Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhcpcd: new packageJohn Stile2013-06-182-0/+52
Dhcpcd is an RFC2131 compliant DHCP client. [Peter: needs ipv6, fix whitespace/file header] Signed-off-by: John Stile <john@stilen.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud