[Pkg-voip-commits] r6977 - in /dahdi-firmware: ./ trunk/ trunk/debian/

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun Apr 5 19:50:12 UTC 2009


Author: tzafrir-guest
Date: Sun Apr  5 19:50:12 2009
New Revision: 6977

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6977
Log:
dahdi-firmware: a package for the DAHDI firmwares

This package includes the non-free firmwares included in DAHDI as well as 
a downloading script for some not included (taken directly from the source
distribution)

Added:
    dahdi-firmware/
    dahdi-firmware/build-area   (with props)
    dahdi-firmware/tarballs   (with props)
    dahdi-firmware/trunk/
    dahdi-firmware/trunk/debian/   (with props)
    dahdi-firmware/trunk/debian/README.Debian
    dahdi-firmware/trunk/debian/TODO.Debian
    dahdi-firmware/trunk/debian/changelog
    dahdi-firmware/trunk/debian/control
    dahdi-firmware/trunk/debian/copyright
    dahdi-firmware/trunk/debian/get-digium-firmware   (with props)
    dahdi-firmware/trunk/debian/install
    dahdi-firmware/trunk/debian/rules   (with props)
    dahdi-firmware/trunk/debian/watch

Added: dahdi-firmware/build-area
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/build-area?rev=6977&op=file
==============================================================================
--- dahdi-firmware/build-area (added)
+++ dahdi-firmware/build-area Sun Apr  5 19:50:12 2009
@@ -1,0 +1,1 @@
+link ../build-area

Propchange: dahdi-firmware/build-area
------------------------------------------------------------------------------
    svn:special = *

Added: dahdi-firmware/tarballs
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/tarballs?rev=6977&op=file
==============================================================================
--- dahdi-firmware/tarballs (added)
+++ dahdi-firmware/tarballs Sun Apr  5 19:50:12 2009
@@ -1,0 +1,1 @@
+link ../tarballs

Propchange: dahdi-firmware/tarballs
------------------------------------------------------------------------------
    svn:special = *

Propchange: dahdi-firmware/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: dahdi-firmware/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/README.Debian?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/README.Debian (added)
+++ dahdi-firmware/trunk/debian/README.Debian Sun Apr  5 19:50:12 2009
@@ -1,0 +1,19 @@
+This package includes the non-free firmwares from the package dahdi-linux.
+
+
+Xorcom firmwares (drivers/dahdi/xpp/firmwares/ ) included in /usr/share/dahdi.
+
+The Digium firmwares are not included in the dahdi-linux tarball itself
+and I am yet to find any explicit distribution license for them.
+
+This package does, however, include the exact makefile included in the
+the dahdi-linux tarball that is used to download the firmware. It is 
+placed at /usr/share/dahdi/digium-firm .
+
+To download the Digium firmwares, run:
+
+  /usr/share/dahdi/get-digium-firmware
+
+
+Also note that the package will not attempt to remove old downloaded 
+firmwares on 'purge' as I'm not yet sure how to do that safely.

Added: dahdi-firmware/trunk/debian/TODO.Debian
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/TODO.Debian?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/TODO.Debian (added)
+++ dahdi-firmware/trunk/debian/TODO.Debian Sun Apr  5 19:50:12 2009
@@ -1,0 +1,4 @@
+* Repackage source tarball?
+* Any way to provide a safe purge?
+* Is there actually a way to include the Digium firmwares? Likely no.
+* We don't really need the DAHDI README here.

