summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-12-05 08:18:33 +0000
committerAlin Năstac <mrness@gentoo.org>2004-12-05 08:18:33 +0000
commit70db399f22e19ce01c4b7e5017e9e02ae7b5e2a7 (patch)
tree3700b9b0f706a944da86f11fccc0dd7d8c0a5f61 /net-dialup
parentMoving to net-dialup/mwavem (diff)
downloadgentoo-2-70db399f22e19ce01c4b7e5017e9e02ae7b5e2a7.tar.gz
gentoo-2-70db399f22e19ce01c4b7e5017e9e02ae7b5e2a7.tar.bz2
gentoo-2-70db399f22e19ce01c4b7e5017e9e02ae7b5e2a7.zip
Moved from app-misc/mwavem to net-dialup/mwavem.
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mwavem/ChangeLog28
-rw-r--r--net-dialup/mwavem/Manifest21
-rw-r--r--net-dialup/mwavem/files/digest-mwavem-1.0.21
-rw-r--r--net-dialup/mwavem/files/digest-mwavem-1.0.41
-rwxr-xr-xnet-dialup/mwavem/files/mwave-dev-handler11
-rw-r--r--net-dialup/mwavem/files/mwave.devfs2
-rw-r--r--net-dialup/mwavem/files/mwave.modules1
-rw-r--r--net-dialup/mwavem/files/mwavem-1.0.2-gentoo.diff45
-rw-r--r--net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff46
-rw-r--r--net-dialup/mwavem/metadata.xml11
-rw-r--r--net-dialup/mwavem/mwavem-1.0.2.ebuild47
-rw-r--r--net-dialup/mwavem/mwavem-1.0.4.ebuild69
12 files changed, 283 insertions, 0 deletions
diff --git a/net-dialup/mwavem/ChangeLog b/net-dialup/mwavem/ChangeLog
new file mode 100644
index 000000000000..14a310853478
--- /dev/null
+++ b/net-dialup/mwavem/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for app-misc/mwavem
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/ChangeLog,v 1.1 2004/12/05 08:18:33 mrness Exp $
+
+*mwavem-1.0.4 (05 Dec 2004)
+
+ 05 Dec 2004; Alin Nastac <mrness@gentoo.org> +metadata.xml,
+ +files/mwave-dev-handler, +files/mwave.devfs, +files/mwave.modules,
+ +files/mwavem-1.0.2-gentoo.diff, +files/mwavem-1.0.4-gentoo.diff,
+ +mwavem-1.0.2.ebuild, +mwavem-1.0.4.ebuild:
+ Moved from app-misc/mwavem to net-dialup/mwavem.
+
+ 28 Sep 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml:
+ herd fix
+
+*mwavem-1.0.4 (12 Jan 2004)
+
+ 12 Jan 2004; <nerdboy@gentoo.org> mwavem-1.0.4.ebuild, files/mwave.devfs,
+ files/mwave.modules, files/mwavem-1.0.4-gentoo.diff:
+ updated to the 1.0.4 and unmasked 1.0.2 in package.mask
+
+*mwavem-1.0.2 (17 July 2002)
+
+ 17 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> mwavem-1.0.2.ebuild :
+ Added IUSE.
+
+ 17 JuL 2002; Matthew Jachimstal <matthew@jachimstal.com> mwavem-1.0.2.ebuild,
+ files/mwavem-1.0.2-gentoo.diff, files/mwave-dev-handler: Initial ebuild.
diff --git a/net-dialup/mwavem/Manifest b/net-dialup/mwavem/Manifest
new file mode 100644
index 000000000000..2ec5134f58ad
--- /dev/null
+++ b/net-dialup/mwavem/Manifest
@@ -0,0 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 7ae6cc74f695f8e3ba232e0599ac91a9 ChangeLog 777
+MD5 53fb7e1e97ab6f60167cb93fd626a292 metadata.xml 394
+MD5 6af9b0ee8f09226ec39b3a0a9e604a54 mwavem-1.0.2.ebuild 1272
+MD5 c1731141ecded400521306c335a5250d mwavem-1.0.4.ebuild 1996
+MD5 ef5c0d9f57ca24c1eb1ab7b33df9d291 files/digest-mwavem-1.0.2 65
+MD5 1f1c427444c0684d7d1c8bc8146b9a3f files/digest-mwavem-1.0.4 65
+MD5 779ead17ce93702aa87513e41030ba40 files/mwave-dev-handler 210
+MD5 6a2110cacb03948288203ca53d4c9535 files/mwave.devfs 150
+MD5 8ceb387439cc272ebcfbf455eef22ec1 files/mwave.modules 30
+MD5 201284b6e4d0b1db01e347aa7586bae7 files/mwavem-1.0.2-gentoo.diff 2178
+MD5 63382db599ecae3e74b11e641249c93a files/mwavem-1.0.4-gentoo.diff 2255
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFBWIeqmdTrptrqvGERAivgAJ0Ya3pyTSFI8eF4vJCYPd25+ryzvgCeMpxz
+XZ7OtGCjPjjeSsEqC/2N7lU=
+=1oE5
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/mwavem/files/digest-mwavem-1.0.2 b/net-dialup/mwavem/files/digest-mwavem-1.0.2
new file mode 100644
index 000000000000..b2ae0902d40c
--- /dev/null
+++ b/net-dialup/mwavem/files/digest-mwavem-1.0.2
@@ -0,0 +1 @@
+MD5 29ed2dda14b6b3ee424178e296007fe1 mwavem-1.0.2.tar.gz 1384418
diff --git a/net-dialup/mwavem/files/digest-mwavem-1.0.4 b/net-dialup/mwavem/files/digest-mwavem-1.0.4
new file mode 100644
index 000000000000..68d834b71e31
--- /dev/null
+++ b/net-dialup/mwavem/files/digest-mwavem-1.0.4
@@ -0,0 +1 @@
+MD5 22cd78ade480db8ab5f0d1ca4dee07ec mwavem-1.0.4.tar.gz 1376416
diff --git a/net-dialup/mwavem/files/mwave-dev-handler b/net-dialup/mwavem/files/mwave-dev-handler
new file mode 100755
index 000000000000..3ba51ff75db2
--- /dev/null
+++ b/net-dialup/mwavem/files/mwave-dev-handler
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "$1" in
+register)
+ [ ! -d /dev/modem ] && mkdir --mode=0755 /dev/modems
+ [ ! -h /dev/modems/mwave ] && ln -s /dev/misc/mwave /dev/modems/mwave
+ ;;
+unregister)
+ rm -rf /dev/modems/mwave
+ ;;
+esac
diff --git a/net-dialup/mwavem/files/mwave.devfs b/net-dialup/mwavem/files/mwave.devfs
new file mode 100644
index 000000000000..67ba1e527ab9
--- /dev/null
+++ b/net-dialup/mwavem/files/mwave.devfs
@@ -0,0 +1,2 @@
+REGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler register
+UNREGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler unregister
diff --git a/net-dialup/mwavem/files/mwave.modules b/net-dialup/mwavem/files/mwave.modules
new file mode 100644
index 000000000000..613eef5c77a1
--- /dev/null
+++ b/net-dialup/mwavem/files/mwave.modules
@@ -0,0 +1 @@
+alias char-major-10-219 mwave
diff --git a/net-dialup/mwavem/files/mwavem-1.0.2-gentoo.diff b/net-dialup/mwavem/files/mwavem-1.0.2-gentoo.diff
new file mode 100644
index 000000000000..966828be1dd2
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-1.0.2-gentoo.diff
@@ -0,0 +1,45 @@
+diff -u -r mwavem-1.0.2.orig/src/mwavem/Makefile.am mwavem-1.0.2/src/mwavem/Makefile.am
+--- mwavem-1.0.2.orig/src/mwavem/Makefile.am Wed Jul 17 08:25:02 2002
++++ mwavem-1.0.2/src/mwavem/Makefile.am Wed Jul 17 08:25:35 2002
+@@ -6,12 +6,13 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++ -mkdir -p ${D}/etc/modules.d
++ -cp -f /etc/modules.d/aliases ${D}/etc/modules.d
++ -grep 'alias char-major-10-219 mwave' ${D}/etc/modules.d/aliases || echo "alias char-major-10-219 mwave" >>${D}/etc/modules.d/aliases
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+
+diff -u -r mwavem-1.0.2.orig/src/mwavem/Makefile.in mwavem-1.0.2/src/mwavem/Makefile.in
+--- mwavem-1.0.2.orig/src/mwavem/Makefile.in Wed Jul 17 08:25:02 2002
++++ mwavem-1.0.2/src/mwavem/Makefile.in Wed Jul 17 08:26:01 2002
+@@ -321,14 +321,15 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++ -mkdir -p ${D}/etc/modules.d
++ -cp -f /etc/modules.d/aliases ${D}/etc/modules.d
++ -grep 'alias char-major-10-219 mwave' ${D}/etc/modules.d/aliases || echo "alias char-major-10-219 mwave" >>${D}/etc/modules.d/aliases
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
diff --git a/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff b/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff
new file mode 100644
index 000000000000..3122f88f5374
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff
@@ -0,0 +1,46 @@
+diff -u -r mwavem-1.0.4.orig/src/mwavem/Makefile.am mwavem-1.0.4/src/mwavem/Makefile.am
+--- mwavem-1.0.4.orig/src/mwavem/Makefile.am 2001-07-18 19:23:14.000000000 -0400
++++ mwavem-1.0.4/src/mwavem/Makefile.am 2003-09-08 15:47:29.000000000 -0400
+@@ -6,12 +6,12 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+
+diff -u -r mwavem-1.0.4.orig/src/mwavem/Makefile.in mwavem-1.0.4/src/mwavem/Makefile.in
+--- mwavem-1.0.4.orig/src/mwavem/Makefile.in 2002-10-15 18:22:49.000000000 -0400
++++ mwavem-1.0.4/src/mwavem/Makefile.in 2003-09-08 15:48:36.000000000 -0400
+@@ -321,14 +321,14 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/net-dialup/mwavem/metadata.xml b/net-dialup/mwavem/metadata.xml
new file mode 100644
index 000000000000..96bed231fa68
--- /dev/null
+++ b/net-dialup/mwavem/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<maintainer>
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+<longdescription>User-space widget for displaying mwave modem parameters.</longdescription>
+</pkgmetadata>
diff --git a/net-dialup/mwavem/mwavem-1.0.2.ebuild b/net-dialup/mwavem/mwavem-1.0.2.ebuild
new file mode 100644
index 000000000000..ab283216a99c
--- /dev/null
+++ b/net-dialup/mwavem/mwavem-1.0.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/mwavem-1.0.2.ebuild,v 1.1 2004/12/05 08:18:33 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="User level application for IBM Mwave modem"
+HOMEPAGE="http://oss.software.ibm.com/acpmodem/"
+SRC_URI="ftp://www-126.ibm.com/pub/acpmodem/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X"
+
+DEPEND="virtual/libc
+ X? ( virtual/x11 )"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ ./configure \
+ --disable-mwavedd \
+ --host=${CHOST} \
+ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install ||die
+ dosbin ${FILESDIR}/mwave-dev-handler
+}
+
+pkg_postinst() {
+ einfo
+ einfo "To use the MWave Modem device you must setup the proper entries in /dev"
+ einfo
+ einfo "If you are using devfs, add the following entries to /etc/devfsd.conf:"
+ einfo
+ einfo "REGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler register"
+ einfo "UNREGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler unregister"
+ einfo
+ einfo "If you are not using devfs, execute the following commands:"
+ einfo
+ einfo "# mkdir -p /dev/modems"
+ einfo "# mknod --mode=660 /dev/modems/mwave c 10 219"
+ einfo
+}
diff --git a/net-dialup/mwavem/mwavem-1.0.4.ebuild b/net-dialup/mwavem/mwavem-1.0.4.ebuild
new file mode 100644
index 000000000000..a9e2c94967bc
--- /dev/null
+++ b/net-dialup/mwavem/mwavem-1.0.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/mwavem-1.0.4.ebuild,v 1.1 2004/12/05 08:18:33 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="User level application for IBM Mwave modem"
+HOMEPAGE="http://oss.software.ibm.com/acpmodem/"
+SRC_URI="ftp://www-126.ibm.com/pub/acpmodem/1.0.4/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="X"
+
+DEPEND="virtual/libc
+ X? ( virtual/x11 )"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-gentoo.diff
+
+ # The driver is no longer built by default.
+ econf || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ exeinto /usr/sbin
+ doexe ${FILESDIR}/mwave-dev-handler
+
+ insinto /etc/devfs.d
+ newins ${FILESDIR}/mwave.devfs mwave
+
+ insinto /etc/modules.d
+ newins ${FILESDIR}/mwave.modules mwave
+
+ dodoc AUTHORS ChangeLog FAQ INSTALL NEWS README README.devfs THANKS
+ docinto doc
+ dodoc doc/mwave.sgml doc/mwave.txt
+ dohtml doc/mwave.html
+}
+
+pkg_postinst() {
+ # Below is to get /etc/modules.d/mwave loaded into /etc/modules.conf
+ if [ "${ROOT}" = "/" ]
+ then
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+ fi
+ ewarn "If updating from mwavem-1.0.2, you should remove the line:"
+ ewarn "'alias char-major-10-219 mwave' from the file"
+ ewarn "/etc/modules.d/aliases. The line is now contained in the file"
+ ewarn "/etc/modules.d/mwave"
+ einfo
+ einfo "The MWave Modem device requires the proper entries in /dev."
+ einfo
+ einfo "If you are using devfs, the following entries are in the file"
+ einfo "/etc/devfs.d/mwave, so you just need to restart devfsd."
+ einfo
+ einfo "REGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler register"
+ einfo "UNREGISTER ^misc/mwave$ EXECUTE /usr/sbin/mwave-dev-handler unregister"
+ einfo
+ einfo "If you are not using devfs, execute the following commands:"
+ einfo
+ einfo "# mkdir -p /dev/modems"
+ einfo "# mknod --mode=660 /dev/modems/mwave c 10 219"
+ einfo
+}