[Pkg-voip-commits] r5940 - in /libmfcr2/trunk/debian: ./ patches/

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun Jul 13 20:52:16 UTC 2008


Author: tzafrir-guest
Date: Sun Jul 13 20:52:16 2008
New Revision: 5940

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5940
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    libmfcr2/trunk/debian/   (with props)
    libmfcr2/trunk/debian/README.Debian
    libmfcr2/trunk/debian/changelog
    libmfcr2/trunk/debian/compat
    libmfcr2/trunk/debian/control
    libmfcr2/trunk/debian/copyright
    libmfcr2/trunk/debian/docs
    libmfcr2/trunk/debian/libmfcr2-0.debhelper.log
    libmfcr2/trunk/debian/libmfcr2-0.install
    libmfcr2/trunk/debian/libmfcr2-dev.debhelper.log
    libmfcr2/trunk/debian/libmfcr2-dev.dirs
    libmfcr2/trunk/debian/libmfcr2-dev.install
    libmfcr2/trunk/debian/libmfcr2.doc-base
    libmfcr2/trunk/debian/libmfcr2.install
    libmfcr2/trunk/debian/patches/
    libmfcr2/trunk/debian/patches/libm
    libmfcr2/trunk/debian/patches/series
    libmfcr2/trunk/debian/postinst
    libmfcr2/trunk/debian/postrm
    libmfcr2/trunk/debian/rules   (with props)

Propchange: libmfcr2/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: libmfcr2/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/README.Debian?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/README.Debian (added)
+++ libmfcr2/trunk/debian/README.Debian Sun Jul 13 20:52:16 2008
@@ -1,0 +1,6 @@
+libmfcr2 for Debian
+-------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 10 Jul 2008 16:18:48 +0300

