summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-02-21 23:29:59 +0000
committerAlin Năstac <mrness@gentoo.org>2006-02-21 23:29:59 +0000
commitf0b1c41148066ea07bd4f7d57451c9414a488d8a (patch)
treebc21104daf23046f4d01bdda1b2d47103ac0c384 /net-dialup/hsfmodem
parentModular X dep fix & disallow building without x11 (diff)
downloadgentoo-2-f0b1c41148066ea07bd4f7d57451c9414a488d8a.tar.gz
gentoo-2-f0b1c41148066ea07bd4f7d57451c9414a488d8a.tar.bz2
gentoo-2-f0b1c41148066ea07bd4f7d57451c9414a488d8a.zip
version bump
(Portage version: 2.0.54)
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r--net-dialup/hsfmodem/ChangeLog8
-rw-r--r--net-dialup/hsfmodem/Manifest13
-rw-r--r--net-dialup/hsfmodem/files/digest-hsfmodem-7.43.00.013
-rw-r--r--net-dialup/hsfmodem/files/hsfmodem-7.43.00.01-udev-group.patch12
-rw-r--r--net-dialup/hsfmodem/hsfmodem-7.43.00.01.ebuild64
5 files changed, 89 insertions, 11 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog
index a9555e615b77..549bb42459a3 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.22 2006/01/31 11:17:14 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.23 2006/02/21 23:29:59 mrness Exp $
+
+*hsfmodem-7.43.00.01 (21 Feb 2006)
+
+ 21 Feb 2006; Alin Nastac <mrness@gentoo.org>
+ +files/hsfmodem-7.43.00.01-udev-group.patch, +hsfmodem-7.43.00.01.ebuild:
+ Version bump.
*hsfmodem-7.18.00.07-r2 (31 Jan 2006)
diff --git a/net-dialup/hsfmodem/Manifest b/net-dialup/hsfmodem/Manifest
index a8f33d058916..264a9084cfc4 100644
--- a/net-dialup/hsfmodem/Manifest
+++ b/net-dialup/hsfmodem/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 3a2e33638123183be6dec4dd8971fd6b ChangeLog 5822
MD5 83ef8c3c538249abc93745ecf124151b files/digest-hsfmodem-7.18.00.07-r1 230
MD5 83ef8c3c538249abc93745ecf124151b files/digest-hsfmodem-7.18.00.07-r2 230
+MD5 fb610b9a599d3b2ede68a872f52e95b3 files/digest-hsfmodem-7.43.00.01 230
MD5 1c3cdb408c8580a03b30e2ec00f63aa8 files/hsfmodem-7.18.00.07-udev-group.patch 603
MD5 55b57b492577870de5cb58229f0426d7 files/hsfmodem-7.18.00.07-upstream-20060107.patch 2809
+MD5 72c3d70f94e3712b160f7b41b2978f1d files/hsfmodem-7.43.00.01-udev-group.patch 603
MD5 6f3c975173976a825b545ae010d9047c hsfmodem-7.18.00.07-r1.ebuild 1592
MD5 7806adb04b92a668c65c709b70959929 hsfmodem-7.18.00.07-r2.ebuild 1635
+MD5 66562dc36bcd616135885db3ac53809b hsfmodem-7.43.00.01.ebuild 1590
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD30dLjG8pv1lIUX4RArTBAKDAeWH2gT3EFksoQVYkFyny/5KWagCgiXvK
-KYloe0Mz+RUaJvLIPIFGnrA=
-=bxq5
------END PGP SIGNATURE-----
diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.43.00.01 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.43.00.01
new file mode 100644
index 000000000000..242f4b2b17a9
--- /dev/null
+++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.43.00.01
@@ -0,0 +1,3 @@
+MD5 e6d8fea8f5f641d7bb4dfb33c6f478e7 100498D_RM_HxF_Released.pdf 718949
+MD5 97976a1b434e8a8da6d86cd3f902ca7f hsfmodem-7.43.00.01full.tar.gz 1294537
+MD5 e1fa34ff1c2aaf91f5cd952d578e803e hsfmodem-7.43.00.01x86_64full.tar.gz 1431960
diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.43.00.01-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.43.00.01-udev-group.patch
new file mode 100644
index 000000000000..8a20d9b09d91
--- /dev/null
+++ b/net-dialup/hsfmodem/files/hsfmodem-7.43.00.01-udev-group.patch
@@ -0,0 +1,12 @@
+diff -Nru hsfmodem-7.43.00.01full.orig/scripts/cnxtconfig.in hsfmodem-7.43.00.01full/scripts/cnxtconfig.in
+--- hsfmodem-7.43.00.01full.orig/scripts/cnxtconfig.in 2006-02-08 00:48:22.000000000 +0200
++++ hsfmodem-7.43.00.01full/scripts/cnxtconfig.in 2006-02-22 01:24:48.676530250 +0200
+@@ -1783,7 +1783,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.43.00.01.ebuild b/net-dialup/hsfmodem/hsfmodem-7.43.00.01.ebuild
new file mode 100644
index 000000000000..594d7f0b1111
--- /dev/null
+++ b/net-dialup/hsfmodem/hsfmodem-7.43.00.01.ebuild
@@ -0,0 +1,64 @@
+# 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.43.00.01.ebuild,v 1.1 2006/02/21 23:29:59 mrness Exp $
+
+inherit eutils
+
+#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() {
+ 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."
+}