summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-01-15 21:35:18 +0000
committerAlin Năstac <mrness@gentoo.org>2007-01-15 21:35:18 +0000
commite72b9c14060b0e99d39398204095e7f54df7dec1 (patch)
tree0a270c364e38dc41d07438c9591fd0a009c067c9 /net-dialup/bewan-adsl
parentBump to 6.2 and remove old version. (diff)
downloadgentoo-2-e72b9c14060b0e99d39398204095e7f54df7dec1.tar.gz
gentoo-2-e72b9c14060b0e99d39398204095e7f54df7dec1.tar.bz2
gentoo-2-e72b9c14060b0e99d39398204095e7f54df7dec1.zip
Add informational messages in postinst function, thanks to Sebastián González <sgm@acm.org> (#160611).
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-dialup/bewan-adsl')
-rw-r--r--net-dialup/bewan-adsl/ChangeLog8
-rw-r--r--net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild23
2 files changed, 19 insertions, 12 deletions
diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog
index 8ea966bcf70f..aef58bd38437 100644
--- a/net-dialup/bewan-adsl/ChangeLog
+++ b/net-dialup/bewan-adsl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/bewan-adsl
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.17 2006/12/20 19:33:17 mrness Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.18 2007/01/15 21:35:18 mrness Exp $
+
+ 15 Jan 2007; Alin Năstac <mrness@gentoo.org> bewan-adsl-0.9.3-r2.ebuild:
+ Add informational messages in postinst function, thanks to Sebastián
+ González <sgm@acm.org> (#160611).
20 Dec 2006; Alin Năstac <mrness@gentoo.org> bewan-adsl-0.9.3-r2.ebuild:
Make kernel patch future-proof (bug #156783 comment #11).
diff --git a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild
index 9990d5eecfc6..d82c212fdb2a 100644
--- a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild
+++ b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.4 2006/12/20 19:33:17 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.5 2007/01/15 21:35:18 mrness Exp $
inherit eutils linux-mod
@@ -75,8 +75,8 @@ src_compile() {
src_install() {
linux-mod_src_install
+ # Install tools
cd "${S}"
- #Install tools
dodir /usr/bin
cd "${S}/tools" && einstall DESTDIR="${D}" prefix=/usr || \
die "Cannot install tools"
@@ -84,7 +84,7 @@ src_install() {
die "Cannot install unicorntest"
doman "${S}/Documentation/unicorntest.8"
- #Install documantation
+ # Install documentation
cd "${S}"
dodoc README
docinto RFCs
@@ -94,11 +94,14 @@ src_install() {
}
pkg_postinst() {
- einfo "To load the driver do 'modprobe unicorn_atm' and 'modprobe unicorn_pci' "
- einfo "and then do what you want with it (configure your pppd)"
- einfo "OR"
- einfo "it's time to look at the README file, the scripts directory gives you"
- einfo "two comprehensive ways to load the driver, configure pppd and launch it."
-
+ einfo "The following modules are available:"
+ einfo " $(echo $MODULE_NAMES | sed s/\([^\)]*\)//g)"
+ echo
+ ewarn "You might need to use hotplug's blacklisting mechanism in order to prevent the"
+ ewarn "loading of an incorrect module at boot time, e.g. in case unicorn_pci_eth is"
+ ewarn "automatically loaded but you happen to need unicorn_pci_atm instead. List the"
+ ewarn "unwanted module in /etc/hotplug/blacklist. You might also need to blacklist it"
+ ewarn "in modprobe, see modprobe.conf(5)."
+ echo
linux-mod_pkg_postinst
}