Added: libmfcr2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/changelog?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/changelog (added)
+++ libmfcr2/trunk/debian/changelog Sun Jul 13 20:52:16 2008
@@ -1,0 +1,6 @@
+libmfcr2 (0.0.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #423700)
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 10 Jul 2008 16:18:48 +0300
+

Added: libmfcr2/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/compat?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/compat (added)
+++ libmfcr2/trunk/debian/compat Sun Jul 13 20:52:16 2008
@@ -1,0 +1,1 @@
+7

Added: libmfcr2/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/control?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/control (added)
+++ libmfcr2/trunk/debian/control Sun Jul 13 20:52:16 2008
@@ -1,0 +1,19 @@
+Source: libmfcr2
+Priority: extra
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Build-Depends: debhelper (>= 7), autotools-dev, libspandsp-dev, libsupertone-dev, libunicall-dev, libxml2-dev, quilt, automake, autoconf
+Standards-Version: 3.8.0
+Section: libs
+Homepage: http://soft-switch.org/
+
+Package: libmfcr2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: a library for MFC/R2 signaling on E1 lines
+ designed to support MFC/R2 signalling in the Zaptel environment,
+ but should be easily adaptable to other dumb E1 cards that allow 
+ channelised CAS signaled operation. 
+ .
+ This package is a plugin for the unicall library.

Added: libmfcr2/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/copyright?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/copyright (added)
+++ libmfcr2/trunk/debian/copyright Sun Jul 13 20:52:16 2008
@@ -1,0 +1,34 @@
+This package was debianized by Tzafrir Cohen <tzafrir.cohen at xorcom.com> on
+Thu, 10 Jul 2008 16:18:48 +0300.
+
+It was downloaded from http://soft-switch.org/downloads/unicall/
+
+Upstream Author:
+
+    Steve Underwood <steveu at coppice.org> .
+
+Copyright:
+
+    Copyright (C) 2002, 2003, 2004, 2005, 2006 Steve Underwood
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is (C) 2008, Tzafrir Cohen <tzafrir.cohen at xorcom.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: libmfcr2/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/docs?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/docs (added)
+++ libmfcr2/trunk/debian/docs Sun Jul 13 20:52:16 2008
@@ -1,0 +1,2 @@
+README
+mfcr2-manual

Added: libmfcr2/trunk/debian/libmfcr2-0.debhelper.log
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2-0.debhelper.log?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2-0.debhelper.log (added)
+++ libmfcr2/trunk/debian/libmfcr2-0.debhelper.log Sun Jul 13 20:52:16 2008
@@ -1,0 +1,4 @@
+dh_installdirs
+dh_installchangelogs
+dh_installdocs
+dh_installexamples

Added: libmfcr2/trunk/debian/libmfcr2-0.install
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2-0.install?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2-0.install (added)
+++ libmfcr2/trunk/debian/libmfcr2-0.install Sun Jul 13 20:52:16 2008
@@ -1,0 +1,1 @@
+usr/lib/unicall/protocols/*.so

Added: libmfcr2/trunk/debian/libmfcr2-dev.debhelper.log
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2-dev.debhelper.log?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2-dev.debhelper.log (added)
+++ libmfcr2/trunk/debian/libmfcr2-dev.debhelper.log Sun Jul 13 20:52:16 2008
@@ -1,0 +1,4 @@
+dh_installdirs
+dh_installchangelogs
+dh_installdocs
+dh_installexamples

Added: libmfcr2/trunk/debian/libmfcr2-dev.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2-dev.dirs?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2-dev.dirs (added)
+++ libmfcr2/trunk/debian/libmfcr2-dev.dirs Sun Jul 13 20:52:16 2008
@@ -1,0 +1,2 @@
+usr/lib
+usr/include

Added: libmfcr2/trunk/debian/libmfcr2-dev.install
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2-dev.install?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2-dev.install (added)
+++ libmfcr2/trunk/debian/libmfcr2-dev.install Sun Jul 13 20:52:16 2008
@@ -1,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
+usr/share/pkgconfig/*

Added: libmfcr2/trunk/debian/libmfcr2.doc-base
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2.doc-base?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2.doc-base (added)
+++ libmfcr2/trunk/debian/libmfcr2.doc-base Sun Jul 13 20:52:16 2008
@@ -1,0 +1,12 @@
+Document: libmfcr2
+Title: The MFC/R2 protocol module for Unicall
+Author: Steve Underwood <steveu at coppice.org>
+Abstract: Documentation of the  MFC/R2 protocol module for the Unicall 
+ libbrary.
+Section: comm
+
+Format: HTML
+Index: /usr/share/doc/libmfcr2/mfcr2-manual/index.html
+Files: /usr/share/doc/libmfcr2/mfcr2-manual/*.html
+
+

Added: libmfcr2/trunk/debian/libmfcr2.install
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/libmfcr2.install?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/libmfcr2.install (added)
+++ libmfcr2/trunk/debian/libmfcr2.install Sun Jul 13 20:52:16 2008
@@ -1,0 +1,1 @@
+usr/lib/unicall/protocols/*.so

Added: libmfcr2/trunk/debian/patches/libm
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/patches/libm?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/patches/libm (added)
+++ libmfcr2/trunk/debian/patches/libm Sun Jul 13 20:52:16 2008
@@ -1,0 +1,15 @@
+Build with -lm . Not included for some reason. According to upstream 
+this patcfh will not be required on next version (current version: 
+0.0.6pre1).
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -38,7 +38,7 @@
+ protocol_LTLIBRARIES = protocol_mfcr2.la
+ 
+ protocol_mfcr2_la_SOURCES = mfcr2.c
+-protocol_mfcr2_la_LDFLAGS = -module -avoid-version
++protocol_mfcr2_la_LDFLAGS = -module -avoid-version -lm
+ 
+ noinst_HEADERS =  r2.h mfcr2.h libmfcr2.h
+ 

Added: libmfcr2/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/patches/series?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/patches/series (added)
+++ libmfcr2/trunk/debian/patches/series Sun Jul 13 20:52:16 2008
@@ -1,0 +1,1 @@
+libm

Added: libmfcr2/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/postinst?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/postinst (added)
+++ libmfcr2/trunk/debian/postinst Sun Jul 13 20:52:16 2008
@@ -1,0 +1,41 @@
+#!/bin/sh
+# postinst script for libunicall
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: libmfcr2/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/postrm?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/postrm (added)
+++ libmfcr2/trunk/debian/postrm Sun Jul 13 20:52:16 2008
@@ -1,0 +1,39 @@
+#!/bin/sh
+# postrm script for libunicall
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: libmfcr2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/libmfcr2/trunk/debian/rules?rev=5940&op=file
==============================================================================
--- libmfcr2/trunk/debian/rules (added)
+++ libmfcr2/trunk/debian/rules Sun Jul 13 20:52:16 2008
@@ -1,0 +1,114 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+-include /usr/share/quilt/quilt.make
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+SAVE_FILES = aclocal.m4 Makefile.in configure
+
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: patch configure
+	dh_testdir
+
+	for file in $(SAVE_FILES); do \
+		if [ ! -r $$file.saved ]; then cp -a $$file $$file.saved; fi; \
+	done
+	aclocal
+	automake
+	autoconf
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	sed -i -r 's/(hardcode_into_libs=).*$$/\1=no/' aclocal.m4
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	for file in $(SAVE_FILES); do \
+		if [ -r $$file.saved ]; then mv $$file.saved $$file; fi; \
+	done
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch

Propchange: libmfcr2/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-voip-commits mailing list