Added: dahdi-firmware/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/changelog?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/changelog (added)
+++ dahdi-firmware/trunk/debian/changelog Sun Apr  5 19:50:12 2009
@@ -1,0 +1,5 @@
+dahdi-firmware (1:2.1.0.4-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 20 Nov 2008 12:01:53 +0200

Added: dahdi-firmware/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/control?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/control (added)
+++ dahdi-firmware/trunk/debian/control Sun Apr  5 19:50:12 2009
@@ -1,0 +1,24 @@
+Source: dahdi-firmware
+Section: non-free/comm
+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, cdbs
+Standards-Version: 3.8.0
+Homepage: http://www.asterisk.org/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/dahdi-linux/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/dahdi-linux/?op=log
+
+Package: dahdi-firmware
+Section: non-free/comm
+Architecture: all
+Depends: ${shlibs:Depends}
+Replaces: zaptel-firmware
+Conflicts: zaptel-firmware
+Description: DAHDI-linux userspace parts
+ DAHDI (formly Zaptel) is an interface for telephony devices used by e.g. 
+ the Asterisk PBX software. The dahdi-* packages provide the kernel 
+ DAHDI kernel modules and their required setup environment.
+ .
+ This package includes the minimal Linux-specific userspace parts: udev 
+ configuration, xpp initialization scripts.

Added: dahdi-firmware/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/copyright?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/copyright (added)
+++ dahdi-firmware/trunk/debian/copyright Sun Apr  5 19:50:12 2009
@@ -1,0 +1,100 @@
+COPIED VERBATIM FROM dahdi-linux . NEEDS REVIEW
+
+This package was debianized by Matt Zimmerman <mdz at debian.org> on
+Mon, 17 Jun 2002 10:31:21 -0400.
+
+It was downloaded from
+  http://www.asterisk.org/
+bristuff patch was downloaded from
+  http://www.junghanns.net/download/
+florz' patch for the zaphfc driver was downloaded from
+  http://zaphfc.florz.dyndns.org/
+
+Upstream source has been modified to comply with the Debian Free 
+Software Guildlines (DFSG), by the removal of the firmware files:
+
+    wct4xxp/OCT6114-128D.ima
+
+xpp/LICENSE.firmware permits redistribution but does not mention
+modification, which is a requirement of Debian Policy 2.1 ("Derived works").
+
+
+Upstream Authors: Jim Dixon / Zapate Telephony, Linux Support Services, Inc.
+
+Copyright (from zaptel.c):
+
+ * Copyright (C) 2001 Jim Dixon / Zapata Telephony.
+ * Copyright (C) 2001 Linux Support Services, Inc.
+ *
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program 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 General Public License for more details.
+
+On Debian systems, a copy of the GNU General Public License may be found in
+/usr/share/common-licenses/GPL.
+
+Other Portions:
+
+ * Copyright (C) 2001-2005, Digium, Inc.
+ * Copyright (C) 2002 Steve Underwood
+sethdlc.c: * Copyright (C) 2000 Krzysztof Halasa <khc at pm.waw.pl>
+ztd-loc.c: * Copyright (C) 2004, Axialys Interactive
+ztdummy.c: * Copyright (C) 2002, Hermes Softlab
+
+debian/patches/bristuff.dpatch, zaphfc, qozap, cwain, ztgsm:
+ * Copyright (C) 2002, 2003, 2004, 2005 Junghanns.NET GmbH
+
+debian/patches/zaphfc-florz.dpatch:
+ * Copyright (C) 2004, 2005, 2006  Florian Zumbiehl <florz at gmx.de>
+
+vzaphfc is derived from bristuff and since enhanced by:
+ * Copyright (C) 2004-2006, Daniele "Vihai" Orlandi <daniele at orlandi.com>
+ * Copyright (C) 2006, headissue GmbH; Jens Wilke <jw_vzaphfc at headissue.com>
+
+Files in the xpp/ subdirectory:
+
+* Written by Oron Peled <oron at actcom.co.il>
+* Copyright (C) 2004-2006, Xorcom
+
+opvxa1200.c:
+* OpenVox A1200P FXS/FXO Interface Driver for Zapata Telephony interface
+*
+* Modify from wctdm.c by MiaoLin<miaolin at openvox.com.cn>
+
+opvxa1200.c is available for download from 
+http://www.openvox.com.cn/downloadsFile/a1200p-a800p_driver_with_dahdi.c
+
+wcopenpci.c is from the Voicetronix zaptel distribution at
+http://www.voicetronix.com/Downloads/asterisk/
+Copyright (C) 2001, Linux Support Services, Inc.
+Copyright (C) 2005 - 2007, Voicetronix
+
+
+Patch oslec_kernelorg is based on the Linux Kernel distribution (see 
+README.Debian). Part of the Open Source Line Echo Canceller (OSLEC) project.
+
+echo.c: * Copyright (C) 2001, 2003 Steve Underwood, 2007 David Rowe
+oslec.h:  Copyright (C) 2007 David Rowe
+oslec_wrap.c:  Copyright (C) 2007 David Rowe
+fir.h: * Copyright (C) 2002 Steve Underwood
+bit_operations.h: * Copyright (C) 2006 Steve Underwood
+echo.h: * Copyright (C) 2001 Steve Underwood and 2007 David Rowe
+
+mmx.h:
+* mmx.h
+ * Copyright (C) 1997-2001 H. Dietz and R. Fisher
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg 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 of the License, or (at your option) any later version.

Added: dahdi-firmware/trunk/debian/get-digium-firmware
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/get-digium-firmware?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/get-digium-firmware (added)
+++ dahdi-firmware/trunk/debian/get-digium-firmware Sun Apr  5 19:50:12 2009
@@ -1,0 +1,28 @@
+#!/bin/sh
+
+# get-digium-firmware: Download firmware for Digium's hardware.
+#
+# This script is a trivial wrapper around the Makefile originally from 
+# drivers/dahdi/firmware in the dahdi-linux source distribution.
+
+# Written by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+# Copyright (C) 2009, Xorcom
+#
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along 
+# with this program; if not, If not, see <http://www.gnu.org/licenses/>.
+
+DIGIUM_FIRMWARE_DIR="/var/lib/dahdi/digium-firm"
+
+make -C "$DIGIUM_FIRMWARE_DIR" HOTPLUG_FIRMWARE=yes hotplug-install

Propchange: dahdi-firmware/trunk/debian/get-digium-firmware
------------------------------------------------------------------------------
    svn:executable = *

Added: dahdi-firmware/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/install?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/install (added)
+++ dahdi-firmware/trunk/debian/install Sun Apr  5 19:50:12 2009
@@ -1,0 +1,3 @@
+drivers/dahdi/xpp/firmwares/*.hex	usr/share/dahdi
+drivers/dahdi/firmware/*		var/lib/dahdi/digium-firm
+debian/get-digium-firmware		usr/share/dahdi

Added: dahdi-firmware/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/rules?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/rules (added)
+++ dahdi-firmware/trunk/debian/rules Sun Apr  5 19:50:12 2009
@@ -1,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+FILENAME := dahdi-firmware_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+URL := http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-$(DEB_UPSTREAM_VERSION).tar.gz
+
+export DEB_BUILD_OPTIONS = noopt
+
+#build/libpri-dev::
+#	$(MAKE)
+
+#install/libpri-dev::
+#	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(FILENAME) from $(URL) ...
+	@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)

Propchange: dahdi-firmware/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: dahdi-firmware/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-firmware/trunk/debian/watch?rev=6977&op=file
==============================================================================
--- dahdi-firmware/trunk/debian/watch (added)
+++ dahdi-firmware/trunk/debian/watch Sun Apr  5 19:50:12 2009
@@ -1,0 +1,5 @@
+version=3
+opts=dversionmangle=s/\~dfsg//,downloadurlmangle=s/.*ref=// \
+	http://downloads.digium.com/pub/telephony/dahdi-linux/releases/ \
+	http://www\.digium\.com/elqNow/elqRedir\.htm\?ref=http://downloads\.digium\.com/pub/telephony/dahdi-linux/releases/dahdi-linux-([0-9.]*)\.tar\.gz\
+	debian svn-upgrade




More information about the Pkg-voip-commits mailing list