[sr-dev] git:carstenbock/ims: - added building rules for a dedicated "kamailio-ims" package

Carsten Bock carsten at bock.info
Thu Jan 6 14:35:27 CET 2011


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

Author: Carsten Bock <carsten at bock.info>
Committer: Carsten Bock <carsten at bock.info>
Date:   Thu Jan  6 14:33:58 2011 +0100

- added building rules for a dedicated "kamailio-ims" package
- added custom Make-Targets for Debian Lenny/Squeeze (make deb-lenny / make deb-squeeze)

---

 Makefile                         |   25 +++++++++++++++++++++++++
 pkg/kamailio/deb/debian/control  |    9 +++++++++
 pkg/kamailio/deb/debian/rules    |    2 +-
 pkg/kamailio/deb/lenny/control   |    9 +++++++++
 pkg/kamailio/deb/lenny/rules     |    2 +-
 pkg/kamailio/deb/lucid/control   |    9 +++++++++
 pkg/kamailio/deb/lucid/rules     |    2 +-
 pkg/kamailio/deb/squeeze/control |    9 +++++++++
 pkg/kamailio/deb/squeeze/rules   |    2 +-
 9 files changed, 65 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 3997a38..f7d52bb 100644
--- a/Makefile
+++ b/Makefile
@@ -271,6 +271,9 @@ module_group_kpython=app_python
 # K geoip module
 module_group_kgeoip=geoip
 
+# K IMS modules
+module_group_kims=pcscf cdp
+
 # if not set on the cmd. line, env or in the modules.lst (cfg_group_include)
 # exclude the below modules.
 ifneq ($(group_include)$(cfg_group_include),)
@@ -834,6 +837,28 @@ deb:
 		rm debian; \
 	fi
 
+.PHONY: deb-lenny
+deb-lenny:
+	- at if [ -d debian ]; then \
+		dpkg-buildpackage -rfakeroot -tc; \
+		rm debian; \
+	else \
+		ln -s pkg/$(MAIN_NAME)/deb/lenny debian; \
+		dpkg-buildpackage -rfakeroot -tc; \
+		rm debian; \
+	fi
+
+.PHONY: deb-squeeze
+deb-lenny:
+	- at if [ -d debian ]; then \
+		dpkg-buildpackage -rfakeroot -tc; \
+		rm debian; \
+	else \
+		ln -s pkg/$(MAIN_NAME)/deb/squeeze debian; \
+		dpkg-buildpackage -rfakeroot -tc; \
+		rm debian; \
+	fi
+
 .PHONY: sunpkg
 sunpkg:
 	mkdir -p tmp/$(MAIN_NAME)
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 302a40a..da5f1a4 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -275,4 +275,13 @@ Description: Kamailio - package for "nice to have" installation
  This is a meta-package for easy installation various useful tools that may be
  handy on server with Kamailio installed.
 
+Package: kamailio-ims-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version})
+Description: IMS Modules for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the OpenIMS-Modules for Kamailio.
 
diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules
index fbaccf6..cedfd2a 100755
--- a/pkg/kamailio/deb/debian/rules
+++ b/pkg/kamailio/deb/debian/rules
@@ -42,7 +42,7 @@ MODULES_SP=
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python geoip
+			   snmpstats carrierroute xmpp cpl lua python geoip ims
 
 # directories with possible duplicate libraries (that should be deleted
 # from current module* packages)
diff --git a/pkg/kamailio/deb/lenny/control b/pkg/kamailio/deb/lenny/control
index 73a1e26..390a1b0 100644
--- a/pkg/kamailio/deb/lenny/control
+++ b/pkg/kamailio/deb/lenny/control
@@ -275,4 +275,13 @@ Description: Kamailio - package for "nice to have" installation
  This is a meta-package for easy installation various useful tools that may be
  handy on server with Kamailio installed.
 
+Package: kamailio-ims-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version})
+Description: IMS Modules for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the OpenIMS-Modules for Kamailio.
 
diff --git a/pkg/kamailio/deb/lenny/rules b/pkg/kamailio/deb/lenny/rules
index 84ebd65..d5582af 100755
--- a/pkg/kamailio/deb/lenny/rules
+++ b/pkg/kamailio/deb/lenny/rules
@@ -42,7 +42,7 @@ MODULES_SP=
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python
+			   snmpstats carrierroute xmpp cpl lua python ims
 
 # directories with possible duplicate libraries (that should be deleted
 # from current module* packages)
diff --git a/pkg/kamailio/deb/lucid/control b/pkg/kamailio/deb/lucid/control
index 302a40a..da5f1a4 100644
--- a/pkg/kamailio/deb/lucid/control
+++ b/pkg/kamailio/deb/lucid/control
@@ -275,4 +275,13 @@ Description: Kamailio - package for "nice to have" installation
  This is a meta-package for easy installation various useful tools that may be
  handy on server with Kamailio installed.
 
+Package: kamailio-ims-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version})
+Description: IMS Modules for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the OpenIMS-Modules for Kamailio.
 
diff --git a/pkg/kamailio/deb/lucid/rules b/pkg/kamailio/deb/lucid/rules
index fbaccf6..cedfd2a 100755
--- a/pkg/kamailio/deb/lucid/rules
+++ b/pkg/kamailio/deb/lucid/rules
@@ -42,7 +42,7 @@ MODULES_SP=
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python geoip
+			   snmpstats carrierroute xmpp cpl lua python geoip ims
 
 # directories with possible duplicate libraries (that should be deleted
 # from current module* packages)
diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/control
index 22992e0..7304462 100644
--- a/pkg/kamailio/deb/squeeze/control
+++ b/pkg/kamailio/deb/squeeze/control
@@ -276,3 +276,12 @@ Description: Kamailio - package for "nice to have" installation
  handy on server with Kamailio installed.
 
 
+Package: kamailio-ims-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version})
+Description: IMS Modules for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the OpenIMS-Modules for Kamailio.
diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules
index a64793a..7af28a9 100755
--- a/pkg/kamailio/deb/squeeze/rules
+++ b/pkg/kamailio/deb/squeeze/rules
@@ -42,7 +42,7 @@ MODULES_SP=
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils geoip memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python
+			   snmpstats carrierroute xmpp cpl lua python ims
 
 # directories with possible duplicate libraries (that should be deleted
 # from current module* packages)




More information about the sr-dev mailing list