--- misdn-kernel-1.1.1.orig/debian/rules.modules +++ misdn-kernel-1.1.1/debian/rules.modules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +PACKAGE := misdn-modules +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +.PHONY: kdist_config +kdist_config: prep-deb-files + +.PHONY: binary-modules +binary-modules: kdist_config + dh_testdir + dh_testroot + dh_clean -k + + ln -sf /usr/include $(CURDIR) + + # Build modules + $(MAKE) -C $(CURDIR) \ + KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config \ + INSTALL_PREFIX=$(CURDIR)/debian/$(PKGNAME) KMODPATH=/lib/modules/$(KVERS)/kernel/drivers/isdn/misdn + + # Install modules + $(MAKE) -C /lib/modules/$(KVERS)/build SUBDIRS=$(CURDIR)/drivers/isdn/hardware/mISDN \ + INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) KMODPATH=/lib/modules/$(KVERS)/kernel/drivers/isdn/misdn \ + modules_install + + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installmodules + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + +.PHONY: kdist_clean +kdist_clean: + dh_testdir + dh_testroot + dh_clean + $(MAKE) -C $(CURDIR) clean \ + KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config --- misdn-kernel-1.1.1.orig/debian/control +++ misdn-kernel-1.1.1/debian/control @@ -0,0 +1,47 @@ +Source: misdn-kernel +Section: non-free/net +Priority: optional +Maintainer: Simon Richter +Build-Depends: cdbs, debhelper (>= 5.0.37), bzip2, dpatch +Standards-Version: 3.7.2 + +Package: misdn-source +Architecture: all +Depends: module-assistant, debhelper (>= 5.0.37), bzip2, linux-headers-misdn +Recommends: misdn-config (= ${Source-Version}) +Suggests: kernel-package +Conflicts: misdn-kernel-source (<< ${Source-Version}) +Replaces: misdn-kernel-source (<< ${Source-Version}) +Provides: misdn-kernel-source +Description: Source code for the mISDN modules + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + You need this package if you want to compile the mISDN modules to accompany + your custom kernel. If you are using a kernel shipped by Debian, you can also + install the corresponding misdn-kernel-modules-... package. + +Package: linux-headers-misdn +Architecture: all +Description: Header files for the mISDN drivers + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + You need this package if you intend to compile userspace applications that + access mISDN specific interfaces. + +Package: misdn-config +Architecture: all +Depends: xsltproc +Description: Init script and config files for the mISDN drivers + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + This package contains the init and config script and the config templates + for the mISDN drivers. + . + You need this package if you intend to compile userspace applications that + access mISDN specific interfaces. --- misdn-kernel-1.1.1.orig/debian/linux-headers-misdn.install +++ misdn-kernel-1.1.1/debian/linux-headers-misdn.install @@ -0,0 +1,2 @@ +include/linux/isdn_compat.h usr/include/linux +include/linux/mISDNif.h usr/include/linux --- misdn-kernel-1.1.1.orig/debian/misdn-config.dirs +++ misdn-kernel-1.1.1/debian/misdn-config.dirs @@ -0,0 +1,3 @@ +etc/init.d +usr/lib/ +usr/sbin/ --- misdn-kernel-1.1.1.orig/debian/misdn-source.dirs +++ misdn-kernel-1.1.1/debian/misdn-source.dirs @@ -0,0 +1 @@ +usr/src/ --- misdn-kernel-1.1.1.orig/debian/copyright +++ misdn-kernel-1.1.1/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Simon Richter on +Tue, 3 Aug 2004 11:11:56 +0200. +It was updated by Korbinian Rosenegger on +Sun, 25 Mar 2007 15:31:20 +0100 with madwifi package as template. + +It was downloaded from http://www.misdn.org/ + +Upstream Authors: Karsten Keil + Werner Cornelius + Andreas Eversberg + Fritz Elfert + Christian Richter + +Copyright: + +Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Karsten Keil +Copyright (C) 1999 Werner Cornelius +Copyright (C) 2002, 2003 Andreas Eversberg +Copyright (C) 2001 Steve Underwood +Copyright (C) 2005, 2006 Christian Richter +Copyright (C) 2002 Digium, Inc. +Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Fritz Elfert +Copyright (C) 2005, 2006 Cologne Chip AG + + This package 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; version 2 dated June, 1991. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; 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 General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- misdn-kernel-1.1.1.orig/debian/changelog +++ misdn-kernel-1.1.1/debian/changelog @@ -0,0 +1,101 @@ +misdn-kernel (1.1.1-0.1) unstable; urgency=low + + * New upstream release (Closes: #351895) + I think the bug report means asterisk-chan-misdn, but I plan to package also + newest version of it, so I close this bug. But the report should be reassigned. + + -- Korbinian Rosenegger Mon, 19 Mar 2007 02:11:36 +0100 + +misdn-kernel (0.0.0+cvs20061029-4) unstable; urgency=low + + * Updated to new kernel ABI + + -- Simon Richter Mon, 27 Nov 2006 16:31:25 +0100 + +misdn-kernel (0.0.0+cvs20061029-3) unstable; urgency=low + + * Fix control file generation and parsing to avoid building modules for + flavours that have "modules: false" set, and to avoid the substring match + "mips" in "mipsel" (Closes: #385813) + + -- Simon Richter Wed, 1 Nov 2006 21:54:52 +0100 + +misdn-kernel (0.0.0+cvs20061029-2) unstable; urgency=low + + * Adapted toplevel debian/rules to also use $KPKG_DEST_DIR. Interestingly + enough, it worked during my testing here. + + -- Simon Richter Wed, 1 Nov 2006 20:20:04 +0100 + +misdn-kernel (0.0.0+cvs20061029-1) unstable; urgency=low + + * New upstream release + * Using $KPKG_DEST_DIR instead of $MODDIR as the output directory + (Closes: #395245) + + -- Simon Richter Wed, 1 Nov 2006 13:33:54 +0100 + +misdn-kernel (0.0.0+cvs20060902-1) unstable; urgency=low + + * New upstream snapshot + * Updated to kernel 2.6.17-2 (Closes: #352121, #343700) + * Fix building with module-assistant, should also work with make-kpkg + (Closes: #296167, #305197) + * Modules are built for standard kernels (Closes: #304511) + * Reactivated HFC-S USB, as it appears to be fixed (Closes: #363241) + * Activated new NetJet driver + + -- Simon Richter Sat, 2 Sep 2006 20:34:39 +0200 + +misdn-kernel (0.0.0+cvs20060214-1) unstable; urgency=low + + * Updated to 2.6.16 + * New upstream "release" + + -- Simon Richter Tue, 21 Mar 2006 16:33:47 +0100 + +misdn-kernel (0.0.0+cvs20051212-1) unstable; urgency=low + + * Reworked the build scripting, a lot. + * New version (now using "mqueue" branch) + * Switched to new kernel packages, dropping sarge support (sorry). + * Disabled HFC-USB support for this version, APIs in flux + + -- Simon Richter Sun, 12 Feb 2006 01:12:50 +0100 + +misdn-kernel (0.0.0+cvs20050408-2) unstable; urgency=low + + * Bumped build-dep to point to a newer kernel + * Cleaned up debian/rules + + -- Simon Richter Sat, 30 Apr 2005 00:43:23 +0200 + +misdn-kernel (0.0.0+cvs20050408-1) unstable; urgency=low + + * New upstream version + * Allow building against 2.6.8 kernel in sarge + + -- Simon Richter Fri, 8 Apr 2005 16:30:27 +0200 + +misdn-kernel (0.0.0+cvs20050402-1) unstable; urgency=low + + * Moved to 2.6.10 (Closes: #302448) + * New upstream version + + -- Simon Richter Sat, 2 Apr 2005 01:13:07 +0200 + +misdn-kernel (0.0.0+cvs20041116-1) unstable; urgency=low + + * New upstream version + * Moved to 2.6.9 + * Corrected build dependencies (Closes: #281273) + * Fixed dependency of misdn-kernel-source (Closes: #281716) + + -- Simon Richter Tue, 16 Nov 2004 15:30:28 +0100 + +misdn-kernel (0.0.0+cvs20041018-1) unstable; urgency=low + + * Initial Release (Closes: #263085). + + -- Simon Richter Mon, 18 Aug 2004 11:11:56 +0200 + --- misdn-kernel-1.1.1.orig/debian/control.modules.in +++ misdn-kernel-1.1.1/debian/control.modules.in @@ -0,0 +1,23 @@ +Source: misdn-kernel +Section: non-free/net +Priority: optional +Maintainer: Simon Richter +Build-Depends: debhelper (>= 5.0.37), bzip2, linux-headers-misdn +Standards-Version: 3.7.2 + +Package: misdn-modules-_KVERS_ +Architecture: any +Depends: linux-image-_KVERS_ | kernel-image-_KVERS_, misdn-config +Provides: misdn-modules +Description: mISDN modules for Linux (kernel _KVERS_) + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + This package contains the compiled kernel modules for _KVERS_ + . + If you have compiled your own kernel, you will most likely need to build + your own misdn-kernel-modules. The misdn-kernel-source package has been + provided for use with the Debian kernel-package utility to produce a version + of misdn-kernel-module for your kernel. + --- misdn-kernel-1.1.1.orig/debian/misdn-source.links +++ misdn-kernel-1.1.1/debian/misdn-source.links @@ -0,0 +1 @@ +usr/share/modass/packages/default.sh usr/share/modass/overrides/misdn-source --- misdn-kernel-1.1.1.orig/debian/compat +++ misdn-kernel-1.1.1/debian/compat @@ -0,0 +1 @@ +5 --- misdn-kernel-1.1.1.orig/debian/rules +++ misdn-kernel-1.1.1/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_INSTALL_DOCS_ALL := -XTHANKS + +# Please use one of the following version scheme/URL combinations, and +# use 'debian/rules get-orig-source' to obtain the orig.tar.gz +# +# Upstream Major Release +# Version: 1.1.1-1 +# URL: http://www.misdn.org/downloads/ +# +DEBVERS := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p') +UPSVERS := $(shell echo $(DEBVERS) | cut -d'+' -f1) + +RELVERS := $(shell echo $(UPSVERS) | sed -n 's/\./_/pg') +UPSTAR := mISDN-$(RELVERS).tar.gz +UPSURL := http://www.misdn.org/downloads/releases/$(UPSTAR) + +ORIGTAR := misdn-kernel_$(DEBVERS).orig.tar.gz + +install/misdn-source:: + # Enforce executable bit on debian/rules, and create directory + # structure for modules source + install -D -m 0755 debian/rules.modules \ + debian/tmp/usr/src/modules/misdn/debian/rules + + # Prepare the other debian stuff + for f in *.modules.in control compat copyright changelog; do \ + install -m 0644 debian/$$f \ + debian/tmp/usr/src/modules/misdn/debian/; \ + done + + mkdir -p debian/tmp/usr/src/modules/misdn/ + tar -c --exclude CVS drivers/ Makefile | (cd debian/tmp/usr/src/modules/misdn/ && tar x) +# ln -s /usr/include debian/tmp/usr/src/modules/misdn/ + + # Prepare the debian source tarball + tar jcf debian/misdn-source/usr/src/misdn.tar.bz2 \ + -C debian/tmp/usr/src modules + +install/misdn-config:: + $(MAKE) -C config install INSTALL_PREFIX=$(CURDIR)/debian/misdn-config + +get-orig-source: + @dh_testdir + @echo -e "Deb version:\t$(DEBVERS)" + @echo -e "Upstream MV:\t$(UPSVERS)" +ifneq "$(SNAPVERS)" "" + @echo -e "SVN version:\t$(SVNVERS)" +endif + @echo -e "Tarball URL:\t$(UPSURL)" + @test -d ../tarballs || mkdir -p ../tarballs + @wget -Nc -T10 -O ../tarballs/$(ORIGTAR) $(UPSURL) --- misdn-kernel-1.1.1.orig/debian/misdn-config.docs +++ misdn-kernel-1.1.1/debian/misdn-config.docs @@ -0,0 +1 @@ +config/README.mISDN