From nobody Tue Oct 7 21:47:43 2025 X-Original-To: dev-commits-ports-main@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 4ch8rH4ZP0z6C3rL; Tue, 07 Oct 2025 21:47:43 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ch8rH3FtBz3H9f; Tue, 07 Oct 2025 21:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759873663; 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=G1Ndo+IQBfLi8jmFMcDZCEdAkpcFDOntvl2bXHc4MCA=; b=nMNk+NuubWqpM7fvmB3nULC6VJ2P8VYQdYgwZnqG8K7VNm3O7disUhOYnv7Xj3+EyJY06a OxMkpqaZ7f9jZipJfZnXCgbHcSlELsnt/XnEIwUKaqtkTcWxjbuNNyN8CX6sb4ghA4nx9U 7WgtIn+rBHFhLCJMagUvuFVfFN8lRH/5I1OnRNMfzPMm4NTp6wCkfrCnfj5eNkljQHBs8z 00ROortPGsoIA0btBjBga3qAkvXLrXifAsSxWUDyATvGifXKosJDOC5MyzgBHwNo76+qhV OBqUanJfg8u8rqn1q+VTfwdiXUYDIFOaIgsIXq6OSwg4i8+d+pXBQPWoYfabJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759873663; 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=G1Ndo+IQBfLi8jmFMcDZCEdAkpcFDOntvl2bXHc4MCA=; b=aazuZXE6Choyws47tCRq/B1DKOuaq/rXEpv3bALFJGK2ayeGz6igMMQP3XmY2EhVBo4/zH QZGwwa+S2ozeuuaobOCs0lIJtkBfp2lvghxS+Qb4OfZsL1F6th9EF9ieel/0pefF6dz0PC UpwlRR/9MFgX+lftOdFoy8VZi7zaDpqmhqNVtANv6zEDOCEi8v/eKiOlRafZ1yUc0T0LLR +2Q5vomSXGPKH/HIj0vLiNoMG63a6PcMkEEKfpVv1vxPfAaWFXKVXBOySmm2fwxHgkJGcm fU/byRsWrtYmXiD1zMJ5HSAEK7gVOS1+9yNR7nCjnQQVSySJGh0XhKF6umzzDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759873663; a=rsa-sha256; cv=none; b=rvjvf5Pqm8SH9yQ4SuIuXxIBqPyBfjJC27m7vzTb4Awm96DSe5cmY5W1omEmJNj7GEje0C x7vYn7yM3MlCtb8qY7Ufz8ATvCQi06m1idITSH1rB64HnxJB8zHdec2KE8ip4djGmOPyCn uvQ03CwUXlOL3VCDI3hw3NrsDOZsmlP5BufdKo127VfdAr2Z9LFoPF1sKG1X+4kR2wyQGr VXPhnGSdVlndSbST79oiNyY7zlfCsdOIz2fBf37Wtf0nHjQO5S2el8gnxFX8/A/XXzbt5g 63muvzwhLxqYtfGW0/uZhkVAqKg3YKzaZ6o1H/oqKUf+JI07tmdUepdFgBId8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4ch8rH2JLwz12bc; Tue, 07 Oct 2025 21:47:43 +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 597LlhlJ080800; Tue, 7 Oct 2025 21:47:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 597LlhRe080797; Tue, 7 Oct 2025 21:47:43 GMT (envelope-from git) Date: Tue, 7 Oct 2025 21:47:43 GMT Message-Id: <202510072147.597LlhRe080797@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 4fe5d8b4ed08 - main - security/{clamav,clamav-lts}: Enable configuration of malloc(3) in rc script List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fe5d8b4ed08c0f7a71561fa83728264c9d5981d Auto-Submitted: auto-generated The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fe5d8b4ed08c0f7a71561fa83728264c9d5981d commit 4fe5d8b4ed08c0f7a71561fa83728264c9d5981d Author: Dan Langille AuthorDate: 2025-09-10 17:21:00 +0000 Commit: Yasuhiro Kimura CommitDate: 2025-10-07 21:44:50 +0000 security/{clamav,clamav-lts}: Enable configuration of malloc(3) in rc script PR: 289440 --- security/clamav-lts/Makefile | 2 +- security/clamav-lts/files/clamav_clamd.in | 3 +++ security/clamav/Makefile | 2 +- security/clamav/files/clamav_clamd.in | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/security/clamav-lts/Makefile b/security/clamav-lts/Makefile index 4f863dabe9f6..e46831bdd85e 100644 --- a/security/clamav-lts/Makefile +++ b/security/clamav-lts/Makefile @@ -1,6 +1,6 @@ PORTNAME= clamav DISTVERSION= 1.0.9 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.clamav.net/downloads/production/ diff --git a/security/clamav-lts/files/clamav_clamd.in b/security/clamav-lts/files/clamav_clamd.in index ad640c7c45f0..0fe5f9fe2329 100644 --- a/security/clamav-lts/files/clamav_clamd.in +++ b/security/clamav-lts/files/clamav_clamd.in @@ -26,6 +26,7 @@ load_rc_config "$name" : ${clamav_clamd_enable:=NO} : ${clamav_clamd_pidfile="%%CLAMAV_CLAMD_PIDFILE%%"} +: ${clamav_clamd_malloc_conf:=""} command=%%PREFIX%%/sbin/clamd pidfile=${clamav_clamd_pidfile} @@ -45,4 +46,6 @@ clamav_clamd_precmd() fi } +export MALLOC_CONF="${clamav_clamd_malloc_conf}" + run_rc_command "$1" diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 413f7af43016..710969cb7519 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -1,6 +1,6 @@ PORTNAME= clamav DISTVERSION= 1.4.3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.clamav.net/downloads/production/ diff --git a/security/clamav/files/clamav_clamd.in b/security/clamav/files/clamav_clamd.in index ad640c7c45f0..0fe5f9fe2329 100644 --- a/security/clamav/files/clamav_clamd.in +++ b/security/clamav/files/clamav_clamd.in @@ -26,6 +26,7 @@ load_rc_config "$name" : ${clamav_clamd_enable:=NO} : ${clamav_clamd_pidfile="%%CLAMAV_CLAMD_PIDFILE%%"} +: ${clamav_clamd_malloc_conf:=""} command=%%PREFIX%%/sbin/clamd pidfile=${clamav_clamd_pidfile} @@ -45,4 +46,6 @@ clamav_clamd_precmd() fi } +export MALLOC_CONF="${clamav_clamd_malloc_conf}" + run_rc_command "$1"