summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-09-25 20:55:12 +0000
committerAlin Năstac <mrness@gentoo.org>2008-09-25 20:55:12 +0000
commit9a362b917bf0f36842c26b229802f57fbf056799 (patch)
tree6d6c7dc11ed1d576c199f0792755b6a678e04499 /net-dialup/hcfpcimodem
parentamd64 stable, bug #238611 (diff)
downloadhistorical-9a362b917bf0f36842c26b229802f57fbf056799.tar.gz
historical-9a362b917bf0f36842c26b229802f57fbf056799.tar.bz2
historical-9a362b917bf0f36842c26b229802f57fbf056799.zip
Version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-dialup/hcfpcimodem')
-rw-r--r--net-dialup/hcfpcimodem/ChangeLog7
-rw-r--r--net-dialup/hcfpcimodem/Manifest10
-rw-r--r--net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild84
3 files changed, 96 insertions, 5 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog
index a286175a2a42..5b209a2fc015 100644
--- a/net-dialup/hcfpcimodem/ChangeLog
+++ b/net-dialup/hcfpcimodem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/hcfpcimodem
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.37 2008/07/30 20:56:02 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.38 2008/09/25 20:55:12 mrness Exp $
+
+*hcfpcimodem-1.17 (25 Sep 2008)
+
+ 25 Sep 2008; Alin Năstac <mrness@gentoo.org> +hcfpcimodem-1.17.ebuild:
+ Version bump.
*hcfpcimodem-1.16 (30 Jul 2008)
diff --git a/net-dialup/hcfpcimodem/Manifest b/net-dialup/hcfpcimodem/Manifest
index a20e36ea4b07..ef7cf27d8f33 100644
--- a/net-dialup/hcfpcimodem/Manifest
+++ b/net-dialup/hcfpcimodem/Manifest
@@ -6,15 +6,17 @@ DIST 100498D_RM_HxF_Released.pdf 718949 RMD160 be9df1ae492bcce46775c0325cd438b91
DIST hcfpcimodem-1.14full.tar.gz 680841 RMD160 3775efc04a2affe1607b23ca72cc5d2a6dca8a1d SHA1 2f0421d8c8a79d2daaaacae5072fa83eaa373eea SHA256 341e51827b825a2ef9b1d1a1c7cadac3ede337f5f1ba5949bd26830122d06c8e
DIST hcfpcimodem-1.15full.tar.gz 682094 RMD160 8b92ab8a7d446d65c521deaa001999105eee3d33 SHA1 ff0d9e65ddef8b3f59f7b12e6ac02093dc7b2e5b SHA256 3901f684d6e11a406ff2bf698735607da13b9ead4d713bbe89ce4b612eb9f3ac
DIST hcfpcimodem-1.16full.tar.gz 682777 RMD160 95e2f64994879877020e84b260b90bea6079fe52 SHA1 78198b870ba1e42ca13168c4a896161f4e0451ac SHA256 c497d6d0fcf3409e9cc2db67c978b253a9350480cd54d3cf736d5cc82d5c917c
+DIST hcfpcimodem-1.17full.tar.gz 688552 RMD160 81cadfd837f0c0ff8cf570c764acd7d1b43f9f20 SHA1 83621e80dd6387695b3f76920c84b49de8b44e0c SHA256 c7af1b344ecdaeaf9467585f56a7ab0ed9105b685e58ecc893d3fc54b436e1cc
EBUILD hcfpcimodem-1.14-r1.ebuild 2359 RMD160 318d5f95d9ff79fad19c431bf30ab37692d910b7 SHA1 49e2570018f80067d6f14ee7c5e18e33d9c7546c SHA256 171d377863c52b60762919417402b72cbcc25c653279e37923dc1bd078eec5e3
EBUILD hcfpcimodem-1.15.ebuild 2270 RMD160 226806aaff83bddaa5c359d18f5bfc465b31ceb6 SHA1 9c868d33688703b3e8bddec7adce8a55a5aaae3c SHA256 171b98eb010969aa6b5d6d322436bf388cc296dd190f195c01ff2e6f22a331c6
EBUILD hcfpcimodem-1.16.ebuild 2270 RMD160 c933e8eae7c812ac6dc3690f2bf6ede4bb5bc955 SHA1 7ea4817e73d4f2d56a32800d171941c26416a518 SHA256 1926e1f1308701202f8c8ec5bd4b36afa4a19d870b36445fa970966508f33b1b
-MISC ChangeLog 6875 RMD160 4c172e16b1a4831b67a5858412afe03e2aff79c3 SHA1 57f8ec37a36658edcb44c0ad8ad3908e0018fadc SHA256 dcceba49513b3523bcfc9bc156985faa458f0e071b916b54a93423fcee673961
+EBUILD hcfpcimodem-1.17.ebuild 2270 RMD160 7c2d4a4dbe91584d40c77367109ebfbe13e711d1 SHA1 647949f66131d5147fca017dee5ab2ca9d7c333c SHA256 3a9c8d95beea7a38f6476136053875fc01155e9a61ccfe11a009573813b47b46
+MISC ChangeLog 6999 RMD160 774bb896e9548edda6a4ea99daf00f9216a1f3ab SHA1 ff6c1fbb35c2b54f867831f12c1eaa4443cb0536 SHA256 bad3c049a7bcc25262ea650fd3781ff515c5f07e8f758dbc88fb1386efcc02cf
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkiQ1WoACgkQPrHvTlXvhtv0AwCfZv8posF1A2GXLuCr8v81zfIu
-Cj0An0BNCZ190lpp0E5rsKY4qzbefwZb
-=FHAS
+iEYEARECAAYFAkjb+rYACgkQPrHvTlXvhtvEwACgkdlQC8uH6Nw2EwdlbfLSmQtx
+uMsAoJk9KNI5jKQtzC+9W2Gamb4aUEUo
+=R1Zo
-----END PGP SIGNATURE-----
diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild
new file mode 100644
index 000000000000..2b2c7447b974
--- /dev/null
+++ b/net-dialup/hcfpcimodem/hcfpcimodem-1.17.ebuild
@@ -0,0 +1,84 @@
+# 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
+}