summaryrefslogtreecommitdiff
path: root/package/dhcpcd
AgeCommit message (Collapse)Author
2016-10-13dhcpcd: bump to version 6.11.5Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-19dhcpcd: bump to version 6.11.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-14dhcpcd: security bump to version 6.11.0Baruch Siach
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>
2016-01-21dhcpcd: bump to version 6.10.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-01-08dhcpcd: security bump to version 6.10.0Gustavo Zacarias
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>
2015-12-01dhcpcd: bump to version 6.9.4Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-04blackfin: 2012R2 toolchain is gone, remove kludgesMaxime Hadjinlian
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>
2015-10-03dhcpcd: move libexecdirGustavo Zacarias
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>
2015-10-03dhcpcd: bump to version 6.9.3Gustavo Zacarias
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>
2015-07-18dhcpcd: bump to version 6.9.1Gustavo Zacarias
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>
2015-05-13dhcpcd: needs kernel headers >= 3.1Peter Korsgaard
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>
2015-04-29dhcpcd: add upstream patch to fix build issuePeter Korsgaard
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>
2015-04-29Revert "dhcpcd: fix ipv6 related compile failure"Peter Korsgaard
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>
2015-04-28dhcpcd: fix ipv6 related compile failurePeter Seiderer
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>
2015-04-22packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias
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>
2015-04-20package/dhcpcd: bump to version 6.8.1Bernd Kuhls
removed patch applied upstream Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-31packages: indentation cleanupJerzy Grzegorek
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>
2015-03-25dhcpcd: fix wrong macro nameBaruch Siach
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>
2015-03-20dhcpcd: bump to version 6.7.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-31dhcpcd: blacklist Sourcery PowerPC toolchainsBaruch Siach
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>
2014-12-24dhcpcd: bump to version 6.6.7Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-11Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni
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>
2014-12-10dhcpcd; bump to version 6.6.5Gustavo Zacarias
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>
2014-11-28dhcpcd: bump to version 6.6.4Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-19dhcpcd: bump to version 6.6.2Gustavo Zacarias
Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-19dhcpcd: use standard installationGustavo Zacarias
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>
2014-11-07dhcpcd: do not pass --target optionThomas Petazzoni
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>
2014-10-04packages: rename misc. occurrences of _OPT into _OPTSThomas De Schampheleire
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>
2014-09-28dhcpcd: security bump to version 6.4.7Gustavo Zacarias
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>
2014-08-04dhcpcd: security bump to version 6.4.3Gustavo Zacarias
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>
2014-06-29dhcpcd: correct ccache-fixing patch for XtensaThomas De Schampheleire
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>
2014-06-29dhcpcd: refer to the actual homepageBaruch Siach
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-22dhcpcd: fix build with ccacheThomas De Schampheleire
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>
2014-06-18dhcpcd: bump to version 6.4.0Gustavo Zacarias
Now with support for static builds. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-21dhcpcd: disable on static library buildsThomas Petazzoni
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>
2014-01-09dhcpcd: install dhcpcd as /usr/sbin/dhcpcd.eric.le.bihan.dev@free.fr
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>
2013-11-10dhcpcd: bump to version 6.1.0Gustavo Zacarias
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>
2013-11-04dhcpcd: needs MMUThomas Petazzoni
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>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
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>
2013-09-11package: drop unneeded 'call' from {generic,autotools}-package invocationPeter Korsgaard
Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-18dhcpcd: new packageJohn Stile
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>