diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-10 22:39:57 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-10 22:39:57 +0000 |
commit | 0864894a483483d641199dd2aa840d422178ddee (patch) | |
tree | cdc4552167d4ced21b64da9d768bff61c2ad40b9 /net-dialup/capi4k-utils | |
parent | aa-sources removal (diff) | |
download | gentoo-2-0864894a483483d641199dd2aa840d422178ddee.tar.gz gentoo-2-0864894a483483d641199dd2aa840d422178ddee.tar.bz2 gentoo-2-0864894a483483d641199dd2aa840d422178ddee.zip |
add AVM firmware files
Diffstat (limited to 'net-dialup/capi4k-utils')
-rw-r--r-- | net-dialup/capi4k-utils/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/Manifest | 26 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/capi4k-utils-20041006-r1.ebuild | 90 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/digest-capi4k-utils-20041006-r1 | 5 |
4 files changed, 111 insertions, 18 deletions
diff --git a/net-dialup/capi4k-utils/ChangeLog b/net-dialup/capi4k-utils/ChangeLog index eea2c6b2aa80..983cd732c4c6 100644 --- a/net-dialup/capi4k-utils/ChangeLog +++ b/net-dialup/capi4k-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/capi4k-utils # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/ChangeLog,v 1.16 2004/10/31 22:30:12 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/ChangeLog,v 1.17 2004/11/10 22:39:56 mrness Exp $ + +*capi4k-utils-20041006-r1 (11 Nov 2004) + + 11 Nov 2004; Alin Nastac <mrness@gentoo.org> +capi4k-utils-20041006-r1.ebuild: + Add a bunch of AVM firmware files, thanks to Stefan Briesenick <sbriesen@gmx.de>. + Closing #69324. 01 Nov 2004; Daniel Black <dragonheart@gentoo.org> files/capi-init-20041006: Init script fix as per bug #69558. Thanks to Stefan Briesenick diff --git a/net-dialup/capi4k-utils/Manifest b/net-dialup/capi4k-utils/Manifest index fe2d6ee98e68..955127f08fdf 100644 --- a/net-dialup/capi4k-utils/Manifest +++ b/net-dialup/capi4k-utils/Manifest @@ -1,23 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 22354caf6445da21e5ebe8609a9e7012 capi4k-utils-20041006.ebuild 2267 +MD5 30e58c4048131fb329730db952b720bb ChangeLog 2576 MD5 03aaea36415b2221e3057baee7f1662f capi4k-utils-20021026.ebuild 1346 -MD5 e97bcb3ddf5985150a05bf7466dd09c6 ChangeLog 2350 -MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 8a68cd59daa9bd143ce9987778320b62 capi4k-utils-20040810.ebuild 1760 +MD5 22354caf6445da21e5ebe8609a9e7012 capi4k-utils-20041006.ebuild 2267 +MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 +MD5 d81f9c292d3b4957597ae22d21397ee7 capi4k-utils-20041006-r1.ebuild 2742 MD5 6c75232315b3bb9c63d8e566c24e396a files/capi 543 -MD5 8b4a7394c2826badb822b9575dbfbd4d files/capi4k-utils-2004-10-06.patch 2144 -MD5 14a08bf121eef97390c18eafd8458bc7 files/digest-capi4k-utils-20021026 75 -MD5 f2524d2cc37ffcbc2096a4f0ac7177c7 files/digest-capi4k-utils-20041006 75 -MD5 daf5a35ac5aeac77c4ac69274ed15395 files/digest-capi4k-utils-20040810 75 MD5 befd926d2f898c15846c2f7452853ec1 files/capi-init-20040810 609 MD5 b1de4263d145b4fb13baf0e4791e49a0 files/capi-init-20041006 617 MD5 9bc030e6ab061e50f16efb0def04f0b6 files/capi4k-utils-2004-10-06-fPIC.patch 286 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBhWd6mdTrptrqvGERAp+6AJ49cAGr7gFfXji6qvHgITo+hvjnOgCfSLav -ElLn7JJyiFjBQnX0UD/ceLQ= -=ADRp ------END PGP SIGNATURE----- +MD5 8b4a7394c2826badb822b9575dbfbd4d files/capi4k-utils-2004-10-06.patch 2144 +MD5 14a08bf121eef97390c18eafd8458bc7 files/digest-capi4k-utils-20021026 75 +MD5 daf5a35ac5aeac77c4ac69274ed15395 files/digest-capi4k-utils-20040810 75 +MD5 f2524d2cc37ffcbc2096a4f0ac7177c7 files/digest-capi4k-utils-20041006 75 +MD5 41806879bfb1f3d6784fc8ba60cfa936 files/digest-capi4k-utils-20041006-r1 419 diff --git a/net-dialup/capi4k-utils/capi4k-utils-20041006-r1.ebuild b/net-dialup/capi4k-utils/capi4k-utils-20041006-r1.ebuild new file mode 100644 index 000000000000..077fcd07b9f1 --- /dev/null +++ b/net-dialup/capi4k-utils/capi4k-utils-20041006-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20041006-r1.ebuild,v 1.1 2004/11/10 22:39:56 mrness Exp $ + +inherit eutils rpm + +YEAR_PV=${PV:0:4} +MON_PV=${PV:4:2} +DAY_PV=${PV:6:2} + +MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV} +AVM_FIRMWARE_PREFIX="ftp://ftp.quicknet.nl/pub/Linux/mungo.homelinux.org/files/current/all/noarch/capi-firmware-avm-" +AVM_FIRMWARE_SUFFIX=".noarch.rpm" + +DESCRIPTION="Capi4Linux Utils" +HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" +S=${WORKDIR}/${PN} +SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz ftp://ftp.in-berlin.de/pub/capi4linux/OLD/${MY_P}.tar.gz + ${AVM_FIRMWARE_PREFIX}b1-3.11.03-4${AVM_FIRMWARE_SUFFIX} + ${AVM_FIRMWARE_PREFIX}c2-3.11.04-4${AVM_FIRMWARE_SUFFIX} + ${AVM_FIRMWARE_PREFIX}c4-3.11.04-4${AVM_FIRMWARE_SUFFIX} + ${AVM_FIRMWARE_PREFIX}t1-3.09.07-4${AVM_FIRMWARE_SUFFIX}" + +DEPEND="virtual/linux-sources + dev-lang/perl + >=sys-apps/sed-4 + virtual/os-headers + sys-devel/automake + sys-devel/autoconf + sys-devel/libtool + app-arch/rpm" + +RDEPEND="" + +src_unpack() { + rpm_src_unpack || die "failed to unpack sources or firmware files" + cd ${S} + epatch ${FILESDIR}/${MY_P}.patch || die "patch failed" + epatch ${FILESDIR}/${MY_P}-fPIC.patch || die "patch failed" + sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' */*.c || die "sed failed" + sed -i -e "s:^CFLAGS\(.*\)-O2:CFLAGS\1${CFLAGS}:g" */Makefile.am || die "sed failed" +} + +src_compile() { + # required by fPIC patch + cd ${S}/capi20 || die + ebegin "Updating autotools-generated files" + aclocal -I . || die "aclocal failed" + automake -a || die "automake failed" + autoconf || die "autoconf failed" + libtoolize -f -c || die "libtoolize failed" + eend $? + cd ${S} || die + + emake subconfig || die + emake || die +} + +src_install() { + dodir /dev + emake DESTDIR=${D} install || die + rm -rf ${D}/dev + newdoc rcapid/README README.rcapid + newdoc pppdcapiplugin/README README.pppdcapiplugin + docinto examples.pppdcapiplugin; dodoc pppdcapiplugin/examples/* + newinitd ${FILESDIR}/capi-init-${PV} capi + insinto /etc + insopts -m 0600 + doins capiinit/capi.conf + + #install AVM firmware files + insinto /usr/share/isdn + insopts -m 0444 + doins ${WORKDIR}/usr/share/isdn/* +} + +pkg_postinst() { + einfo "To use isdn4linux with CAPI replace" + einfo "I4L_MODULE=\"hisax\" with I4L_MODULE=\"capidrv\"," + einfo "start /etc/init.d/capi and load the module" + einfo "capidrv." + einfo "" + einfo "Annotation for active AVM ISDN boards (B1 ISA/PCI, ...):" + einfo " This ebuild has installed a bunch of firmware files" + einfo " which are to be found in /usr/share/isdn" +} diff --git a/net-dialup/capi4k-utils/files/digest-capi4k-utils-20041006-r1 b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20041006-r1 new file mode 100644 index 000000000000..953ff309925d --- /dev/null +++ b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20041006-r1 @@ -0,0 +1,5 @@ +MD5 54992ff362ca44629fdf59773a6864cd capi4k-utils-2004-10-06.tar.gz 743667 +MD5 c2441516e432dae9e4275abd59ed3190 capi-firmware-avm-b1-3.11.03-4.noarch.rpm 270158 +MD5 3dc735fd7b649d359181531112597412 capi-firmware-avm-c2-3.11.04-4.noarch.rpm 213110 +MD5 5e23ea2cae38997822ca3cda3772c55b capi-firmware-avm-c4-3.11.04-4.noarch.rpm 213247 +MD5 911712ab9623f87276875cf2679f04c7 capi-firmware-avm-t1-3.09.07-4.noarch.rpm 234798 |