Remove obsolete revision.
authorAlin Năstac <mrness@gentoo.org>
Sat, 18 Nov 2006 13:58:06 +0000 (13:58 +0000)
committerAlin Năstac <mrness@gentoo.org>
Sat, 18 Nov 2006 13:58:06 +0000 (13:58 +0000)
Package-Manager: portage-2.1.1-r1

net-dialup/slmodem/Manifest
net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101 [deleted file]
net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch [deleted file]
net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch [deleted file]
net-dialup/slmodem/files/slmodem-2.9.11.init [deleted file]
net-dialup/slmodem/files/slmodem-2.9.11.modules [deleted file]
net-dialup/slmodem/files/slmodem-2.9.conf [deleted file]
net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild [deleted file]

index 0f047472d0b0313aac4358369820904b185fbd58..ea777036351af26ac11913cc6ceb590d59ba663e 100644 (file)
@@ -9,58 +9,43 @@ AUX slmodem-2.9.11-makefile.patch 872 RMD160 2e0c60d8bdf9d9c936c20d7941030fe3fc4
 MD5 ead92ab897f69fd1b9fc97c4c0e305e1 files/slmodem-2.9.11-makefile.patch 872
 RMD160 2e0c60d8bdf9d9c936c20d7941030fe3fc439402 files/slmodem-2.9.11-makefile.patch 872
 SHA256 56518c7fa8ce442613ff9f23d87cbabe83ddb1fc21d10ae11dc8e7fd57610189 files/slmodem-2.9.11-makefile.patch 872
