diff --git a/bugfix-error-message-display.patch b/bugfix-error-message-display.patch new file mode 100644 index 0000000000000000000000000000000000000000..183b27a159c9db8931eaa4b4fd890b6aa7772572 --- /dev/null +++ b/bugfix-error-message-display.patch @@ -0,0 +1,12 @@ +diff -ruNa dhcp-4.4.2-org/omapip/errwarn.c dhcp-4.4.2/omapip/errwarn.c +--- dhcp-4.4.2-org/omapip/errwarn.c 16:51:13.626927174 +0800 ++++ dhcp-4.4.2/omapip/errwarn.c 16:55:40.477496361 +0800 +@@ -57,7 +57,7 @@ + size_t url_len = 256; + + url = (char *) malloc(url_len * sizeof(char)); +- strcpy(url, "https://bugzilla.redhat.com/"); ++ strcpy(url, "https://gitee.com/src-openeuler/dhcp/issues"); + + if (!file) + return url; diff --git a/dhcp.spec b/dhcp.spec index 3ddf6eaa1add22b1588468a6cd4c335ed7a09f10..b5e07900e5ffbdf5133368adf7f903536e913c63 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 3 +Release: 4 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -44,15 +44,16 @@ Patch23: 0023-option-97-pxe-client-id.patch Patch24: 0024-Detect-system-time-changes.patch Patch25: 0025-bind-Detect-system-time-changes.patch Patch26: 0026-Add-dhclient-5-B-option-description.patch -Patch27: 0027-Add-missed-sd-notify-patch-to-manage-dhcpd-with-syst.patch +Patch27: 0027-Add-missed-sd-notify-patch-to-manage-dhcpd-with-syst.patch -Patch6003: bugfix-dhcp-4.2.5-check-dhclient-pid.patch -Patch6004: bugfix-reduce-getifaddr-calls.patch -Patch6005: bugfix-dhcp-64-bit-lease-parse.patch +Patch28: bugfix-dhcp-4.2.5-check-dhclient-pid.patch +Patch29: bugfix-reduce-getifaddr-calls.patch -Patch9001: bugfix-dhcpd-2038-problem.patch -Patch9003: dhcpd-coredump-infiniband.patch -Patch9004: bugfix-dhclient-check-if-pid-was-held.patch +Patch30: bugfix-dhcpd-2038-problem.patch +Patch31: dhcpd-coredump-infiniband.patch +Patch32: bugfix-dhclient-check-if-pid-was-held.patch +Patch33: bugfix-error-message-display.patch +Patch34: bugfix-dhcp-64-bit-lease-parse.patch BuildRequires: gcc autoconf automake libtool openldap-devel krb5-devel libcap-ng-devel bind-export-devel BuildRequires: systemd systemd-devel @@ -292,6 +293,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Fri May 21 2021 renmingshuai - 4.4.2-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: fix error message display and sync with sp1 + * Tue Jan 5 2021 gaihuiying - 4.4.2-3 - Type:bugfix - ID:NA