From 30de5c947b76ec2ba75e50a9369fce920245ccf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 08:30:03 +0200 Subject: d/p/0705-crontab.patch: Fix overwrite binary --- debian/changelog | 6 ++++++ debian/patches/0105-typo.patch | 2 +- debian/patches/0705-crontab.patch | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4bee817..a9e444c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ipmiutil (3.1.8-3) UNRELEASED; urgency=medium + + * debian/patches/0705-crontab.patch: Fix overwrite binary (Closes: #1022240). + + -- Jörg Frings-Fürst Mon, 24 Oct 2022 08:17:23 +0200 + ipmiutil (3.1.8-2) unstable; urgency=medium * debian/patches/0700-init.patch (Closes: #1020558): diff --git a/debian/patches/0105-typo.patch b/debian/patches/0105-typo.patch index 178ae2d..70c9875 100644 --- a/debian/patches/0105-typo.patch +++ b/debian/patches/0105-typo.patch @@ -54,7 +54,7 @@ Index: trunk/lib/lanplus/lanplus.c =================================================================== --- trunk.orig/lib/lanplus/lanplus.c +++ trunk/lib/lanplus/lanplus.c -@@ -3809,7 +3809,7 @@ ipmi_lanplus_open(struct ipmi_intf * int +@@ -3819,7 +3819,7 @@ ipmi_lanplus_open(struct ipmi_intf * int if (ipmi_get_auth_capabilities_cmd(intf, &auth_cap)) { lprintf(LOG_INFO, "Error issuing Get Channel " diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch index f19523e..ac796e5 100644 --- a/debian/patches/0705-crontab.patch +++ b/debian/patches/0705-crontab.patch @@ -1,7 +1,7 @@ Description: Prevent watchdog to send minutly emails and log entries Author: Harry Coin Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/1535408 -Last-Update: 2016-05-15 +Last-Update: 2022-10-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/scripts/ipmiutil_wdt @@ -14,7 +14,7 @@ Index: trunk/scripts/ipmiutil_wdt cat - <<%%% >$wdtcron -* * * * * root $prog -r >/dev/null +MAILTO='' -+* * * * * root $prog -r > $prog.lastrun 2&>1 ++* * * * * root $prog -r > /tmp/wdt.lastrun 2&>1 %%% # make crond re-read the /etc/cron.d $restart_cron >>$wdtlog -- cgit v1.2.3