[Pkg-voip-commits] r9045 - in /chan-datacard/trunk/debian: ./ changelog clean compat control copyright docs install patches/ patches/debian-changes-0.0~svn.185-1 patches/fix_install patches/series rules source/ source/format
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Sun Jun 26 19:18:45 UTC 2011
Author: tzafrir
Date: Sun Jun 26 19:18:45 2011
New Revision: 9045
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9045
Log:
[svn-inject] Applying Debian modifications (0.0~svn.185-1) to trunk
Added:
chan-datacard/trunk/debian/ (with props)
chan-datacard/trunk/debian/changelog
chan-datacard/trunk/debian/clean
chan-datacard/trunk/debian/compat
chan-datacard/trunk/debian/control
chan-datacard/trunk/debian/copyright
chan-datacard/trunk/debian/docs
chan-datacard/trunk/debian/install
chan-datacard/trunk/debian/patches/
chan-datacard/trunk/debian/patches/debian-changes-0.0~svn.185-1
chan-datacard/trunk/debian/patches/fix_install
chan-datacard/trunk/debian/patches/series
chan-datacard/trunk/debian/rules (with props)
chan-datacard/trunk/debian/source/
chan-datacard/trunk/debian/source/format
Propchange: chan-datacard/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: chan-datacard/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/changelog?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/changelog (added)
+++ chan-datacard/trunk/debian/changelog Sun Jun 26 19:18:45 2011
@@ -1,0 +1,5 @@
+chan-datacard (0.0~svn.185-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- Tzafrir Cohen <tzafrir at debian.org> Sun, 26 Jun 2011 14:27:15 +0300
Added: chan-datacard/trunk/debian/clean
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/clean?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/clean (added)
+++ chan-datacard/trunk/debian/clean Sun Jun 26 19:18:45 2011
@@ -1,0 +1,1 @@
+Makefile
Added: chan-datacard/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/compat?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/compat (added)
+++ chan-datacard/trunk/debian/compat Sun Jun 26 19:18:45 2011
@@ -1,0 +1,1 @@
+7
Added: chan-datacard/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/control?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/control (added)
+++ chan-datacard/trunk/debian/control Sun Jun 26 19:18:45 2011
@@ -1,0 +1,17 @@
+Source: chan-datacard
+Section: comm
+Priority: extra
+Maintainer: Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Tzafrir Cohen <tzafrir at debian.org>
+Build-Depends: debhelper (>= 7), asterisk-dev
+Standards-Version: 3.9.2
+Homepage: http://forge.asterisk.org/gf/project/chan_datacard/
+
+Package: asterisk-chan-datacard
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, asterisk-1.8
+Description: Asterisk PBX channel driver for Huawei UMTS cards
+ This channel driver should work with the folowing UMTS cards:
+ * Huawei K3715
+ * Huawei E169 / K3520
+ * Huawei E1550
Added: chan-datacard/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/copyright?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/copyright (added)
+++ chan-datacard/trunk/debian/copyright Sun Jun 26 19:18:45 2011
@@ -1,0 +1,37 @@
+Code is:
+
+Copyright (C) 2009 - 2010
+
+Artem Makhutov <artem at makhutov.org>
+http://www.makhutov.org
+
+Dmitry Vagin <dmitry2004 at yandex.ru>
+
+This software program is licensed subject to the GNU General Public License
+(GPL). Version 2, June 1991, available at
+<http://www.fsf.org/copyleft/gpl.html>
+
+
+__memmem.c is:
+
+ * Copyright (c) 2005 Pascal Gloor <pascal.gloor at spale.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote
+ * products derived from this software without specific prior written
+ * permission.
+
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is Copyright 2011, Tzafrir Cohen <tzafrir at debian.org>
+and is licensed under the GPL, see above.
+
Added: chan-datacard/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/docs?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/docs (added)
+++ chan-datacard/trunk/debian/docs Sun Jun 26 19:18:45 2011
@@ -1,0 +1,1 @@
+README.txt
Added: chan-datacard/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/install?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/install (added)
+++ chan-datacard/trunk/debian/install Sun Jun 26 19:18:45 2011
@@ -1,0 +1,1 @@
+etc/datacard.conf etc/asterisk/datacard.conf
Added: chan-datacard/trunk/debian/patches/debian-changes-0.0~svn.185-1
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/patches/debian-changes-0.0%7Esvn.185-1?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/patches/debian-changes-0.0~svn.185-1 (added)
+++ chan-datacard/trunk/debian/patches/debian-changes-0.0~svn.185-1 Sun Jun 26 19:18:45 2011
@@ -1,0 +1,36 @@
+Description: Upstream changes introduced in version 0.0~svn.185-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ chan-datacard (0.0~svn.185-1) UNRELEASED; urgency=low
+ .
+ * Initial release. (Closes: #XXXXXX)
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Tzafrir Cohen <tzafrir at debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- chan-datacard-0.0~svn.185.orig/chan_datacard.c
++++ chan-datacard-0.0~svn.185/chan_datacard.c
+@@ -29,7 +29,7 @@
+
+ #include <asterisk.h>
+
+-ASTERISK_FILE_VERSION(__FILE__, "$Rev: 185 $")
++ASTERISK_FILE_VERSION(__FILE__, "$Rev$")
+
+ #include <errno.h>
+ #include <fcntl.h>
Added: chan-datacard/trunk/debian/patches/fix_install
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/patches/fix_install?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/patches/fix_install (added)
+++ chan-datacard/trunk/debian/patches/fix_install Sun Jun 26 19:18:45 2011
@@ -1,0 +1,28 @@
+Author: Tzafrir Cohen <tzafrir at debian.org>
+Description: Sanity fixes for the 'install' target
+
+* Don't strip binary
+* Use DESTDIR
+* Create directory before copying.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -7,6 +7,7 @@ STRIP = strip
+ RM = rm -f
+ CHMOD = chmod
+ INSTALL = install
++DESTDIR =
+
+ CFLAGS += -Wextra -fPIC -DAST_MODULE=\"$(PROJ)\" -D_THREAD_SAFE @INCDIR@ @CFLAGS@
+ LDFLAGS += @LIBDIR@
+@@ -16,8 +17,8 @@ SOLINK = -shared -Xlinker -x
+ all : clean $(PROJ).so
+
+ install : all
+- $(STRIP) $(PROJ).so
+- $(INSTALL) -m 755 $(PROJ).so @DESTDIR@
++ $(INSTALL) -d $(DESTDIR)@DESTDIR@
++ $(INSTALL) -m 755 $(PROJ).so $(DESTDIR)@DESTDIR@
+
+ $(PROJ).so: $(OBJ)
+ $(LD) $(LDFLAGS) $(SOLINK) $(OBJ) $(LIBS) -o $@
Added: chan-datacard/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/patches/series?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/patches/series (added)
+++ chan-datacard/trunk/debian/patches/series Sun Jun 26 19:18:45 2011
@@ -1,0 +1,2 @@
+fix_install
+debian-changes-0.0~svn.185-1
Added: chan-datacard/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/rules?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/rules (added)
+++ chan-datacard/trunk/debian/rules Sun Jun 26 19:18:45 2011
@@ -1,0 +1,30 @@
+#!/usr/bin/make -f
+
+PACKAGE:=$(shell sed -nre 's/^Source: (.*)$$/\1/p' debian/control)
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' \
+ -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//')
+SVN_REV:=$(shell echo $(UPVERSION) | sed -e 's/^.*svn\.//')
+SVN_BRANCH:=trunk
+SVN_URL:=https://www.makhutov.org/svn/chan_datacard/$(SVN_BRANCH)
+DIR_NAME:=$(PACKAGE)-$(UPVERSION)
+TARBALL:=$(PACKAGE)_$(UPVERSION).orig.tar.gz
+
+#FILENAME := $(PACKAGE)_$(UPVERSION).orig.tar.gz
+#URL := http://downloads.digium.com/pub/telephony/$(PACKAGE)/releases/$(PACKAGE)-$(UPVERSION).tar.gz
+
+%:
+ dh $@
+
+TARBALL_DIR=../tarballs/$(PACKAGE)-$(UPVERSION).tmp
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@#echo Downloading $(FILENAME) from $(URL) ...
+ @@#wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+ @echo "Exporting rev. $(SVN_REV) to $(TARBALL_DIR)/$(DIR_NAME)"
+ @svn export -q -r $(SVN_REV) $(SVN_URL) $(TARBALL_DIR)/$(DIR_NAME)
+ @tar czf ../tarballs/$(TARBALL) -C $(TARBALL_DIR) $(DIR_NAME)
+ @echo "Cleaning up..."
+ @rm -rf $(TARBALL_DIR)
Propchange: chan-datacard/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: chan-datacard/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-voip/chan-datacard/trunk/debian/source/format?rev=9045&op=file
==============================================================================
--- chan-datacard/trunk/debian/source/format (added)
+++ chan-datacard/trunk/debian/source/format Sun Jun 26 19:18:45 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)
More information about the Pkg-voip-commits
mailing list