[Pkg-voip-commits] r3217 - openser/trunk/debian

Julien Blache jblache at alioth.debian.org
Sat Mar 10 19:29:03 CET 2007


Author: jblache
Date: 2007-03-10 18:29:02 +0000 (Sat, 10 Mar 2007)
New Revision: 3217

Modified:
   openser/trunk/debian/changelog
   openser/trunk/debian/control
   openser/trunk/debian/rules
Log:
Add the XMPP and Perl modules.


Modified: openser/trunk/debian/changelog
===================================================================
--- openser/trunk/debian/changelog	2007-03-10 11:55:46 UTC (rev 3216)
+++ openser/trunk/debian/changelog	2007-03-10 18:29:02 UTC (rev 3217)
@@ -5,8 +5,9 @@
   * Source: use the OpenSER TLS tarball
 
   * debian/control:
-    + New packages: openser-presence-modules, openser-xmlrpc-module, openser-snmpstats-module.
-    + Build-Depends: libxmlrpc-c3-dev, libsnmp9-dev.
+    + New packages: openser-presence-modules, openser-xmlrpc-module, openser-perl-module,
+      openser-snmpstats-module, openser-xmpp-module
+    + Build-Depends: libxmlrpc-c3-dev, libperl-dev, libsnmp9-dev.
   * debian/rules:
     + Always build the non-TLS flavour for Debian builds.
     + Add the new modules.
@@ -19,7 +20,7 @@
   * debian/patches/22_OpenPKG-SA-2006.042.dpatch:
     + Removed; fixed upstream (different fix).
 
- -- Julien BLACHE <jblache at debian.org>  Thu,  8 Mar 2007 18:22:37 +0100
+ -- Julien BLACHE <jblache at debian.org>  Sat, 10 Mar 2007 19:20:17 +0100
 
 openser (1.1.1-1) unstable; urgency=low
 

Modified: openser/trunk/debian/control
===================================================================
--- openser/trunk/debian/control	2007-03-10 11:55:46 UTC (rev 3216)
+++ openser/trunk/debian/control	2007-03-10 18:29:02 UTC (rev 3217)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian VoIP Maintainers <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Julien BLACHE <jblache at debian.org>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient15-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libsnmp9-dev
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient15-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp9-dev
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-voip/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/
@@ -11,7 +11,7 @@
 Package: openser
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
-Suggests: openser-mysql-module, openser-postgres-module, openser-unixodbc-module, openser-jabber-module, openser-cpl-module, openser-radius-modules, openser-presence-modules, openser-xmlrpc-module
+Suggests: openser-mysql-module, openser-postgres-module, openser-unixodbc-module, openser-jabber-module, openser-cpl-module, openser-radius-modules, openser-presence-modules, openser-xmlrpc-module, openser-perl-module, openser-snmpstats-module, openser-xmpp-module
 Description: very fast and configurable SIP proxy
  OpenSER is a very fast and flexible SIP (RFC3261)
  proxy server. Written entirely in C, OpenSER can handle thousands calls
@@ -23,8 +23,8 @@
  .
  Among others, the following modules are available: Digest Authentication, CPL
  scripts, Instant Messaging, MySQL support, Presence Agent, Radius
- Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction
- Module, Registrar and User Location.
+ Authentication, Record Routing, SMS Gateway, Jabber/XMPP Gateway, Transaction
+ Module, Registrar and User Location, XMLRPC Interface.
  .
  This package contains the main OpenSER binary along with the principal modules
  and support binaries.
@@ -65,7 +65,7 @@
 Package: openser-jabber-module
 Architecture: any
 Depends: ${shlibs:Depends}, openser (= ${Source-Version})
-Description: Jabber module (SIP-Jabber message translation) for OpenSER
+Description: Jabber gateway module for OpenSER
  OpenSER is a very fast and flexible SIP (RFC3261)
  proxy server. Written entirely in C, OpenSER can handle thousands calls
  per second even on low-budget hardware.
@@ -128,6 +128,16 @@
  This package provides the XMLRPC transport implementation for OpenSER's
  Management Interface.
 
+Package: openser-perl-module
+Architecture: any
+Depends: ${shlibs:Depends}, openser (= ${Source-Version})
+Description: Perl module for OpenSER
+ OpenSER is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, OpenSER can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides an interface for OpenSER to write Perl extensions.
+
 Package: openser-snmpstats-module
 Architecture: any
 Depends: ${shlibs:Depends}, openser (= ${Source-Version}), snmpd
@@ -138,3 +148,13 @@
  .
  This package provides the snmpstats module for OpenSER. This module acts
  as an AgentX subagent which connects to a master agent.
+
+Package: openser-xmpp-module
+Architecture: any
+Depends: ${shlibs:Depends}, openser (= ${Source-Version})
+Description: XMPP gateway module for OpenSER
+ OpenSER is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, OpenSER can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the SIP to XMPP IM translator module for OpenSER.

Modified: openser/trunk/debian/rules
===================================================================
--- openser/trunk/debian/rules	2007-03-10 11:55:46 UTC (rev 3216)
+++ openser/trunk/debian/rules	2007-03-10 18:29:02 UTC (rev 3217)
@@ -7,7 +7,7 @@
 ALL_PACKAGES = openser openser-mysql-module openser-postgres-module \
 	openser-jabber-module openser-cpl-module openser-radius-modules \
 	openser-unixodbc-module openser-presence-modules openser-xmlrpc-module \
