Remove einfo/ewarn/eerror banners, bug #70864
authorDaniel Drake <dsd@gentoo.org>
Thu, 11 Nov 2004 23:03:43 +0000 (23:03 +0000)
committerDaniel Drake <dsd@gentoo.org>
Thu, 11 Nov 2004 23:03:43 +0000 (23:03 +0000)
sys-apps/i2c/ChangeLog
sys-apps/i2c/Manifest
sys-apps/i2c/i2c-2.6.5-r1.ebuild
sys-apps/i2c/i2c-2.8.0.ebuild
sys-apps/i2c/i2c-2.8.1.ebuild
sys-apps/i2c/i2c-2.8.2.ebuild
sys-apps/i2c/i2c-2.8.3.ebuild
sys-apps/i2c/i2c-2.8.4.ebuild
sys-apps/i2c/i2c-2.8.7.ebuild
sys-apps/i2c/i2c-2.8.8.ebuild

index 6f90dd5ee47f473ee81d1c1578fe62b3799754e6..8d1ef9dfb893ef155bb6367e3685e52faab29a6d 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/i2c
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.26 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.27 2004/11/11 23:03:43 dsd Exp $
+
+  12 Nov 2004; Daniel Drake <dsd@gentoo.org> i2c-2.6.5-r1.ebuild,
+  i2c-2.8.0.ebuild, i2c-2.8.1.ebuild, i2c-2.8.2.ebuild, i2c-2.8.3.ebuild,
+  i2c-2.8.4.ebuild, i2c-2.8.7.ebuild, i2c-2.8.8.ebuild:
+  Remove einfo/ewarn/eerror banners, bug #70864
 
   05 Nov 2004; <plasmaroo@gentoo.org> i2c-2.8.1.ebuild, i2c-2.8.2.ebuild,
   i2c-2.8.3.ebuild, i2c-2.8.4.ebuild, i2c-2.8.7.ebuild, i2c-2.8.8.ebuild:
index 6995cf1c32a428fe38ec5ec4ab08690575392dee..a045cd99cb31830b7dd254bc8ad0bedf6e460405 100644 (file)
@@ -1,21 +1,21 @@
-MD5 1e81182034227eda3927cb8c41c266b6 i2c-2.8.0.ebuild 3992
-MD5 2b9b81e3a1e7bbbc2d4c3d4b7aec0b02 ChangeLog 4939
-MD5 b34b8d84d7ba0ea136599cb29fd2ce62 i2c-2.8.3.ebuild 4029
-MD5 e23e32e51e5a84476183d38f69bb85c8 i2c-2.8.2.ebuild 4043
-MD5 c2cbc46911448643914206860cfd21a5 i2c-2.8.1.ebuild 4043
-MD5 754518b923128cb5bc4bc240d44b8cd6 i2c-2.8.7.ebuild 3958
+MD5 c3f2c092e1b931a82b43ecc7963b52a3 i2c-2.8.8.ebuild 3489
+MD5 ce81980b481f644a25d200b952218e67 i2c-2.8.3.ebuild 3578
+MD5 0aca4cd8cf6e57f1d19d59c9db425cb8 i2c-2.6.5-r1.ebuild 1175
+MD5 841a65014f7851d0eb25d767432be428 i2c-2.8.0.ebuild 3542
+MD5 cdd383dc4f90c42002206946b8f660f6 i2c-2.8.7.ebuild 3498
+MD5 cf78d4eb72d9a93c6b32e4014d706858 i2c-2.8.2.ebuild 3592
+MD5 c2f7ef78390a3a40bc257817f4c79b6a i2c-2.8.4.ebuild 3492
+MD5 7f5f5aebf4876466eb673447a4efd39f i2c-2.8.1.ebuild 3592
+MD5 bbd8cc5ed967bed34124fb949de5397a ChangeLog 5178
 MD5 a76f13cb946fc2720c04b189616da2de metadata.xml 159
 MD5 6642416551db0c18eb3dbb67deb3b025 i2c-2.7.0.ebuild 1303
