diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2002-08-09 12:49:17 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2002-08-09 12:49:17 +0000 |
commit | fa15a2ebc83838d4dde681a43916b54e8953df46 (patch) | |
tree | b0c2747b49711a630131580f3c8155f550593b0e /net-dialup | |
parent | chmod 600 for /etc/ssh/sshd_config (diff) | |
download | historical-fa15a2ebc83838d4dde681a43916b54e8953df46.tar.gz historical-fa15a2ebc83838d4dde681a43916b54e8953df46.tar.bz2 historical-fa15a2ebc83838d4dde681a43916b54e8953df46.zip |
initial version, will be put on the iso
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/capi4k-utils/ChangeLog | 13 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/capi4k-utils-20020701.ebuild | 48 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/capi | 30 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/digest-capi4k-utils-20020701 | 1 |
4 files changed, 92 insertions, 0 deletions
diff --git a/net-dialup/capi4k-utils/ChangeLog b/net-dialup/capi4k-utils/ChangeLog new file mode 100644 index 000000000000..04a37e5d5083 --- /dev/null +++ b/net-dialup/capi4k-utils/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for net-dialup/capi4k-utils +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# Maintainer Alexander Holler <holler@ahsoftware.de> +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/ChangeLog,v 1.1 2002/08/09 12:49:17 verwilst Exp $ + +*capi4k-utils-20020701 (9 Aug 2002) + + 9 Aug 2002; Bart Verwilst <verwilst@gentoo.org> + + Initial ebuild in Portage. + + + diff --git a/net-dialup/capi4k-utils/capi4k-utils-20020701.ebuild b/net-dialup/capi4k-utils/capi4k-utils-20020701.ebuild new file mode 100644 index 000000000000..a4984441264f --- /dev/null +++ b/net-dialup/capi4k-utils/capi4k-utils-20020701.ebuild @@ -0,0 +1,48 @@ +# Copyright 2002 Alexander Holler +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20020701.ebuild,v 1.1 2002/08/09 12:49:17 verwilst Exp $ + +MY_P=capi4k-utils-2002-07-01 +S=${WORKDIR}/${PN} +DESCRIPTION="Capi4Linux Utils" +SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz" +HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux.de/" +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="x86" + +DEPEND="virtual/linux-sources + sys-devel/automake" +# autoconf is a dependency of automake + +src_compile() { + + emake subconfig || die + emake || die + +} + +src_install() { + + dodir /dev + make install DESTDIR=${D} || die + rm -rf ${D}/dev + newdoc rcapid/README README.rcapid + newdoc pppdcapiplugin/README README.pppdcapiplugin + docinto examples.pppdcapiplugin; dodoc pppdcapiplugin/examples/* + exeinto /etc/init.d + doexe ${FILESDIR}/capi + +} + +pkg_postinst() { + + einfo "*************************************************" + einfo "* NOTE: 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 "*************************************************" + +} + diff --git a/net-dialup/capi4k-utils/files/capi b/net-dialup/capi4k-utils/files/capi new file mode 100644 index 000000000000..7c34dfee1b9f --- /dev/null +++ b/net-dialup/capi4k-utils/files/capi @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 2002 Gentoo Linux +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/capi,v 1.1 2002/08/09 12:49:17 verwilst Exp $ + +depend() { + + after isapnp + +} + +start() { + + [ -e /etc/capi.conf ] || { + 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 + } + /sbin/capiinit start + eend 0 + +} + +stop() { + + /sbin/capiinit stop + eend $? + +} + diff --git a/net-dialup/capi4k-utils/files/digest-capi4k-utils-20020701 b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20020701 new file mode 100644 index 000000000000..a4860ad196ed --- /dev/null +++ b/net-dialup/capi4k-utils/files/digest-capi4k-utils-20020701 @@ -0,0 +1 @@ +MD5 35b491a2b5b867f6378d7bc7286629c2 capi4k-utils-2002-07-01.tar.gz 433102 |