diff options
-rw-r--r-- | net-dialup/slmodem/ChangeLog | 5 | ||||
-rw-r--r-- | net-dialup/slmodem/Manifest | 4 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.7.14.ebuild | 20 |
3 files changed, 18 insertions, 11 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog index 8c51ff160113..cad45245bca5 100644 --- a/net-dialup/slmodem/ChangeLog +++ b/net-dialup/slmodem/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/slmodem # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.3 2003/12/14 12:27:47 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.4 2003/12/14 12:42:26 spyderous Exp $ + + 14 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; slmodem-2.7.14.ebuild: + Fixup for people not using devfs. 14 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; slmodem-2.7.14.ebuild: Stable on x86. diff --git a/net-dialup/slmodem/Manifest b/net-dialup/slmodem/Manifest index 6dd3da083e86..3942fc2f9d48 100644 --- a/net-dialup/slmodem/Manifest +++ b/net-dialup/slmodem/Manifest @@ -1,6 +1,6 @@ -MD5 7db697fba1508349b0c133109f84194f ChangeLog 692 +MD5 e8b2627c6bf406401222d4f0846216df ChangeLog 807 MD5 8114f79f8735648770d8f37c32861c88 metadata.xml 252 -MD5 97325d47c042aca1a62a0be42e66f3e2 slmodem-2.7.14.ebuild 1457 +MD5 4bbcdb565cedaed091379070cdc7fceb slmodem-2.7.14.ebuild 1504 MD5 04150d1eddd9774a7d1a70df93600e3c files/digest-slmodem-2.7.14 64 MD5 5565553c8ddd949c38070e59ce64b90c files/slmodem-2.7.14-makefile-fixup.patch 1626 MD5 df926a828ac12650f7a841e67a7f1ee4 files/slmodem-2.7.devfs 430 diff --git a/net-dialup/slmodem/slmodem-2.7.14.ebuild b/net-dialup/slmodem/slmodem-2.7.14.ebuild index 710410ea50f4..1158b36c3447 100644 --- a/net-dialup/slmodem/slmodem-2.7.14.ebuild +++ b/net-dialup/slmodem/slmodem-2.7.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.7.14.ebuild,v 1.3 2003/12/14 12:27:47 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.7.14.ebuild,v 1.4 2003/12/14 12:42:26 spyderous Exp $ DESCRIPTION="Driver for Smart Link modem" HOMEPAGE="http://www.smlink.com/" @@ -38,22 +38,26 @@ src_install() { pkg_postinst() { # Make some devices if we aren't using devfs - if [ ! -e ${ROOT}dev/.devfsd ] ; then + # If we are using devfs, restart it + if [ ! -e ${ROOT}dev/.devfsd ] + then ebegin "Creating /dev/ttySL* devices" local C="0" - while [ "${C}" -lt "4" ]; do - if [ ! -c ${ROOT}dev/ttySL${C} ]; then + while [ "${C}" -lt "4" ] + do + if [ ! -c ${ROOT}dev/ttySL${C} ] + then mknod ${ROOT}dev/ttySL${C} c 212 0 fi C="`expr $C + 1`" done eend 0 + else + ebegin "Restarting devfsd to create /dev/modem symlink" + killall -HUP devfsd + eend 0 fi - ebegin "Restarting devfsd to create /dev/modem symlink" - killall -HUP devfsd - eend 0 - echo einfo "You must edit /etc/modules.d/${PN} and run" einfo "modules-update to complete configuration." |