diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/intel-536ep/ChangeLog | 11 | ||||
-rw-r--r-- | net-dialup/intel-536ep/Manifest | 3 | ||||
-rw-r--r-- | net-dialup/intel-536ep/files/digest-intel-536ep-4.69 | 1 | ||||
-rw-r--r-- | net-dialup/intel-536ep/files/intel536ep.confd | 5 | ||||
-rw-r--r-- | net-dialup/intel-536ep/files/intel536ep.initd | 37 | ||||
-rw-r--r-- | net-dialup/intel-536ep/intel-536ep-4.69.ebuild | 50 | ||||
-rw-r--r-- | net-dialup/intel-536ep/metadata.xml | 6 |
7 files changed, 113 insertions, 0 deletions
diff --git a/net-dialup/intel-536ep/ChangeLog b/net-dialup/intel-536ep/ChangeLog new file mode 100644 index 000000000000..9648d76dd6ac --- /dev/null +++ b/net-dialup/intel-536ep/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-dialup/intel-536ep +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/intel-536ep/ChangeLog,v 1.1 2005/01/22 09:43:21 mrness Exp $ + +*intel-536ep-4.69 (22 Jan 2005) + + 22 Jan 2005; Alin Nastac <mrness@gentoo.org> +metadata.xml, + +files/intel536ep.confd, +files/intel536ep.initd, + +intel-536ep-4.69.ebuild: + Initial import from bug #78225. + diff --git a/net-dialup/intel-536ep/Manifest b/net-dialup/intel-536ep/Manifest new file mode 100644 index 000000000000..43f65e8b77a8 --- /dev/null +++ b/net-dialup/intel-536ep/Manifest @@ -0,0 +1,3 @@ +MD5 078ce1b91416a596c0b35ed6a3c5d004 intel-536ep-4.69.ebuild 1066 +MD5 4a05a31c48e912c88a3677b9c597516c metadata.xml 227 +MD5 ca1e9b07e5f36835a0332562ee1d3e64 files/digest-intel-536ep-4.69 65 diff --git a/net-dialup/intel-536ep/files/digest-intel-536ep-4.69 b/net-dialup/intel-536ep/files/digest-intel-536ep-4.69 new file mode 100644 index 000000000000..6c5386a8fa70 --- /dev/null +++ b/net-dialup/intel-536ep/files/digest-intel-536ep-4.69 @@ -0,0 +1 @@ +MD5 20e690541d3b18bbc1b2c2f690bfbc6d intel-536ep-4.69.tgz 463347 diff --git a/net-dialup/intel-536ep/files/intel536ep.confd b/net-dialup/intel-536ep/files/intel536ep.confd new file mode 100644 index 000000000000..de5f8b19c9ea --- /dev/null +++ b/net-dialup/intel-536ep/files/intel536ep.confd @@ -0,0 +1,5 @@ +#Node name of the device +DEV_NAME=536ep + +#Which group will have the permission to use this modem +DEV_GROUP=tty diff --git a/net-dialup/intel-536ep/files/intel536ep.initd b/net-dialup/intel-536ep/files/intel536ep.initd new file mode 100644 index 000000000000..53b9049fbf71 --- /dev/null +++ b/net-dialup/intel-536ep/files/intel536ep.initd @@ -0,0 +1,37 @@ +#!/sbin/runscript + +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +#NB: Config is in /etc/conf.d/intel536ep + +depend() { + need localmount modules +} + +start() { + local device=${DEV_NAME:-536ep} + + ebegin "Starting Intel 536EP modem" + + if ! modprobe -f Intel536 &>/dev/null ; then + eend $? + eerror "Failed to load Intel536 module" + return 1 + fi + + major=`cat /proc/devices | awk "\\$2==\"$device\" {print \\$1}"` + [ -e "/dev/$device" ] && rm -f /dev/$device + mknod -m 0660 /dev/$device c $major 1 + chgrp ${DEV_GROUP:-tty} /dev/$device + [ -e /dev/modem ] || ln -sf $device /dev/modem + + start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/hamregistry.pid --exec /usr/sbin/hamregistry + eend ${?} +} + +stop () { + ebegin "Stopping Intel 536EP modem" + start-stop-daemon --stop --quiet --pidfile /var/run/hamregistry.pid + eend ${?} +} diff --git a/net-dialup/intel-536ep/intel-536ep-4.69.ebuild b/net-dialup/intel-536ep/intel-536ep-4.69.ebuild new file mode 100644 index 000000000000..f6c6a63bb433 --- /dev/null +++ b/net-dialup/intel-536ep/intel-536ep-4.69.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/intel-536ep/intel-536ep-4.69.ebuild,v 1.1 2005/01/22 09:43:21 mrness Exp $ + +inherit flag-o-matic linux-mod + +DESCRIPTION="Driver for Intel 536EP modem" +HOMEPAGE="http://developer.intel.com/design/modems/products/536ep.htm" +SRC_URI="ftp://aiedownload.intel.com/df-support/6497/eng/${P}.tgz" + +LICENSE="Intel" +SLOT="0" +KEYWORDS="~x86" + +S=${WORKDIR}/intel-536EP-2.56.76.0 +MODULE_NAMES="Intel536(:coredrv)" +BUILD_TARGETS="536core_26" +BUILD_PARAMS="KERNEL_SOURCE_PATH=${KV_DIR}" + +pkg_setup() { + if kernel_is 2 4; then + BUILD_TARGETS="536core" + BUILD_PARAMS="${BUILD_PARAMS} TARGET=TARGET_SELAH" + fi + + linux-mod_pkg_setup +} + +src_unpack(){ + unpack ${A} + + if kernel_is 2 4; then + #there is no way of passing this as make parameter + sed -i -e 's/\$(PSTN_DEF)/-DTARGET_SELAH -DTARGET_LINUX -DLINUX/' ${S}/coredrv/Makefile + fi +} + +src_install() { + linux-mod_src_install + + #install hamregistry executable + exeinto /usr/sbin + doexe ${S}/hamregistry + + #install boot script and config + exeinto /etc/init.d + newexe ${FILESDIR}/intel536ep.initd intel536ep + insinto /etc/conf.d + newins ${FILESDIR}/intel536ep.confd intel536ep +} diff --git a/net-dialup/intel-536ep/metadata.xml b/net-dialup/intel-536ep/metadata.xml new file mode 100644 index 000000000000..377c67c87c7a --- /dev/null +++ b/net-dialup/intel-536ep/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-dialup</herd> +<longdescription>Driver for Intel 536EP modem</longdescription> +</pkgmetadata> |