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 From 63a5e3616422070cd2868ecb3c18fed95002d4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 08:33:52 +0200 Subject: d/changelog: Change distribution to unstable, Change date and time --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a9e444c..38cd4a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -ipmiutil (3.1.8-3) UNRELEASED; urgency=medium +ipmiutil (3.1.8-3) unstable; 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 + -- Jörg Frings-Fürst Mon, 24 Oct 2022 08:31:30 +0200 ipmiutil (3.1.8-2) unstable; urgency=medium -- cgit v1.2.3 From b76117e0b2af2503ac5cfe3b23164ef117340f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 12:39:25 +0200 Subject: Use /dev/null for the cron output --- debian/patches/0705-crontab.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch index ac796e5..ecf5854 100644 --- a/debian/patches/0705-crontab.patch +++ b/debian/patches/0705-crontab.patch @@ -14,7 +14,7 @@ Index: trunk/scripts/ipmiutil_wdt cat - <<%%% >$wdtcron -* * * * * root $prog -r >/dev/null +MAILTO='' -+* * * * * root $prog -r > /tmp/wdt.lastrun 2&>1 ++* * * * * root $prog -r >/dev/null 2&>1 %%% # make crond re-read the /etc/cron.d $restart_cron >>$wdtlog -- cgit v1.2.3 From 0708fa294f7eb42a529f6f4cabc1abd73359a2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 12:41:14 +0200 Subject: d/changelog: Change date and time --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 38cd4a7..924156c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ ipmiutil (3.1.8-3) unstable; urgency=medium * debian/patches/0705-crontab.patch: Fix overwrite binary (Closes: #1022240). - -- Jörg Frings-Fürst Mon, 24 Oct 2022 08:31:30 +0200 + -- Jörg Frings-Fürst Mon, 24 Oct 2022 12:39:41 +0200 ipmiutil (3.1.8-2) unstable; urgency=medium -- cgit v1.2.3