-AUX slmodem-2.9.11-modem-cc-makefile.patch 350 RMD160 64b97f6d4f340369e499c2d26423fea9544c0bed SHA1 69ce8083aa33ba941831e55e8c5941f9d5ad61b3 SHA256 0b8d803f8bc4363be32d6fc318e1764ae8df3679d7dbf7242e980053b9ec1524
-MD5 61167b597b6d73eb3fea346ecfef4996 files/slmodem-2.9.11-modem-cc-makefile.patch 350
-RMD160 64b97f6d4f340369e499c2d26423fea9544c0bed files/slmodem-2.9.11-modem-cc-makefile.patch 350
-SHA256 0b8d803f8bc4363be32d6fc318e1764ae8df3679d7dbf7242e980053b9ec1524 files/slmodem-2.9.11-modem-cc-makefile.patch 350
-AUX slmodem-2.9.11-modem-makefile.patch 685 RMD160 dd8cd679c2afd7fd8ae7e1e1af5defe14514bfc4 SHA1 e630ad1b8d4bddbf1f42d0946e4fb2719c607183 SHA256 770f23caf7ebeebd03a0ab6a2e2e02740db9dd848ee104fb67033281690655a5
-MD5 a1cd437eecc5e84a38cc22929ea9f817 files/slmodem-2.9.11-modem-makefile.patch 685
-RMD160 dd8cd679c2afd7fd8ae7e1e1af5defe14514bfc4 files/slmodem-2.9.11-modem-makefile.patch 685
-SHA256 770f23caf7ebeebd03a0ab6a2e2e02740db9dd848ee104fb67033281690655a5 files/slmodem-2.9.11-modem-makefile.patch 685
-AUX slmodem-2.9.11.init 2258 RMD160 692339982d8b09870c81ab04b9e07a7e7397b028 SHA1 6b683d06c456c9d912fc5a48dd7763115ae176fe SHA256 5649c0a14df8b7513dde484a1d0445cb13fde3f5e02118baadff7962099aa710
-MD5 f466bf22d970d1f4ea3df4c9a5573bdb files/slmodem-2.9.11.init 2258
-RMD160 692339982d8b09870c81ab04b9e07a7e7397b028 files/slmodem-2.9.11.init 2258
-SHA256 5649c0a14df8b7513dde484a1d0445cb13fde3f5e02118baadff7962099aa710 files/slmodem-2.9.11.init 2258
-AUX slmodem-2.9.11.modules 106 RMD160 41b949de0d6a2c47d0227c97b065336cc54ed50e SHA1 933fbb37e99e26b838d508c177cf69097903c36b SHA256 0ae1432fbae6e517190a841a6ae09806f24c16614e845d2e814a568285d96a7f
-MD5 e91d1df68be76c531a8514dba77c1886 files/slmodem-2.9.11.modules 106
-RMD160 41b949de0d6a2c47d0227c97b065336cc54ed50e files/slmodem-2.9.11.modules 106
-SHA256 0ae1432fbae6e517190a841a6ae09806f24c16614e845d2e814a568285d96a7f files/slmodem-2.9.11.modules 106
-AUX slmodem-2.9.conf 649 RMD160 7d3f89e8ad1831e0730924e421ab643368406c7c SHA1 627d9c8afb37275b0e147868f57bff2c25ebd0df SHA256 0f6cf3b88900d0b2717c7df33debd5247c46849fc3d92bc54cf84d4eb0b46bff
-MD5 1a0b854bbe34e01e918b855b7c81ffba files/slmodem-2.9.conf 649
-RMD160 7d3f89e8ad1831e0730924e421ab643368406c7c files/slmodem-2.9.conf 649
-SHA256 0f6cf3b88900d0b2717c7df33debd5247c46849fc3d92bc54cf84d4eb0b46bff files/slmodem-2.9.conf 649
+AUX slmodem-confd 649 RMD160 7d3f89e8ad1831e0730924e421ab643368406c7c SHA1 627d9c8afb37275b0e147868f57bff2c25ebd0df SHA256 0f6cf3b88900d0b2717c7df33debd5247c46849fc3d92bc54cf84d4eb0b46bff
+MD5 1a0b854bbe34e01e918b855b7c81ffba files/slmodem-confd 649
+RMD160 7d3f89e8ad1831e0730924e421ab643368406c7c files/slmodem-confd 649
+SHA256 0f6cf3b88900d0b2717c7df33debd5247c46849fc3d92bc54cf84d4eb0b46bff files/slmodem-confd 649
+AUX slmodem-initd 2258 RMD160 692339982d8b09870c81ab04b9e07a7e7397b028 SHA1 6b683d06c456c9d912fc5a48dd7763115ae176fe SHA256 5649c0a14df8b7513dde484a1d0445cb13fde3f5e02118baadff7962099aa710
+MD5 f466bf22d970d1f4ea3df4c9a5573bdb files/slmodem-initd 2258
+RMD160 692339982d8b09870c81ab04b9e07a7e7397b028 files/slmodem-initd 2258
+SHA256 5649c0a14df8b7513dde484a1d0445cb13fde3f5e02118baadff7962099aa710 files/slmodem-initd 2258
+AUX slmodem-modules 106 RMD160 41b949de0d6a2c47d0227c97b065336cc54ed50e SHA1 933fbb37e99e26b838d508c177cf69097903c36b SHA256 0ae1432fbae6e517190a841a6ae09806f24c16614e845d2e814a568285d96a7f
+MD5 e91d1df68be76c531a8514dba77c1886 files/slmodem-modules 106
+RMD160 41b949de0d6a2c47d0227c97b065336cc54ed50e files/slmodem-modules 106
+SHA256 0ae1432fbae6e517190a841a6ae09806f24c16614e845d2e814a568285d96a7f files/slmodem-modules 106
 AUX slusb.hotplug 262 RMD160 6ccb14b19191da17b0352525399ec8560eb89c04 SHA1 79d922f24852a17385ff4ac82f586ca0ad477f3f SHA256 1806e732086915be8ca3c43d0abaf73bdde945eb1e11bd24a12c7309be4cdfed
 MD5 a5c2c40e3a6c4665033c97bb9088f03d files/slusb.hotplug 262
 RMD160 6ccb14b19191da17b0352525399ec8560eb89c04 files/slusb.hotplug 262
 SHA256 1806e732086915be8ca3c43d0abaf73bdde945eb1e11bd24a12c7309be4cdfed files/slusb.hotplug 262
 DIST slmodem-2.9.11-20051101.tar.gz 833644 RMD160 044dd97f763c68ff5c5609cb925146c5302bfb61 SHA1 bacd94800a83c86cc872c6afa75dfb3c90828815 SHA256 d5c456b1bab05a1606f7deaf4d5f1b9151d23377e7eb421b81082f9285de5172
 DIST ungrab-winmodem.tar.gz 1872 RMD160 c7058f884ddf6345ddcd15c984364f4741464fbf SHA1 d8c48969fd840b4f7b15f9d6b269470a44e4eed0 SHA256 b9d966fa13b05876c2921f4bd030dfb151e6810958202010fab661d1689e4e11
