summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-10-17 21:09:53 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-10-17 21:09:53 +0000
commita308531dc5542b9e36d01a4942263d58392264c3 (patch)
tree951a370f9894b0fb05ec9cd3495d80ceaae802f3 /net-dialup/misdn
parentFixed installation of default /shared/ reported in bug #106906. (diff)
downloadgentoo-2-a308531dc5542b9e36d01a4942263d58392264c3.tar.gz
gentoo-2-a308531dc5542b9e36d01a4942263d58392264c3.tar.bz2
gentoo-2-a308531dc5542b9e36d01a4942263d58392264c3.zip
Version bump
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'net-dialup/misdn')
-rw-r--r--net-dialup/misdn/ChangeLog7
-rw-r--r--net-dialup/misdn/files/digest-misdn-200510171
-rw-r--r--net-dialup/misdn/misdn-20051017.ebuild98
3 files changed, 105 insertions, 1 deletions
diff --git a/net-dialup/misdn/ChangeLog b/net-dialup/misdn/ChangeLog
index e1bf9a5d1615..fd18b25413ad 100644
--- a/net-dialup/misdn/ChangeLog
+++ b/net-dialup/misdn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/misdn
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.5 2005/09/03 20:05:10 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.6 2005/10/17 21:09:53 genstef Exp $
+
+*misdn-20051017 (17 Oct 2005)
+
+ 17 Oct 2005; Stefan Schweizer <genstef@gentoo.org> +misdn-20051017.ebuild:
+ Version bump
03 Sep 2005; Stefan Briesenick <sbriesen@gentoo.org> files/misdn.modulesd:
updated modules.d/misdn config
diff --git a/net-dialup/misdn/files/digest-misdn-20051017 b/net-dialup/misdn/files/digest-misdn-20051017
new file mode 100644
index 000000000000..505aa721ec48
--- /dev/null
+++ b/net-dialup/misdn/files/digest-misdn-20051017
@@ -0,0 +1 @@
+MD5 dafe284107aab11fb420c1e99e240ebf mISDN-CVS-2005-10-17.tar.bz2 259343
diff --git a/net-dialup/misdn/misdn-20051017.ebuild b/net-dialup/misdn/misdn-20051017.ebuild
new file mode 100644
index 000000000000..92522de55e29
--- /dev/null
+++ b/net-dialup/misdn/misdn-20051017.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-20051017.ebuild,v 1.1 2005/10/17 21:09:53 genstef Exp $
+
+inherit eutils linux-mod
+
+MY_P=mISDN-CVS-${PV:0:4}-${PV:4:2}-${PV:6:2}
+DESCRIPTION="mISDN (modular ISDN) is the new ISDN stack of the linux kernel version 2.6."
+HOMEPAGE="http://www.isdn4linux.de/mISDN"
+SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2
+ ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2
+ ftp://ftp.cs.tu-berlin.de/pub/net/isdn/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2
+ ftp://ftp.gwdg.de/pub/linux/isdn/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RDEPEND=">=net-dialup/capi4k-utils-20050322-r1"
+S=${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN/
+
+MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "sedlfax" "w6692pci")
+MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "SPEEDFAX" "W6692" )
+
+pkg_setup() {
+ CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL"
+ linux-mod_pkg_setup
+ MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:)
+ mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:)
+ mISDN_l2(net:) mISDN_dsp(net:)"
+ BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} EXTRA_CFLAGS=-I${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y"
+ BUILD_TARGETS="modules"
+ #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m
+ # the i4l->capi simulation seems to be only for kernel 2.4
+
+ if [ -n "${MISDN_CARDS}" ]; then
+ #Check existence of user selected cards
+ for USERCARD in ${MISDN_CARDS} ; do
+ for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do
+ if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then
+ MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)"
+ [ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)"
+ BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y"
+ continue 2
+ fi
+ done
+ die "Module ${USERCARD} not present in ${P}"
+ done
+ else
+ einfo
+ einfo "You can control the modules which are built with the variable"
+ einfo "MISDN_CARDS which should contain a blank separated list"
+ einfo "of a selection from the following cards:"
+ einfo " ${MISDN_MODULES[*]}"
+ einfo
+ ewarn "I give you the chance of hitting Ctrl-C and make the necessary"
+ ewarn "adjustments in /etc/make.conf."
+
+ # enable everything
+ for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do
+ MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)"
+ [ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)"
+ BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y"
+ done
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:pci_find_subsys:pci_get_subsys:g" hfc_multi.c
+ sed -i "s:PCI_DEVICE_ID_SITECOM_DC105:PCI_DEVICE_ID_SITECOM_DC105V2:" hfc_pci.c
+}
+
+src_compile() {
+ mv Makefile.v2.6 Makefile
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ insinto /etc/modules.d
+ newins ${FILESDIR}/misdn.modulesd misdn
+
+ dodoc Kconfig.v2.6
+}
+
+pkg_postinst() {
+ update_depmod
+ update_modules
+
+ ewarn
+ ewarn "This driver is still under heavy development"
+ ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org"
+ ewarn "Please report driver bugs to the mISDN mailing-list:"
+ ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux"
+}