From nobody Tue Oct 29 14:41:06 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdCcL49Llz5bXVc; Tue, 29 Oct 2024 14:41:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdCcL1q72z4PhN; Tue, 29 Oct 2024 14:41:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730212866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mnB4cV8PuGlMEvUGdjHlZZLsAvqNo5vwah0WuMb97KI=; b=i11C1SLSqPJPYSflZFQlrYeZ0Wix64BGal+GDbT3VxEyNCjtgXsZdcinrTVunwgniexj4I TBPpaNOmJga91WE7kQA94VrxpzJCJ1QN5Nzgx/IPwZtJIo91xaip+iMHBRagKcL6E6iu9T 6pPfz7AZBfm5Zxzz6SWOYkEKpcsiagwOnAQZ3n5ZiPH8nD38Cq+Q/rENfyyDz4gwwz3Auy TuMskNJSbvZpwAeLVC0oWyJX1XtObA9tuKTE94lBSbe4RsVI1k0gFzInwbjjLp6jxXj6+r vTKayK0Gz/+np/yjJBIlltLrp+RX3Hp6ItmTzVJULcbGNzxjD1BDSfVwnEWwnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730212866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mnB4cV8PuGlMEvUGdjHlZZLsAvqNo5vwah0WuMb97KI=; b=Vi+QZ/k0dhLyteV276yZVB9JeBhytP4gFGT1nZquDJi1KtOR8BZLsuHgC3HlCmD/QzhmQU tgS5mdMdlS2nBve4PGFrq725v6yGpmR6VFFKH6CmYl4VL3eu9T63CZi9Y8sdg9u/oXNapn FToCLolAslqt8qBztdOHvzc88mQEDJtPuzsXn9J1JF/1nwiKrj5nNUxrAk8mM76Kwc4WZr SEnZuF2O3LnBmNQM9mq5wExPwDjUnLLjtfPgtk60FlS+U5sUs916aSFWD5udIiTLr4uGSS cEN5JIXSCHB/DodgD4c4ngYdWko/xRUu5NUZ/VA1TotSfILqS6Cqma3ETAGpKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730212866; a=rsa-sha256; cv=none; b=XDCC7WRV8K5xqZSUWkDUi4O/1TJJHajX6BB2kJgFAW8NGQB6jZSJlTf/nJdsu2OtBmrjwx eSRFsob2nC+wLMoS1woz4y40SSKZiSkwQa/3Jy95hPoM3bjwzk3gQzKUT4fo9CtM1G2pFy ZCXxqNL2n1jkGjmjeBx9Jq67O3U7t/HRcRp2/1hL7BUTLNZqy5kU5VZ5lF5fwntAU8sgVi KOncBo4U/vUsXZmGPU5HlbrWOju5EbN2u6lKbKjS9dHxX19eXodclhKV7/tqI0TkMF/3VF GcwmkuzMOCldEWhy2IxaP/mb71GC4P6N5Dx2PQVMz/6+k+cMdVCmDLE2Ttm0Dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdCcL185bzS2j; Tue, 29 Oct 2024 14:41:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49TEf6Un062645; Tue, 29 Oct 2024 14:41:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49TEf6Gh062642; Tue, 29 Oct 2024 14:41:06 GMT (envelope-from git) Date: Tue, 29 Oct 2024 14:41:06 GMT Message-Id: <202410291441.49TEf6Gh062642@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 42f584cbc077 - main - security/snoopy: Update to 2.5.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 42f584cbc077d8ce98b4ce8e93e985d20947db4e Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=42f584cbc077d8ce98b4ce8e93e985d20947db4e commit 42f584cbc077d8ce98b4ce8e93e985d20947db4e Author: Po-Chuan Hsieh AuthorDate: 2024-10-29 14:18:58 +0000 Commit: Po-Chuan Hsieh 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 @@ -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