diff options
-rw-r--r-- | net-dialup/slmodem/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/slmodem/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/slmodem/files/digest-slmodem-2.9.9a | 1 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild | 4 | ||||
-rw-r--r-- | net-dialup/slmodem/slmodem-2.9.9a.ebuild | 135 |
5 files changed, 12 insertions, 146 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog index 1453c79b1819..209e56460b49 100644 --- a/net-dialup/slmodem/ChangeLog +++ b/net-dialup/slmodem/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/slmodem # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.38 2005/01/21 16:09:20 dsd Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.39 2005/01/21 21:12:22 dsd Exp $ + + 22 Jan 2005; Daniel Drake <dsd@gentoo.org> slmodem-2.9.9a-r1.ebuild, + -slmodem-2.9.9a.ebuild: + Stable on x86 *slmodem-2.9.9a-r1 (21 Jan 2005) diff --git a/net-dialup/slmodem/Manifest b/net-dialup/slmodem/Manifest index b847aa0c5d10..c289048c2e94 100644 --- a/net-dialup/slmodem/Manifest +++ b/net-dialup/slmodem/Manifest @@ -1,23 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 084a945334d2d2e21acc1b423007d41e slmodem-2.9.9a-r1.ebuild 3940 -MD5 892305278c2052d7be27f77a9c103679 slmodem-2.9.9a.ebuild 3864 -MD5 d7deee60e5e5e08b4ae3f415c8b98ea3 ChangeLog 9602 +MD5 f2633543a91ace8e99e01d29432a50fc slmodem-2.9.9a-r1.ebuild 3939 +MD5 057a7259ae6081d43ad824be5866fd8e ChangeLog 9716 MD5 93dd8a9d0c0f815e8445d9f0c1fc0910 metadata.xml 578 MD5 a5c2c40e3a6c4665033c97bb9088f03d files/slusb.hotplug 262 MD5 8834a62c67909059cef10887bfbcc853 files/slmodem-2.9.modules 494 MD5 0eddf6239c6536fc043144a9ea06fa2a files/slmodem-2.9.9a-alsa.patch 1040 MD5 67543ad2e41e6dbc2150057340bb82b1 files/slmodem-2.9.conf 752 MD5 64d03a3c87a5330faa6b8dd9d344b6a3 files/slmodem-2.9.init 2657 -MD5 ef9ad53b66480e01974b9f183e4edbc8 files/digest-slmodem-2.9.9a 66 MD5 ef9ad53b66480e01974b9f183e4edbc8 files/digest-slmodem-2.9.9a-r1 66 MD5 c80ecf5c3d5605220e4b0055850260a5 files/slmodem-2.9.devfs 786 MD5 026f2e2fae1fbd999455b36630164a88 files/slmodem-usb_endpoint_halted-gentoo.patch 830 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFB8VL3iJcSIUGNthERAtE8AKCq8h33EqUMO2nIP3fuzygHQbe7SACfWfCZ -+y2dAaf+4tszSWqCbfKXrBo= -=mYtV +iD8DBQFB8ZpQiJcSIUGNthERAvfeAJ9AQ7oB7M8dgfxbWOuzwtIigk47xQCfbJPE +Jhy/pMTNCm7kEpYDpekKE+Y= +=MI4a -----END PGP SIGNATURE----- diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.9a b/net-dialup/slmodem/files/digest-slmodem-2.9.9a deleted file mode 100644 index e1578e200497..000000000000 --- a/net-dialup/slmodem/files/digest-slmodem-2.9.9a +++ /dev/null @@ -1 +0,0 @@ -MD5 2330415f6b60b4eb4593592abb09da7b slmodem-2.9.9a.tar.gz 709728 diff --git a/net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild b/net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild index e0cb4bfa18d4..63fab5b20a1c 100644 --- a/net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild +++ b/net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild @@ -1,6 +1,6 @@ # 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.9a-r1.ebuild,v 1.1 2005/01/21 16:09:20 dsd Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.9a-r1.ebuild,v 1.2 2005/01/21 21:12:22 dsd Exp $ inherit eutils linux-mod @@ -9,7 +9,7 @@ HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/" SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/${P}.tar.gz" LICENSE="Smart-Link" SLOT="0" -KEYWORDS="~x86 -*" +KEYWORDS="x86 -*" IUSE="alsa usb" DEPEND="virtual/libc diff --git a/net-dialup/slmodem/slmodem-2.9.9a.ebuild b/net-dialup/slmodem/slmodem-2.9.9a.ebuild deleted file mode 100644 index ad2b427ab26a..000000000000 --- a/net-dialup/slmodem/slmodem-2.9.9a.ebuild +++ /dev/null @@ -1,135 +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.9a.ebuild,v 1.2 2005/01/18 21:42:31 dsd 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/${P}.tar.gz" -LICENSE="Smart-Link" -SLOT="0" -KEYWORDS="x86 -*" -IUSE="alsa usb" - -DEPEND="virtual/libc - alsa? ( media-libs/alsa-lib ) - >=sys-apps/sed-4" - -RDEPEND="virtual/libc - alsa? ( media-libs/alsa-lib )" - -pkg_setup() { - MODULE_NAMES="slamr(extra:${S}/drivers)" - useq usb && MODULE_NAMES="${MODULE_NAMES} slusb(extra:${S}/drivers)" - BUILD_TARGETS="all" - - local CONFIG_CHECK="" - if useq alsa; then - CONFIG_CHECK="${CONFIG_CHECK} SND" - fi - if useq usb; then - CONFIG_CHECK="${CONFIG_CHECK} USB" - fi - - linux-mod_pkg_setup - BUILD_PARAMS="KERNEL_DIR=${KV_DIR}" -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${PN}-usb_endpoint_halted-gentoo.patch || die "failed to apply usb_endpoint patch" - - convert_to_m drivers/Makefile -} - -src_compile() { - local MAKE_PARAMS="" - if useq 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 - - dodoc COPYING Changes README - - # Install /etc/{devfs,modules,init,conf}.d/slmodem files - insinto /etc/conf.d/; newins ${FILESDIR}/${PN}-2.9.conf ${PN} - insopts -m0755; insinto /etc/init.d/; newins ${FILESDIR}/${PN}-2.9.init ${PN} - sed -i -e "s/ALSACONF//g" -e "s/PCICONF//g" -e "s/USBCONF//g" ${D}/etc/conf.d/slmodem - - # Make some devices if we aren't using devfs - # If we are using devfs, restart it - if [ -e ${ROOT}/dev/.devfsd ] ; then - # devfs - insinto /etc/devfs.d/; newins ${FILESDIR}/${PN}-2.9.devfs ${PN} - elif [ -e ${ROOT}/dev/.udev ] ; then - # udev - # check Symlink - dodir /etc/udev/rules.d/ - echo 'KERNEL="slamr", NAME="slamr0"' > \ - ${D}/etc/udev/rules.d/55-${PN}.rules - echo 'KERNEL="slusb", NAME="slusb0"' >> \ - ${D}/etc/udev/rules.d/55-${PN}.rules - dodir /etc/udev/permissions.d - echo 'slamr*:root:dialout:0660' > \ - ${D}/etc/udev/permissions.d/55-${PN}.permissions - fi - - #Create device nodes, add module aliases and install hotplug script - make -C drivers DESTDIR=${D} KERNEL_DIR="${ROOT}/usr/src/linux" install-devices - insinto /etc/modules.d/; insopts -m0644; newins ${FILESDIR}/${PN}-2.9.modules ${PN} - useq usb && - ( insinto /etc/hotplug/usb; insopts -m0755; newins ${FILESDIR}/slusb.hotplug slusb ) - - dodir /etc/hotplug/blacklist.d - echo -e "slusb\nslamr\nsnd-intel8x0m" >> ${D}/etc/hotplug/blacklist.d/55-${PN} -} - -pkg_postinst() { - linux-mod_pkg_postinst - - # Make some devices if we aren't using devfs - # If we are using devfs, restart it - 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 $? - 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/module.d/alsa" - einfo 'to: "alias snd-card-(number) snd-intel8x0m"' - fi -} |