[sr-dev] git:master: pkg/kamailio/centos: added memcached package to .spec

Peter Dunkley peter.dunkley at crocodile-rcs.com
Thu Oct 24 14:16:19 CEST 2013


Module: sip-router
Branch: master
Commit: b0797b765af78f19d942a87ea978037027da57c3
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b0797b765af78f19d942a87ea978037027da57c3

Author: Peter Dunkley <peter.dunkley at crocodilertc.net>
Committer: Peter Dunkley <peter.dunkley at crocodilertc.net>
Date:   Thu Oct 24 13:10:08 2013 +0100

pkg/kamailio/centos: added memcached package to .spec

- Also:
  - updated README to remove memcached from list of unbuilt modules
  - moved auth_identity into the tls package
- List of modules not built for CentOS is now:
  - app_java: should be buildable but Makefile needs work
  - app_mono: needs newer version of mono-devel than available in base or EPEL
  - db_cassandra: needs specific versions of thrift (thrift not in base or EPEL
    at all anyway)
  - db_oracle: requires non-free Oracle client SDK
  - iptrtpproxy: obsolete
  - jabber: obsolete
  - osp: requires OSP Toolkit which is not available in base or EPEL

---

 pkg/kamailio/centos/6/README        |   43 +++++++++++---------
 pkg/kamailio/centos/6/kamailio.spec |   74 ++++++++++++++++++----------------
 2 files changed, 62 insertions(+), 55 deletions(-)

diff --git a/pkg/kamailio/centos/6/README b/pkg/kamailio/centos/6/README
index 23d48ae..bd8d32c 100644
--- a/pkg/kamailio/centos/6/README
+++ b/pkg/kamailio/centos/6/README
@@ -1,26 +1,29 @@
 The following modules are not included in CentOS 6 builds because they have
-dependencies that cannot be met by the standard CentOS YUM repos, require
-complex compilation steps, or are obsolete.
+dependencies that cannot be met by the base or EPEL CentOS YUM repos or are
+obsolete.
 
-If you need any of these modules you will need to find (and possibly build) and
-install the dependencies and then do a manual build of Kamailio.
+Obsolete modules
+----------------
+* iptrtpproxy		use the rtpproxy-ng module with mediaproxy-ng instead
+* jabber		use the xmpp and pua_xmpp modules instead
+
+Modules with unmet dependencies
+-------------------------------
+Note: If you need any of these modules you will need to find (and possibly
+      build) and install the dependencies and then do a manual build of
+      Kamailio.
 
 Ordered by module name:
-* app_java		requires libgcj-4.7 (CentOS 6 contains libgcj-4.4.7)
-* app_mono		requires mono-devel-??? (EPEL contains
-			mono-devel 2.4.3.1)
-* db_cassandra		requires thrift 0.6.1 or 0.7.0
-* db_oracle		requires instantclient-sdk-10.2.0.3
-* iptrtpproxy		this module is obsolete
-* jabber		this module is obsolete
-* memcached		requires libmemcached > 0.38 (CentOS contains
-			libmemcached 0.31)
-* osp			requires the OSP Toolkit
+* app_java	requires libgcj-4.7 (base contains libgcj-4.4.7)
+* app_mono	requires mono-devel-??? or higher (EPEL contains
+		mono-devel 2.4.3.1)
+* db_cassandra	requires thrift 0.6.1 or 0.7.0
+* db_oracle	requires instantclient-sdk-10.2.0.3
+* osp		requires the OSP Toolkit
 
 Ordered by unmet dependency:
