diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-01-23 13:26:11 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-28 12:29:32 +0000 |
commit | 98a54331e184411dfd9e3f6822a202aa7369f2fd (patch) | |
tree | 80d35c94ac5da2f4c56fc20820479bf815d8a26a /meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2 | |
parent | 7fed40399c232385e562a3b367dd7e5a1bfaf79b (diff) | |
download | poky-98a54331e184411dfd9e3f6822a202aa7369f2fd.tar.gz |
dhcp: Update to 4.2.5
(From OE-Core rev: fb1a7cf8ac1b5ab8047f47ace28775685ba28804)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2')
7 files changed, 0 insertions, 291 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/dhcp-3.0.3-dhclient-dbus.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/dhcp-3.0.3-dhclient-dbus.patch deleted file mode 100644 index b4a666d106..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/dhcp-3.0.3-dhclient-dbus.patch +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [distribution] | ||
2 | |||
3 | --- client/scripts/bsdos | ||
4 | +++ client/scripts/bsdos | ||
5 | @@ -47,6 +47,11 @@ | ||
6 | . /etc/dhcp/dhclient-exit-hooks | ||
7 | fi | ||
8 | # probably should do something with exit status of the local script | ||
9 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
10 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
11 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
12 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
13 | + fi | ||
14 | exit $exit_status | ||
15 | } | ||
16 | |||
17 | --- client/scripts/freebsd | ||
18 | +++ client/scripts/freebsd | ||
19 | @@ -57,6 +57,11 @@ | ||
20 | . /etc/dhcp/dhclient-exit-hooks | ||
21 | fi | ||
22 | # probably should do something with exit status of the local script | ||
23 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
24 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
25 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
26 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
27 | + fi | ||
28 | exit $exit_status | ||
29 | } | ||
30 | |||
31 | --- client/scripts/linux | ||
32 | +++ client/scripts/linux | ||
33 | @@ -69,6 +69,11 @@ | ||
34 | . /etc/dhcp/dhclient-exit-hooks | ||
35 | fi | ||
36 | # probably should do something with exit status of the local script | ||
37 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
38 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
39 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
40 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
41 | + fi | ||
42 | exit $exit_status | ||
43 | } | ||
44 | |||
45 | --- client/scripts/netbsd | ||
46 | +++ client/scripts/netbsd | ||
47 | @@ -47,6 +47,11 @@ | ||
48 | . /etc/dhcp/dhclient-exit-hooks | ||
49 | fi | ||
50 | # probably should do something with exit status of the local script | ||
51 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
52 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
53 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
54 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
55 | + fi | ||
56 | exit $exit_status | ||
57 | } | ||
58 | |||
59 | --- client/scripts/openbsd | ||
60 | +++ client/scripts/openbsd | ||
61 | @@ -47,6 +47,11 @@ | ||
62 | . /etc/dhcp/dhclient-exit-hooks | ||
63 | fi | ||
64 | # probably should do something with exit status of the local script | ||
65 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
66 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
67 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
68 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
69 | + fi | ||
70 | exit $exit_status | ||
71 | } | ||
72 | |||
73 | --- client/scripts/solaris | ||
74 | +++ client/scripts/solaris | ||
75 | @@ -47,6 +47,11 @@ | ||
76 | . /etc/dhcp/dhclient-exit-hooks | ||
77 | fi | ||
78 | # probably should do something with exit status of the local script | ||
79 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
80 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
81 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
82 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
83 | + fi | ||
84 | exit $exit_status | ||
85 | } | ||
86 | |||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-client-path.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-client-path.patch deleted file mode 100644 index 97ed0d9322..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-client-path.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | CLIENT_PATH is the only environment when executing dhclient-script, | ||
2 | without this patch, dhclient-script won't run properly because it | ||
3 | invokes ifconfig and route | ||
4 | |||
5 | Upstream-Status: Inappropriate [configuration] | ||
6 | |||
7 | 7/28/2010 - qhe | ||
8 | |||
9 | diff -ru dhcp-4.1.1-P1.orig//client/Makefile.am dhcp-4.1.1-P1/client/Makefile.am | ||
10 | --- dhcp-4.1.1-P1.orig//client/Makefile.am 2010-07-29 13:20:05.000000000 +0800 | ||
11 | +++ dhcp-4.1.1-P1/client/Makefile.am 2010-07-29 13:28:14.000000000 +0800 | ||
12 | @@ -10,9 +10,9 @@ | ||
13 | EXTRA_DIST = $(man_MANS) | ||
14 | |||
15 | dhclient.o: dhclient.c | ||
16 | - $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \ | ||
17 | + $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \ | ||
18 | -DLOCALSTATEDIR='"$(localstatedir)"' -c dhclient.c | ||
19 | |||
20 | dhc6.o: dhc6.c | ||
21 | - $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \ | ||
22 | + $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \ | ||
23 | -DLOCALSTATEDIR='"$(localstatedir)"' -c dhc6.c | ||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-external-bind.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-external-bind.patch deleted file mode 100644 index 4f11655812..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fix-external-bind.patch +++ /dev/null | |||
@@ -1,103 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | 11/30/2010 | ||
4 | --with-libbind=PATH is available but not used by Makefile, | ||
5 | this patch is to allow building with external bind | ||
6 | |||
7 | Signed-off-by: Qing He <qing.he@intel.com> | ||
8 | |||
9 | diff --git a/Makefile.am b/Makefile.am | ||
10 | index 928d926..cd17af8 100644 | ||
11 | --- a/Makefile.am | ||
12 | +++ b/Makefile.am | ||
13 | @@ -21,7 +21,7 @@ EXTRA_DIST = RELNOTES LICENSE \ | ||
14 | util/bindvar.sh \ | ||
15 | bind/Makefile bind/bind.tar.gz bind/version.tmp | ||
16 | |||
17 | -SUBDIRS = bind includes tests common dst omapip client dhcpctl relay server | ||
18 | +SUBDIRS = includes tests common dst omapip client dhcpctl relay server | ||
19 | |||
20 | nobase_include_HEADERS = dhcpctl/dhcpctl.h | ||
21 | |||
22 | diff --git a/client/Makefile.am b/client/Makefile.am | ||
23 | index 77ed055..5a77f2d 100644 | ||
24 | --- a/client/Makefile.am | ||
25 | +++ b/client/Makefile.am | ||
26 | @@ -5,7 +5,7 @@ dhclient_SOURCES = clparse.c dhclient.c dhc6.c \ | ||
27 | scripts/netbsd scripts/nextstep scripts/openbsd \ | ||
28 | scripts/solaris scripts/openwrt | ||
29 | dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ | ||
30 | - ../bind/lib/libdns.a ../bind/lib/libisc.a | ||
31 | + $(libbind)/libdns.a $(libbind)/libisc.a | ||
32 | man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5 | ||
33 | EXTRA_DIST = $(man_MANS) | ||
34 | |||
35 | diff --git a/configure.ac b/configure.ac | ||
36 | index ff832aa..60d342c 100644 | ||
37 | --- a/configure.ac | ||
38 | +++ b/configure.ac | ||
39 | @@ -500,6 +500,7 @@ no) | ||
40 | libbind="$use_libbind" | ||
41 | ;; | ||
42 | esac | ||
43 | +AC_SUBST([libbind]) | ||
44 | |||
45 | # OpenLDAP support. | ||
46 | AC_ARG_WITH(ldap, | ||
47 | diff --git a/dhcpctl/Makefile.am b/dhcpctl/Makefile.am | ||
48 | index 61049be..85aefa3 100644 | ||
49 | --- a/dhcpctl/Makefile.am | ||
50 | +++ b/dhcpctl/Makefile.am | ||
51 | @@ -6,10 +6,10 @@ EXTRA_DIST = $(man_MANS) | ||
52 | |||
53 | omshell_SOURCES = omshell.c | ||
54 | omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \ | ||
55 | - ../bind/lib/libdns.a ../bind/lib/libisc.a | ||
56 | + $(libbind)/libdns.a $(libbind)/libisc.a | ||
57 | |||
58 | libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c | ||
59 | |||
60 | cltest_SOURCES = cltest.c | ||
61 | cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \ | ||
62 | - ../bind/lib/libdns.a ../bind/lib/libisc.a | ||
63 | \ No newline at end of file | ||
64 | + $(libbind)/libdns.a $(libbind)/libisc.a | ||
65 | diff --git a/omapip/Makefile.am b/omapip/Makefile.am | ||
66 | index 595950a..17f2233 100644 | ||
67 | --- a/omapip/Makefile.am | ||
68 | +++ b/omapip/Makefile.am | ||
69 | @@ -10,5 +10,5 @@ man_MANS = omapi.3 | ||
70 | EXTRA_DIST = $(man_MANS) | ||
71 | |||
72 | svtest_SOURCES = test.c | ||
73 | -svtest_LDADD = libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a | ||
74 | +svtest_LDADD = libomapi.a $(libbind)/libdns.a $(libbind)/libisc.a | ||
75 | |||
76 | diff --git a/relay/Makefile.am b/relay/Makefile.am | ||
77 | index d8757ca..a7885da 100644 | ||
78 | --- a/relay/Makefile.am | ||
79 | +++ b/relay/Makefile.am | ||
80 | @@ -3,7 +3,7 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localstatedir@"' | ||
81 | sbin_PROGRAMS = dhcrelay | ||
82 | dhcrelay_SOURCES = dhcrelay.c | ||
83 | dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ | ||
84 | - ../bind/lib/libdns.a ../bind/lib/libisc.a | ||
85 | + $(libbind)/libdns.a $(libbind)/libisc.a | ||
86 | man_MANS = dhcrelay.8 | ||
87 | EXTRA_DIST = $(man_MANS) | ||
88 | |||
89 | diff --git a/server/Makefile.am b/server/Makefile.am | ||
90 | index cdfaf47..d2c254b 100644 | ||
91 | --- a/server/Makefile.am | ||
92 | +++ b/server/Makefile.am | ||
93 | @@ -8,8 +8,8 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ | ||
94 | |||
95 | dhcpd_CFLAGS = $(LDAP_CFLAGS) | ||
96 | dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ | ||
97 | - ../dhcpctl/libdhcpctl.a ../bind/lib/libdns.a \ | ||
98 | - ../bind/lib/libisc.a | ||
99 | + ../dhcpctl/libdhcpctl.a $(libbind)/libdns.a \ | ||
100 | + $(libbind)/libisc.a | ||
101 | |||
102 | man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 | ||
103 | EXTRA_DIST = $(man_MANS) | ||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fixincludes.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fixincludes.patch deleted file mode 100644 index e33c9dd73f..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/fixincludes.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | --- dhcp-3.0.2/common/tr.c~compile 2005-10-13 14:23:37.000000000 +0200 | ||
4 | +++ dhcp-3.0.2/common/tr.c 2005-10-13 14:23:45.000000000 +0200 | ||
5 | @@ -39,6 +39,7 @@ | ||
6 | #include "includes/netinet/udp.h" | ||
7 | #include "includes/netinet/if_ether.h" | ||
8 | #include "netinet/if_tr.h" | ||
9 | +#include <asm/types.h> | ||
10 | #include <sys/time.h> | ||
11 | |||
12 | /* | ||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/link-with-lcrypto.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/link-with-lcrypto.patch deleted file mode 100644 index 57e10b0297..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/link-with-lcrypto.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | Author: Andrei Gherzan <andrei@gherzan.ro> | ||
2 | Date: Thu Feb 2 23:59:11 2012 +0200 | ||
3 | |||
4 | From 4.2.0 final release, -lcrypto check was removed and we compile static libraries | ||
5 | from bind that are linked to libcrypto. This is why i added a patch in order to add | ||
6 | -lcrypto to LIBS. | ||
7 | |||
8 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Index: dhcp-4.2.3-P2-r0/dhcp-4.2.3-P2/configure.ac | ||
12 | =================================================================== | ||
13 | --- dhcp-4.2.3-P2.orig/configure.ac 2012-02-02 18:04:20.843023196 +0200 | ||
14 | +++ dhcp-4.2.3-P2/configure.ac 2012-02-02 17:58:16.000000000 +0200 | ||
15 | @@ -456,6 +456,10 @@ | ||
16 | # Look for optional headers. | ||
17 | AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h) | ||
18 | |||
19 | +# find an MD5 library | ||
20 | +AC_SEARCH_LIBS(MD5_Init, [crypto]) | ||
21 | +AC_SEARCH_LIBS(MD5Init, [crypto]) | ||
22 | + | ||
23 | # Solaris needs some libraries for functions | ||
24 | AC_SEARCH_LIBS(socket, [socket]) | ||
25 | AC_SEARCH_LIBS(inet_ntoa, [nsl]) | ||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch deleted file mode 100644 index 5c635e8dcb..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | # | ||
4 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
5 | # | ||
6 | |||
7 | --- dhcp-3.0.1/includes/dhcpd.h~compile | ||
8 | +++ dhcp-3.0.1/includes/dhcpd.h | ||
9 | @@ -306,9 +306,9 @@ | ||
10 | # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \ | ||
11 | UNICAST_BROADCAST_HACK) | ||
12 | |||
13 | - binding_state_t __attribute__ ((mode (__byte__))) binding_state; | ||
14 | - binding_state_t __attribute__ ((mode (__byte__))) next_binding_state; | ||
15 | - binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state; | ||
16 | + binding_state_t binding_state; | ||
17 | + binding_state_t next_binding_state; | ||
18 | + binding_state_t desired_binding_state; | ||
19 | |||
20 | struct lease_state *state; | ||
21 | |||
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/site.h b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/site.h deleted file mode 100644 index 2289554ef3..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/site.h +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | /* | ||
2 | * define config file location in ${S}/includes/site.h | ||
3 | * still need to take care of installation path (${sysconfdir}/dhcpd.conf) | ||
4 | * | ||
5 | * 7/22/2010 - qhe | ||
6 | */ | ||
7 | |||
8 | /* Define this if you want DNS update functionality to be available. */ | ||
9 | |||
10 | #define NSUPDATE | ||
11 | |||
12 | /* Define this if you aren't debugging and you want to save memory | ||
13 | (potentially a _lot_ of memory) by allocating leases in chunks rather | ||
14 | than one at a time. */ | ||
15 | |||
16 | #define COMPACT_LEASES | ||
17 | |||
18 | |||
19 | /* local */ | ||
20 | #define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf" | ||
21 | #define _PATH_DHCLIENT_CONF "/etc/dhcp/dhclient.conf" | ||