diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-09-22 16:34:51 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-09-22 16:34:51 +0000 |
commit | 65c920e83976283b5dab4e1f03cfc7b587efb0ef (patch) | |
tree | ded632f22a4c8d662385af5d766e1c2a576a4626 /net-dialup | |
parent | stable sparc, bug 284566 (diff) | |
download | gentoo-2-65c920e83976283b5dab4e1f03cfc7b587efb0ef.tar.gz gentoo-2-65c920e83976283b5dab4e1f03cfc7b587efb0ef.tar.bz2 gentoo-2-65c920e83976283b5dab4e1f03cfc7b587efb0ef.zip |
Remove obsolete versions.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/hcfpcimodem/ChangeLog | 10 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch | 22 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/files/hcfpcimodem-1.17-gentoo.patch | 29 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/files/hcfpcimodem-1.18-gentoo.patch | 29 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild | 90 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.15.ebuild | 84 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild | 84 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.17-r1.ebuild | 91 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild | 84 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.18.ebuild | 91 |
10 files changed, 9 insertions, 605 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog index 8b37e4f9cc61..3f64eee4bb9f 100644 --- a/net-dialup/hcfpcimodem/ChangeLog +++ b/net-dialup/hcfpcimodem/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dialup/hcfpcimodem # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.42 2009/09/22 13:14:55 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.43 2009/09/22 16:34:51 mrness Exp $ + + 22 Sep 2009; Alin Năstac <mrness@gentoo.org> -hcfpcimodem-1.14-r1.ebuild, + -files/hcfpcimodem-1.14-implicit-declarations.patch, + -hcfpcimodem-1.15.ebuild, -hcfpcimodem-1.16.ebuild, + -hcfpcimodem-1.17.ebuild, -hcfpcimodem-1.17-r1.ebuild, + -files/hcfpcimodem-1.17-gentoo.patch, -hcfpcimodem-1.18.ebuild, + -files/hcfpcimodem-1.18-gentoo.patch: + Remove obsolete versions. 22 Sep 2009; Markus Meier <maekke@gentoo.org> hcfpcimodem-1.19.ebuild: x86 stable, bug #282168 diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch deleted file mode 100644 index ca0cb857b138..000000000000 --- a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nru hcfpcimodem-1.14full.orig/diag/diag.c hcfpcimodem-1.14full/diag/diag.c ---- hcfpcimodem-1.14full.orig/diag/diag.c 2004-12-14 09:50:46.000000000 +0200 -+++ hcfpcimodem-1.14full/diag/diag.c 2007-11-06 00:13:33.000000000 +0200 -@@ -13,6 +13,7 @@ - #include <asm/byteorder.h> - #include <stdio.h> - #include <sys/select.h> -+#include <stdlib.h> - - #include "framewrk.h" - #include "osservices.h" -diff -Nru hcfpcimodem-1.14full.orig/diag/modemexpert.c hcfpcimodem-1.14full/diag/modemexpert.c ---- hcfpcimodem-1.14full.orig/diag/modemexpert.c 2004-12-14 09:50:39.000000000 +0200 -+++ hcfpcimodem-1.14full/diag/modemexpert.c 2007-11-06 00:13:33.000000000 +0200 -@@ -13,6 +13,7 @@ - #include <errno.h> - #include <signal.h> - #include <sys/queue.h> -+#include <string.h> - - #include "framewrk.h" - #include "osservices.h" diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.17-gentoo.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.17-gentoo.patch deleted file mode 100644 index 9ac0be4dde56..000000000000 --- a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.17-gentoo.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Nru hcfpcimodem-1.17full.orig/diag/makefile hcfpcimodem-1.17full/diag/makefile ---- hcfpcimodem-1.17full.orig/diag/makefile 2004-12-14 07:50:41.000000000 +0000 -+++ hcfpcimodem-1.17full/diag/makefile 2008-10-18 07:41:51.000000000 +0000 -@@ -10,7 +10,7 @@ - include $(TOP)/config.mak - -include $(TOP)/modules/imported/makeflags.mak - --CFLAGS = -I$(TOP)/modules/imported/include -I$(TOP)/modules/include -+CFLAGS += -I$(TOP)/modules/imported/include -I$(TOP)/modules/include - CFLAGS += $(IMPORTED_FRAMEWORK_DEFS) $(IMPORTED_GENERAL_DEFS) - CFLAGS += -DCNXTTARGET="\"$(CNXTTARGET)\"" - -@@ -41,13 +41,13 @@ - $(MKDIR) -p $@ - - $(CNXTTARGET)diag: diag.o modemexpert.o -- $(CC) -o $@ $^ -+ $(CC) ${LDFLAGS} -o $@ $^ - - $(CNXTTARGET)scr: scr.o -- $(CC) -o $@ $^ -+ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ - - $(CNXTTARGET)dmp: dmp.o -- $(CC) -o $@ $^ -+ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ - - clean: - rm -f *.o $(ALL) diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.18-gentoo.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.18-gentoo.patch deleted file mode 100644 index 91a17314e976..000000000000 --- a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.18-gentoo.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Nru hcfpcimodem-1.18full.orig/diag/makefile hcfpcimodem-1.18full/diag/makefile ---- hcfpcimodem-1.18full.orig/diag/makefile 2004-12-14 07:50:41.000000000 +0000 -+++ hcfpcimodem-1.18full/diag/makefile 2009-01-12 22:29:02.000000000 +0000 -@@ -10,7 +10,7 @@ - include $(TOP)/config.mak - -include $(TOP)/modules/imported/makeflags.mak - --CFLAGS = -I$(TOP)/modules/imported/include -I$(TOP)/modules/include -+CFLAGS += -I$(TOP)/modules/imported/include -I$(TOP)/modules/include - CFLAGS += $(IMPORTED_FRAMEWORK_DEFS) $(IMPORTED_GENERAL_DEFS) - CFLAGS += -DCNXTTARGET="\"$(CNXTTARGET)\"" - -@@ -41,13 +41,13 @@ - $(MKDIR) -p $@ - - $(CNXTTARGET)diag: diag.o modemexpert.o -- $(CC) -o $@ $^ -+ $(CC) ${LDFLAGS} -o $@ $^ - - $(CNXTTARGET)scr: scr.o -- $(CC) -o $@ $^ -+ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ - - $(CNXTTARGET)dmp: dmp.o -- $(CC) -o $@ $^ -+ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ - - clean: - rm -f *.o $(ALL) diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild deleted file mode 100644 index 7cf2c7d2daf0..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild,v 1.1 2008/01/09 19:09:44 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_unpack() { - unpack ${A} - - epatch "${FILESDIR}/${P}-implicit-declarations.patch" -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.15.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.15.ebuild deleted file mode 100644 index 330b3fb29a56..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.15.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.15.ebuild,v 1.2 2008/04/13 11:09:26 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild deleted file mode 100644 index c807464dcbad..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild,v 1.1 2008/07/30 20:56:02 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.17-r1.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.17-r1.ebuild deleted file mode 100644 index 56c04581d840..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.17-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.17-r1.ebuild,v 1.1 2008/10/18 07:48:20 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}"/${P}-gentoo.patch -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild deleted file mode 100644 index 2b2c7447b974..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild,v 1.1 2008/09/25 20:55:12 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.18.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.18.ebuild deleted file mode 100644 index 4289e5212075..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.18.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.18.ebuild,v 1.1 2009/01/12 22:32:02 mrness Exp $ - -inherit eutils linux-info - -#The document is the same as in hsfmodem, even if it has a different URL -MY_DOC="100498D_RM_HxF_Released.pdf" - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz - doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="doc" - -DEPEND="dev-lang/perl - app-arch/cpio" - -S="${WORKDIR}/${P}full" - -QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" - -pkg_setup() { - linux-info_pkg_setup - - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}"/${P}-gentoo.patch -} - -src_compile() { - emake all || die "make failed" -} - -pkg_preinst() { - local NVMDIR="${ROOT}/etc/${PN}/nvm" - if [ -d "${NVMDIR}" ]; then - einfo "Cleaning ${NVMDIR}..." - rm -rf "${NVMDIR}" - eend - fi -} - -src_install () { - make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" - - # in some cases, kernelcompiler.sh does not have x permission (#173414) - fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh - - use doc && dodoc "${DISTDIR}/${MY_DOC}" -} - -pkg_postinst() { - if [ "${ROOT}" = / ]; then - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." - fi -} - -pkg_prerm() { - if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then - hcfpciconfig --remove || die "hcfpciconfig --remove failed" - fi -} |