summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-01-22 09:43:21 +0000
committerAlin Năstac <mrness@gentoo.org>2005-01-22 09:43:21 +0000
commitf1b26130bb028cbd0d8db5edf99efe06c9623e69 (patch)
tree0da08ac9f72849f43f0b55752bf5365cdc05d0fb /net-dialup/intel-536ep
parentfix for awk locale behavior. closes #78749 (diff)
downloadhistorical-f1b26130bb028cbd0d8db5edf99efe06c9623e69.tar.gz
historical-f1b26130bb028cbd0d8db5edf99efe06c9623e69.tar.bz2
historical-f1b26130bb028cbd0d8db5edf99efe06c9623e69.zip
import from #78225
Diffstat (limited to 'net-dialup/intel-536ep')
-rw-r--r--net-dialup/intel-536ep/ChangeLog11
-rw-r--r--net-dialup/intel-536ep/Manifest16
-rw-r--r--net-dialup/intel-536ep/files/digest-intel-536ep-4.691
-rw-r--r--net-dialup/intel-536ep/files/intel536ep.confd5
-rw-r--r--net-dialup/intel-536ep/files/intel536ep.initd37
-rw-r--r--net-dialup/intel-536ep/intel-536ep-4.69.ebuild50
-rw-r--r--net-dialup/intel-536ep/metadata.xml6
7 files changed, 126 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..ec2cd8ad8a6e
--- /dev/null
+++ b/net-dialup/intel-536ep/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 96516aeb0e66a91abca505708b9c4820 intel-536ep-4.69.ebuild 1264
+MD5 bd109ea11a072a0717c6408a5d9972b4 ChangeLog 427
+MD5 4a05a31c48e912c88a3677b9c597516c metadata.xml 227
+MD5 18ed5f89cb69ae749a0c4f41abb7b5b3 files/intel536ep.confd 111
+MD5 29c69d64bc64efc141963b2fc3af1e19 files/intel536ep.initd 920
+MD5 ca1e9b07e5f36835a0332562ee1d3e64 files/digest-intel-536ep-4.69 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB8iBCjiC39V7gKu0RAqXbAJ4irYGF/ZOfRjyaluf1U/eFl1FpxgCgtO0l
+NJY8DSDG6RNbK6fUuvSKTT4=
+=L9q6
+-----END PGP SIGNATURE-----
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>