[sr-dev] git:pd/websocket: pkg/kamailio/fedora: added WebSocket module to .spec file
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Sat Jun 23 23:14:15 CEST 2012
Module: sip-router
Branch: pd/websocket
Commit: 6dfd1476bee55dd6287652b1f9ee9a8cf4d809f0
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6dfd1476bee55dd6287652b1f9ee9a8cf4d809f0
Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date: Sat Jun 23 22:13:35 2012 +0100
pkg/kamailio/fedora: added WebSocket module to .spec file
---
pkg/kamailio/fedora/16/kamailio.spec | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/pkg/kamailio/fedora/16/kamailio.spec b/pkg/kamailio/fedora/16/kamailio.spec
index ecd9405..c52cc5c 100644
--- a/pkg/kamailio/fedora/16/kamailio.spec
+++ b/pkg/kamailio/fedora/16/kamailio.spec
@@ -25,7 +25,7 @@ Conflicts: kamailio-tls < %ver, kamailio-purple < %ver, kamailio-ldap < %ver
Conflicts: kamailio-xmlrpc < %ver, kamailio-perl < %ver, kamailio-lua < %ver
Conflicts: kamailio-python < %ver, kamailio-regex < %ver
Conflicts: kamailio-dialplan < %ver, kamailio-lcr < %ver
-Conflicts: kamailio-xmlops < %ver
+Conflicts: kamailio-xmlops < %ver, kamailio-websocket < %ver
%if 0%{?fedora}
Conflicts: kamailio-radius < %ver, kamailio-carrierroute < %ver
Conflicts: kamailio-redis < %ver, kamailio-json < %ver
@@ -250,6 +250,16 @@ BuildRequires: libxml2-devel
XML operation functions for Kamailio.
+%package websocket
+Summary: WebSocket transport for Kamailio.
+Group: System Environment/Daemons
+Requires: openssl, libunistring, kamailio = %ver
+BuildRequires: openssl-devel, libunistring-devel
+
+%description websocket
+WebSocket transport for Kamailio.
+
+
%package purple
Summary: Multi-protocol IM and presence gateway module.
Group: System Environment/Daemons
@@ -343,14 +353,14 @@ make every-module skip_modules="auth_identity db_cassandra iptrtpproxy\
kpostgres kunixodbc kldap kperl kpython klua kutils kpurple ktls kxmpp\
kcpl ksnmpstats kcarrierroute kpresence kradius kgeoip kregex kdialplan\
klcr ksqlite kredis kjson kmono kberkeley" include_modules="xmlrpc\
- xmlops"
+ xmlops websocket"
%else
make every-module skip_modules="auth_identity db_cassandra iptrtpproxy\
db_oracle memcached mi_xmlrpc osp" group_include="kstandard kmysql\
kpostgres kunixodbc kldap kperl kpython klua kutils kpurple ktls kxmpp\
kcpl ksnmpstats kpresence kregex kdialplan\
klcr ksqlite kberkeley" include_modules="xmlrpc\
- xmlops"
+ xmlops websocket"
%endif
@@ -365,7 +375,7 @@ make install-modules-all skip_modules="auth_identity db_cassandra iptrtpproxy\
kpostgres kunixodbc kldap kperl kpython klua kutils kpurple ktls kxmpp\
kcpl ksnmpstats kcarrierroute kpresence kradius kgeoip kregex kdialplan\
klcr ksqlite kredis kjson kmono kberkeley" include_modules="xmlrpc\
- xmlops"
+ xmlops websocket"
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
install -m644 pkg/kamailio/fedora/%{?fedora}/kamailio.service \
@@ -380,7 +390,7 @@ make install-modules-all skip_modules="auth_identity db_cassandra iptrtpproxy\
kpostgres kunixodbc kldap kperl kpython klua kutils kpurple ktls kxmpp\
kcpl ksnmpstats kpresence kregex kdialplan\
klcr ksqlite kberkeley" include_modules="xmlrpc\
- xmlops"
+ xmlops websocket"
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
install -m755 pkg/kamailio/centos/%{?centos}/kamailio.init \
@@ -893,6 +903,12 @@ fi
%{_libdir}/kamailio/modules/xmlops.so
+%files websocket
+%defattr(-,root,root)
+#%doc %{_docdir}/kamailio/modules/README.websocket
+%{_libdir}/kamailio/modules/websocket.so
+
+
%if 0%{?fedora}
%files radius
%defattr(-,root,root)
@@ -941,6 +957,8 @@ fi
%changelog
+* Sat Jun 23 2012 Peter Dunkley <peter at dunkley.me.uk>
+ - Added websocket module
* Mon Jun 11 2012 Peter Dunkley <peter at dunkley.me.uk>
- Updated ver to 3.4.0 and rel to dev0
* Mon Jun 4 2012 Peter Dunkley <peter at dunkley.me.uk>
More information about the sr-dev
mailing list