summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-10-23 13:19:33 +0000
committerAlin Năstac <mrness@gentoo.org>2007-10-23 13:19:33 +0000
commit745f25189c3fef3dfdacce5b713cb6585df1eced (patch)
tree004b1c3194c672faa32e35405ddb4013bfad8ac0 /net-dialup
parentMake syntax highlighting work again. (diff)
downloadhistorical-745f25189c3fef3dfdacce5b713cb6585df1eced.tar.gz
historical-745f25189c3fef3dfdacce5b713cb6585df1eced.tar.bz2
historical-745f25189c3fef3dfdacce5b713cb6585df1eced.zip
Version bump (#196497).
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/slmodem/ChangeLog9
-rw-r--r--net-dialup/slmodem/Manifest41
-rw-r--r--net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20061021-r26
-rw-r--r--net-dialup/slmodem/files/digest-slmodem-2.9.11_pre200708136
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.19.patch34
-rw-r--r--net-dialup/slmodem/files/slusb.hotplug13
-rw-r--r--net-dialup/slmodem/slmodem-2.9.11_pre20070813.ebuild (renamed from net-dialup/slmodem/slmodem-2.9.11_pre20061021-r2.ebuild)68
7 files changed, 58 insertions, 119 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog
index 4dfb14defd5c..9b1f67fa44be 100644
--- a/net-dialup/slmodem/ChangeLog
+++ b/net-dialup/slmodem/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dialup/slmodem
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.85 2007/07/25 07:21:03 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.86 2007/10/23 13:19:32 mrness Exp $
+
+*slmodem-2.9.11_pre20070813 (23 Oct 2007)
+
+ 23 Oct 2007; Alin Năstac <mrness@gentoo.org>
+ -files/slmodem-2.9.11-kernel-2.6.19.patch, -files/slusb.hotplug,
+ -slmodem-2.9.11_pre20061021-r2.ebuild, +slmodem-2.9.11_pre20070813.ebuild:
+ Version bump (#196497).
25 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
slmodem-2.9.11_pre20070505.ebuild:
diff --git a/net-dialup/slmodem/Manifest b/net-dialup/slmodem/Manifest
index ddba01c50fb2..ee4553533def 100644
--- a/net-dialup/slmodem/Manifest
+++ b/net-dialup/slmodem/Manifest
@@ -1,10 +1,6 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX slmodem-2.9.11-kernel-2.6.19.patch 1232 RMD160 44b02574314ec5da34f1a6d5aa064246d33520cc SHA1 cc050ae29f4282dd6f1984184c20f11de6b5f63e SHA256 4deec71a6381a3983493e4d3d8b1b955a8e230545765e49d7c6d203ac3e12aee
-MD5 8e8c7d5d64825f7b452818a4d072649c files/slmodem-2.9.11-kernel-2.6.19.patch 1232
-RMD160 44b02574314ec5da34f1a6d5aa064246d33520cc files/slmodem-2.9.11-kernel-2.6.19.patch 1232
-SHA256 4deec71a6381a3983493e4d3d8b1b955a8e230545765e49d7c6d203ac3e12aee files/slmodem-2.9.11-kernel-2.6.19.patch 1232
AUX slmodem-2.9.11-makefile.patch 872 RMD160 2e0c60d8bdf9d9c936c20d7941030fe3fc439402 SHA1 3c8d191a0e7983247a64e54ca70551fe4b83d046 SHA256 56518c7fa8ce442613ff9f23d87cbabe83ddb1fc21d10ae11dc8e7fd57610189
MD5 ead92ab897f69fd1b9fc97c4c0e305e1 files/slmodem-2.9.11-makefile.patch 872
RMD160 2e0c60d8bdf9d9c936c20d7941030fe3fc439402 files/slmodem-2.9.11-makefile.patch 872
@@ -29,40 +25,35 @@ AUX slusb-udev.script 257 RMD160 62a2d7d4ec28622e89b0dfb045b570a2687e1c9a SHA1 8
MD5 543b775e9eaf20cc5a6c9a23a27744bb files/slusb-udev.script 257
RMD160 62a2d7d4ec28622e89b0dfb045b570a2687e1c9a files/slusb-udev.script 257
SHA256 e93d7a46309898cb6e578f5e56e8b25753b4c371260466b10875034cca96480a files/slusb-udev.script 257
-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-20061021.tar.gz 839050 RMD160 7f307d5267e2c9ecb165b34ccb0432032122eb6d SHA1 f8fc8a88399a2332cdeb2f319b58aa1d058a1487 SHA256 7516ee6fbf897a1fad5689f4cb6ec03b1b459fc53e72cebd1f641d1a25916c98
DIST slmodem-2.9.11-20070505.tar.gz 840019 RMD160 9b052bd749a96771060a63f2f27289287bf06f38 SHA1 3eee8eab39ba567f74c950edaa95993ddfefabf8 SHA256 616a5d8cefb2fadec085c19a17a8e38a8c51d836fe4c813e874636f915249adc
+DIST slmodem-2.9.11-20070813.tar.gz 838510 RMD160 9fa5697d00a242e5ad33fa39bdcf48d7b3954955 SHA1 c686623fa6233040b0448a71973c8b09d422621c SHA256 7698ef23b4993446644eb609107aa7840d56dc5a86db4c96cbfa2caef4156125
DIST ungrab-winmodem-20070505.tar.gz 2254 RMD160 51b71b203688004718826f23dc2485223d8b4a17 SHA1 a89f3bcb2519b4d8413eac45aa984be19f2f49b4 SHA256 9fd9287638f89c17733bb4a6c981b00446f0be18589a71f10f69fca5006a7781
-DIST ungrab-winmodem.tar.gz 1872 RMD160 c7058f884ddf6345ddcd15c984364f4741464fbf SHA1 d8c48969fd840b4f7b15f9d6b269470a44e4eed0 SHA256 b9d966fa13b05876c2921f4bd030dfb151e6810958202010fab661d1689e4e11
-EBUILD slmodem-2.9.11_pre20061021-r2.ebuild 4741 RMD160 2b09300f5d924e9ff634d45676edcf8bc3aed0ab SHA1 3c13f6fdd77d2c13423f9b7fa531a41b67ebc076 SHA256 226a00cf1c63b8750ee8bd057ac278134b835daa97afb680dd1a24157626e552
-MD5 15e9441e73812129a882f0d08a074ca3 slmodem-2.9.11_pre20061021-r2.ebuild 4741
-RMD160 2b09300f5d924e9ff634d45676edcf8bc3aed0ab slmodem-2.9.11_pre20061021-r2.ebuild 4741
-SHA256 226a00cf1c63b8750ee8bd057ac278134b835daa97afb680dd1a24157626e552 slmodem-2.9.11_pre20061021-r2.ebuild 4741
EBUILD slmodem-2.9.11_pre20070505.ebuild 4510 RMD160 a116a38de3b5452cc4b102a633297fe9b1f7d91c SHA1 ed1d7dccfd47b0c41355112c5633109b5556f762 SHA256 db895d437f88036eaa4e8a805b1b9816cb4b028e76f1225d9d4b1245deefa735
MD5 2d77a8cbd1ff80f7217c4a83859d41a0 slmodem-2.9.11_pre20070505.ebuild 4510
RMD160 a116a38de3b5452cc4b102a633297fe9b1f7d91c slmodem-2.9.11_pre20070505.ebuild 4510
SHA256 db895d437f88036eaa4e8a805b1b9816cb4b028e76f1225d9d4b1245deefa735 slmodem-2.9.11_pre20070505.ebuild 4510
-MISC ChangeLog 18882 RMD160 a6bc6f6a9c64f3902a2717a4b59ffd61db6e197d SHA1 64882aa3c0e7534da53aa88a0e7b7a283640c707 SHA256 f33679d2afff9bb7ad4e4663da6347c4c8fff120e0aa4be53f1506a1cca50636
-MD5 59be9927952af087451c771ef0825c67 ChangeLog 18882
-RMD160 a6bc6f6a9c64f3902a2717a4b59ffd61db6e197d ChangeLog 18882
-SHA256 f33679d2afff9bb7ad4e4663da6347c4c8fff120e0aa4be53f1506a1cca50636 ChangeLog 18882
+EBUILD slmodem-2.9.11_pre20070813.ebuild 4532 RMD160 f00bd434a84e3b7152baf4095bcea37d0a962419 SHA1 ac98b024b6bdaab5d028a6269c3c6d64e870be70 SHA256 3ac78acf19b3258e908b78fff0255efb1317e4030051735afe0b57402aa0029e
+MD5 2d49fe1233c8e166875c8f05b0ca1662 slmodem-2.9.11_pre20070813.ebuild 4532
+RMD160 f00bd434a84e3b7152baf4095bcea37d0a962419 slmodem-2.9.11_pre20070813.ebuild 4532
+SHA256 3ac78acf19b3258e908b78fff0255efb1317e4030051735afe0b57402aa0029e slmodem-2.9.11_pre20070813.ebuild 4532
+MISC ChangeLog 19145 RMD160 9b66f92a9190829978d15b357c4ca6e766a6c95e SHA1 79ea9bdd1691a464c82ae090f39b4292d529c686 SHA256 8b7092dc9b69895b5f06e5f39b915740e6846b02fd1fd492394e44d2614c7a90
+MD5 9d9f5fb6501a6776e7f3c6d52eb1767e ChangeLog 19145
+RMD160 9b66f92a9190829978d15b357c4ca6e766a6c95e ChangeLog 19145
+SHA256 8b7092dc9b69895b5f06e5f39b915740e6846b02fd1fd492394e44d2614c7a90 ChangeLog 19145
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 1e86c27a40bdda7df7e235d0495dbc5d files/digest-slmodem-2.9.11_pre20061021-r2 512
-RMD160 e1732463bba377a01a9845a6705e32ea4816655d files/digest-slmodem-2.9.11_pre20061021-r2 512
-SHA256 55e9c497a14ce5058ab1b24c2540bded458b7bcb88bece092aebc0d6f1a301f3 files/digest-slmodem-2.9.11_pre20061021-r2 512
MD5 222b3ae611685ac69d6db7665a8efb0f files/digest-slmodem-2.9.11_pre20070505 539
RMD160 b7c19dad4b797f3541d4e789c5cd49739fba0b89 files/digest-slmodem-2.9.11_pre20070505 539
SHA256 2c097e4e5141c283e1d23b5ff7401152b86c95db57177e6de0cd62f6f26c0887 files/digest-slmodem-2.9.11_pre20070505 539
+MD5 7943cf4557b3d3029129f55d02490460 files/digest-slmodem-2.9.11_pre20070813 539
+RMD160 4cb405c0d7ec5dd0c7a2946375497a3004c4d0c9 files/digest-slmodem-2.9.11_pre20070813 539
+SHA256 22bdaf311d933c2fed6008952207ae82de2c421e1a8999101952263fe19f4f0a files/digest-slmodem-2.9.11_pre20070813 539
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGpvnmNQqtfCuFneMRAi6YAKCGn2mJ4Z0Rg8vgo1JknyHlRR/gMACeO73I
-cOWNgPPvDFhKBbStZZH5QzU=
-=Uajz
+iD8DBQFHHfTyVSA5X31g7/gRAqHeAJ47jZls/CGTKW6jKdiDMdnPZbdAcQCgozli
+aw/XYet5qqF/QRv5W3WhNhs=
+=Px46
-----END PGP SIGNATURE-----
diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20061021-r2 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20061021-r2
deleted file mode 100644
index 2754331a0334..000000000000
--- a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20061021-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 8e1858b0a6d16fce73966759732986ab slmodem-2.9.11-20061021.tar.gz 839050
-RMD160 7f307d5267e2c9ecb165b34ccb0432032122eb6d slmodem-2.9.11-20061021.tar.gz 839050
-SHA256 7516ee6fbf897a1fad5689f4cb6ec03b1b459fc53e72cebd1f641d1a25916c98 slmodem-2.9.11-20061021.tar.gz 839050
-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/digest-slmodem-2.9.11_pre20070813 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20070813
new file mode 100644
index 000000000000..6ddd6435226e
--- /dev/null
+++ b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20070813
@@ -0,0 +1,6 @@
+MD5 4e2eeb99d1fe7db939c0f5fbe05a1b01 slmodem-2.9.11-20070813.tar.gz 838510
+RMD160 9fa5697d00a242e5ad33fa39bdcf48d7b3954955 slmodem-2.9.11-20070813.tar.gz 838510
+SHA256 7698ef23b4993446644eb609107aa7840d56dc5a86db4c96cbfa2caef4156125 slmodem-2.9.11-20070813.tar.gz 838510
+MD5 748bfc7387006293f9eddde119fa9d6f ungrab-winmodem-20070505.tar.gz 2254
+RMD160 51b71b203688004718826f23dc2485223d8b4a17 ungrab-winmodem-20070505.tar.gz 2254
+SHA256 9fd9287638f89c17733bb4a6c981b00446f0be18589a71f10f69fca5006a7781 ungrab-winmodem-20070505.tar.gz 2254
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.19.patch b/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.19.patch
deleted file mode 100644
index 2958470ae034..000000000000
--- a/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.19.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Nru work.orig/slmodem-2.9.11-20061021/drivers/amrmo_init.c work/slmodem-2.9.11-20061021/drivers/amrmo_init.c
---- work.orig/slmodem-2.9.11-20061021/drivers/amrmo_init.c 2006-12-20 20:26:38.000000000 +0200
-+++ work/slmodem-2.9.11-20061021/drivers/amrmo_init.c 2006-12-20 20:28:01.000000000 +0200
-@@ -43,9 +43,11 @@
-
- /*****************************************************************************/
-
--#include <linux/config.h>
--#include <linux/module.h>
- #include <linux/version.h>
-+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
-+# include <linux/config.h>
-+#endif
-+#include <linux/module.h>
- #include <linux/init.h>
- #include <linux/pci.h>
- #include <linux/kernel.h>
-diff -Nru work.orig/ungrab-winmodem/ungrab-winmodem.c work/ungrab-winmodem/ungrab-winmodem.c
---- work.orig/ungrab-winmodem/ungrab-winmodem.c 2006-12-20 20:26:38.000000000 +0200
-+++ work/ungrab-winmodem/ungrab-winmodem.c 2006-12-20 20:28:19.000000000 +0200
-@@ -11,9 +11,11 @@
- *
- */
-
--#include <linux/config.h>
--#include <linux/module.h>
- #include <linux/version.h>
-+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
-+# include <linux/config.h>
-+#endif
-+#include <linux/module.h>
- #include <linux/init.h>
- #include <linux/pci.h>
- #include <linux/kernel.h>
diff --git a/net-dialup/slmodem/files/slusb.hotplug b/net-dialup/slmodem/files/slusb.hotplug
deleted file mode 100644
index a8a056c45f45..000000000000
--- a/net-dialup/slmodem/files/slusb.hotplug
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-RC_NOCOLOR="yes"
-source /sbin/functions.sh
-source /etc/conf.d/slmodem
-if [ -z "${USBMOD}" ];then
- MODULE="slusb"
-else
- MODULE=${USBMOD}
-fi
-source /etc/init.d/slmodem
-source "${svclib}/sh/rc-services.sh"
-start && source "${svclib}/sh/rc-services.sh"
diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20061021-r2.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20070813.ebuild
index 44011bd97864..11532ef4caea 100644
--- a/net-dialup/slmodem/slmodem-2.9.11_pre20061021-r2.ebuild
+++ b/net-dialup/slmodem/slmodem-2.9.11_pre20070813.ebuild
@@ -1,17 +1,19 @@
# Copyright 1999-2007 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_pre20061021-r2.ebuild,v 1.4 2007/07/15 04:52:33 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20070813.ebuild,v 1.1 2007/10/23 13:19:32 mrness Exp $
inherit eutils linux-mod multilib
+UNGRAB_PV="20070505"
+
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"
+ http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-${UNGRAB_PV}.tar.gz"
LICENSE="Smart-Link"
SLOT="0"
-KEYWORDS="-* ~amd64 x86"
+KEYWORDS="-* ~amd64 ~x86"
IUSE="alsa usb"
DEPEND="alsa? ( media-libs/alsa-lib )
@@ -24,7 +26,7 @@ S="${WORKDIR}"/${P/_pre/-}
pkg_setup() {
use amd64 && multilib_toolchain_setup x86
- MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem)"
+ MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem-${UNGRAB_PV})"
if ! use amd64; then
MODULE_NAMES="${MODULE_NAMES} slamr(net:${S}/drivers)"
if use usb; then
@@ -34,17 +36,18 @@ pkg_setup() {
fi
BUILD_TARGETS="all"
linux-mod_pkg_setup
- BUILD_PARAMS="KERNEL_DIR=${KV_DIR}"
+ BUILD_PARAMS="KERNEL_DIR=${KV_OUT_DIR}"
}
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
- sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem:" \
- ungrab-winmodem/Makefile
- convert_to_m ungrab-winmodem/Makefile
+ sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}:" \
+ ungrab-winmodem-${UNGRAB_PV}/Makefile
+ convert_to_m ungrab-winmodem-${UNGRAB_PV}/Makefile
+
+ epatch "${FILESDIR}"/${PN}-ungrab-winmodem-hp500.patch
- epatch "${FILESDIR}/${P%%_*}-kernel-2.6.19.patch"
cd "${S}"
epatch "${FILESDIR}/${P%%_*}-makefile.patch"
@@ -88,60 +91,44 @@ src_install() {
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}/slmodem-modules" ${PN}
+ # Add module aliases and install udev script
+ insinto /etc/modules.d/
+ newins "${FILESDIR}/slmodem-modules" ${PN}
if use usb; then
- exeinto /etc/hotplug/usb; newexe "${FILESDIR}/slusb.hotplug" slusb
+ exeinto /$(get_libdir)/udev
+ newexe "${FILESDIR}/slusb-udev.script" slmodem_usb.sh
fi
- dodir /etc/hotplug/blacklist.d
- echo -e "slusb\nslamr\nsnd-intel8x0m" >> "${D}/etc/hotplug/blacklist.d/${PN}"
+ dodir /etc/modprobe.d
+ echo -e "blacklist slusb\nblacklist slamr\nblacklist snd-intel8x0m" >> "${D}/etc/modprobe.d/${PN}"
- # Add configuration for devfs, udev
- insinto /etc/devfs.d/; newins "${FILESDIR}/${PN}-2.9.devfs" ${PN}
+ # Add configuration for udev
dodir /etc/udev/rules.d/
echo 'KERNEL=="slamr", NAME="slamr0" GROUP="dialout"' > \
"${D}/etc/udev/rules.d/55-${PN}.rules"
if use usb; then
- echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout"' >> \
+ echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout" RUN+="slmodem_usb.sh"' >> \
"${D}/etc/udev/rules.d/55-${PN}.rules"
fi
- dodoc Changes README "${WORKDIR}/ungrab-winmodem/Readme.txt"
-}
-
-pkg_preinst() {
- linux-mod_pkg_preinst
-
- # Remove obsolete devfs configuration files if the box use udev
- if [ -e "${ROOT}/dev/.udev" ]; then
- rm -r "${D}/etc/devfs.d"
- fi
+ dodoc Changes README
+ newdoc "${WORKDIR}"/ungrab-winmodem-${UNGRAB_PV}/Readme.txt README-ungrab-winmodem.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
+ if [ -e "${ROOT}/dev/.udev" ]; then
+ ebegin "Reloading udev rules..."
+ udevcontrol reload_rules
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"
+ ewarn "To avoid problems, slusb/slamr have been blacklisted in /etc/modprobe.d/${PN}"
elog "You must edit /etc/conf.d/${PN} for your configuration"
elog "To add slmodem to your startup - type : rc-update add slmodem default"
elog
@@ -161,4 +148,5 @@ pkg_postinst() {
elog "If you see the following in dmesg:"
elog " slamr: device 10b9:5457 is grabbed by driver serial"
elog "you need to modprobe ungrab-winmodem before slamr"
+ elog "See /etc/modules.d/slmodem for details."
}