-EBUILD slmodem-2.9.11_pre20051101-r2.ebuild 4656 RMD160 177e7d71ae5d8383673f70263370023e9bc64d33 SHA1 48f98327a254a00af820309d0e04dee74c32a095 SHA256 5096b327891b2a86e58ec87d77a9cafe227e65a19466bf233a2feba0ead64228
-MD5 5d600c00c387ba7ce54368c72d3548e0 slmodem-2.9.11_pre20051101-r2.ebuild 4656
-RMD160 177e7d71ae5d8383673f70263370023e9bc64d33 slmodem-2.9.11_pre20051101-r2.ebuild 4656
-SHA256 5096b327891b2a86e58ec87d77a9cafe227e65a19466bf233a2feba0ead64228 slmodem-2.9.11_pre20051101-r2.ebuild 4656
-EBUILD slmodem-2.9.11_pre20051101.ebuild 4619 RMD160 cfed55daf1c5d6fdd7607d2b5c28736fc4ceed49 SHA1 85d4c940fc793b0cbbdb25d814cdd60de7ed76e5 SHA256 71c708a1b978333292b311f357f08b44b6e4c434c755859f615757e873964813
-MD5 efea4cd18104c7257dd76d8b7830a418 slmodem-2.9.11_pre20051101.ebuild 4619
-RMD160 cfed55daf1c5d6fdd7607d2b5c28736fc4ceed49 slmodem-2.9.11_pre20051101.ebuild 4619
-SHA256 71c708a1b978333292b311f357f08b44b6e4c434c755859f615757e873964813 slmodem-2.9.11_pre20051101.ebuild 4619
-MISC ChangeLog 15737 RMD160 d04a9ea6501f4faaad61b6025a87db4fbe239c6c SHA1 d0dc9245aa973741c8a7b4d1d6c493e180649b0c SHA256 b930abc4088c4ffa650ddc6a12e3a2234203483e729ece1094ca2970ad30ff88
-MD5 2683dfdaf298b1e48073f76e8dcb4b49 ChangeLog 15737
-RMD160 d04a9ea6501f4faaad61b6025a87db4fbe239c6c ChangeLog 15737
-SHA256 b930abc4088c4ffa650ddc6a12e3a2234203483e729ece1094ca2970ad30ff88 ChangeLog 15737
+EBUILD slmodem-2.9.11_pre20051101-r2.ebuild 4647 RMD160 9a996fe41cbe6b93ca8f4d3b77487540b6fe8b6a SHA1 7739782ed8a2453a206623169f920a9d7fb3edbc SHA256 33b9245fafd37e980e2bd340212120010e85f6d65bf5047c0a2aa324f198450f
+MD5 b617b477231b40dfc43cfa09dd3e7cb6 slmodem-2.9.11_pre20051101-r2.ebuild 4647
+RMD160 9a996fe41cbe6b93ca8f4d3b77487540b6fe8b6a slmodem-2.9.11_pre20051101-r2.ebuild 4647
+SHA256 33b9245fafd37e980e2bd340212120010e85f6d65bf5047c0a2aa324f198450f slmodem-2.9.11_pre20051101-r2.ebuild 4647
+MISC ChangeLog 16141 RMD160 2ad0bc5424e2bfb7fb6a55de60f813d075ddd5aa SHA1 418c1e4c226f4c2da8f48b90d86dbdef3533deea SHA256 0bf6d7a1a80fe3b898a484620574c90bc20b9f37f25da1253e117208d3a7b75d
+MD5 48f4439b642c7e1e26a380c968718e18 ChangeLog 16141
+RMD160 2ad0bc5424e2bfb7fb6a55de60f813d075ddd5aa ChangeLog 16141
+SHA256 0bf6d7a1a80fe3b898a484620574c90bc20b9f37f25da1253e117208d3a7b75d ChangeLog 16141
 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163
 SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 metadata.xml 163
