commit:     2d47f1bcb9ba85066d170d82e7753ef8368b3974
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  1 16:24:50 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  1 16:24:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d47f1bc

mail-filter/postsrsd: Never ever access the network during build

Define FETCHCONTENT_FULLY_DISCONNECTED to disable the CMake misfeature
of downloading sources during build. Instead, the build should fail
when a dependency is missing.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild 
b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
index ba1e13f7fa0f..5cfe2fccd0bb 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
@@ -43,6 +43,7 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE=ON
                # 
https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
                -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+               -DFETCHCONTENT_FULLY_DISCONNECTED=ON
                # We don't want to run tests with sanitizers. They're
                # unreliable under sandbox and don't run on all platforms
                -DTESTS_WITH_ASAN=OFF

Reply via email to