diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-02-10 08:25:00 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-02-10 08:25:00 +0000 |
commit | af04f0bdfa71a4ede430a30626bf59b5f2724907 (patch) | |
tree | 7382172b6123683100969b515c06194c01ab97df /net-dialup | |
parent | fix path to patch with USE=-nls #166154 by Dave (diff) | |
download | gentoo-2-af04f0bdfa71a4ede430a30626bf59b5f2724907.tar.gz gentoo-2-af04f0bdfa71a4ede430a30626bf59b5f2724907.tar.bz2 gentoo-2-af04f0bdfa71a4ede430a30626bf59b5f2724907.zip |
version bump
(Portage version: 2.1.1-r2)
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.01 | 9 | ||||
-rw-r--r-- | net-dialup/hsfmodem/files/hsfmodem-7.60.00.01-udev-group.patch | 12 | ||||
-rw-r--r-- | net-dialup/hsfmodem/hsfmodem-7.60.00.01.ebuild | 74 |
4 files changed, 102 insertions, 1 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog index 7db6b9403c74..78a4317620ee 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.33 2007/01/09 08:01:43 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.34 2007/02/10 08:25:00 mrness Exp $ + +*hsfmodem-7.60.00.01 (10 Feb 2007) + + 10 Feb 2007; Alin Năstac <mrness@gentoo.org> + +files/hsfmodem-7.60.00.01-udev-group.patch, +hsfmodem-7.60.00.01.ebuild: + Version bump. *hsfmodem-7.47.00.07-r1 (09 Jan 2007) diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.01 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.01 new file mode 100644 index 000000000000..5054d63b819c --- /dev/null +++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.60.00.01 @@ -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 4407c636e26fb58bc037a73b03b717b8 hsfmodem-7.60.00.01full.tar.gz 1375317 +RMD160 848e463bc7f574aa4ea497a2e5bf800920667fb0 hsfmodem-7.60.00.01full.tar.gz 1375317 +SHA256 97e21a3878e93d0fb8e2440cbce0a12620b22e8b2431ed9ca826ac32af4633fa hsfmodem-7.60.00.01full.tar.gz 1375317 +MD5 67d3ab695ad9f08df5aa2c40bca2ef51 hsfmodem-7.60.00.01x86_64full.tar.gz 1492814 +RMD160 2d554059afa49e0b912fca01d1b5bed279a9da3e hsfmodem-7.60.00.01x86_64full.tar.gz 1492814 +SHA256 f138bdacd89d113b837134cfa984a251e2c5859bf33bbc0923aca8709e17daa6 hsfmodem-7.60.00.01x86_64full.tar.gz 1492814 diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.60.00.01-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.01-udev-group.patch new file mode 100644 index 000000000000..6ef9d6904771 --- /dev/null +++ b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.01-udev-group.patch @@ -0,0 +1,12 @@ +diff -Nru hsfmodem-7.60.00.01x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.60.00.01x86_64full/scripts/cnxtconfig.in +--- hsfmodem-7.60.00.01x86_64full.orig/scripts/cnxtconfig.in 2006-12-16 02:46:10.000000000 +0200 ++++ hsfmodem-7.60.00.01x86_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.01.ebuild b/net-dialup/hsfmodem/hsfmodem-7.60.00.01.ebuild new file mode 100644 index 000000000000..fbd74a5d792a --- /dev/null +++ b/net-dialup/hsfmodem/hsfmodem-7.60.00.01.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.01.ebuild,v 1.1 2007/02/10 08:25:00 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." +} |