From 1d3eacf9954acabe7659cd9adbbefeaf539d12c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Fri, 13 Apr 2007 10:29:06 +0000 Subject: [PATCH] Die in pkg_setup if kernel version is 2.6.20 or above (#174013). Package-Manager: portage-2.1.2.3 --- net-dialup/bewan-adsl/ChangeLog | 5 +++- net-dialup/bewan-adsl/Manifest | 26 +++++++++++++------ .../bewan-adsl/bewan-adsl-0.9.3-r2.ebuild | 10 ++++++- 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog index 1b654d93085a..63bc6f6d07eb 100644 --- a/net-dialup/bewan-adsl/ChangeLog +++ b/net-dialup/bewan-adsl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/bewan-adsl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.19 2007/02/25 09:12:32 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.20 2007/04/13 10:29:06 mrness Exp $ + + 13 Apr 2007; Alin Năstac bewan-adsl-0.9.3-r2.ebuild: + Die in pkg_setup if kernel version is 2.6.20 or above (#174013). 25 Feb 2007; ChangeLog: use KV_DIR only after linux-mod_pkg_setup, bug 168051 diff --git a/net-dialup/bewan-adsl/Manifest b/net-dialup/bewan-adsl/Manifest index cfe19ca5030a..9b3ed43baecc 100644 --- a/net-dialup/bewan-adsl/Manifest +++ b/net-dialup/bewan-adsl/Manifest @@ -1,13 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +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 3209 RMD160 fda4caa4dec775862a098a68f40a4e002ac1b828 SHA1 ec364f05e15bd89cb07a2b64340394b576958439 SHA256 6febe32c694421cb984fdd9fa921faf8a31aca01c4abe87adefc5842e015f570 -MD5 38303b88ef21f3fd8bf094a48c07c850 bewan-adsl-0.9.3-r2.ebuild 3209 -RMD160 fda4caa4dec775862a098a68f40a4e002ac1b828 bewan-adsl-0.9.3-r2.ebuild 3209 -SHA256 6febe32c694421cb984fdd9fa921faf8a31aca01c4abe87adefc5842e015f570 bewan-adsl-0.9.3-r2.ebuild 3209 -MISC ChangeLog 3524 RMD160 a2e7e6bb53ddc09780755afa3e31e1b2765a58f5 SHA1 2e16972c100ba6f7ccfde1e33fd087d4aa9a1e3d SHA256 17496fb356d18cf74774adc154b66f42b8a4f00c8b2d76b37873b291645c0027 -MD5 74096824b9769b48df485ea9452da0c2 ChangeLog 3524 -RMD160 a2e7e6bb53ddc09780755afa3e31e1b2765a58f5 ChangeLog 3524 -SHA256 17496fb356d18cf74774adc154b66f42b8a4f00c8b2d76b37873b291645c0027 ChangeLog 3524 +EBUILD bewan-adsl-0.9.3-r2.ebuild 3512 RMD160 5119012126b4eb52c821761fdcff378d4c5fe25c SHA1 f116de98bb05697f29249fe5061b37aee90bd883 SHA256 3633cfcf3b35159ba32b77c1b91e7dbb5e1e467733c76629c2e5e1e20622d0d6 +MD5 7763d60d4e51ed3487e6291a5cecc5a6 bewan-adsl-0.9.3-r2.ebuild 3512 +RMD160 5119012126b4eb52c821761fdcff378d4c5fe25c bewan-adsl-0.9.3-r2.ebuild 3512 +SHA256 3633cfcf3b35159ba32b77c1b91e7dbb5e1e467733c76629c2e5e1e20622d0d6 bewan-adsl-0.9.3-r2.ebuild 3512 +MISC ChangeLog 3667 RMD160 83f5a19bd3aaced00dcf29632522c8c60cf30b82 SHA1 83606cb919ddc5150503d7b5d1e8173c370e3e2d SHA256 81786debc3bcdcf42a038c1c50bc300c176604c5060be31496950003b171524e +MD5 7764da2b387a95ccc1dabb0ea9b9f916 ChangeLog 3667 +RMD160 83f5a19bd3aaced00dcf29632522c8c60cf30b82 ChangeLog 3667 +SHA256 81786debc3bcdcf42a038c1c50bc300c176604c5060be31496950003b171524e ChangeLog 3667 MISC metadata.xml 244 RMD160 d019a30c66a0973b91a78b298ead869bc95e116e SHA1 8c372c5959e7fdbd256a2d3f33a2cc6b410d9fc5 SHA256 8442a611ecdc33f97baafbc1bab688260b422f67f2bdef929279263ecb2e61b6 MD5 a8f204f0f809d594d055af2f544329c7 metadata.xml 244 RMD160 d019a30c66a0973b91a78b298ead869bc95e116e metadata.xml 244 @@ -15,3 +18,10 @@ SHA256 8442a611ecdc33f97baafbc1bab688260b422f67f2bdef929279263ecb2e61b6 metadata 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 v2.0.3 (GNU/Linux) + +iD8DBQFGH1uYJnxX6mF440QRAsveAKC+mc0hmFKg6WKskkDkbBwJx40uvgCdF5oM +wRi14iuDvH05yWEG/kQ1LdU= +=zEwN +-----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 b6eb96c6f336..7dd1f7bc91ad 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-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.6 2007/02/25 09:12:32 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.7 2007/04/13 10:29:06 mrness Exp $ inherit eutils linux-mod @@ -26,6 +26,14 @@ CONFIG_CHECK="ATM" ATM_ERROR="This driver requires you to build your kernel with support for Asynchronous Transfer Mode (ATM)" pkg_setup() { + if kernel_is ge 2 6 20 ; then + eerror "This driver is not compatible with kernel versions >= 2.6.20 and it cannot be fixed" + eerror "by anyone else than Bewan (see Gentoo bug #174013)." + eerror "As a Bewan customer, you should ask them to fix the problem." + + die "Incompatible kernel version." + fi + MODULE_NAMES="unicorn_pci_atm(extra:${PCI_S}) unicorn_pci_eth(extra:${PCI_S})" use usb && MODULE_NAMES="${MODULE_NAMES} unicorn_usb_atm(extra:${USB_S}) unicorn_usb_eth(extra:${USB_S})" -- 2.26.2