[Pkg-voip-commits] r9719 - in /kamailio/trunk/debian: backports/squeeze changelog patches/no_lib64_on_64_bits.patch

maniac-guest at alioth.debian.org maniac-guest at alioth.debian.org
Wed May 23 09:14:07 UTC 2012


Author: maniac-guest
Date: Wed May 23 09:14:05 2012
New Revision: 9719

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9719
Log:
Added squeeze backport script

Added:
    kamailio/trunk/debian/backports/squeeze   (with props)
    kamailio/trunk/debian/patches/no_lib64_on_64_bits.patch
Modified:
    kamailio/trunk/debian/changelog

Added: kamailio/trunk/debian/backports/squeeze
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/backports/squeeze?rev=9719&op=file
==============================================================================
--- kamailio/trunk/debian/backports/squeeze (added)
+++ kamailio/trunk/debian/backports/squeeze Wed May 23 09:14:05 2012
@@ -1,0 +1,15 @@
+#!/bin/bash
+#
+# Hook for automatic backports at buildserver.net
+#
+# Target dist: Debian Squeeze
+
+# remove Multi-arch
+sed -i -e 's#^DEB_HOST_MULTIARCH.*$##' -e 's#^LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)#LIBDIR ?= lib#' debian/rules
+sed -i -e 's#multiarch_support.patch#no_lib64_on_64_bits.patch#' debian/patches/series
+
+# Downgrade to debhelper 5 compat
+sed -i -e  's#debhelper[^,$]*[\ ,$]\+\(.*\)$#debhelper (>= 7), \1#' debian/control
+echo 5 > debian/compat
+
+exit 0

Propchange: kamailio/trunk/debian/backports/squeeze
------------------------------------------------------------------------------
    svn:executable = *

Modified: kamailio/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/changelog?rev=9719&op=diff
==============================================================================
--- kamailio/trunk/debian/changelog (original)
+++ kamailio/trunk/debian/changelog Wed May 23 09:14:05 2012
@@ -14,7 +14,8 @@
     + multiarch support.
   * debian/patches:
     + remove all patches.
-    + no_lib64_on_64_bits.patch -> multiarch_support.patch
+    + no_lib64_on_64_bits.patch ( used on squeeze backport)
+    + multiarch_support.patch
     + added upstream fixes
     + added no_INSTALL_file.patch
     + added spelling-errors.patch
@@ -23,8 +24,10 @@
     + add $remote_fs (lintian suggestion)
   * debian/copyright
     + using copyright-format/1.0/
-
- -- Victor Seva <linuxmaniac at torreviejawireless.org>  Wed, 23 May 2012 09:47:20 +0200
+  * debian/backports
+    + added squeeze script
+
+ -- Victor Seva <linuxmaniac at torreviejawireless.org>  Wed, 23 May 2012 11:12:19 +0200
 
 kamailio (1.5.1-2) unstable; urgency=low
 

Added: kamailio/trunk/debian/patches/no_lib64_on_64_bits.patch
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/patches/no_lib64_on_64_bits.patch?rev=9719&op=file
==============================================================================
--- kamailio/trunk/debian/patches/no_lib64_on_64_bits.patch (added)
+++ kamailio/trunk/debian/patches/no_lib64_on_64_bits.patch Wed May 23 09:14:05 2012
@@ -1,0 +1,19 @@
+--- a/Makefile.defs
++++ b/Makefile.defs
+@@ -411,15 +411,7 @@
+ endif
+ $(info target architecture <$(ARCH)>, host architecture <$(HOST_ARCH)>)
+ 
+-LIBDIR ?=
+-ifeq ($(LIBDIR),)
+-ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
+-ifeq ($(ARCHBSZ),64b)
+-	LIBDIR = lib64
+-else
+-	LIBDIR = lib
+-endif
+-endif
++LIBDIR = lib
+ 
+ # dirs
+ cfg_dir = etc/$(MAIN_NAME)/




More information about the Pkg-voip-commits mailing list