From 16c04bb20d290bd41467ac2fa10fbfe7e66c1afe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Mon, 15 Jan 2007 21:35:18 +0000 Subject: [PATCH] =?utf8?q?Add=20informational=20messages=20in=20postinst?= =?utf8?q?=20function,=20thanks=20to=20Sebasti=C3=A1n=20Gonz=C3=A1lez=20=20(#160611).=20Package-Manager:=20portage-2.1.1-r2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- net-dialup/bewan-adsl/ChangeLog | 8 +++++-- net-dialup/bewan-adsl/Manifest | 24 +++++++++---------- .../bewan-adsl/bewan-adsl-0.9.3-r2.ebuild | 23 ++++++++++-------- 3 files changed, 31 insertions(+), 24 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 bewan-adsl-0.9.3-r2.ebuild: + Add informational messages in postinst function, thanks to Sebastián + González (#160611). 20 Dec 2006; Alin Năstac bewan-adsl-0.9.3-r2.ebuild: Make kernel patch future-proof (bug #156783 comment #11). diff --git a/net-dialup/bewan-adsl/Manifest b/net-dialup/bewan-adsl/Manifest index 195a0723ba81..021388436979 100644 --- a/net-dialup/bewan-adsl/Manifest +++ b/net-dialup/bewan-adsl/Manifest @@ -3,14 +3,14 @@ Hash: SHA1 DIST A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291 RMD160 50cd3201b05e931e541bd9a2dc4711c1ac044ec8 SHA1 977172f517e850f19029e3c6a0da07a7ca1e8269 SHA256 48a789f7ef026248a4a666ff5da952ef458d1a1ae7a7bc162a6d01e0ac38a954 DIST bewan-adsl-0.9.3-patches-20061220.tar.gz 5098 RMD160 9f2f5b23439e544fa38b7e262a6ee75fc4353734 SHA1 a59292fc6d4c671a8c265033070b6f8f1e3ac243 SHA256 3b635749422c144234f7799b8c1398e344c8c1580b1fc061be7f27bb9cb843b2 -EBUILD bewan-adsl-0.9.3-r2.ebuild 3019 RMD160 b1d2df39935fa7ac1cb0b3b731eb58b2667c6309 SHA1 9fb754fbcee1b4b419c8cb8208aace96b9f484f1 SHA256 74d1049f99a06bc6e89ec1be46db1f2a57a68db6bfd6595aa235f9d7a3586732 -MD5 d33f3176eb912eff7e3d14408b376bff bewan-adsl-0.9.3-r2.ebuild 3019 -RMD160 b1d2df39935fa7ac1cb0b3b731eb58b2667c6309 bewan-adsl-0.9.3-r2.ebuild 3019 -SHA256 74d1049f99a06bc6e89ec1be46db1f2a57a68db6bfd6595aa235f9d7a3586732 bewan-adsl-0.9.3-r2.ebuild 3019 -MISC ChangeLog 3233 RMD160 2516056451e7e8d3fb919b2921beccf09db2f02b SHA1 f93340f8dffa935691e2c654c442462f10ea9e3a SHA256 4909db735cbec71d1c3bb647b532b7b68e8871feb72a200a325d5f01c924fa26 -MD5 ee0c0920a7830e92490aef1e2854926b ChangeLog 3233 -RMD160 2516056451e7e8d3fb919b2921beccf09db2f02b ChangeLog 3233 -SHA256 4909db735cbec71d1c3bb647b532b7b68e8871feb72a200a325d5f01c924fa26 ChangeLog 3233 +EBUILD bewan-adsl-0.9.3-r2.ebuild 3207 RMD160 464e21b154e4848d95b92647c818c4553797c2e2 SHA1 ea45115ed93af40cec9c03488deff777fe98c3b4 SHA256 5212562a346dae0cb00df3d90571da33b03f4b8634d20a6c4b837bb4d5e65c2d +MD5 9a317be6b685cf3f63c0010794189b35 bewan-adsl-0.9.3-r2.ebuild 3207 +RMD160 464e21b154e4848d95b92647c818c4553797c2e2 bewan-adsl-0.9.3-r2.ebuild 3207 +SHA256 5212562a346dae0cb00df3d90571da33b03f4b8634d20a6c4b837bb4d5e65c2d bewan-adsl-0.9.3-r2.ebuild 3207 +MISC ChangeLog 3419 RMD160 cef17cc17737e66668be9a5b2ea84310bef88b3b SHA1 420abe956ee0e15e743f4626fd98043aec3cfec7 SHA256 52bc6d2e92648f1c1f6204166e6c775914680c7076c7a1b434e264b5714dddde +MD5 6bbe5522a0b7aeb796e728bfa9877c44 ChangeLog 3419 +RMD160 cef17cc17737e66668be9a5b2ea84310bef88b3b ChangeLog 3419 +SHA256 52bc6d2e92648f1c1f6204166e6c775914680c7076c7a1b434e264b5714dddde ChangeLog 3419 MISC metadata.xml 244 RMD160 d019a30c66a0973b91a78b298ead869bc95e116e SHA1 8c372c5959e7fdbd256a2d3f33a2cc6b410d9fc5 SHA256 8442a611ecdc33f97baafbc1bab688260b422f67f2bdef929279263ecb2e61b6 MD5 a8f204f0f809d594d055af2f544329c7 metadata.xml 244 RMD160 d019a30c66a0973b91a78b298ead869bc95e116e metadata.xml 244 @@ -19,9 +19,9 @@ MD5 f42af220d27842e90d0ca6c04e78fba6 files/digest-bewan-adsl-0.9.3-r2 587 RMD160 8d70a438be48957e4e1ff3aef6c7a8fb4db3105c files/digest-bewan-adsl-0.9.3-r2 587 SHA256 a9aa2ba82e3a1cfa157d114bd26ed41dcdf36a32b2d4fd6ecce93b9ac5921c1b files/digest-bewan-adsl-0.9.3-r2 587 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFiZAN3sf9c6kjmR8RAoraAKCRhS/hNENovJTugeWmVJibBgUHYACgqm1W -BjX/MtYHfS0ua3JyCRf3z7w= -=w1hw +iD8DBQFFq/OiJnxX6mF440QRAjZyAKCh0l9u+VrtA5EnKzMkPrQbjCyMPgCgq8bw +rovZ+kHSWZqNyIndJ8EO73w= +=Ged/ -----END PGP SIGNATURE----- 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 } -- 2.26.2