Mail archive
alpine-devel

[alpine-devel] [PATCH] main/kamailio: Version bump 4.0.3

From: Nathan Angelacos <nangel_at_alpinelinux.org>
Date: Sun, 15 Sep 2013 18:55:51 +0000

---
 main/kamailio/APKBUILD                           | 14 ++----
 main/kamailio/fix-sql-module-loading-order.patch | 59 ------------------------
 2 files changed, 5 insertions(+), 68 deletions(-)
 delete mode 100644 main/kamailio/fix-sql-module-loading-order.patch
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 4100abf..35d44dc 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
_at_@ -1,8 +1,8 @@
 # Contributor: Michael Mason <ms13sp_at_gmail.com>
 # Maintainer: Nathan Angelacos <nangel_at_alpinelinux.org>
 pkgname=kamailio
-pkgver=4.0.2
-pkgrel=2
+pkgver=4.0.3
+pkgrel=0
 pkgdesc="Open Source SIP Server"
 url="http://www.kamailio.org/"
 pkgusers="kamailio"
_at_@ -191,7 +191,6 @@ for _i in db postgres sqlite dbtext mysql \
 done
 
 source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz
-	fix-sql-module-loading-order.patch
     kamailio-4.0-backslash.patch
 	kamailio.cfg
 	kamailio.initd
_at_@ -402,18 +401,15 @@ websocket() {
         "$_mod_list_websocket"
 }
 
-md5sums="012f1a0f288434549ad54ea2c5c3fa7a  kamailio-4.0.2_src.tar.gz
-53cca39c47399eb2df20a1044d1e29eb  fix-sql-module-loading-order.patch
+md5sums="60fdf7fa2f1343f029de499a43dc093a  kamailio-4.0.3_src.tar.gz
 7ca9394c4987c83a27f492c5b6b055f0  kamailio-4.0-backslash.patch
 a3c959ec568c43a905710e7d25cd8c25  kamailio.cfg
 9c190575e28772a784c4172216d85333  kamailio.initd"
-sha256sums="4b7651c5f5a796c1f207ecf5de0e503d7e727ad3acffa1b665627d7ee1480858  kamailio-4.0.2_src.tar.gz
-d2b5518e31e9bfaf4b3f4b38f9c69f5c201255eae1a46e860afd471d123d274b  fix-sql-module-loading-order.patch
+sha256sums="5d19fe3a76f1a75303ae75321b5bda80633fdd3f0a3eb5e097cb9e5054311c57  kamailio-4.0.3_src.tar.gz
 2cb24070809718deac1a32fd4de73eaea47c685d9608fd06ae6531bd34fe4604  kamailio-4.0-backslash.patch
 8024266849033a917147827c3579a382f10f3796989bebc6de3d7c80c965fb72  kamailio.cfg
 82612cc107e51de6968568a266de25b98e57257926defab7261fd81cbd624e00  kamailio.initd"
-sha512sums="b45f6c01d16ce589ce531dc8f05563eeaf818e896c6c45303306922611651771cb6c617a2ce0dee04753e6989506bfac439e5611db6d3ba123fce452b55bdfb8  kamailio-4.0.2_src.tar.gz
-8aeb1d6eb0d83c20b0ad31e74ca68cfa868a215a12b7029167c8913aeb84afa06e1bbc8b43dd3f84ce864a9ca6f04177d73401f99d37d9087c06a8d8431d18fd  fix-sql-module-loading-order.patch
+sha512sums="4d712e1aaec54d832fbcc9b4c32a19e61bf19ddc871800d422ca2716a82616424d4a4d66858f923c9129bbe289766892755c191cb2b5ef2d7c110573fffb39af  kamailio-4.0.3_src.tar.gz
 f83ca7e4feaa02ba4c97fe8b3ff72857b334b6ba27f90b1cc4a2819c77bf40a1d6b77cc8d9b9afa045da5a1a4706b737b73f93c39c0cdb57c14088ca691afbf9  kamailio-4.0-backslash.patch
 0b666bfa10fd0af97b62749f8691cb3f76d9b40d1abe0a33e810e367bd733d2e8189c89f7f23010ec591116aada6e1a8a403b17449fe775038917617f281ad4d  kamailio.cfg
 babec2a230daea3c579dc581f9a945c70bd1736cdacaaa7a183d902c8d9fbd4f7958cce03424fb65cdf7a1f6aa077ad8aec7e53525e270f88f856caa374505e7  kamailio.initd"
diff --git a/main/kamailio/fix-sql-module-loading-order.patch b/main/kamailio/fix-sql-module-loading-order.patch
deleted file mode 100644
index 5ba87e3..0000000
--- a/main/kamailio/fix-sql-module-loading-order.patch
+++ /dev/null
_at_@ -1,59 +0,0 @@
-diff --git a/lib/srdb1/db_query.c b/lib/srdb1/db_query.c
-index dbde735..8efc15c 100644
---- a/lib/srdb1/db_query.c
-+++ b/lib/srdb1/db_query.c
-_at_@ -54,6 +54,10 @@ int db_do_query(const db1_con_t* _h, const db_key_t* _k, const db_op_t* _op,
- 		LM_ERR("invalid parameter value\n");
- 		return -1;
- 	}
-+	if (sql_buf == NULL) {
-+		if (db_query_init() != 0)
-+			return -2;
-+	}
- 
- 	if (!_c) {
- 		ret = snprintf(sql_buf, sql_buffer_size, "select * from %.*s ", CON_TABLE(_h)->len, CON_TABLE(_h)->s);
-_at_@ -154,6 +158,10 @@ int db_do_insert_cmd(const db1_con_t* _h, const db_key_t* _k, const db_val_t* _v
- 		LM_ERR("invalid parameter value\n");
- 		return -1;
- 	}
-+        if (sql_buf == NULL) {
-+                if (db_query_init() != 0)
-+                        return -2;
-+        }
- 
- 	if(mode==1)
- 		ret = snprintf(sql_buf, sql_buffer_size, "insert delayed into %.*s (",
-_at_@ -218,6 +226,10 @@ int db_do_delete(const db1_con_t* _h, const db_key_t* _k, const db_op_t* _o,
- 		LM_ERR("invalid parameter value\n");
- 		return -1;
- 	}
-+        if (sql_buf == NULL) {
-+                if (db_query_init() != 0)
-+                        return -2;
-+        }
- 
- 	ret = snprintf(sql_buf, sql_buffer_size, "delete from %.*s", CON_TABLE(_h)->len, CON_TABLE(_h)->s);
- 	if (ret < 0 || ret >= sql_buffer_size) goto error;
-_at_@ -261,6 +273,10 @@ int db_do_update(const db1_con_t* _h, const db_key_t* _k, const db_op_t* _o,
- 		LM_ERR("invalid parameter value\n");
- 		return -1;
- 	}
-+        if (sql_buf == NULL) {
-+                if (db_query_init() != 0)
-+                        return -2;
-+        }
- 
- 	ret = snprintf(sql_buf, sql_buffer_size, "update %.*s set ", CON_TABLE(_h)->len, CON_TABLE(_h)->s);
- 	if (ret < 0 || ret >= sql_buffer_size) goto error;
-_at_@ -306,6 +322,10 @@ int db_do_replace(const db1_con_t* _h, const db_key_t* _k, const db_val_t* _v,
- 		LM_ERR("invalid parameter value\n");
- 		return -1;
- 	}
-+        if (sql_buf == NULL) {
-+                if (db_query_init() != 0)
-+                        return -2;
-+        }
- 
- 	ret = snprintf(sql_buf, sql_buffer_size, "replace %.*s (", CON_TABLE(_h)->len, CON_TABLE(_h)->s);
- 	if (ret < 0 || ret >= sql_buffer_size) goto error;
-- 
1.8.2.3
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Sep 15 2013 - 18:55:51 GMT