From 7693dfd541c6b13b639286b557e38e5470f33ace Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Fri, 23 May 2025 11:29:55 +0200 Subject: [PATCH] Move pflogsumm to /usr/bin, there is no reason to be in sbin. --- debian/NEWS | 8 ++++++++ debian/changelog | 1 + debian/example/cron.daily | 4 ++-- debian/example/cron.weekly | 4 ++-- debian/install | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/debian/NEWS b/debian/NEWS index d266607..48e401e 100644 --- a/debian/NEWS +++ b/debian/NEWS @@ -1,3 +1,11 @@ +pflogsumm (1.1.6-1) experimental; urgency=medium + + This release moves pflogsumm to /usr/bin. Existing cron jobs + and scripts, which do not rely on the PATH variable, require + a manual adjustment. + + -- Sven Hoexter Fri, 23 May 2025 11:37:06 +0200 + pflogsumm (1.1.3-2) unstable; urgency=low This release removes the old '.pl' compatibility symlinks. If your diff --git a/debian/changelog b/debian/changelog index 28fabce..b65a83e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ pflogsumm (1.1.6-1) UNRELEASED; urgency=medium Supports space padded single digit days (Closes: #1068425). * Remove all patches, thanks to Jim for applying all of them upstream. + * Move pflogsumm to /usr/bin, there is no reason to be in sbin. * Drop README.Debian, the .pl extension is now officially gone. * Shorten debian/rules and use a debian/install file instead. * Bump Standards-Version to 4.7.2, no changes required. diff --git a/debian/example/cron.daily b/debian/example/cron.daily index 47c30c7..74a9fd5 100644 --- a/debian/example/cron.daily +++ b/debian/example/cron.daily @@ -5,6 +5,6 @@ # This script analyses the logfile for statistics and problems. # -if [ -x /usr/sbin/pflogsumm ]; then - /usr/sbin/pflogsumm -d yesterday --problems-first /var/log/mail.log +if [ -x /usr/bin/pflogsumm ]; then + /usr/bin/pflogsumm -d yesterday --problems-first /var/log/mail.log fi diff --git a/debian/example/cron.weekly b/debian/example/cron.weekly index 03409e1..275766c 100644 --- a/debian/example/cron.weekly +++ b/debian/example/cron.weekly @@ -5,6 +5,6 @@ # This script analyses the logfile for statistics and problems. # -if [ -x /usr/sbin/pflogsumm ]; then - /usr/sbin/pflogsumm --problems-first /var/log/mail.log* +if [ -x /usr/bin/pflogsumm ]; then + /usr/bin/pflogsumm --problems-first /var/log/mail.log* fi diff --git a/debian/install b/debian/install index a4314aa..9740d74 100644 --- a/debian/install +++ b/debian/install @@ -1 +1 @@ -pflogsumm usr/sbin \ No newline at end of file +pflogsumm usr/bin \ No newline at end of file -- 2.39.5