diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-03-22 20:46:52 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-03-22 20:46:52 +0000 |
commit | 59cf7c76df4be33f6c7869a814fd83f1169c5449 (patch) | |
tree | a7b741a545c5183209924957c78e6756aeb524ec /net-dialup/slmodem | |
parent | amd64 stable for 1.101. (diff) | |
download | historical-59cf7c76df4be33f6c7869a814fd83f1169c5449.tar.gz historical-59cf7c76df4be33f6c7869a814fd83f1169c5449.tar.bz2 historical-59cf7c76df4be33f6c7869a814fd83f1169c5449.zip |
Fix 2.6.16 compiling, thanks to pb <gentoobugzilla@mytrashmail.com> in bug 127176, remove old ebuilds
Package-Manager: portage-2.1_pre6-r4
Diffstat (limited to 'net-dialup/slmodem')
-rw-r--r-- | net-dialup/slmodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/slmodem/Manifest | 40 | ||||
-rw-r--r-- | net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20050816 | 2 | ||||
-rw-r--r-- | net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009 | 2 | ||||
-rw-r--r-- | net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009-r1 | 2 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.11_pre20050816.ebuild | 146 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.11_pre20051009-r1.ebuild | 153 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.11_pre20051009.ebuild | 153 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild | 6 |
9 files changed, 17 insertions, 495 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog index 892c658f8366..12a30a9e99b7 100644 --- a/net-dialup/slmodem/ChangeLog +++ b/net-dialup/slmodem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/slmodem # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.56 2006/02/25 21:31:51 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.57 2006/03/22 20:46:52 genstef Exp $ + + 22 Mar 2006; Stefan Schweizer <genstef@gentoo.org> + -slmodem-2.9.11_pre20050816.ebuild, -slmodem-2.9.11_pre20051009.ebuild, + -slmodem-2.9.11_pre20051009-r1.ebuild, slmodem-2.9.11_pre20051101.ebuild: + Fix 2.6.16 compiling, thanks to pb <gentoobugzilla@mytrashmail.com> in bug + 127176, remove old ebuilds 25 Feb 2006; Daniel Black <dragonheart@gentoo.org> metadata.xml: I've not maintained this for a while. removing self from metadata. Thanks diff --git a/net-dialup/slmodem/Manifest b/net-dialup/slmodem/Manifest index c06a74397000..f6225ff4914c 100644 --- a/net-dialup/slmodem/Manifest +++ b/net-dialup/slmodem/Manifest @@ -1,18 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 869e338efdc34bd749b77ccbb02b4128 ChangeLog 13060 -RMD160 3a5eb4515119051dab7cda753a7c84c50b5b7a19 ChangeLog 13060 -SHA256 65f51828c8efe1d893dc5733db33c588d7eec6ca853e58eef60c971b8a10d0e4 ChangeLog 13060 -MD5 8338cfc9815a953d85195bdccd9fbc97 files/digest-slmodem-2.9.11_pre20050816 140 -RMD160 fda4abd089a35d0cef0ca1b84d23475fcf216395 files/digest-slmodem-2.9.11_pre20050816 140 -SHA256 b22f2a6d0feeed30a732e5f0d6a92a7db4ba114e351a46f2eab2c9f06ece2f70 files/digest-slmodem-2.9.11_pre20050816 140 -MD5 cae2ec761f3db78791ab4ec7f0e83d5b files/digest-slmodem-2.9.11_pre20051009 140 -RMD160 6ce094c1f144c0f81c64420bc9678de269c70bfd files/digest-slmodem-2.9.11_pre20051009 140 -SHA256 d781b0ee276bafbf0181618ed65ff67ef96ef0036e08f932f2836a4fae2ab5d9 files/digest-slmodem-2.9.11_pre20051009 140 -MD5 cae2ec761f3db78791ab4ec7f0e83d5b files/digest-slmodem-2.9.11_pre20051009-r1 140 -RMD160 6ce094c1f144c0f81c64420bc9678de269c70bfd files/digest-slmodem-2.9.11_pre20051009-r1 140 -SHA256 d781b0ee276bafbf0181618ed65ff67ef96ef0036e08f932f2836a4fae2ab5d9 files/digest-slmodem-2.9.11_pre20051009-r1 140 +MD5 bad768bd7f3d224370f7c0fb2f8d7c13 ChangeLog 13366 +RMD160 4ee7372647995b568a577d8ee586432c0bd43478 ChangeLog 13366 +SHA256 8d5065b9d8ff634a0745928f65319fc089d68cef30bd1fb358d4d63f2e1f5a7e ChangeLog 13366 MD5 66a7f4e6682670216c1497606c9c600b files/digest-slmodem-2.9.11_pre20051101 140 RMD160 3f3230049844aaf3a09ca309e5c02dfeb2afe0f1 files/digest-slmodem-2.9.11_pre20051101 140 SHA256 ea8bd2be57d7528880a238d18be6ab8c7413b2b0c16d9236a44d59e9d2bce949 files/digest-slmodem-2.9.11_pre20051101 140 @@ -55,25 +43,9 @@ SHA256 1806e732086915be8ca3c43d0abaf73bdde945eb1e11bd24a12c7309be4cdfed files/sl MD5 eeb22f4e1b5d94396c26c416cd9d6aed metadata.xml 258 RMD160 b47a6e63612f9a63019ed0564245cafb4c086a28 metadata.xml 258 SHA256 64186ffb8c55be0e733edbec2cc5176a4079104e3f0ee8dbcce9f1bd49ad0037 metadata.xml 258 -MD5 efbbb8c40614e5c3d370b0c55eb6b67e slmodem-2.9.11_pre20050816.ebuild 4345 -RMD160 6a4ec87c670e1bd2861702cafa1c6d593347b637 slmodem-2.9.11_pre20050816.ebuild 4345 -SHA256 8765737dc13f2858b65d9836471f10b2bb418f44baec9f4f14c51a702ebcf042 slmodem-2.9.11_pre20050816.ebuild 4345 -MD5 d674ea9e8c47078b3bc481b565f1998f slmodem-2.9.11_pre20051009-r1.ebuild 4556 -RMD160 a4111d4b080147972f498fbf9d1f67fac82d8e82 slmodem-2.9.11_pre20051009-r1.ebuild 4556 -SHA256 f466268e6a8f8df89528faf87a169a383ea88bd6e4994725fcfdb98d64e42a00 slmodem-2.9.11_pre20051009-r1.ebuild 4556 -MD5 54c73f3777213c30e2a93b7ff18bd711 slmodem-2.9.11_pre20051009.ebuild 4549 -RMD160 dcb6b54548ed024c0238addaaed929408bfd28ed slmodem-2.9.11_pre20051009.ebuild 4549 -SHA256 6a14efebf8915a825cde02aafa6cfbd50dae6a3e7d77cb68a911ab66eccb79bc slmodem-2.9.11_pre20051009.ebuild 4549 -MD5 76dc106e077e47aeb5d9dc6e79bca51a slmodem-2.9.11_pre20051101.ebuild 4491 -RMD160 f6f9ee3056dc06d91766ab35ee35b32917d7bef6 slmodem-2.9.11_pre20051101.ebuild 4491 -SHA256 a4e46e3bbc892779f8a0fed00ebd13c7ac901b982f1dddb6c547d1d795df8587 slmodem-2.9.11_pre20051101.ebuild 4491 +MD5 9e8b4e318757048d108c8e9f46512d2b slmodem-2.9.11_pre20051101.ebuild 4575 +RMD160 28e30e161954921ae32d484df7f6b8426665c26c slmodem-2.9.11_pre20051101.ebuild 4575 +SHA256 2e1a7a1e48e1367cac708e54c6af5e01aa69837bc0ae3fa0d630fd756c570247 slmodem-2.9.11_pre20051101.ebuild 4575 MD5 da3f5db025a3799ee1bdf5b9eef53601 slmodem-2.9.9d.ebuild 3553 RMD160 f1ca0a06fc2228fb0ef83dc9ce45c235fe3de9bb slmodem-2.9.9d.ebuild 3553 SHA256 ca8ea2ac5d1eaa896b6c43576ffedd66561c5c900b4db301e53721c1a1db9c58 slmodem-2.9.9d.ebuild 3553 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFEAM0EmdTrptrqvGERAnVgAJ9aPs4Z7Lu7KN5b3oWkcNswpvkSIACfcTnc -xmiVOy5KDai6hrVcav8jLZM= -=FazC ------END PGP SIGNATURE----- diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20050816 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20050816 deleted file mode 100644 index ba6275faa8e4..000000000000 --- a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20050816 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9da522c02ae054251ef69618de928e98 slmodem-2.9.11-20050816.tar.gz 828674 -MD5 a23326976632fe7774e110cbc0636f70 ungrab-winmodem.tar.gz 1872 diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009 deleted file mode 100644 index 96c7de961cbb..000000000000 --- a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 292fec9aab5b2225cc94acc3a3c2adf2 slmodem-2.9.11-20051009.tar.gz 833615 -MD5 a23326976632fe7774e110cbc0636f70 ungrab-winmodem.tar.gz 1872 diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009-r1 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009-r1 deleted file mode 100644 index 96c7de961cbb..000000000000 --- a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051009-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 292fec9aab5b2225cc94acc3a3c2adf2 slmodem-2.9.11-20051009.tar.gz 833615 -MD5 a23326976632fe7774e110cbc0636f70 ungrab-winmodem.tar.gz 1872 diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20050816.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20050816.ebuild deleted file mode 100644 index 337b86b50381..000000000000 --- a/net-dialup/slmodem/slmodem-2.9.11_pre20050816.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2005 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_pre20050816.ebuild,v 1.5 2005/10/16 09:11:45 mrness Exp $ - -inherit eutils linux-mod - -DESCRIPTION="Driver for Smart Link modem" -HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/" -SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/snapshots/${P/_pre/-}.tar.gz - http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem.tar.gz" -LICENSE="Smart-Link" -SLOT="0" -KEYWORDS="~x86 -*" -IUSE="alsa usb" - -RDEPEND="virtual/libc - alsa? ( media-libs/alsa-lib )" - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" -S=${WORKDIR}/${P/_pre/-} - -pkg_setup() { - MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem) slamr(net:${S}/drivers)" - if use usb; then - MODULE_NAMES="${MODULE_NAMES} slusb(net:${S}/drivers)" - CONFIG_CHECK="USB" - fi - BUILD_TARGETS="all" - linux-mod_pkg_setup - BUILD_PARAMS="KERNEL_DIR=${KV_DIR}" - MODULESD_UNGRAB_WINMODEM_ENABLED="no" - MODULESD_SLAMR_ENABLED="no" - MODULESD_SLUSB_ENABLED="no" -} - -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} - sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \ - ${S}/drivers/Makefile - convert_to_m ${S}/drivers/Makefile - epatch ${FILESDIR}/slmodem-class-simple-to-class.diff - epatch ${FILESDIR}/slmodem-remove-URB_ASYNC_UNLINK.patch -} - -src_compile() { - local MAKE_PARAMS="" - if use alsa; then - MAKE_PARAMS="SUPPORT_ALSA=1" - fi - emake ${MAKE_PARAMS} modem || die "failed to build modem" - - 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 - - insinto /etc/conf.d/; newins ${FILESDIR}/${PN}-2.9.conf ${PN} - exeinto /etc/init.d/; newexe ${FILESDIR}/${PN}-2.9.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" -} diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20051009-r1.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20051009-r1.ebuild deleted file mode 100644 index 0b58f9a91daa..000000000000 --- a/net-dialup/slmodem/slmodem-2.9.11_pre20051009-r1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2005 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_pre20051009-r1.ebuild,v 1.1 2005/10/22 22:45:07 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="virtual/libc - alsa? ( media-libs/alsa-lib ) - amd64? ( app-emulation/emul-linux-x86-soundlibs )" - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" -S=${WORKDIR}/${P/_pre/-} - -pkg_setup() { - has_multilib_profile && ABI=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}" - MODULESD_UNGRAB_WINMODEM_ENABLED="no" - MODULESD_SLAMR_ENABLED="no" - MODULESD_SLUSB_ENABLED="no" -} - -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} - sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \ - ${S}/drivers/Makefile - convert_to_m ${S}/drivers/Makefile - epatch ${FILESDIR}/slmodem-remove-URB_ASYNC_UNLINK.patch - epatch ${FILESDIR}/slmodem-amd64-Makefile.diff -} - -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" - - has_multilib_profile && ABI=${DEFAULT_ABI} - 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 - - insinto /etc/conf.d/; newins ${FILESDIR}/${PN}-2.9.conf ${PN} - exeinto /etc/init.d/; newexe ${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" -} diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20051009.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20051009.ebuild deleted file mode 100644 index 29a61bf4e0c1..000000000000 --- a/net-dialup/slmodem/slmodem-2.9.11_pre20051009.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2005 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_pre20051009.ebuild,v 1.2 2005/10/16 09:11:45 mrness 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="virtual/libc - alsa? ( media-libs/alsa-lib ) - amd64? ( app-emulation/emul-linux-x86-soundlibs )" - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" -S=${WORKDIR}/${P/_pre/-} - -pkg_setup() { - has_multilib_profile && ABI=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}" - MODULESD_UNGRAB_WINMODEM_ENABLED="no" - MODULESD_SLAMR_ENABLED="no" - MODULESD_SLUSB_ENABLED="no" -} - -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} - sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \ - ${S}/drivers/Makefile - convert_to_m ${S}/drivers/Makefile - epatch ${FILESDIR}/slmodem-remove-URB_ASYNC_UNLINK.patch - epatch ${FILESDIR}/slmodem-amd64-Makefile.diff -} - -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" - - has_multilib_profile && ABI=${DEFAULT_ABI} - 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 - - insinto /etc/conf.d/; newins ${FILESDIR}/${PN}-2.9.conf ${PN} - exeinto /etc/init.d/; newexe ${FILESDIR}/${PN}-2.9.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" -} diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild index 3502aea050c6..bf6463116fa0 100644 --- a/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild +++ b/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.1 2005/11/06 13:58:42 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild,v 1.2 2006/03/22 20:46:52 genstef Exp $ inherit eutils linux-mod multilib @@ -50,6 +50,8 @@ src_unpack() { sed -i "s: -O::" ${S}/modem/Makefile sed -i "s:LFLAGS:LDFLAGS:" ${S}/modem/Makefile sed -i "s/^slmodemd: -lasound$//" ${S}/modem/Makefile + cd drivers + sed -i "s:.*=[ \t]*THIS_MODULE.*::" st7554.c amrmo_init.c old_st7554.c } src_compile() { |