summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-30 20:56:02 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-30 20:56:02 +0000
commitffc738214c5983de43955f9294de504f7c81d28d (patch)
treef662c8e1723679ab05d2a8b8488f2e6cf05ffc4e /net-dialup/hcfpcimodem
parentVersion bump. (diff)
downloadhistorical-ffc738214c5983de43955f9294de504f7c81d28d.tar.gz
historical-ffc738214c5983de43955f9294de504f7c81d28d.tar.bz2
historical-ffc738214c5983de43955f9294de504f7c81d28d.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/Manifest12
-rw-r--r--net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild84
3 files changed, 97 insertions, 6 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog
index 755be164574c..a286175a2a42 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.36 2008/04/13 11:06:53 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.37 2008/07/30 20:56:02 mrness Exp $
+
+*hcfpcimodem-1.16 (30 Jul 2008)
+
+ 30 Jul 2008; Alin Năstac <mrness@gentoo.org> +hcfpcimodem-1.16.ebuild:
+ Version bump.
*hcfpcimodem-1.15 (13 Apr 2008)
diff --git a/net-dialup/hcfpcimodem/Manifest b/net-dialup/hcfpcimodem/Manifest
index 9d50c1cb98e4..a20e36ea4b07 100644
--- a/net-dialup/hcfpcimodem/Manifest
+++ b/net-dialup/hcfpcimodem/Manifest
@@ -5,14 +5,16 @@ AUX hcfpcimodem-1.14-implicit-declarations.patch 808 RMD160 18d90e6166baa9272cdf
DIST 100498D_RM_HxF_Released.pdf 718949 RMD160 be9df1ae492bcce46775c0325cd438b91213bf7a SHA1 519c9b064e734873d67cf9c17d8eb1389a6f4eef SHA256 e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1
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
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
-MISC ChangeLog 6751 RMD160 48a93f31e8445565a88bb485c06ac152ffb8f609 SHA1 a8da1912ee317563aba3c8c1d3acbe9912a1d764 SHA256 48e513b577f14f0b9f53c129bab3d79d980e162113af4d651cc1765fca4c14e6
+EBUILD hcfpcimodem-1.16.ebuild 2270 RMD160 c933e8eae7c812ac6dc3690f2bf6ede4bb5bc955 SHA1 7ea4817e73d4f2d56a32800d171941c26416a518 SHA256 1926e1f1308701202f8c8ec5bd4b36afa4a19d870b36445fa970966508f33b1b
+MISC ChangeLog 6875 RMD160 4c172e16b1a4831b67a5858412afe03e2aff79c3 SHA1 57f8ec37a36658edcb44c0ad8ad3908e0018fadc SHA256 dcceba49513b3523bcfc9bc156985faa458f0e071b916b54a93423fcee673961
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFIAenr+fWpoTWIA9ERAoSnAJ4hzBLn07zYt5K2fb2EzauSWj7VYACdEN1Z
-83xDvQmQFE4v6KuUniWXipw=
-=ADop
+iEYEARECAAYFAkiQ1WoACgkQPrHvTlXvhtv0AwCfZv8posF1A2GXLuCr8v81zfIu
+Cj0An0BNCZ190lpp0E5rsKY4qzbefwZb
+=FHAS
-----END PGP SIGNATURE-----
diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.16.ebuild
new file mode 100644
index 000000000000..c807464dcbad
--- /dev/null
+++ b/net-dialup/hcfpcimodem/hcfpcimodem-1.16.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.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
+}