diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-09-24 00:00:46 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-09-24 00:00:46 +0000 |
commit | 658adbbfeb061e4b23552a93f2e2d09e827974d1 (patch) | |
tree | d0fd8499dc9c2c8a3db9ec9d46e5dfddd6f7226d /net-dialup | |
parent | clean up ugly ebuild (diff) | |
download | gentoo-2-658adbbfeb061e4b23552a93f2e2d09e827974d1.tar.gz gentoo-2-658adbbfeb061e4b23552a93f2e2d09e827974d1.tar.bz2 gentoo-2-658adbbfeb061e4b23552a93f2e2d09e827974d1.zip |
Version bump. Fixes bug #52001. bug #51054and bug Bug #43592
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/capi4k-utils/ChangeLog | 10 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/Manifest | 4 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/capi4k-utils-20040810.ebuild | 65 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/capi-init-20040810 | 25 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/digest-capi4k-utils-20040810 | 1 |
5 files changed, 103 insertions, 2 deletions
diff --git a/net-dialup/capi4k-utils/ChangeLog b/net-dialup/capi4k-utils/ChangeLog index 14a2610b92fc..93f98032581f 100644 --- a/net-dialup/capi4k-utils/ChangeLog +++ b/net-dialup/capi4k-utils/ChangeLog @@ -1,7 +1,15 @@ # ChangeLog for net-dialup/capi4k-utils # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 # Maintainer Alexander Holler <holler@ahsoftware.de> -# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/ChangeLog,v 1.9 2004/06/24 22:24:44 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/ChangeLog,v 1.10 2004/09/24 00:00:46 dragonheart Exp $ + +*capi4k-utils-20040810 (24 Sep 2004) + + 24 Sep 2004; Daniel Black <dragonheart@gentoo.org> + +files/capi-init-20040810, +capi4k-utils-20040810.ebuild: + Version bump. Fixes bug #52001. Hope it doesn't break 2.4 headers (otherwise + remove sed). Init script courtecy of Sven <skoehler@upb.de> fixes bug #51054 + Bug #43592 fixed because of the version bump. 24 Nov 2003; Heinrich Wendel <lanius@gentoo.org> capi4k-utils-20030616.ebuild: diff --git a/net-dialup/capi4k-utils/Manifest b/net-dialup/capi4k-utils/Manifest index f1d0f30f6532..e92774645450 100644 --- a/net-dialup/capi4k-utils/Manifest +++ b/net-dialup/capi4k-utils/Manifest @@ -1,9 +1,11 @@ +MD5 5c81d0d86bb446c6bd7012b245d6258d ChangeLog 1069 MD5 13fdd484fb075fd3f6197b1569cb2f18 capi4k-utils-20020701.ebuild 1133 MD5 03aaea36415b2221e3057baee7f1662f capi4k-utils-20021026.ebuild 1346 MD5 cfe7bbdd4bf971d18fb61439bb19e158 capi4k-utils-20030616.ebuild 2004 -MD5 5c81d0d86bb446c6bd7012b245d6258d ChangeLog 1069 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 +MD5 cfe7bbdd4bf971d18fb61439bb19e158 capi4k-utils-20040810.ebuild 2004 MD5 6c75232315b3bb9c63d8e566c24e396a files/capi 543 MD5 d4eb961f35cf41379f2574203166860f files/digest-capi4k-utils-20020701 75 MD5 14a08bf121eef97390c18eafd8458bc7 files/digest-capi4k-utils-20021026 75 MD5 4a13b34e5d2c5c120b83ca02719162fc files/digest-capi4k-utils-20030616 75 +MD5 daf5a35ac5aeac77c4ac69274ed15395 files/digest-capi4k-utils-20040810 75 diff --git a/net-dialup/capi4k-utils/capi4k-utils-20040810.ebuild b/net-dialup/capi4k-utils/capi4k-utils-20040810.ebuild new file mode 100644 index 000000000000..f158b7dfb2cc --- /dev/null +++ b/net-dialup/capi4k-utils/capi4k-utils-20040810.ebuild @@ -0,0 +1,65 @@ +# 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-20040810.ebuild,v 1.1 2004/09/24 00:00:46 dragonheart Exp $ + +YEAR_PV=${PV:0:4} +MON_PV=${PV:4:2} +DAY_PV=${PV:6:2} + +MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV} + +S=${WORKDIR}/${PN} +DESCRIPTION="Capi4Linux Utils" +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" +HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/linux-sources + dev-lang/perl + >=sys-apps/sed-4 + virtual/os-headers" + +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' */*.c +} + + +src_compile() { + + env CONFIG_SBINDIR=/usr/sbin CONFIG_BINDIR=/usr/bin CONFIG_MANDIR=/usr/share/man \ + 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 +} + +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 "Please download the latest firmware from" + einfo "ftp://ftp.in-berlin.de/pub/capi4linux and copy the files " + einfo "to /usr/lib/isdn and check your /etc/capi.conf file" + einfo "" +} diff --git a/net-dialup/capi4k-utils/files/capi-init-20040810 b/net-dialup/capi4k-utils/files/capi-init-20040810 new file mode 100644 index 000000000000..bc9d3f76dd0d --- /dev/null +++ b/net-dialup/capi4k-utils/files/capi-init-20040810 @@ -0,0 +1,25 @@ +#!/sbin/runscript +# 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/files/capi-init-20040810,v 1.1 2004/09/24 00:00:46 dragonheart Exp $ + +depend() { + after isapnp +} + +start() { + if [ ! -e /etc/capi.conf ] ; then + eerror "You're missing /etc/capi.conf (comes with a capi-driver)." + eerror "Emerge net-dialup/fcpci if you are having an AVM Fritz!Card PCI" + return 1 + fi + ebegin "Starting CAPI" + /usr/sbin/capiinit start + eend $? +} + +stop() { + ebegin "Stopping CAPI" + /usr/sbin/capiinit stop + eend $? +} diff --git a/net-dialup/capi4k-utils/files/digest-capi4k-utils-20040810 b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20040810 new file mode 100644 index 000000000000..72474d6b07ac --- /dev/null +++ b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20040810 @@ -0,0 +1 @@ +MD5 29cf523cbe577a71fd41e2bfc68a36ad capi4k-utils-2004-08-10.tar.gz 837463 |