diff options
| author | Qing He <qing.he@intel.com> | 2010-07-14 22:09:26 +0800 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 23:53:30 +0100 |
| commit | 95bb97aeb652bfe9fdd775ebda6036dc9d6770f0 (patch) | |
| tree | 173a18250ca42b9d4614d531fb9bf5794f2b7c6f /meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch | |
| parent | 00a42b73b62b602f96afe23b015c6e07098b9926 (diff) | |
| download | poky-95bb97aeb652bfe9fdd775ebda6036dc9d6770f0.tar.gz | |
dhcp: upgrade to 4.1.1-P1
from version 4.1.0
changes:
original .bb file is based on dhcp3, whose build system differs from
dhcp 4.x, add a new dhcp4.inc and preserve dhcp3.inc for reference,
this should fix the conf file location bug of dhclient/dhcpd 4.1.0
- defining _PATH_DHC{LIENT,PD}_CONF in make parameter no longer works,
put these definition to includes/site.h
- delete upstream version of conf files, which are not used, and
with an installation path hardcoded to ${sysconfdir}
- similar thing happen for leases file, use new configure option to
specify
- RANLIB, LIBDIR, etc. as make parameter are no longer necessary
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch')
| -rw-r--r-- | meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch b/meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch deleted file mode 100644 index 579d72f484..0000000000 --- a/meta/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch +++ /dev/null | |||
| @@ -1,84 +0,0 @@ | |||
| 1 | --- client/scripts/bsdos | ||
| 2 | +++ client/scripts/bsdos | ||
| 3 | @@ -47,6 +47,11 @@ | ||
| 4 | . /etc/dhcp/dhclient-exit-hooks | ||
| 5 | fi | ||
| 6 | # probably should do something with exit status of the local script | ||
| 7 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 8 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 9 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 10 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 11 | + fi | ||
| 12 | exit $exit_status | ||
| 13 | } | ||
| 14 | |||
| 15 | --- client/scripts/freebsd | ||
| 16 | +++ client/scripts/freebsd | ||
| 17 | @@ -57,6 +57,11 @@ | ||
| 18 | . /etc/dhcp/dhclient-exit-hooks | ||
| 19 | fi | ||
| 20 | # probably should do something with exit status of the local script | ||
| 21 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 22 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 23 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 24 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 25 | + fi | ||
| 26 | exit $exit_status | ||
| 27 | } | ||
| 28 | |||
| 29 | --- client/scripts/linux | ||
| 30 | +++ client/scripts/linux | ||
| 31 | @@ -69,6 +69,11 @@ | ||
| 32 | . /etc/dhcp/dhclient-exit-hooks | ||
| 33 | fi | ||
| 34 | # probably should do something with exit status of the local script | ||
| 35 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 36 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 37 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 38 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 39 | + fi | ||
| 40 | exit $exit_status | ||
| 41 | } | ||
| 42 | |||
| 43 | --- client/scripts/netbsd | ||
| 44 | +++ client/scripts/netbsd | ||
| 45 | @@ -47,6 +47,11 @@ | ||
| 46 | . /etc/dhcp/dhclient-exit-hooks | ||
| 47 | fi | ||
| 48 | # probably should do something with exit status of the local script | ||
| 49 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 50 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 51 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 52 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 53 | + fi | ||
| 54 | exit $exit_status | ||
| 55 | } | ||
| 56 | |||
| 57 | --- client/scripts/openbsd | ||
| 58 | +++ client/scripts/openbsd | ||
| 59 | @@ -47,6 +47,11 @@ | ||
| 60 | . /etc/dhcp/dhclient-exit-hooks | ||
| 61 | fi | ||
| 62 | # probably should do something with exit status of the local script | ||
| 63 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 64 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 65 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 66 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 67 | + fi | ||
| 68 | exit $exit_status | ||
| 69 | } | ||
| 70 | |||
| 71 | --- client/scripts/solaris | ||
| 72 | +++ client/scripts/solaris | ||
| 73 | @@ -47,6 +47,11 @@ | ||
| 74 | . /etc/dhcp/dhclient-exit-hooks | ||
| 75 | fi | ||
| 76 | # probably should do something with exit status of the local script | ||
| 77 | + if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then | ||
| 78 | + dbus-send --system --dest=com.redhat.dhcp \ | ||
| 79 | + --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ | ||
| 80 | + 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" | ||
| 81 | + fi | ||
| 82 | exit $exit_status | ||
| 83 | } | ||
| 84 | |||