-MD5 bd3432246edbc20a20719bef640eb9ca files/digest-slmodem-2.9.11_pre20051101 512
-RMD160 13e9984479cbd18a496255c6cc317da7cfd48e47 files/digest-slmodem-2.9.11_pre20051101 512
-SHA256 005100f76c5a3ffccbdfcbcc0b6569ed2ed5661a67124f1b74babd3cf026fbdf files/digest-slmodem-2.9.11_pre20051101 512
 MD5 bd3432246edbc20a20719bef640eb9ca files/digest-slmodem-2.9.11_pre20051101-r2 512
 RMD160 13e9984479cbd18a496255c6cc317da7cfd48e47 files/digest-slmodem-2.9.11_pre20051101-r2 512
 SHA256 005100f76c5a3ffccbdfcbcc0b6569ed2ed5661a67124f1b74babd3cf026fbdf files/digest-slmodem-2.9.11_pre20051101-r2 512
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFKVZDQlM6RnzZP+IRAqJ8AKCusSYYJlnIGh/HwfycUf+5NgIUOgCgsM9N
-qUuk3rgU5Cc1LVPUdyzCYSA=
-=WVYj
+iD8DBQFFXxFp3sf9c6kjmR8RApf6AJwOgSU2A7Ro4hScU89lEW4EmQytXgCfbmOi
+s+C615G5NPU59RlPBkR0dGE=
+=Ue+/
 -----END PGP SIGNATURE-----
diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101
deleted file mode 100644 (file)
index 047a97e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 56bb1ddf621b2fe26caf746aed0ac26f slmodem-2.9.11-20051101.tar.gz 833644
-RMD160 044dd97f763c68ff5c5609cb925146c5302bfb61 slmodem-2.9.11-20051101.tar.gz 833644
-SHA256 d5c456b1bab05a1606f7deaf4d5f1b9151d23377e7eb421b81082f9285de5172 slmodem-2.9.11-20051101.tar.gz 833644
-MD5 a23326976632fe7774e110cbc0636f70 ungrab-winmodem.tar.gz 1872
-RMD160 c7058f884ddf6345ddcd15c984364f4741464fbf ungrab-winmodem.tar.gz 1872
-SHA256 b9d966fa13b05876c2921f4bd030dfb151e6810958202010fab661d1689e4e11 ungrab-winmodem.tar.gz 1872
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch b/net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch
deleted file mode 100644 (file)
index cdcef46..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- slmodem-2.9.11-20051101/modem/Makefile.orig        2006-08-22 08:45:44.000000000 -0300
-+++ slmodem-2.9.11-20051101/modem/Makefile     2006-08-22 08:46:04.000000000 -0300
-@@ -13,7 +13,7 @@
- #
- ###########################################################################
--CC:= gcc
-+CC?= gcc
- RM:= rm -f
- CFLAGS+= -Wall -g -finline -I. -DCONFIG_DEBUG_MODEM
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch b/net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch
deleted file mode 100644 (file)
index 86cc7d6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Nru modem.orig/Makefile modem/Makefile
---- modem.orig/Makefile        2005-11-01 17:33:34.000000000 +0200
-+++ modem/Makefile     2006-04-22 14:26:58.693947250 +0300
-@@ -16,7 +16,7 @@
- CC:= gcc
- RM:= rm -f
--CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM
-+CFLAGS+= -Wall -g -finline -I. -DCONFIG_DEBUG_MODEM
- modem-objs:= \
-@@ -33,13 +33,13 @@
- #SUPPORT_ALSA:=1
- ifdef SUPPORT_ALSA
--slmodemd: -lasound
-+
- CFLAGS+= -DSUPPORT_ALSA=1
--LFLAGS+= -lasound
-+LDLIBS+= -lasound
- endif
- slmodemd modem_test:
--      $(CC) $(LFLAGS) -o $@ $^
-+      $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
- clean:
-       $(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11.init b/net-dialup/slmodem/files/slmodem-2.9.11.init
deleted file mode 100644 (file)
index 203af28..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-if [ "${MODULE}" = "alsa" ];
-then
-       needalsasound="alsasound"
-fi
-depend() {
-       need logger $needalsasound
-}
-
-
-checkconfig() {
-       if [ -z "${COUNTRY}" ]; then
-               eerror "You need to config /etc/conf.d/slmodem first"
-               return 1
-       fi
-}
-
-function loadsalsa {
-       ebegin "Starting slmodemd for ${DEV}"
-       start-stop-daemon --start --background --nicelevel=${NICE} --make-pidfile \
-               --pidfile /var/run/slmodemd.pid --startas /usr/sbin/slmodemd \
-               -- -country=${COUNTRY} -g=${GROUP} --alsa ${HW_SLOT}
-       return ${?}
-}
-
-function loadsmodule {
-       modprobe ${MODULE}
-
-       if [ "$?" -gt 0 ]; then
-               eerror "Missing ${MODULE}. Please set up /etc/conf.d/slmodem"
-               return 1;
-       fi
-
-       if [ -z "${MDEV}" ]; then MDEV="/dev/${MODULE}0"; fi
-       if [ ! -c "${MDEV}" ]; then
-               case ${MODULE} in
-                       slamr)
-                               mknod ${MDEV} c 242 0
-                               ;;
-                       slusb)
-                               mknod ${MDEV} c 243 0
-                               ;;
-               esac
-       fi
-
-       ebegin "Starting slmodemd for ${DEV}"
-       start-stop-daemon --start --background --nicelevel=${NICE} --make-pidfile \
-               --pidfile /var/run/slmodemd.pid --startas /usr/sbin/slmodemd \
-               -- -country=${COUNTRY} -g=${GROUP} ${MDEV}
-       return ${?}
-}
-
-start() {
-
-       checkconfig || return 1
-       if [ ! -c /dev/ppp ]; then mknod /dev/ppp c 108 0; fi
-
-       # either if we use alsa or not, the only thing we need is 
-       # ttySL0, which is created by slmodemd when started (points to a pts)
-
-       if [ "${MODULE}" == "alsa" ]; then
-               loadsalsa
-       else
-               loadsmodule
-       fi
-    
-       result=${?}
-    
-       test ! -z "${LN_DEV}" && /bin/ln -s ${DEV} ${LN_DEV} 2> /dev/null
-    
-       eend ${result}
-}
-
-stop() {
-       ebegin "Shutting down slmodemd"
-       start-stop-daemon --stop --quiet --pidfile /var/run/slmodemd.pid
-       result=${?}
-       [ -e /var/run/slmodemd.pid ] && rm /var/run/slmodemd.pid
-       unlink ${LN_DEV} 2> /dev/null
-       eend ${result}
-       if [ ! "${MODULE}" == "alsa" ]; then
-               ebegin "Waiting for ${MODULE} modem driver unload"
-               if [ "$RC_NOCOLOR" != "yes" ]; then
-                       echo -e "\e[A\e[44G   "
-                       echo -ne "\e[A\e[44G"
-               fi
-               for ((a=0,result=1; result==1 && a <= 5 ; a++))
-               do
-                       sleep 0.25
-                       echo -n "."
-                       modprobe -r slamr 2> /dev/null && result=0
-               done
-               if [ "$RC_NOCOLOR" != "yes" ]; then echo; fi
-               eend ${result}
-       fi
-}
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11.modules b/net-dialup/slmodem/files/slmodem-2.9.11.modules
deleted file mode 100644 (file)
index 3a49fed..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# slmodem 2.9.x kernel modules' configuration file
-
-alias char-major-242 slamr
-alias char-major-243 slusb
diff --git a/net-dialup/slmodem/files/slmodem-2.9.conf b/net-dialup/slmodem/files/slmodem-2.9.conf
deleted file mode 100644 (file)
index 873dd33..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Config file for /etc/init.d/slmodemd
-
-DEV=/dev/ttySL0
-COUNTRY=USA
-GROUP=dialout
-# the group should be kept in sync with:
-# /etc/devfs.d/slmodem (devfs)
-# /etc/udev/rules.d/55-slmodem.rules (udev)
-
-# The following symlink will be created if uncommented
-LN_DEV=/dev/modem
-
-# Raise priority to reduce modem dropouts
-NICE=-6
-
-# ALSA Options:
-
-# The following sets the ALSA (alsasound) init script to
-# be a dependancy of the slmodem one. It does also provides
-# ALSA support.
-# MODULE=alsa
-
-# The modem hardware slot
-# use "modem:0", "modem:1", etc.
-# usually modem:1 is used
-# HW_SLOT=modem:1
-
-# Non-ALSA OPTIONS:
-
-# MODULE=slamr
-# or
-# MODULE=slusb
diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild
deleted file mode 100644 (file)
index cbac714..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild,v 1.8 2006/08/22 12:13:54 genstef Exp $
-
-inherit eutils linux-mod multilib
-
-DESCRIPTION="Driver for Smart Link modem"
-HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/"
-SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/${P/_pre/-}.tar.gz
-       http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem.tar.gz"
-LICENSE="Smart-Link"
-SLOT="0"
-KEYWORDS="-* ~amd64 x86"
-IUSE="alsa usb"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
-       amd64? ( app-emulation/emul-linux-x86-soundlibs )"
-
-DEPEND="${RDEPEND}
-       >=sys-apps/sed-4"
-S=${WORKDIR}/${P/_pre/-}
-
-pkg_setup() {
-       use amd64 && multilib_toolchain_setup x86
-
-       MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem)"
-       if ! use amd64; then
-               MODULE_NAMES="${MODULE_NAMES} slamr(net:${S}/drivers)"
-               if use usb; then
-                       MODULE_NAMES="${MODULE_NAMES} slusb(net:${S}/drivers)"
-                       CONFIG_CHECK="USB"
-               fi
-       fi
-       BUILD_TARGETS="all"
-       linux-mod_pkg_setup
-       BUILD_PARAMS="KERNEL_DIR=${KV_DIR}"
-}
-
-src_unpack() {
-       unpack ${A}
-       sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem:" \
-               "${WORKDIR}/ungrab-winmodem/Makefile"
-       convert_to_m "${WORKDIR}/ungrab-winmodem/Makefile"
-
-       cd "${S}"
-       epatch "${FILESDIR}/${P%%_*}-modem-makefile.patch"
-       epatch "${FILESDIR}/${P%%_*}-modem-cc-makefile.patch"
-       cd drivers
-       sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" Makefile
-       convert_to_m Makefile
-       sed -i "s:.*=[ \t]*THIS_MODULE.*::" st7554.c amrmo_init.c old_st7554.c
-       sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' st7554.c \
-               amrmo_init.c old_st7554.c
-}
-
-src_compile() {
-       local MAKE_PARAMS=""
-       if use alsa || use amd64; then
-               MAKE_PARAMS="SUPPORT_ALSA=1"
-       fi
-       emake ${MAKE_PARAMS} modem || die "failed to build modem"
-
-       use amd64 && multilib_toolchain_setup amd64
-       linux-mod_src_compile
-}
-
-src_install() {
-       linux-mod_src_install
-
-       cd "${S}"
-       newsbin modem/modem_test slmodem_test
-       dosbin modem/slmodemd
-       dodir /var/lib/slmodem
-       fowners root:dialout /var/lib/slmodem
-       keepdir /var/lib/slmodem
-
-       newconfd "${FILESDIR}/${PN}-2.9.conf" ${PN}
-       newinitd "${FILESDIR}/${PN}-2.9.11.init" ${PN}
-
-       # configure for alsa - or not for alsa
-       if use alsa; then
-               sed -i -e "s/# MODULE=alsa/MODULE=alsa/" \
-                       -e "s/# HW_SLOT=modem:1/HW_SLOT=modem:1/" "${D}/etc/conf.d/slmodem"
-       else
-               sed -i "s/# MODULE=slamr/MODULE=slamr/" "${D}/etc/conf.d/slmodem"
-       fi
-
-
-       # Add module aliases and install hotplug script
-       insinto /etc/modules.d/; newins "${FILESDIR}/${PN}-2.9.11.modules" ${PN}
-       if use usb; then
-               exeinto /etc/hotplug/usb; newexe "${FILESDIR}/slusb.hotplug" slusb
-       fi
-
-       dodir /etc/hotplug/blacklist.d
-       echo -e "slusb\nslamr\nsnd-intel8x0m" >> "${D}/etc/hotplug/blacklist.d/${PN}"
-
-       # Add configuration for devfs, udev
-       if [ -e "${ROOT}/dev/.devfsd" ] ; then
-               insinto /etc/devfs.d/; newins "${FILESDIR}/${PN}-2.9.devfs" ${PN}
-       elif [ -e "${ROOT}/dev/.udev" ] ; then
-               dodir /etc/udev/rules.d/
-               echo 'KERNEL="slamr", NAME="slamr0" GROUP="dialout"' > \
-                        "${D}/etc/udev/rules.d/55-${PN}.rules"
-               echo 'KERNEL="slusb", NAME="slusb0" GROUP="dialout"' >> \
-                        "${D}/etc/udev/rules.d/55-${PN}.rules"
-       fi
-
-       dodoc Changes README "${WORKDIR}/ungrab-winmodem/Readme.txt"
-}
-
-pkg_postinst() {
-       linux-mod_pkg_postinst
-
-       # Make some devices if we aren't using devfs or udev
-       if [ -e "${ROOT}/dev/.devfsd" ]; then
-               ebegin "Restarting devfsd to reread devfs rules"
-                       killall -HUP devfsd
-               eend $?
-
-       elif [ -e "${ROOT}/dev/.udev" ]; then
-               ebegin "Restarting udev to reread udev rules"
-                       udevstart
-               eend $?
-       else
-               cd "${S}/drivers"
-               make DESTDIR="${ROOT}" install-devices
-       fi
-
-       if [ ! -e "${ROOT}/dev/ppp" ]; then
-               mknod "${ROOT}/dev/ppp" c 108 0
-       fi
-
-       ewarn "To avoid problems, slusb/slamr have been added to /etc/hotplug/blacklist"
-       einfo "You must edit /etc/conf.d/${PN} for your configuration"
-       einfo "To add slmodem to your startup - type : rc-update add slmodem default"
-
-       if use alsa; then
-               einfo "I hope you have already added alsa to your startup: "
-               einfo "otherwise type: rc-update add alsasound boot"
-               einfo
-               einfo "If you need to use snd-intel8x0m from the kernel"
-               einfo "compile it as a module and edit /etc/modules.d/alsa"
-               einfo 'to: "alias snd-card-(number) snd-intel8x0m"'
-       fi
-
-       einfo "You need to be in the uucp AND dialout group to make calls as a user."
-       einfo
-       einfo "If you see the following in dmesg:"
-       echo slamr: device 10b9:5457 is grabbed by driver serial
-       einfo "you need to modprobe ungrab-winmodem before slamr"
-}