Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2024 14:41:06 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 42f584cbc077 - main - security/snoopy: Update to 2.5.2
Message-ID:  <202410291441.49TEf6Gh062642@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 42f584cbc077d8ce98b4ce8e93e985d20947db4e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:18:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:31 +0000

    security/snoopy: Update to 2.5.2
    
    Changes:        https://github.com/a2o/snoopy/releases
---
 security/snoopy/Makefile                            | 2 +-
 security/snoopy/distinfo                            | 6 +++---
 security/snoopy/files/patch-src-datasource-domain.c | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index 4a446ff74996..c1d37bf8a278 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	snoopy
-PORTVERSION=	2.5.1
+PORTVERSION=	2.5.2
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/a2o/snoopy/releases/download/snoopy-${PORTVERSION}/
 
diff --git a/security/snoopy/distinfo b/security/snoopy/distinfo
index 8d35d7fc851c..31b08a1ec44b 100644
--- a/security/snoopy/distinfo
+++ b/security/snoopy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684104332
-SHA256 (snoopy-2.5.1.tar.gz) = 09daa74213c360acaf84318710f2902763a9c08be54753dabcc09478dcb9c43e
-SIZE (snoopy-2.5.1.tar.gz) = 685195
+TIMESTAMP = 1729994286
+SHA256 (snoopy-2.5.2.tar.gz) = 9bee136cc3a676e8a11e5ad23339f32fe1a6aea473abca1cc625beb71ebbafc9
+SIZE (snoopy-2.5.2.tar.gz) = 689418
diff --git a/security/snoopy/files/patch-src-datasource-domain.c b/security/snoopy/files/patch-src-datasource-domain.c
index 4cb56051c32f..4a098802fc85 100644
--- a/security/snoopy/files/patch-src-datasource-domain.c
+++ b/security/snoopy/files/patch-src-datasource-domain.c
@@ -1,4 +1,4 @@
---- src/datasource/domain.c.orig	2022-08-27 02:05:09 UTC
+--- src/datasource/domain.c.orig	2023-07-28 01:34:23 UTC
 +++ src/datasource/domain.c
 @@ -36,7 +36,9 @@
  #include   <errno.h>
@@ -19,14 +19,14 @@
  #define   HOSTS_PATH            "/etc/hosts"
  #define   HOSTS_LINE_SIZE_MAX   1024
  #define   HOSTS_LINE_POS_MAX    1023
-@@ -76,12 +78,12 @@ int snoopy_datasource_domain (char * const result, __a
+@@ -76,12 +78,12 @@ int snoopy_datasource_domain (char * const resultBuf, 
       * START: COPY FROM datasource/hostname
       */
      /* Get my hostname first */
 -    retVal = gethostname(hostname, HOST_NAME_MAX);
 +    retVal = gethostname(hostname, _POSIX_HOST_NAME_MAX);
      if (0 != retVal) {
-         return snprintf(result, SNOOPY_DATASOURCE_MESSAGE_MAX_SIZE, "(error @ gethostname(): %d)", errno);
+         return snprintf(resultBuf, resultBufSize, "(error @ gethostname(): %d)", errno);
      }
  
 -    // If hostname was something alien (longer than HOST_NAME_MAX), then the



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410291441.49TEf6Gh062642>