summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/hcfpcimodem/ChangeLog9
-rw-r--r--net-dialup/hcfpcimodem/Manifest28
-rw-r--r--net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.146
-rw-r--r--net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch22
-rw-r--r--net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild82
5 files changed, 138 insertions, 9 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog
index 806bb0531ac7..49cd13e4a6bf 100644
--- a/net-dialup/hcfpcimodem/ChangeLog
+++ b/net-dialup/hcfpcimodem/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dialup/hcfpcimodem
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.32 2007/08/28 18:53:06 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.33 2007/11/05 22:53:35 mrness Exp $
+
+*hcfpcimodem-1.14 (05 Nov 2007)
+
+ 05 Nov 2007; Alin Năstac <mrness@gentoo.org>
+ +files/hcfpcimodem-1.14-implicit-declarations.patch,
+ +hcfpcimodem-1.14.ebuild:
+ Version bump.
*hcfpcimodem-1.13-r1 (28 Aug 2007)
diff --git a/net-dialup/hcfpcimodem/Manifest b/net-dialup/hcfpcimodem/Manifest
index 126e7ffe8a85..e16e8a376f29 100644
--- a/net-dialup/hcfpcimodem/Manifest
+++ b/net-dialup/hcfpcimodem/Manifest
@@ -13,9 +13,14 @@ AUX hcfpcimodem-1.13-unset-locale.patch 2193 RMD160 c74b6f162b1798ede9f4aac18f42
MD5 bbfdd2d8625b0fdd8a868af745a9acf0 files/hcfpcimodem-1.13-unset-locale.patch 2193
RMD160 c74b6f162b1798ede9f4aac18f42fcb815664afc files/hcfpcimodem-1.13-unset-locale.patch 2193
SHA256 b2a600d2b20531406e39d87d069dbd6b168696f9a3faf54865a61301ecbd8a3c files/hcfpcimodem-1.13-unset-locale.patch 2193
+AUX hcfpcimodem-1.14-implicit-declarations.patch 808 RMD160 18d90e6166baa9272cdf84c1319548c0491f1225 SHA1 7cb281ce81ebb59b152a158b99bcad92c3a708f0 SHA256 b3dafa2a66d87b0e3a050a17eded5fdd642a9e169080a55d15f06abd36d0c731
+MD5 0e5e35357e82102b8bda4013139ba9e7 files/hcfpcimodem-1.14-implicit-declarations.patch 808
+RMD160 18d90e6166baa9272cdf84c1319548c0491f1225 files/hcfpcimodem-1.14-implicit-declarations.patch 808
+SHA256 b3dafa2a66d87b0e3a050a17eded5fdd642a9e169080a55d15f06abd36d0c731 files/hcfpcimodem-1.14-implicit-declarations.patch 808
DIST 100498D_RM_HxF_Released.pdf 718949 RMD160 be9df1ae492bcce46775c0325cd438b91213bf7a SHA1 519c9b064e734873d67cf9c17d8eb1389a6f4eef SHA256 e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1
DIST hcfpcimodem-1.12full.tar.gz 677933 RMD160 debdd7fd6b4fc446897431a9643c7e6750a1295e SHA1 50216968cdf16d39d6277c4ef59c25df96b5461b SHA256 7ec8c42c22db367ef9060f4e7cdf2a7d0c79e009b00ec74fd3f545e9dd3dea89
DIST hcfpcimodem-1.13full.tar.gz 679289 RMD160 8c816c67e568887988b3d18d04f1cbc21c5b445f SHA1 42deb9c6626749bf065bce9fc9e99bad803814d1 SHA256 9be275eb0614040ae726dd9d5d479c5ed53106538b73d486dbccece5a0a0bd48
+DIST hcfpcimodem-1.14full.tar.gz 680841 RMD160 3775efc04a2affe1607b23ca72cc5d2a6dca8a1d SHA1 2f0421d8c8a79d2daaaacae5072fa83eaa373eea SHA256 341e51827b825a2ef9b1d1a1c7cadac3ede337f5f1ba5949bd26830122d06c8e
EBUILD hcfpcimodem-1.12-r1.ebuild 2191 RMD160 01082d51d43090120d830af1f80463212c16b96e SHA1 0225da750f4bbba3b055dd4f3e5396201cbfdc4c SHA256 afa0ccea3f2ada6781d0e698d107f551f1804def286d50ed8902dcf5c14329f5
MD5 50e6f25ee75a3635ebdc20d7e8398f3f hcfpcimodem-1.12-r1.ebuild 2191
RMD160 01082d51d43090120d830af1f80463212c16b96e hcfpcimodem-1.12-r1.ebuild 2191
@@ -24,10 +29,14 @@ EBUILD hcfpcimodem-1.13-r1.ebuild 2235 RMD160 681a7b71146de52ea7353ea6062114541a
MD5 054d9e6e1428038298950f1496946e91 hcfpcimodem-1.13-r1.ebuild 2235
RMD160 681a7b71146de52ea7353ea6062114541a6ef2ba hcfpcimodem-1.13-r1.ebuild 2235
SHA256 fe8625209245099d17dac6a4f4cfb20e913734f3ff3bb641fe87133c162e9733 hcfpcimodem-1.13-r1.ebuild 2235
-MISC ChangeLog 5936 RMD160 9a725d5288257d91be77032f768f720230154e45 SHA1 069751a92694d4e6f9755c6dec525c872ffeba9a SHA256 15ab57c80172dcaec3298a744715eecf31ea5857de7dd1842f10853c18a53a70
-MD5 0b55e28bc7d569638e183e28c906a7a0 ChangeLog 5936
-RMD160 9a725d5288257d91be77032f768f720230154e45 ChangeLog 5936
-SHA256 15ab57c80172dcaec3298a744715eecf31ea5857de7dd1842f10853c18a53a70 ChangeLog 5936
+EBUILD hcfpcimodem-1.14.ebuild 2186 RMD160 9b85f134da2284f17ec03335730f0622ead9f228 SHA1 7ab0528b7602e0832f4c9f68d957b869e94639a0 SHA256 205d79fec817736fa24fcb4fb931c2a706bf6534b9d488a70500e97d23098e66
+MD5 cfd4122b8e0bd3a0d6b93b9db58238bf hcfpcimodem-1.14.ebuild 2186
+RMD160 9b85f134da2284f17ec03335730f0622ead9f228 hcfpcimodem-1.14.ebuild 2186
+SHA256 205d79fec817736fa24fcb4fb931c2a706bf6534b9d488a70500e97d23098e66 hcfpcimodem-1.14.ebuild 2186
+MISC ChangeLog 6117 RMD160 efb9bf4f49e921523651ba791f21f50cd6d2a60d SHA1 cbcbe9d3301e2146a81314bf564f4032bbbef15c SHA256 d195ece26578a2c4ee325498f5e4091c5e1e6fdcfa861aeb146e12bbcbabc89a
+MD5 68b2b97ed8f77a36f3ee38d30c09247e ChangeLog 6117
+RMD160 efb9bf4f49e921523651ba791f21f50cd6d2a60d ChangeLog 6117
+SHA256 d195ece26578a2c4ee325498f5e4091c5e1e6fdcfa861aeb146e12bbcbabc89a ChangeLog 6117
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163
@@ -38,10 +47,13 @@ SHA256 4de578a60510cb775534392bcb38a8e3f0e232a1609c6d1f41aac933cce135f7 files/di
MD5 de7a9f4ffd608df0e10f81400abd723f files/digest-hcfpcimodem-1.13-r1 524
RMD160 4c110f64ffefcc08aefc979655e69487648fb000 files/digest-hcfpcimodem-1.13-r1 524
SHA256 c66f781d51d3895a864289dce8c8377b1db5f80c89cf27fc302e335ee2aaa7da files/digest-hcfpcimodem-1.13-r1 524
+MD5 ac3ef760cd6f2580681ed2b7140435a0 files/digest-hcfpcimodem-1.14 524
+RMD160 0c1db8ee5d95c729490d411ced090b5523b9d810 files/digest-hcfpcimodem-1.14 524
+SHA256 9156c548d317b457e7ab7cb8efb1fb6e07e7ad352bd1b251e6da556eecb3599c files/digest-hcfpcimodem-1.14 524
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.6 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFG1G8YVSA5X31g7/gRApJ2AJwLcwNEvRnZmEuUGtGeFCd1+XemLwCeLEs5
-qzpwVQnterf12t6RPMIbd1w=
-=X0ha
+iD8DBQFHL576VSA5X31g7/gRAgVbAJ0bR7D4REQMADpKN0QV5YmcJZ2hQwCcCFpf
+mQvSZoWVkFICw1L0zk8SIsU=
+=1Zbt
-----END PGP SIGNATURE-----
diff --git a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14 b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14
new file mode 100644
index 000000000000..302a45a8bf35
--- /dev/null
+++ b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14
@@ -0,0 +1,6 @@
+MD5 e6d8fea8f5f641d7bb4dfb33c6f478e7 100498D_RM_HxF_Released.pdf 718949
+RMD160 be9df1ae492bcce46775c0325cd438b91213bf7a 100498D_RM_HxF_Released.pdf 718949
+SHA256 e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1 100498D_RM_HxF_Released.pdf 718949
+MD5 76ebfe6e8fd4dd9bbf909c4fb2657cfc hcfpcimodem-1.14full.tar.gz 680841
+RMD160 3775efc04a2affe1607b23ca72cc5d2a6dca8a1d hcfpcimodem-1.14full.tar.gz 680841
+SHA256 341e51827b825a2ef9b1d1a1c7cadac3ede337f5f1ba5949bd26830122d06c8e hcfpcimodem-1.14full.tar.gz 680841
diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch
new file mode 100644
index 000000000000..ca0cb857b138
--- /dev/null
+++ b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.14-implicit-declarations.patch
@@ -0,0 +1,22 @@
+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/hcfpcimodem-1.14.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild
new file mode 100644
index 000000000000..7c79e6ee20b4
--- /dev/null
+++ b/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild,v 1.1 2007/11/05 22:53:35 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() {
+ elog "To complete the installation and configuration of your HCF modem,"
+ elog "please run hcfpciconfig."
+}