From 4d20efc6d52bdacab43f7880241ec57542413240 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Wed, 9 Dec 2020 18:57:05 +0800 Subject: [PATCH] fix error message display --- bugfix-error-message-display.patch | 12 ++++++++++++ dhcp.spec | 21 ++++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 bugfix-error-message-display.patch diff --git a/bugfix-error-message-display.patch b/bugfix-error-message-display.patch new file mode 100644 index 0000000..183b27a --- /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 7439ba2..9ac1626 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 2 +Release: 3 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -44,14 +44,15 @@ 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 +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 BuildRequires: gcc autoconf automake libtool openldap-devel krb5-devel libcap-ng-devel bind-export-devel BuildRequires: systemd systemd-devel @@ -291,6 +292,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Wed Dec 09 2020 gaihuiying - 4.4.2-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix error message display + * Wed Dec 09 2020 quanhongfei - 4.4.2-2 - Type:bugfix - ID:NA -- Gitee