-	openser-snmpstats-module
+	openser-perl-module openser-snmpstats-module openser-xmpp-module
 
 DEBVERSION:=$(shell head -n 1 debian/changelog \
                     | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
@@ -34,8 +34,8 @@
 POSTGRES_MODULES = postgres
 # modules depending on unixODBC
 UNIXODBC_MODULES=unixodbc
-# jabber related modules
-JABBER_MODULES = jabber xmpp
+# jabber module
+JABBER_MODULES = jabber
 # cpl related modules
 CPL_MODULES = cpl-c
 # module depending on radiusclient
@@ -44,10 +44,14 @@
 PRESENCE_MODULES = presence pua pua_mi pua_usrloc
 # XMLRPC module
 XMLRPC_MODULES = mi_xmlrpc
+# Perl module
+PERL_MODULES = perl
 # SNMPstats module
-SNMP_MODULES = snmpstats
+SNMPSTATS_MODULES = snmpstats
+# XMPP module
+XMPP_MODULES = xmpp
 
-ALL_MODULES = $(MYSQL_MODULES) $(POSTGRES_MODULES) $(UNIXODBC_MODULES) $(JABBER_MODULES) $(CPL_MODULES) $(RADIUS_MODULES) $(PRESENCE_MODULES) $(XMLRPC_MODULES) $(SNMP_MODULES)
+ALL_MODULES = $(MYSQL_MODULES) $(POSTGRES_MODULES) $(UNIXODBC_MODULES) $(JABBER_MODULES) $(CPL_MODULES) $(RADIUS_MODULES) $(PRESENCE_MODULES) $(XMLRPC_MODULES) $(PERL_MODULES) $(SNMPSTATS_MODULES) $(XMPP_MODULES)
 
 # modules not in the "main" package or unstable modules
 EXCLUDED_MODULES = $(ALL_MODULES) pa osp
@@ -61,9 +65,10 @@
 RADIUS_MOD_PATH=$(addprefix modules/, $(RADIUS_MODULES))
 PRESENCE_MOD_PATH=$(addprefix modules/, $(PRESENCE_MODULES))
 XMLRPC_MOD_PATH=$(addprefix modules/, $(XMLRPC_MODULES))
-SNMP_MOD_PATH=$(addprefix modules/, $(SNMP_MODULES))
+PERL_MOD_PATH=$(addprefix modules/, $(PERL_MODULES))
+SNMPSTATS_MOD_PATH=$(addprefix modules/, $(SNMPSTATS_MODULES))
+XMPP_MOD_PATH=$(addprefix modules/, $(XMPP_MODULES))
 
-
 ifeq (cc, $(CC))
 	CC = gcc
 endif
@@ -73,6 +78,7 @@
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
         CFLAGS += -O0
 else
+	# Needed to workaround #390694
 	ifeq (arm, $(DEB_HOST_ARCH))
 		CFLAGS += -O1
 	else
@@ -106,7 +112,9 @@
 	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(RADIUS_MOD_PATH)" cfg-target=/etc/openser/
 	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(PRESENCE_MOD_PATH)" cfg-target=/etc/openser/
 	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(XMLRPC_MOD_PATH)" cfg-target=/etc/openser/
-	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(SNMP_MOD_PATH)" cfg-target=/etc/openser/
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(PERL_MOD_PATH)" cfg-target=/etc/openser/
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(SNMPSTATS_MOD_PATH)" cfg-target=/etc/openser/
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) modules modules="$(XMPP_MOD_PATH)" cfg-target=/etc/openser/
 
 	touch build-stamp
 
@@ -215,15 +223,31 @@
 		cfg-target=/etc/openser/ \
 		doc-dir=share/doc/openser-xmlrpc-module
 
+	# install only the perl module
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) install-modules-all modules="$(PERL_MOD_PATH)"  \
+		basedir=$(CURDIR)/debian/openser-perl-module \
+		prefix=/usr \
+		cfg-prefix=$(CURDIR)/debian/openser-perl-module \
+		cfg-target=/etc/openser/ \
+		doc-dir=share/doc/openser-perl-module
+
 	# install only the snmpstats module
-	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) install-modules-all modules="$(SNMP_MOD_PATH)"  \
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) install-modules-all modules="$(SNMPSTATS_MOD_PATH)"  \
 		basedir=$(CURDIR)/debian/openser-snmpstats-module \
 		prefix=/usr \
 		cfg-prefix=$(CURDIR)/debian/openser-snmpstats-module \
 		cfg-target=/etc/openser/ \
 		doc-dir=share/doc/openser-snmpstats-module
 
+	# install only the xmpp module
+	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) install-modules-all modules="$(XMPP_MOD_PATH)"  \
+		basedir=$(CURDIR)/debian/openser-xmpp-module \
+		prefix=/usr \
+		cfg-prefix=$(CURDIR)/debian/openser-xmpp-module \
+		cfg-target=/etc/openser/ \
+		doc-dir=share/doc/openser-xmpp-module
 
+
 	# the modules packages all ship an empty /usr/sbin directory, let's clean that up
 	for p in $(ALL_PACKAGES); \
 		do rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/$$p/usr/sbin; done




More information about the Pkg-voip-commits mailing list