[Pkg-voip-commits] [dahdi-firmware] 01/71: dahdi-firmware: a package for the DAHDI firmwares

tzafrir at debian.org tzafrir at debian.org
Thu Mar 31 20:24:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-firmware.

commit 0b43d2224864d27354292157ae9cb005e01d31ea
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Sun Apr 5 19:50:12 2009 +0000

    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)
    
    
    git-svn-id: svn://anonscm.alioth.debian.org/svn/pkg-voip/dahdi-firmware/trunk@6977 5e74be4b-f5d6-0310-a852-e9e23c5afa6a
---
 debian/README.Debian       |  19 +++++++++
 debian/TODO.Debian         |   4 ++
 debian/changelog           |   5 +++
 debian/control             |  24 +++++++++++
 debian/copyright           | 100 +++++++++++++++++++++++++++++++++++++++++++++
 debian/get-digium-firmware |  28 +++++++++++++
 debian/install             |   3 ++
 debian/rules               |  20 +++++++++
 debian/watch               |   5 +++
 9 files changed, 208 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..0c7b5ce
--- /dev/null
+++ b/debian/README.Debian
@@ -0,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.
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
new file mode 100644
index 0000000..eb00fba
--- /dev/null
+++ b/debian/TODO.Debian
@@ -0,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.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..044bf92
--- /dev/null
+++ b/debian/changelog
@@ -0,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
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5057c0a
--- /dev/null
+++ b/debian/control
@@ -0,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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ebf3b91
--- /dev/null
+++ b/debian/copyright
@@ -0,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.
diff --git a/debian/get-digium-firmware b/debian/get-digium-firmware
new file mode 100755
index 0000000..5e7d960
--- /dev/null
+++ b/debian/get-digium-firmware
@@ -0,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
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..08dcec2
--- /dev/null
+++ b/debian/install
@@ -0,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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dc02dc8
--- /dev/null
+++ b/debian/rules
@@ -0,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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..52f87eb
--- /dev/null
+++ b/debian/watch
@@ -0,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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-firmware.git



More information about the Pkg-voip-commits mailing list