pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clamav: set ALLOW_NETWORK_ACCESS=yes if clamav-unit-test is set; suggested by wiz@. Now only the clamscan test is failing; and it looks like it's because there's no test defined for it.



Module Name:	pkgsrc-wip
Committed By:	Manuel Bouyer <bouyer%antioche.eu.org@localhost>
Pushed By:	bouyer
Date:		Sun Aug 24 18:09:57 2025 +0200
Changeset:	cce258af2c6ceabe1b33cf1fdd940af3d3eaac84

Modified Files:
	clamav/options.mk

Log Message:
clamav: set ALLOW_NETWORK_ACCESS=yes if clamav-unit-test is set; suggested
by wiz@. Now only the clamscan test is failing; and it looks like it's
because there's no test defined for it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cce258af2c6ceabe1b33cf1fdd940af3d3eaac84

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 clamav/options.mk | 1 +
 1 file changed, 1 insertion(+)

diffs:
diff --git a/clamav/options.mk b/clamav/options.mk
index ec2a73de64..7260607768 100644
--- a/clamav/options.mk
+++ b/clamav/options.mk
@@ -31,6 +31,7 @@ CMAKE_CONFIGURE_ARGS+=	-DENABLE_EXPERIMENTAL=on
 .if ${PKG_OPTIONS:Mclamav-unit-test}
 CMAKE_CONFIGURE_ARGS+=	-DENABLE_TESTS=on
 TEST_TARGET=			check
+ALLOW_NETWORK_ACCESS=		yes
 BUILDLINK_DEPMETHOD.check=	build
 .  include "../../devel/check/buildlink3.mk"
 .endif


Home | Main Index | Thread Index | Old Index