pkg/kamailio/(centos|fedora): Tweaked .spec and .appl files to add WebSocket support
authorPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Tue, 3 Jul 2012 15:57:50 +0000 (16:57 +0100)
committerPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Tue, 3 Jul 2012 15:57:50 +0000 (16:57 +0100)
pkg/kamailio/centos/6/kamailio-build.appl
pkg/kamailio/centos/6/kamailio.appl
pkg/kamailio/fedora/16/kamailio-build.appl
pkg/kamailio/fedora/16/kamailio.appl
pkg/kamailio/fedora/16/kamailio.spec
pkg/kamailio/fedora/17/kamailio-build.appl
pkg/kamailio/fedora/17/kamailio.appl

index d3faee1..d4b23b5 100644 (file)
@@ -8,18 +8,20 @@ hardware:
   memory: 1024
   partitions:
     "/":
-      size: 4
+      size: 6
 packages:
   - @core
   - bison                      # kamailio
   - db4-devel                  # kamailio-bdb
   - expat-devel                        # kamailio-xmpp
   - flex                       # kamailio
-  - gcc                                # kamailio
+  - gcc
+  - git
   - glib2-devel                        # kamailio-purple
   - libcurl-devel              # kamailio-utils, kamailio-presence
   - libevent-devel             # kamailio-json
   - libpurple-devel            # kamailio-purple
+  - libunistring-devel         # kamailio-websocket
   - libxml2-devel              # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - lua-devel                  # kamailio-lua
   - make                       # kamailio
@@ -27,7 +29,7 @@ packages:
   - mysql-devel                        # kamailio-mysql
   - net-snmp-devel             # kamailio-snmpstats
   - openldap-devel             # kamailio-ldap
-  - openssl-devel              # kamailio-tls
+  - openssl-devel              # kamailio-tls, kamailio-websocket
   - pcre-devel                 # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - postgresql-devel           # kamailio-postgresql
   - python-devel               # kamailio-python
index 2e6980d..5462ead 100644 (file)
@@ -17,12 +17,13 @@ packages:
   - libcurl                    # kamailio-utils, kamailio-presence
   - libevent                   # kamailio-json
   - libpurple                  # kamailio-purple
+  - libunistring               # kamailio-websocket
   - libxml2                    # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - mod_perl                   # kamailio-perl
   - mysql-libs                 # kamailio-mysql
   - net-snmp-libs              # kamailio-snmpstats
   - openldap                   # kamailio-ldap
-  - openssl                    # kamailio-tls
+  - openssl                    # kamailio-tls, kamailio-websocket
   - pcre                       # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - perl-Authen-SASL           # kamailio-perl
   - perl-LDAP                  # kamailio-perl
index 1193dc3..141375a 100644 (file)
@@ -8,7 +8,7 @@ hardware:
   memory: 1024
   partitions:
     "/":
-      size: 4
+      size: 6
 packages:
   - @core
   - bison                      # kamailio
@@ -16,7 +16,8 @@ packages:
   - expat-devel                        # kamailio-xmpp
   - flex                       # kamailio
   - GeoIP-devel                        # kamailio-GeoIP
-  - gcc                                # kamailio
+  - gcc
+  - git
   - glib-devel                 # kamailio-purple
   - hiredis-devel              # kamailio-redis
   - json-c-devel               # kamailio-json
@@ -24,6 +25,7 @@ packages:
   - libcurl-devel              # kamailio-utils, kamailio-presence
   - libevent-devel             # kamailio-json
   - libpurple-devel            # kamailio-purple
+  - libunistring-devel         # kamailio-websocket
   - libxml2-devel              # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - lua-devel                  # kamailio-lua
   - make                       # kamailio
@@ -32,7 +34,7 @@ packages:
   - mysql-devel                        # kamailio-mysql
   - net-snmp-devel             # kamailio-snmpstats
   - openldap-devel             # kamailio-ldap
-  - openssl-devel              # kamailio-tls
+  - openssl-devel              # kamailio-tls, kamailio-websocket
   - pcre-devel                 # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - postgresql-devel           # kamailio-postgresql
   - python-devel               # kamailio-python
index f65ecd2..ec7ede0 100644 (file)
@@ -21,13 +21,14 @@ packages:
   - libcurl                    # kamailio-utils, kamailio-presence
   - libevent                   # kamailio-json
   - libpurple                  # kamailio-purple