-* instantclient-sdk-10.2.0.3		db_oracle
-* libgcj-4.7				app_java
-* libmemcached > 0.38			memcached
-* mono-devel-???			app_mono
-* OSP Toolkit				osp
-* thrift 0.6.1 or 0.7.0			db_cassandra
+* instantclient-sdk-10.2.0.3	db_oracle
+* libgcj-4.7			app_java
+* mono-devel-??? or higher	app_mono
+* OSP Toolkit			osp
+* thrift 0.6.1 or 0.7.0		db_cassandra
diff --git a/pkg/kamailio/centos/6/kamailio.spec b/pkg/kamailio/centos/6/kamailio.spec
index cb8fa4f..6546f05 100644
--- a/pkg/kamailio/centos/6/kamailio.spec
+++ b/pkg/kamailio/centos/6/kamailio.spec
@@ -1,6 +1,6 @@
 %define name	kamailio
 %define ver	4.1.0
-%define rel	pre1.1%{dist}
+%define rel	pre1.3%{dist}
 
 
 
@@ -15,13 +15,13 @@ Source:		http://kamailio.org/pub/kamailio/%{ver}/src/%{name}-%{ver}_src.tar.gz
 URL:		http://kamailio.org/
 Vendor:		kamailio.org
 BuildRoot:	%{_tmppath}/%{name}-%{ver}-buildroot
-Conflicts:	kamailio-auth-ephemeral < %ver, kamailio-auth-identity < %ver
-Conflicts:	kamailio-bdb < %ver, kamailio-carrierroute < %ver,
-Conflicts:	kamailio-cpl < %ver, kamailio-dialplan < %ver
-Conflicts:	kamailio-dnssec < %ver, kamailio-geoip < %ver
-Conflicts:	kamailio-gzcompress < %ver, kamailio-ims < %ver
-Conflicts:	kamailio-json < %ver, kamailio-lcr < %ver, kamailio-ldap < %ver
-Conflicts:	kamailio-lua < %ver, kamailio-mysql < %ver
+Conflicts:	kamailio-auth-ephemeral < %ver, kamailio-bdb < %ver
+Conflicts:	kamailio-carrierroute < %ver, kamailio-cpl < %ver
+Conflicts:	kamailio-dialplan < %ver, kamailio-dnssec < %ver
+Conflicts:	kamailio-geoip < %ver, kamailio-gzcompress < %ver
+Conflicts:	kamailio-ims < %ver, kamailio-json < %ver, kamailio-lcr < %ver
+Conflicts:	kamailio-ldap < %ver, kamailio-lua < %ver
+Conflicts:	kamailio-memcached < %ver, kamailio-mysql < %ver
 Conflicts:	kamailio-outbound < %ver, kamailio-perl < %ver
 Conflicts:	kamailio-postgresql < %ver, kamailio-presence < %ver
 Conflicts:	kamailio-purple < %ver, kamailio-python < %ver
@@ -57,16 +57,6 @@ BuildRequires:	openssl-devel
 Functions for authentication using ephemeral credentials.
 
 
-%package	auth-identity
-Summary:	Functions for secure identification of originators of SIP messages for Kamailio.
-Group:		System Environment/Daemons
-Requires:	libcurl, openssl, kamailio = %ver
-BuildRequires:	libcurl-devel, openssl-devel
-
-%description auth-identity
-Functions for secure identification of originators of SIP messages for Kamailio.
-
-
 %package	bdb
 Summary:	Berkeley database connectivity for Kamailio.
 Group:		System Environment/Daemons
@@ -187,6 +177,16 @@ BuildRequires:	lua-devel
 Lua extensions for Kamailio.
 
 
+%package	memcached
+Summary:	memcached configuration file support for Kamailio.
+Group:		System Environment/Daemons
+Requires:	libmemcached, kamailio = %ver
+BuildRequires:	libmemcached-devel
+
+%description	memcached
+memcached configuration file support for Kamailio.
+
+
 %package	mysql
 Summary:	MySQL database connectivity for Kamailio.
 Group:		System Environment/Daemons
