From e8a6351bd8d4dab9b29a115d95f576108da8145a Mon Sep 17 00:00:00 2001
From: Bastian Triller <bastian.triller@gmail.com>
Date: Sun, 2 Mar 2025 17:11:37 +0100
Subject: [PATCH] Add libcurl-dev to build dependencies

CFEngine 3.8 added url_get function [1] which internally uses libcurl.

[1] https://docs.cfengine.com/docs/master/reference-functions-url_get.html
---
 debian/control | 1 +
 debian/rules   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index 834ff3fd..21eee40b 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  debhelper (>= 10),
  flex,
  libacl1-dev,
+ libcurl-dev,
  liblmdb-dev,
  libpam0g-dev,
  libpcre2-dev,
diff --git a/debian/rules b/debian/rules
index ebc45aa5..2368170f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,7 @@ override_dh_auto_configure:
 			--without-postgresql \
 			--without-mysql \
 			--with-libvirt \
+			--with-curl \
 			--with-lmdb \
 			--with-libxml2 \
 			--with-libyaml \
-- 
GitLab

