[Pkg-voip-commits] r7830 - in /opensips/trunk/debian: changelog patches/00list patches/11_always_smp.dpatch

alerios at alioth.debian.org alerios at alioth.debian.org
Sun Nov 22 21:30:40 UTC 2009


Author: alerios
Date: Sun Nov 22 21:30:40 2009
New Revision: 7830

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7830
Log:
* Added 11_always_smp.dpatch by <jblache at debian.org>

Added:
    opensips/trunk/debian/patches/11_always_smp.dpatch   (with props)
Modified:
    opensips/trunk/debian/changelog
    opensips/trunk/debian/patches/00list

Modified: opensips/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/changelog?rev=7830&op=diff
==============================================================================
--- opensips/trunk/debian/changelog (original)
+++ opensips/trunk/debian/changelog Sun Nov 22 21:30:40 2009
@@ -10,6 +10,7 @@
   * Upgrade to Standards-Version 3.8.3 (no change needed)
   * Added README.source
   * Added 10_no_lib64_on_64_bits.dpatch by <jblache at debian.org>
+  * Added 11_always_smp.dpatch by <jblache at debian.org>
   * Depend on python.
   * Depend on some perl modules to use osipsconsole.
   * Remove INSTALL from package.

Modified: opensips/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/patches/00list?rev=7830&op=diff
==============================================================================
--- opensips/trunk/debian/patches/00list (original)
+++ opensips/trunk/debian/patches/00list Sun Nov 22 21:30:40 2009
@@ -1,1 +1,2 @@
 10_no_lib64_on_64_bits.dpatch
+11_always_smp.dpatch

Added: opensips/trunk/debian/patches/11_always_smp.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/patches/11_always_smp.dpatch?rev=7830&op=file
==============================================================================
--- opensips/trunk/debian/patches/11_always_smp.dpatch (added)
+++ opensips/trunk/debian/patches/11_always_smp.dpatch Sun Nov 22 21:30:40 2009
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_always_smp.dpatch by <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Always build for SMP.
+
+ at DPATCH@
+diff -urNad opensips-1.6.0~/Makefile.defs opensips-1.6.0/Makefile.defs
+--- opensips-1.6.0~/Makefile.defs	2009-11-22 16:23:13.000000000 -0500
++++ opensips-1.6.0/Makefile.defs	2009-11-22 16:27:11.000000000 -0500
+@@ -101,22 +101,7 @@
+ 	endif
+ endif
+ 
+-# Check of SMP systems
+-ifeq ($(OS),solaris)
+-	CPU=$(shell /usr/sbin/psrinfo | grep -i online | wc -l)
+-	ifeq ($(CPU),1)
+-		ISSMP ?= no
+-	else
+-		ISSMP ?= yes
+-	endif
+-else
+-	SMP_STR = $(shell uname -v | grep -i "SMP")
+-	ifeq (,$(SMP_STR))
+-		ISSMP ?= no
+-	else
+-		ISSMP ?= yes
+-	endif
+-endif
++ISSMP ?= yes
+ 
+ OSREL = $(shell uname -r)
+ # numerical version (good for comparisons: A.B.C => A*1000000+B*1000+C)

Propchange: opensips/trunk/debian/patches/11_always_smp.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-voip-commits mailing list