@@ -410,11 +410,11 @@ make cfg prefix=/usr cfg_prefix=$RPM_BUILD_ROOT basedir=$RPM_BUILD_ROOT \
 	cfg_target=/%{_sysconfdir}/kamailio/ modules_dirs="modules"
 make
 make every-module skip_modules="app_java app_mono db_cassandra \
-	db_oracle iptrtpproxy jabber memcached osp" \
+	db_oracle iptrtpproxy jabber osp" \
 	group_include="kstandard kautheph kberkeley kcarrierroute kcpl kdnssec \
-	kgeoip kims kjson kldap klua kmi_xmlrpc kmysql koutbound kperl \
-	kpostgres kpresence kpurple kpython kradius kredis ksctp ksnmpstats \
-	ksqlite ktls kunixodbc kutils kwebsocket kxml kxmpp" 
+	kgeoip kims kjson kldap klua kmemcached kmi_xmlrpc kmysql koutbound \
+	kperl kpostgres kpresence kpurple kpython kradius kredis ksctp \
+	ksnmpstats ksqlite ktls kunixodbc kutils kwebsocket kxml kxmpp" 
 make utils
 
 
@@ -424,11 +424,11 @@ make utils
 
 make install
 make install-modules-all skip_modules="app_java app_mono db_cassandra \
-	db_oracle iptrtpproxy jabber memcached osp" \
+	db_oracle iptrtpproxy jabber osp" \
 	group_include="kstandard kautheph kberkeley kcarrierroute kcpl kdnssec \
-	kgeoip kims kjson kldap klua kmi_xmlrpc kmysql koutbound kperl \
-	kpostgres kpresence kpurple kpython kradius kredis ksctp ksnmpstats \
-	ksqlite ktls kunixodbc kutils kwebsocket kxml kxmpp" 
+	kgeoip kims kjson kldap klua kmemcached kmi_xmlrpc kmysql koutbound \
+	kperl kpostgres kpresence kpurple kpython kradius kredis ksctp \
+	ksnmpstats ksqlite ktls kunixodbc kutils kwebsocket kxml kxmpp" 
 
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
 install -m755 pkg/kamailio/centos/%{?centos}/kamailio.init \
@@ -760,12 +760,6 @@ fi
 %{_libdir}/kamailio/modules/auth_ephemeral.so
 
 
-%files		auth-identity
-%defattr(-,root,root)
-%doc %{_docdir}/kamailio/modules/README.auth_identity
-%{_libdir}/kamailio/modules/auth_identity.so
-
-
 %files		bdb
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.db_berkeley
@@ -873,6 +867,12 @@ fi
 %{_libdir}/kamailio/modules/app_lua.so
 
 
+%files		memcached
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.memcached
+%{_libdir}/kamailio/modules/memcached.so
+
+
 %files		mysql
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.db_mysql
@@ -1031,7 +1031,9 @@ fi
 
 %files		tls
 %defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.auth_identity
 %doc %{_docdir}/kamailio/modules/README.tls
+%{_libdir}/kamailio/modules/auth_identity.so
 %{_libdir}/kamailio/modules/tls.so
 
 
@@ -1092,15 +1094,17 @@ fi
     - rtpproxy-ng
     - sipt
     - stun (STUN functionality moved from compile time in core to own module)
-  - Added ims_charging module to ims package
-  - Added mi_xmlrpc to xmlrpc package
+  - Added new modules to other packages:
+    - ims_charging module to ims package
   - Added new packages for new modules:
     - auth_ephemeral
     - sctp (SCTP functionality moved from compile time in core to own module)
   - Moved existing modules to different packages:
-    - auth_identity to main package (previously not built for CentOS)
+    - auth_identity to tls package (previously not built for CentOS)
     - cdp and cdp_avp to ims package
     - dialog_ng to main package
+    - memcached to own package (previously not built for CentOS)
+    - mi_xmlrpc to own package (previously not built for CentOS)
     - tls to own package
   - Added packages for (new and existing) modules that require EPEL:
     - carrierroute in own package




More information about the sr-dev mailing list