Module: kamailio
Branch: master
Commit: aa38076f3dfb5b331871029e9bc5e01bc4e51726
URL: 
https://github.com/kamailio/kamailio/commit/aa38076f3dfb5b331871029e9bc5e01bc4e51726

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-01-27T17:18:00+01:00

pkg/kamailio/deb: build dbschema manually

---

Modified: pkg/kamailio/deb/bookworm/rules
Modified: pkg/kamailio/deb/bullseye/rules
Modified: pkg/kamailio/deb/debian/rules
Modified: pkg/kamailio/deb/jammy/rules
Modified: pkg/kamailio/deb/noble/rules
Modified: pkg/kamailio/deb/sid/rules
Modified: pkg/kamailio/deb/trixie/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/aa38076f3dfb5b331871029e9bc5e01bc4e51726.diff
Patch: 
https://github.com/kamailio/kamailio/commit/aa38076f3dfb5b331871029e9bc5e01bc4e51726.patch

---

diff --git a/pkg/kamailio/deb/bookworm/rules b/pkg/kamailio/deb/bookworm/rules
index e5c59871643..887fe405e3f 100755
--- a/pkg/kamailio/deb/bookworm/rules
+++ b/pkg/kamailio/deb/bookworm/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/bullseye/rules b/pkg/kamailio/deb/bullseye/rules
index 5ff97755c1c..220211f184e 100755
--- a/pkg/kamailio/deb/bullseye/rules
+++ b/pkg/kamailio/deb/bullseye/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules
index 8d2338d4d32..a3bb1533d1e 100755
--- a/pkg/kamailio/deb/debian/rules
+++ b/pkg/kamailio/deb/debian/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/jammy/rules b/pkg/kamailio/deb/jammy/rules
index e5c59871643..887fe405e3f 100755
--- a/pkg/kamailio/deb/jammy/rules
+++ b/pkg/kamailio/deb/jammy/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/noble/rules b/pkg/kamailio/deb/noble/rules
index e5c59871643..887fe405e3f 100755
--- a/pkg/kamailio/deb/noble/rules
+++ b/pkg/kamailio/deb/noble/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/sid/rules b/pkg/kamailio/deb/sid/rules
index cd0fe3c888f..d25f22389fd 100755
--- a/pkg/kamailio/deb/sid/rules
+++ b/pkg/kamailio/deb/sid/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:
diff --git a/pkg/kamailio/deb/trixie/rules b/pkg/kamailio/deb/trixie/rules
index cd0fe3c888f..d25f22389fd 100755
--- a/pkg/kamailio/deb/trixie/rules
+++ b/pkg/kamailio/deb/trixie/rules
@@ -115,4 +115,7 @@ override_dh_auto_configure:
                -DEXCLUDE_MODULES="$(EXCLUDED_MODULES) 
$(EXTRA_EXCLUDED_MODULES)" \
                -DMODULE_GROUP_NAME="KSTANDARD $(shell echo "$(addprefix K, 
$(PACKAGE_GROUPS) $(EXTRA_GROUPS))"| tr '[:lower:]' '[:upper:]')"
 
+execute_after_dh_auto_build:
+       cmake --build "obj-${DEB_HOST_GNU_TYPE}" -t dbschema
+
 override_dh_auto_test:

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to