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

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2025-10-14T08:58:55+02:00

pkg/kamailio/deb: remove berkeley modules from sid [skip ci]

db5.3 is going away https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117120

> db5.3 underwent a license change upstream, and thus newer versions
> are unsuitable for Debian

---

Modified: pkg/kamailio/deb/debian/backports/sid
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/sid/rules
Removed: pkg/kamailio/deb/sid/kamailio-berkeley-bin.dirs

---

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

---

diff --git a/pkg/kamailio/deb/debian/backports/sid 
b/pkg/kamailio/deb/debian/backports/sid
index d40c4662637..3a6df744cbb 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -35,6 +35,15 @@ sed -i -e '/lsb-base/d' ${DIST}/control
 # libncurses
 sed -i -e 's/libncurses5-dev/libncurses-dev/g' ${DIST}/control
 
+# no db5.3
+rm ${DIST}/kamailio-berkeley-bin.dirs
+sed -i -e '/libdb-dev/d' \
+  -e '/^Package: kamailio-berkeley-modules/,/^$/d' \
+  -e '/^Package: kamailio-berkeley-bin/,/^$/d' \
+  ${DIST}/control
+sed -i -e '/^PACKAGE_GROUPS += berkeley$/d' ${DIST}/rules
+sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += berkeley' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index ea46fbce3d4..7c912384c93 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -13,7 +13,6 @@ Build-Depends:
  erlang-dev,
  flex,
  libcurl4-openssl-dev,
- libdb-dev (>= 4.6.19),
  libev-dev,
  libevent-dev,
  libexpat1-dev,
@@ -464,42 +463,6 @@ Description: XML based extensions for Kamailio's 
Management Interface
  Management and Control Interface.
  - xmlops module for XPath operations in configuration file
 
-Package: kamailio-berkeley-modules
-Architecture: any
-Multi-Arch: same
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- db-util (>= 4.6.19),
- kamailio (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends},
-Description: Berkeley database module for the Kamailio SIP server
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides the Berkeley database module for Kamailio, a
- high-performance embedded database. All database tables are stored
- in files, no additional server is necessary.
-
-Package: kamailio-berkeley-bin
-Architecture: any
-Multi-Arch: foreign
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
-Description: Berkeley database module for Kamailio - helper program
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides helper modules for the Berkeley database module for
- Kamailio, a high-performance embedded DB kernel. You should normally
- install kamailio-berkeley-modules and not this package directly.
-
 Package: kamailio-ldap-modules
 Architecture: any
 Multi-Arch: same
diff --git a/pkg/kamailio/deb/sid/kamailio-berkeley-bin.dirs 
b/pkg/kamailio/deb/sid/kamailio-berkeley-bin.dirs
deleted file mode 100644
index 236670a2d0f..00000000000
--- a/pkg/kamailio/deb/sid/kamailio-berkeley-bin.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/sbin
diff --git a/pkg/kamailio/deb/sid/rules b/pkg/kamailio/deb/sid/rules
index 00fc1da1d39..2fdf0983147 100755
--- a/pkg/kamailio/deb/sid/rules
+++ b/pkg/kamailio/deb/sid/rules
@@ -40,6 +40,7 @@ EXTRA_EXCLUDED_MODULES += iptrtpproxy
 EXTRA_EXCLUDED_MODULES += dnssec
 EXTRA_EXCLUDED_MODULES += java
 EXTRA_EXCLUDED_MODULES += python
+EXTRA_EXCLUDED_MODULES += berkeley
 ## --EXCLUDED--
 
 
@@ -49,7 +50,6 @@ EXTRA_EXCLUDED_MODULES += python
 # on which other depend first)
 PACKAGE_GROUPS += mysql
 PACKAGE_GROUPS += postgres
-PACKAGE_GROUPS += berkeley
 PACKAGE_GROUPS += unixodbc
 PACKAGE_GROUPS += radius
 PACKAGE_GROUPS += presence

_______________________________________________
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