public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dialup/hsfmodem: ChangeLog hsfmodem-7.68.00.04-r1.ebuild hsfmodem-7.68.00.04.ebuild
@ 2008-01-09 18:51 Alin Nastac (mrness)
  0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2008-01-09 18:51 UTC (permalink / raw
  To: gentoo-commits

mrness      08/01/09 18:51:30

  Modified:             ChangeLog
  Added:                hsfmodem-7.68.00.04-r1.ebuild
  Removed:              hsfmodem-7.68.00.04.ebuild
  Log:
  Run hsfconfig --remove in pkg_prerm (#205071).
  (Portage version: 2.1.3.19, RepoMan options: --force)

Revision  Changes    Path
1.43                 net-dialup/hsfmodem/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?rev=1.43&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?rev=1.43&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?r1=1.42&r2=1.43

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- ChangeLog	8 Jan 2008 10:06:48 -0000	1.42
+++ ChangeLog	9 Jan 2008 18:51:29 -0000	1.43
@@ -1,6 +1,12 @@
 # ChangeLog for net-dialup/hsfmodem
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.42 2008/01/08 10:06:48 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.43 2008/01/09 18:51:29 mrness Exp $
+
+*hsfmodem-7.68.00.04-r1 (09 Jan 2008)
+
+  09 Jan 2008; Alin Năstac <mrness@gentoo.org> -hsfmodem-7.68.00.04.ebuild,
+  +hsfmodem-7.68.00.04-r1.ebuild:
+  Run hsfconfig --remove in pkg_prerm (#205071).
 
   08 Jan 2008; Markus Meier <maekke@gentoo.org> hsfmodem-7.68.00.04.ebuild:
   x86 stable, bug #204180



1.1                  net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild?rev=1.1&content-type=text/plain

Index: hsfmodem-7.68.00.04-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild,v 1.1 2008/01/09 18:51:29 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"
	epatch "${FILESDIR}/${P}-sandbox-violation.patch"
}

src_compile() {
	cd "${MY_ARCH_S}"
	emake all || die "make failed"
}

src_install () {
	cd "${MY_ARCH_S}"
	make 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() {
	if [ "${ROOT}" = / ]; then
		elog "To complete the installation and configuration of your HSF modem,"
		elog "please run hsfconfig."
	fi
}

pkg_prerm() {
	if [ "${ROOT}" = / -a -f /etc/init.d/hsf ] ; then
		hsfconfig --remove || die "hsfconfig --remove failed"
	fi
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-09 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 18:51 [gentoo-commits] gentoo-x86 commit in net-dialup/hsfmodem: ChangeLog hsfmodem-7.68.00.04-r1.ebuild hsfmodem-7.68.00.04.ebuild Alin Nastac (mrness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox