summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-09-08 12:11:20 +0000
committerAlin Năstac <mrness@gentoo.org>2006-09-08 12:11:20 +0000
commit3962fdbf30607fd02f9b156ede5c8ee361f92094 (patch)
tree2340ef43efffd4ca3e900ebf721b34286fa3ef22 /net-dialup/hsfmodem
parentCleanup. (diff)
downloadgentoo-2-3962fdbf30607fd02f9b156ede5c8ee361f92094.tar.gz
gentoo-2-3962fdbf30607fd02f9b156ede5c8ee361f92094.tar.bz2
gentoo-2-3962fdbf30607fd02f9b156ede5c8ee361f92094.zip
Version bump (#146681)
(Portage version: 2.1-r2)
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r--net-dialup/hsfmodem/ChangeLog9
-rw-r--r--net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.039
-rw-r--r--net-dialup/hsfmodem/files/hsfmodem-7.47.00.03-udev-group.patch12
-rw-r--r--net-dialup/hsfmodem/hsfmodem-7.47.00.03.ebuild65
4 files changed, 94 insertions, 1 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog
index 3c2852fe1075..8236db8e3a57 100644
--- a/net-dialup/hsfmodem/ChangeLog
+++ b/net-dialup/hsfmodem/ChangeLog
@@ -1,6 +1,13 @@
# 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.27 2006/07/03 18:45:44 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.28 2006/09/08 12:11:20 mrness Exp $
+
+*hsfmodem-7.47.00.03 (08 Sep 2006)
+
+ 08 Sep 2006; Alin Nastac <mrness@gentoo.org>
+ +files/hsfmodem-7.47.00.03-udev-group.patch, -hsfmodem-7.47.00.01.ebuild,
+ +hsfmodem-7.47.00.03.ebuild:
+ Version bump (#146681).
*hsfmodem-7.47.00.01-r1 (03 Jul 2006)
diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.03 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.03
new file mode 100644
index 000000000000..efe3c5dc9703
--- /dev/null
+++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.03
@@ -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 9d07546f00e7840ce2cbae5131dd45d1 hsfmodem-7.47.00.03full.tar.gz 1335893
+RMD160 8f2387d7ebb5693fe07d4d9231a712c1f4120021 hsfmodem-7.47.00.03full.tar.gz 1335893
+SHA256 450e83e723a724d95061dc4ab3e64d0e9bb5b0aefd5f046a660f3e2700b05c6b hsfmodem-7.47.00.03full.tar.gz 1335893
+MD5 caba1a2f1a229c135bdbf39077c365ce hsfmodem-7.47.00.03x86_64full.tar.gz 1469779
+RMD160 50b65cf0eaa762da413892cdf2e7049ad0a34b39 hsfmodem-7.47.00.03x86_64full.tar.gz 1469779
+SHA256 d8e2b556c6e2aa8d5831e8556afdafd8cbeb53515bc9f2408e7db25f9fcf450b hsfmodem-7.47.00.03x86_64full.tar.gz 1469779
diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.47.00.03-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.47.00.03-udev-group.patch
new file mode 100644
index 000000000000..641402ccdbbd
--- /dev/null
+++ b/net-dialup/hsfmodem/files/hsfmodem-7.47.00.03-udev-group.patch
@@ -0,0 +1,12 @@
+diff -Nru hsfmodem-7.47.00.03full.orig/scripts/cnxtconfig.in hsfmodem-7.47.00.03full/scripts/cnxtconfig.in
+--- hsfmodem-7.47.00.03full.orig/scripts/cnxtconfig.in 2006-08-14 21:40:16.000000000 +0300
++++ hsfmodem-7.47.00.03full/scripts/cnxtconfig.in 2006-09-08 15:06:32.000000000 +0300
+@@ -1838,7 +1838,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
+ }
+
diff --git a/net-dialup/hsfmodem/hsfmodem-7.47.00.03.ebuild b/net-dialup/hsfmodem/hsfmodem-7.47.00.03.ebuild
new file mode 100644
index 000000000000..b9b34990ee4c
--- /dev/null
+++ b/net-dialup/hsfmodem/hsfmodem-7.47.00.03.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 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.03.ebuild,v 1.1 2006/09/08 12:11:20 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
+}
+
+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."
+}