-MD5 72e4212b9152ef26263d1c38087cc741 i2c-2.8.4.ebuild 3953
-MD5 4c54f09d392c6ddd3ef44f5a5484aa3c i2c-2.8.8.ebuild 3943
-MD5 5d52b4f6a19458dff0650893ebed4ce7 i2c-2.6.5-r1.ebuild 1195
 MD5 3576df9f3c7882d48106168eb8f7d51a files/digest-i2c-2.6.5-r1 61
-MD5 3617d4ccdde4f981beb017ae657d9f5d files/digest-i2c-2.8.4 61
 MD5 9a742c848861fdb77a2ece979a81edc3 files/i2c-2.8.0-alphaCompile.patch 353
-MD5 4a11fc0743bbab53667047d79e3ddb47 files/digest-i2c-2.8.2 61
 MD5 2e2470d20cbace5964fe8d32fd87200e files/digest-i2c-2.7.0 61
-MD5 3d1523487606d28ad6cb49a5f34b1601 files/digest-i2c-2.8.7 61
-MD5 3fcbcb26e62ebb13ccb35be0a7de2f3c files/digest-i2c-2.8.3 61
-MD5 5e9a39e8feddd0556a74c69946cac4ba files/digest-i2c-2.8.8 61
 MD5 98815b3534b98fe332ebd0121be2c5c0 files/digest-i2c-2.8.0 61
 MD5 6fd48fab2a59dd0de9299437a6a4ac01 files/digest-i2c-2.8.1 61
+MD5 4a11fc0743bbab53667047d79e3ddb47 files/digest-i2c-2.8.2 61
+MD5 3fcbcb26e62ebb13ccb35be0a7de2f3c files/digest-i2c-2.8.3 61
+MD5 3617d4ccdde4f981beb017ae657d9f5d files/digest-i2c-2.8.4 61
+MD5 3d1523487606d28ad6cb49a5f34b1601 files/digest-i2c-2.8.7 61
+MD5 5e9a39e8feddd0556a74c69946cac4ba files/digest-i2c-2.8.8 61
index a84dec2e2d980d383013ce02deae581d0c57b027..51a160d3929e0fa02d035aebbddf56c2e3e241a5 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.6.5-r1.ebuild,v 1.8 2004/06/30 17:20:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.6.5-r1.ebuild,v 1.9 2004/11/11 23:03:43 dsd Exp $
 
 DESCRIPTION="I2C Bus support"
 HOMEPAGE="http://www2.lm-sensors.nu/~lm78/"
