diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-01-09 08:01:43 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-01-09 08:01:43 +0000 |
commit | a41b09f363f883e98b24c0c9732eced406ff21c6 (patch) | |
tree | 45723d47fdc429c0f2daf1b35d8386c0651c430a /net-dialup | |
parent | version bump - elog transition (diff) | |
download | gentoo-2-a41b09f363f883e98b24c0c9732eced406ff21c6.tar.gz gentoo-2-a41b09f363f883e98b24c0c9732eced406ff21c6.tar.bz2 gentoo-2-a41b09f363f883e98b24c0c9732eced406ff21c6.zip |
Fix kernelcompiler.sh permissions on ~arch (#158736)
(Portage version: 2.1.1-r1)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/hsfmodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07-r1 | 9 | ||||
-rw-r--r-- | net-dialup/hsfmodem/hsfmodem-7.47.00.07-r1.ebuild | 74 |
3 files changed, 90 insertions, 1 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog index 28f52ff299f6..7db6b9403c74 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.32 2007/01/08 17:15:56 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.33 2007/01/09 08:01:43 mrness Exp $ + +*hsfmodem-7.47.00.07-r1 (09 Jan 2007) + + 09 Jan 2007; Alin Nastac <mrness@gentoo.org> -hsfmodem-7.47.00.07.ebuild, + +hsfmodem-7.47.00.07-r1.ebuild: + Fix kernelcompiler.sh permissions on ~arch (#158736). *hsfmodem-7.47.00.07 (08 Jan 2007) diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07-r1 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07-r1 new file mode 100644 index 000000000000..81da28feb9c0 --- /dev/null +++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.47.00.07-r1 @@ -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/hsfmodem-7.47.00.07-r1.ebuild b/net-dialup/hsfmodem/hsfmodem-7.47.00.07-r1.ebuild new file mode 100644 index 000000000000..a0f66edc048f --- /dev/null +++ b/net-dialup/hsfmodem/hsfmodem-7.47.00.07-r1.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.47.00.07-r1.ebuild,v 1.1 2007/01/09 08:01:43 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." +} |