diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/hsfmodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.02 | 9 | ||||
-rw-r--r-- | net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch | 12 | ||||
-rw-r--r-- | net-dialup/hsfmodem/hsfmodem-7.60.00.02.ebuild | 74 |
4 files changed, 102 insertions, 1 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog index 78a4317620ee..438f3b42207e 100644 --- a/net-dialup/hsfmodem/ChangeLog +++ b/net-dialup/hsfmodem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/hsfmodem # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.34 2007/02/10 08:25:00 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.35 2007/03/13 09:02:50 mrness Exp $ + +*hsfmodem-7.60.00.02 (13 Mar 2007) + + 13 Mar 2007; Alin Năstac <mrness@gentoo.org> + +files/hsfmodem-7.60.00.02-udev-group.patch, +hsfmodem-7.60.00.02.ebuild: + Version bump (#167939). *hsfmodem-7.60.00.01 (10 Feb 2007) diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.02 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.02 new file mode 100644 index 000000000000..0ca03fbc137c --- /dev/null +++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.02 @@ -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 114fe55f4fd61fb3a187787a7759300d hsfmodem-7.60.00.02full.tar.gz 1377050 +RMD160 31e5f87892f4cac91fa9c1ca4b97c29a76d659a3 hsfmodem-7.60.00.02full.tar.gz 1377050 +SHA256 2f0334e0ae181f9936687b6d65816627accbeb24e970ae030cfcde969785f1e1 hsfmodem-7.60.00.02full.tar.gz 1377050 +MD5 205486a7267e123b7ef414cf6b971cad hsfmodem-7.60.00.02x86_64full.tar.gz 1494128 +RMD160 5dd69af4f07e38fdf2969e9a32e4d80c913724da hsfmodem-7.60.00.02x86_64full.tar.gz 1494128 +SHA256 81d36b8691a317f12114ecddb868bb81f9ce1621a9e8519050a639c2561dea68 hsfmodem-7.60.00.02x86_64full.tar.gz 1494128 diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch new file mode 100644 index 000000000000..6ecde46e7b39 --- /dev/null +++ b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch @@ -0,0 +1,12 @@ +diff -Nru hsfmodem-7.60.00.02x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.60.00.02x86_64full/scripts/cnxtconfig.in +--- hsfmodem-7.60.00.02x86_64full.orig/scripts/cnxtconfig.in 2006-12-16 02:46:10.000000000 +0200 ++++ hsfmodem-7.60.00.02x86_64full/scripts/cnxtconfig.in 2007-02-10 10:23:18.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.60.00.02.ebuild b/net-dialup/hsfmodem/hsfmodem-7.60.00.02.ebuild new file mode 100644 index 000000000000..2d894a2496b5 --- /dev/null +++ b/net-dialup/hsfmodem/hsfmodem-7.60.00.02.ebuild @@ -0,0 +1,74 @@ +# 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.60.00.02.ebuild,v 1.1 2007/03/13 09:02:50 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" + + # on testing arches, kernelcompiler.sh permissions are 0600 (#158736) + fperms a+rx /usr/lib/hsfmodem/modules/kernelcompiler.sh + + 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." +} |