@@ -35,10 +35,8 @@ src_install() {
 pkg_postinst() {
        [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-       einfo
        einfo "i2c package installed ..."
-       einfo
+       echo
        einfo "IMPORTANT ... if you are installing this package you need to either"
        einfo "IMPORTANT ... *disable* kernel i2c support or *enable it as a module*"
-       einfo
 }
index 32c02f7f7539570d99e3bfc56bd0d6563b366cba..3fe9f3f13d88000a6c967949ba054fef5ffad0ae 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.0.ebuild,v 1.16 2004/09/03 21:03:23 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.0.ebuild,v 1.17 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils
 
@@ -17,40 +17,30 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       einfo "*****************************************************************"
-       einfo
        einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ "
-       einfo
+       echo
        einfo "For 2.5+ series kernels, use the support already in the kernel"
        einfo "under 'Character devices' -> 'I2C support'."
-       einfo
+       echo
        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
        einfo "or symlink /usr/src/linux to another kernel."
-       einfo
-       einfo "*****************************************************************"
        echo
 
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "35 ADDITIONALLY, i2c-2.8.0 is not API compatible to earlier i2c"
        eerror "36 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "37 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/"
        eerror "for a kernel patch which will fix this problem. Please note that"
        eerror "nor the lm_sensors team nor the package maintainers will be able"
        eerror "to support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -112,12 +102,9 @@ src_install() {
 pkg_postinst() {
        [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-       einfo
        einfo "I2C modules installed ..."
-       einfo
+       echo
        ewarn "IMPORTANT ... if you are installing this package you need to"
        ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
        ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-       einfo
-       echo
 }
index 7fd1b4f65d6b0db2d8337dc5a461eecce179e5b5..0ce454d53bf7c15a2e8aea76863b50e04d083454 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.1.ebuild,v 1.11 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.1.ebuild,v 1.12 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,40 +17,30 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       einfo "*****************************************************************"
-       einfo
        einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ "
-       einfo
+       echo
        einfo "For 2.5+ series kernels, use the support already in the kernel"
        einfo "under 'Character devices' -> 'I2C support'."
-       einfo
+       echo
        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
        einfo "or symlink /usr/src/linux to another kernel."
-       einfo
-       einfo "*****************************************************************"
        echo
 
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "35 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
        eerror "36 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "37 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/"
        eerror "for a kernel patch which will fix this problem. Please note that"
        eerror "nor the lm_sensors team nor the package maintainers will be able"
        eerror "to support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -113,12 +103,9 @@ src_install() {
 pkg_postinst() {
        [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-       einfo
        einfo "I2C modules installed ..."
-       einfo
+       echo
        ewarn "IMPORTANT ... if you are installing this package you need to"
        ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
        ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-       einfo
-       echo
 }
index ce052081665866199afc874e01d8e7281f4262b1..e18d15fd8821098accef483a5cc7ee5a7fdb2ffb 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.2.ebuild,v 1.8 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.2.ebuild,v 1.9 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,40 +17,30 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       einfo "*****************************************************************"
-       einfo
        einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ "
-       einfo
+       echo
        einfo "For 2.5+ series kernels, use the support already in the kernel"
        einfo "under 'Character devices' -> 'I2C support'."
-       einfo
+       echo
        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
        einfo "or symlink /usr/src/linux to another kernel."
-       einfo
-       einfo "*****************************************************************"
        echo
 
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "35 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
        eerror "36 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "37 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/"
        eerror "for a kernel patch which will fix this problem. Please note that"
        eerror "nor the lm_sensors team nor the package maintainers will be able"
        eerror "to support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -113,12 +103,9 @@ src_install() {
 pkg_postinst() {
        [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-       einfo
        einfo "I2C modules installed ..."
-       einfo
+       echo
        ewarn "IMPORTANT ... if you are installing this package you need to"
        ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
        ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-       einfo
-       echo
 }
index 8c0944b226a2bd5346b7defb6f0409d103823ec0..a50a7c9a2559144eff9d4f1f280c025918e03222 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.3.ebuild,v 1.7 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.3.ebuild,v 1.8 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,40 +17,30 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       einfo "*****************************************************************"
-       einfo
        einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ "
-       einfo
+       echo
        einfo "For 2.5+ series kernels, use the support already in the kernel"
        einfo "under 'Character devices' -> 'I2C support'."
-       einfo
+       echo
        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
        einfo "or symlink /usr/src/linux to another kernel."
-       einfo
-       einfo "*****************************************************************"
        echo
 
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "35 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
        eerror "36 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "37 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/"
        eerror "for a kernel patch which will fix this problem. Please note that"
        eerror "nor the lm_sensors team nor the package maintainers will be able"
        eerror "to support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -113,12 +103,9 @@ src_install() {
 pkg_postinst() {
        [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-       einfo
        einfo "I2C modules installed ..."
-       einfo
+       echo
        ewarn "IMPORTANT ... if you are installing this package you need to"
        ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
        ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-       einfo
-       echo
 }
index 4538aee165adc1a41c287dafc3663ce95a94063d..14738b9b34225d12b02f1a44af0244d805f2973a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.4.ebuild,v 1.11 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.4.ebuild,v 1.12 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,27 +17,21 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "40 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
        eerror "41 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "42 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "43 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://khai.linux-fr.org/devel/i2c/ for a kernel"
        eerror "patch which will fix this problem. Please note that nor the"
        eerror "lm_sensors team nor the package maintainers will be able to"
        eerror "support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -54,15 +48,11 @@ src_compile ()  {
                echo ${KV} | grep -q 2.4.
                if [ $? == 1 ]; then
                        echo
-                       einfo "*****************************************************************"
-                       einfo
                        einfo "For 2.5+ series kernels, use the support already in the kernel"
                        einfo "under 'Character devices' -> 'I2C support'."
-                       einfo
+                       echo
                        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
                        einfo "or symlink /usr/src/linux to another kernel."
-                       einfo
-                       einfo "*****************************************************************"
                        echo
                        ewarn "Non-2.4 kernel detected; doing nothing..."
                        return
@@ -113,13 +103,10 @@ pkg_postinst() {
        if echo ${KV} | grep -q 2.4.; then
                [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-               einfo
                einfo "I2C modules installed ..."
-               einfo
+               echo
                ewarn "IMPORTANT ... if you are installing this package you need to"
                ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
                ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-               einfo
-               echo
        fi
 }
index a4b8bdc2229f034afccf5bdd35d63add6b67fbbb..2cab493162edbc8ae1d525880bf616f10d8012f7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.7.ebuild,v 1.9 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.7.ebuild,v 1.10 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,27 +17,21 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "40 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
        eerror "41 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "42 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "43 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://khai.linux-fr.org/devel/i2c/ for a kernel"
        eerror "patch which will fix this problem. Please note that nor the"
        eerror "lm_sensors team nor the package maintainers will be able to"
        eerror "support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -54,15 +48,11 @@ src_compile ()  {
                echo ${KV} | grep -q 2.4.
                if [ $? == 1 ]; then
                        echo
-                       einfo "*****************************************************************"
-                       einfo
                        einfo "For 2.5+ series kernels, use the support already in the kernel"
                        einfo "under 'Character devices' -> 'I2C support'."
-                       einfo
+                       echo
                        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
                        einfo "or symlink /usr/src/linux to another kernel."
-                       einfo
-                       einfo "*****************************************************************"
                        echo
                        ewarn "Non-2.4 kernel detected; doing nothing..."
                        return
@@ -113,13 +103,10 @@ pkg_postinst() {
        if echo ${KV} | grep -q 2.4.; then
                [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-               einfo
                einfo "I2C modules installed ..."
-               einfo
+               echo
                ewarn "IMPORTANT ... if you are installing this package you need to"
                ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
                ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-               einfo
-               echo
        fi
 }
index ef2d3807fcb6639c5a3e6cf29df8bb1e088c1ecc..2928762fba42c025c4fc5fa8700d91ea323a4c3f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.8.ebuild,v 1.2 2004/11/05 16:47:36 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.8.ebuild,v 1.3 2004/11/11 23:03:43 dsd Exp $
 
 inherit eutils toolchain-funcs
 
@@ -17,27 +17,21 @@ DEPEND=""
 
 pkg_setup() {
        echo
-       eerror "*****************************************************************"
-       eerror
        eerror "WARNING: This i2c support is not recommended for things such as "
        eerror "WARNING: BTTV"
-       eerror
-       eerror "*****************************************************************"
-       eerror
+       echo
        eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
-       eerror
+       echo
        eerror "40 ADDITIONALLY, i2c-2.8.8 is not API compatible to earlier i2c"
        eerror "41 releases due to struct changes; therefore you must NOT ENABLE"
        eerror "42 any other i2c drivers (e.g. bttv) in the kernel."
        eerror "43 Do NOT use lm-sensors 2.8.8 or i2c-2.8.8 if you require bttv."
-       eerror
+       echo
        eerror "Please try out http://khai.linux-fr.org/devel/i2c/ for a kernel"
        eerror "patch which will fix this problem. Please note that nor the"
        eerror "lm_sensors team nor the package maintainers will be able to"
        eerror "support you if you encounter problems with I2C when using"
        eerror "other modules with requirements on I2C..."
-       eerror
-       eerror "*****************************************************************"
        echo
 }
 
@@ -54,15 +48,11 @@ src_compile ()  {
                echo ${KV} | grep -q 2.4.
                if [ $? == 1 ]; then
                        echo
-                       einfo "*****************************************************************"
-                       einfo
                        einfo "For 2.5+ series kernels, use the support already in the kernel"
                        einfo "under 'Character devices' -> 'I2C support'."
-                       einfo
+                       echo
                        einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
                        einfo "or symlink /usr/src/linux to another kernel."
-                       einfo
-                       einfo "*****************************************************************"
                        echo
                        ewarn "Non-2.4 kernel detected; doing nothing..."
                        return
@@ -113,13 +103,11 @@ pkg_postinst() {
        if echo ${KV} | grep -q 2.4.; then
                [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
 
-               einfo
                einfo "I2C modules installed ..."
-               einfo
+               echo
                ewarn "IMPORTANT ... if you are installing this package you need to"
                ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
                ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
-               einfo
                echo
        fi
 }