summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-01-09 18:51:30 +0000
committerAlin Năstac <mrness@gentoo.org>2008-01-09 18:51:30 +0000
commitfedda15a2c383b7a266b90614ed1e10cfcab6278 (patch)
treeb1b349e1aee1352177d09e5c2e39302808ed3a16 /net-dialup/hsfmodem
parentAdd ~ia64/~sparc (diff)
downloadgentoo-2-fedda15a2c383b7a266b90614ed1e10cfcab6278.tar.gz
gentoo-2-fedda15a2c383b7a266b90614ed1e10cfcab6278.tar.bz2
gentoo-2-fedda15a2c383b7a266b90614ed1e10cfcab6278.zip
Run hsfconfig --remove in pkg_prerm (#205071).
(Portage version: 2.1.3.19, RepoMan options: --force)
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r--net-dialup/hsfmodem/ChangeLog8
-rw-r--r--net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04-r1 (renamed from net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04)1
-rw-r--r--net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild (renamed from net-dialup/hsfmodem/hsfmodem-7.68.00.04.ebuild)14
3 files changed, 18 insertions, 5 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog
index 5cb53b9e4f9d..41cc3afecfa4 100644
--- a/net-dialup/hsfmodem/ChangeLog
+++ b/net-dialup/hsfmodem/ChangeLog
@@ -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
diff --git a/net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04 b/net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04-r1
index 18aeabdb5fb4..40ecc696d1c5 100644
--- a/net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04
+++ b/net-dialup/hsfmodem/files/digest-hsfmodem-7.68.00.04-r1
@@ -1,7 +1,6 @@
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 e376d9344f408f0ec68c959ab64ae121 hsfmodem-7.68.00.04full.tar.gz 1463702
RMD160 4dc5377998495b817a1677f09160a7ef701f7f1f hsfmodem-7.68.00.04full.tar.gz 1463702
SHA256 7b9a985020e1d2fe039d26ad1de97c7bfa64a62b51b5de296f4fff8254a26292 hsfmodem-7.68.00.04full.tar.gz 1463702
MD5 d545882416c504b0946cb70ed5bfe175 hsfmodem-7.68.00.04x86_64full.tar.gz 1595024
diff --git a/net-dialup/hsfmodem/hsfmodem-7.68.00.04.ebuild b/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild
index 469af748a165..7ad677e9f2c2 100644
--- a/net-dialup/hsfmodem/hsfmodem-7.68.00.04.ebuild
+++ b/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.2 2008/01/08 10:06:48 maekke Exp $
+# $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
@@ -70,6 +70,14 @@ pkg_preinst() {
}
pkg_postinst() {
- elog "To complete the installation and configuration of your HSF modem,"
- elog "please run hsfconfig."
+ 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
}