+  - libunistring               # kamailio-websocket
   - libxml2                    # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - mod_perl                   # kamailio-perl
   - mono-core                  # kamailio-mono
   - mysql-libs                 # kamailio-mysql
   - net-snmp-libs              # kamailio-snmpstats
   - openldap                   # kamailio-ldap
-  - openssl                    # kamailio-tls
+  - openssl                    # kamailio-tls, kamailio-websocket
   - pcre                       # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - perl-Authen-SASL           # kamailio-perl
   - perl-LDAP                  # kamailio-perl
index 95f13e4..675dbbb 100644 (file)
@@ -351,15 +351,15 @@ 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 kcarrierroute kpresence kradius kgeoip kregex kdialplan\
-       klcr ksqlite kredis kjson kmono kberkeley" include_modules="xmlrpc\
-       xmlops websocket"
+       klcr ksqlite kredis kjson kmono kberkeley kwebsocket" \
+       include_modules="xmlrpc xmlops"\
 %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 websocket"
+       klcr ksqlite kberkeley kwebsocket" \
+       include_modules="xmlrpc xmlops"
 %endif
 
 
@@ -373,8 +373,8 @@ make install-modules-all 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 kcarrierroute kpresence kradius kgeoip kregex kdialplan\
-       klcr ksqlite kredis kjson kmono kberkeley" include_modules="xmlrpc\
-       xmlops websocket"
+       klcr ksqlite kredis kjson kmono kberkeley kwebsocket" \
+       include_modules="xmlrpc xmlops"
 
 mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
 install -m644 pkg/kamailio/fedora/%{?fedora}/kamailio.service \
@@ -388,8 +388,8 @@ make install-modules-all 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 websocket"
+       klcr ksqlite kberkeley kwebsocket" \
+       include_modules="xmlrpc xmlops"
 
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
 install -m755 pkg/kamailio/centos/%{?centos}/kamailio.init \
index 4b194d4..9b1c1ef 100644 (file)
@@ -8,7 +8,7 @@ hardware:
   memory: 1024
   partitions:
     "/":
-      size: 4
+      size: 6
 packages:
   - @core
   - bison                      # kamailio
@@ -16,7 +16,8 @@ packages:
   - expat-devel                        # kamailio-xmpp
   - flex                       # kamailio
   - GeoIP-devel                        # kamailio-GeoIP
-  - gcc                                # kamailio
+  - gcc
+  - git
   - glib-devel                 # kamailio-purple
   - hiredis-devel              # kamailio-redis
   - json-c-devel               # kamailio-json
@@ -24,6 +25,7 @@ packages:
   - libcurl-devel              # kamailio-utils, kamailio-presence
   - libevent-devel             # kamailio-json
   - libpurple-devel            # kamailio-purple
+  - libunistring-devel         # kamailio-websocket
   - libxml2-devel              # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - lua-devel                  # kamailio-lua
   - make                       # kamailio
@@ -32,7 +34,7 @@ packages:
   - mysql-devel                        # kamailio-mysql
   - net-snmp-devel             # kamailio-snmpstats
   - openldap-devel             # kamailio-ldap
-  - openssl-devel              # kamailio-tls
+  - openssl-devel              # kamailio-tls, kamailio-websocket
   - pcre-devel                 # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - postgresql-devel           # kamailio-postgresql
   - python-devel               # kamailio-python
index e71964a..70a850d 100644 (file)
@@ -21,13 +21,14 @@ packages:
   - libcurl                    # kamailio-utils, kamailio-presence
   - libevent                   # kamailio-json
   - libpurple                  # kamailio-purple
+  - libunistring               # kamailio-websocket
   - libxml2                    # kamailio-utils, kamailio-cpl, kamailio-presence, kamailio-purple, kamailio-xmlrpc, kamailio-xmlops
   - mod_perl                   # kamailio-perl
   - mono-core                  # kamailio-mono
   - mysql-libs                 # kamailio-mysql
   - net-snmp-libs              # kamailio-snmpstats
   - openldap                   # kamailio-ldap
-  - openssl                    # kamailio-tls
+  - openssl                    # kamailio-tls, kamailio-websocket
   - pcre                       # kamailio-regex, kamailio-dialplan, kamailio-lcr
   - perl-Authen-SASL           # kamailio-perl
   - perl-LDAP                  # kamailio-perl