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
commiteb27a2e45d0b0f6b469c05ca6a9fddec96afd95d (patch)
treea638fea6898429884fb895feee3e24efc796a642 /net-dialup/mwavem/files
parentMoving to net-dialup/mwavem (diff)
downloadhistorical-eb27a2e45d0b0f6b469c05ca6a9fddec96afd95d.tar.gz
historical-eb27a2e45d0b0f6b469c05ca6a9fddec96afd95d.tar.bz2
historical-eb27a2e45d0b0f6b469c05ca6a9fddec96afd95d.zip
Moved from app-misc/mwavem to net-dialup/mwavem.
Diffstat (limited to 'net-dialup/mwavem/files')
-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
7 files changed, 107 insertions, 0 deletions
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.