summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-01-08 17:15:56 +0000
committerAlin Năstac <mrness@gentoo.org>2007-01-08 17:15:56 +0000
commitecf6f74294d5dc48ce9e47c8549b50ab54131fec (patch)
treef64bd922eda42396af5cba04fbb113d2b6bb170e /net-dialup/hsfmodem
parentMarking amd64 stable, cleaning out stale ebuilds (diff)
downloadgentoo-2-ecf6f74294d5dc48ce9e47c8549b50ab54131fec.tar.gz
gentoo-2-ecf6f74294d5dc48ce9e47c8549b50ab54131fec.tar.bz2
gentoo-2-ecf6f74294d5dc48ce9e47c8549b50ab54131fec.zip
Version bump (#160783).
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r--net-dialup/hsfmodem/ChangeLog10
-rw-r--r--net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.079
-rw-r--r--net-dialup/hsfmodem/files/hsfmodem-7.47.00.07-udev-group.patch12
-rw-r--r--net-dialup/hsfmodem/hsfmodem-7.47.00.07.ebuild71
4 files changed, 100 insertions, 2 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog
index bad94e64791a..28f52ff299f6 100644
--- a/net-dialup/hsfmodem/ChangeLog
+++ b/net-dialup/hsfmodem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/hsfmodem
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.31 2006/11/11 15:45:24 mrness Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.32 2007/01/08 17:15:56 mrness Exp $
+
+*hsfmodem-7.47.00.07 (08 Jan 2007)
+
+ 08 Jan 2007; Alin Năstac <mrness@gentoo.org>
+ +files/hsfmodem-7.47.00.07-udev-group.patch, +hsfmodem-7.47.00.07.ebuild:
+ Version bump (#160783).
*hsfmodem-7.47.00.05 (11 Nov 2006)
diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07
new file mode 100644
index 000000000000..81da28feb9c0
--- /dev/null
+++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07
@@ -0,0 +1,9 @@
+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 8508d44f7293b327ffb2311fbeb73ebe hsfmodem-7.47.00.07full.tar.gz 1359458
+RMD160 b3ac79db085f17075e608d1c3d3586210ad4a826 hsfmodem-7.47.00.07full.tar.gz 1359458
+SHA256 66c6b1e63b524d73c87f68842aa45d0bc4f01562251affacb94b12867a388601 hsfmodem-7.47.00.07full.tar.gz 1359458
+MD5 bb2b80c8ffc4d7ec81da9a85a4ae9fcb hsfmodem-7.47.00.07x86_64full.tar.gz 1491267
+RMD160 7c882de3a31209cb1c9a80aa5342af2adb41f04e hsfmodem-7.47.00.07x86_64full.tar.gz 1491267
+SHA256 ba23057364aa89e2d7f3cbed84f00a7a53cbc6f55f03475ef87697fe056e85ae hsfmodem-7.47.00.07x86_64full.tar.gz 1491267
diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.47.00.07-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.47.00.07-udev-group.patch
new file mode 100644
index 000000000000..e1842ef7ef72
--- /dev/null
+++ b/net-dialup/hsfmodem/files/hsfmodem-7.47.00.07-udev-group.patch
@@ -0,0 +1,12 @@
+diff -Nru hsfmodem-7.47.00.07x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.47.00.07x86_64full/scripts/cnxtconfig.in
+--- hsfmodem-7.47.00.07x86_64full.orig/scripts/cnxtconfig.in 2006-12-28 23:19:01.000000000 +0200
++++ hsfmodem-7.47.00.07x86_64full/scripts/cnxtconfig.in 2007-01-08 19:11:50.000000000 +0200
+@@ -1833,7 +1833,7 @@
+
+ if [ -d /etc/udev/rules.d ]; then
+ rm -f /etc/udev/rules.d/@CNXTTARGET@.rules
+- echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem"' > /etc/udev/rules.d/@CNXTTARGET@.rules
++ echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/@CNXTTARGET@.rules
+ fi
+
+ touch "${cnxtetcdir}/.serial_configured"
diff --git a/net-dialup/hsfmodem/hsfmodem-7.47.00.07.ebuild b/net-dialup/hsfmodem/hsfmodem-7.47.00.07.ebuild
new file mode 100644
index 000000000000..9cd11745886d
--- /dev/null
+++ b/net-dialup/hsfmodem/hsfmodem-7.47.00.07.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.47.00.07.ebuild,v 1.1 2007/01/08 17:15:56 mrness Exp $
+
+inherit eutils linux-info
+
+#The document is the same as in hcfpcimodem, even if it has a different URL
+MY_DOC="100498D_RM_HxF_Released.pdf"
+
+DESCRIPTION="Linuxant's modem driver for Conexant HSF chipset"
+HOMEPAGE="http://www.linuxant.com/drivers/hsf/index.php"
+SRC_URI="x86? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${P}full.tar.gz )
+ amd64? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}x86_64full/${P}x86_64full.tar.gz )
+ doc? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${MY_DOC} )"
+
+LICENSE="Conexant"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="doc"
+SLOT="0"
+
+DEPEND="dev-lang/perl
+ app-arch/cpio"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ if useq x86; then
+ MY_ARCH_S="${S}/${P}full"
+ elif useq amd64; then
+ MY_ARCH_S="${S}/${P}x86_64full"
+ fi
+
+ local f
+ QA_EXECSTACK=""
+ for f in pcibasic2 mc97ich mc97via mc97ali mc97ati mc97sis usbcd2 soar hda engine ; do
+ QA_EXECSTACK="${QA_EXECSTACK} usr/lib/hsfmodem/modules/imported/hsf${f}-i386.O"
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${MY_ARCH_S}"
+ epatch "${FILESDIR}/${P}-udev-group.patch"
+}
+
+src_compile() {
+ cd "${MY_ARCH_S}"
+ emake all || die "make failed"
+}
+
+src_install () {
+ cd "${MY_ARCH_S}"
+ make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed"
+
+ use doc && dodoc "${DISTDIR}/${MY_DOC}"
+}
+
+pkg_preinst() {
+ local NVMDIR="${ROOT}/etc/${PN}/nvm"
+ if [ -d "${NVMDIR}" ]; then
+ einfo "Cleaning ${NVMDIR}..."
+ rm -rf "${NVMDIR}"
+ eend
+ fi
+}
+
+pkg_postinst() {
+ einfo "To complete the installation and configuration of your HSF modem,"
+ einfo "please run hsfconfig."
+}