git: e4d1eaaaadfd - main - security/logcheck: Update to 1.4.6

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 11 Aug 2025 00:08:28 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4d1eaaaadfd116e295c028c56aa2c5ad3e4aad6

commit e4d1eaaaadfd116e295c028c56aa2c5ad3e4aad6
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-08-10 23:43:16 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-08-11 00:08:15 +0000

    security/logcheck: Update to 1.4.6
    
    ChangeLog:      https://salsa.debian.org/debian/logcheck/-/blob/debian/1.4.6/debian/changelog
---
 security/logcheck/Makefile                 |  6 +++---
 security/logcheck/distinfo                 |  6 +++---
 security/logcheck/files/patch-src_logcheck | 28 ++++++++++++++--------------
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index 870facde151b..b6581c29b240 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	logcheck
-DISTVERSION=	1.4.4
-PORTREVISION=	1
+DISTVERSION=	1.4.6
 CATEGORIES=	security
 MASTER_SITES=	DEBIAN_POOL
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -17,6 +16,7 @@ RUN_DEPENDS=	bash:shells/bash \
 		lockfile-create:sysutils/lockfile-progs \
 		mime-construct:mail/mime-construct
 
+
 # Enable Perl dependency for logtail script
 USES=		perl5 shebangfix tar:xz
 SHEBANG_FILES=	src/detectrotate/*.dtr src/logcheck src/logtail src/logtail2
@@ -26,7 +26,7 @@ SUB_LIST+=	CRON=${PORT_OPTIONS:MCRON} \
 		DBDIR=${DBDIR} \
 		LOGCHECK_GROUP=${LOGCHECK_GROUP} \
 		LOGCHECK_USER=${LOGCHECK_USER}
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}
 USERS=		${LOGCHECK_USER}
 GROUPS=		${LOGCHECK_GROUP}
 PLIST_SUB+=	CHGRP=${CHGRP} \
diff --git a/security/logcheck/distinfo b/security/logcheck/distinfo
index a361a9724258..85c870f831b1 100644
--- a/security/logcheck/distinfo
+++ b/security/logcheck/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746315311
-SHA256 (logcheck_1.4.4.tar.xz) = d40e1a92707e19581cdc5f1596a56d26396f18b061612e84fb0fbd957bc03864
-SIZE (logcheck_1.4.4.tar.xz) = 143220
+TIMESTAMP = 1754867993
+SHA256 (logcheck_1.4.6.tar.xz) = 1c038ac8bfce551e84d7be5022bfd56482f2d70ee6a8cb7a4499227f318b627d
+SIZE (logcheck_1.4.6.tar.xz) = 143620
diff --git a/security/logcheck/files/patch-src_logcheck b/security/logcheck/files/patch-src_logcheck
index dc1f0636f23b..fc153e9a4ae9 100644
--- a/security/logcheck/files/patch-src_logcheck
+++ b/security/logcheck/files/patch-src_logcheck
@@ -1,4 +1,4 @@
---- src/logcheck.orig	2025-05-03 23:35:17 UTC
+--- src/logcheck.orig	2025-08-10 23:32:15 UTC
 +++ src/logcheck
 @@ -24,16 +24,16 @@ if [ "$(id -u)" = 0 ]; then
  
@@ -43,16 +43,16 @@
  SYSLOG_SUMMARY="/usr/bin/syslog-summary"
  
  # Defaults for options
-@@ -92,7 +92,7 @@ SYSLOGSUMMARY=0
- SORTUNIQ=0
- SUPPORT_CRACKING_IGNORE=0
- SYSLOGSUMMARY=0
--LOCKDIR=/run/lock/logcheck
-+LOCKDIR=/var/run/logcheck
+@@ -99,7 +99,7 @@ else
+ elif [ -d "$TMPDIR" ] && [ -w "$TMPDIR" ]; then
+ 	LOCKDIR="$TMPDIR/logcheck"
+ else
+-	LOCKDIR="/tmp/logcheck"
++	LOCKDIR=/var/run/logcheck
+ fi
  LOCKFILE="$LOCKDIR/logcheck"
  
- # Allow globs to return zero files
-@@ -183,8 +183,8 @@ logfiles specified in;
+@@ -191,8 +191,8 @@ logfiles specified in;
  }
  - verify that the logcheck user can read all
  logfiles specified in;
@@ -63,7 +63,7 @@
  - check the system has enough space; (df -h output follows):
  $(df -h 2>&1|| :)
  - check the settings (environment follows):
-@@ -237,7 +237,7 @@ cleanrules() {
+@@ -245,7 +245,7 @@ cleanrules() {
  								error "Could not read $x"
  						fi
  				done
@@ -72,7 +72,7 @@
  						rulefile="$(basename "$rulefile")"
  						if [ -f "${dir}/${rulefile}" ]; then
  								debug "cleanrules: ${dir}/${rulefile} -> $cleaned/$rulefile"
-@@ -503,7 +503,7 @@ logoutput() {
+@@ -511,7 +511,7 @@ logoutput() {
  										 >> "$TMPDIR/report" || error "Could not write message about first-time check of journal to report"
  								echo "Only recent entries (from the last 5 hours) will be checked" \
  										 >> "$TMPDIR/report" || error "Could not write message about first-time check of journal to report"
@@ -81,7 +81,7 @@
  										 >> "$TMPDIR/report" || error "Could not write message about first-time check of journal to report"
  								offsettime="--since=-5h"
  						fi
-@@ -589,7 +589,7 @@ if [ -r "$CONFFILE" ]; then
+@@ -597,7 +597,7 @@ if [ -r "$CONFFILE" ]; then
  
  # Now source the config file - before things that should not be changed
  if [ -r "$CONFFILE" ]; then
@@ -90,7 +90,7 @@
  		. "$CONFFILE"
  elif [ -f "$CONFFILE" ]; then
  		error  "Config file $CONFFILE could not be read"
-@@ -620,9 +620,9 @@ if [ "$FQDN" -eq 1 ]; then
+@@ -628,9 +628,9 @@ if [ "$FQDN" -eq 1 ]; then
  
  # HOSTNAME is either 'fully qualified' or 'short'
  if [ "$FQDN" -eq 1 ]; then
@@ -102,7 +102,7 @@
  fi
  
  # Now check for the other options
-@@ -727,8 +727,8 @@ fi
+@@ -735,8 +735,8 @@ fi
  fi
  
  # Create a secure temporary working directory (or exit)