summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-09-06 21:00:52 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-09-06 21:00:52 +0000
commit92649312ea9116cf0b208052c8eddb77dadf781f (patch)
treeb7a168e6578bc5f26325ec6a6a0ef4e6e8c640e6 /sys-apps
parentVersion bumped and closing bugs #103391 and #104020. (diff)
downloadgentoo-2-92649312ea9116cf0b208052c8eddb77dadf781f.tar.gz
gentoo-2-92649312ea9116cf0b208052c8eddb77dadf781f.tar.bz2
gentoo-2-92649312ea9116cf0b208052c8eddb77dadf781f.zip
Version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/i2c/ChangeLog8
-rw-r--r--sys-apps/i2c/Manifest5
-rw-r--r--sys-apps/i2c/files/digest-i2c-2.9.21
-rw-r--r--sys-apps/i2c/files/i2c-2.9.2-module-path.patch27
-rw-r--r--sys-apps/i2c/i2c-2.9.2.ebuild68
5 files changed, 107 insertions, 2 deletions
diff --git a/sys-apps/i2c/ChangeLog b/sys-apps/i2c/ChangeLog
index 1deba9d36bf4..ccd3df0ce3d9 100644
--- a/sys-apps/i2c/ChangeLog
+++ b/sys-apps/i2c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/i2c
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.39 2005/08/19 15:35:45 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.40 2005/09/06 21:00:52 brix Exp $
+
+*i2c-2.9.2 (06 Sep 2005)
+
+ 06 Sep 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/i2c-2.9.2-module-path.patch, +i2c-2.9.2.ebuild:
+ Version bump.
19 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> i2c-2.9.1.ebuild:
No linux-2.4.x support for ppc.
diff --git a/sys-apps/i2c/Manifest b/sys-apps/i2c/Manifest
index 02896eb50dd8..54287d9aedea 100644
--- a/sys-apps/i2c/Manifest
+++ b/sys-apps/i2c/Manifest
@@ -1,11 +1,14 @@
MD5 c08347cffd5b5375c1b3951ad218307f i2c-2.9.1.ebuild 1710
MD5 7c2f9708e0d353f08be9add731cb8158 i2c-2.8.7.ebuild 3499
MD5 12a9de4bbbb793932550f17998be233b i2c-2.9.0.ebuild 2642
-MD5 0dbfc3bb66e9212d0f93434938c14b9a ChangeLog 6858
+MD5 f362f58a458362b374bcb0d5610344e8 i2c-2.9.2.ebuild 1623
+MD5 9740e2686e38d8a54788840852d46792 ChangeLog 7012
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+MD5 853e1c19e54e6adb9cbb4e435f49847e files/i2c-2.9.2-module-path.patch 1792
MD5 9a742c848861fdb77a2ece979a81edc3 files/i2c-2.8.0-alphaCompile.patch 353
MD5 3d1523487606d28ad6cb49a5f34b1601 files/digest-i2c-2.8.7 61
MD5 09a33c917d4a0919bb6aa7d6d83402c0 files/digest-i2c-2.9.0 61
MD5 719058245870177c6519a7faae4540d4 files/digest-i2c-2.9.1 61
+MD5 966fb4a85b4c37cf171b937f3b60ea78 files/digest-i2c-2.9.2 61
MD5 bf13f28c20a1fb6338fa2ced6fe4862d files/i2c-2.9.0.fix.patch 2570
MD5 94e41662a7f774ade36247d658373f85 files/i2c-2.9.1-module-path.patch 1792
diff --git a/sys-apps/i2c/files/digest-i2c-2.9.2 b/sys-apps/i2c/files/digest-i2c-2.9.2
new file mode 100644
index 000000000000..e7c0629661f8
--- /dev/null
+++ b/sys-apps/i2c/files/digest-i2c-2.9.2
@@ -0,0 +1 @@
+MD5 5569049be9d17f697e2838ab5c449a41 i2c-2.9.2.tar.gz 138708
diff --git a/sys-apps/i2c/files/i2c-2.9.2-module-path.patch b/sys-apps/i2c/files/i2c-2.9.2-module-path.patch
new file mode 100644
index 000000000000..3554e1cd910e
--- /dev/null
+++ b/sys-apps/i2c/files/i2c-2.9.2-module-path.patch
@@ -0,0 +1,27 @@
+diff -urp i2c-2.9.2/kernel/Module.mk i2c-2.9.2-module-path/kernel/Module.mk
+--- i2c-2.9.2/kernel/Module.mk 2005-09-06 21:38:20.000000000 +0200
++++ i2c-2.9.2-module-path/kernel/Module.mk 2005-09-06 22:26:07.000000000 +0200
+@@ -98,18 +98,18 @@ all :: all-kernel
+
+ #
+ # If $MODPREF/kernel exists, we presume the new (2.4.0) /lib/modules/x.y.z directory
+-# layout, so we install in kernel/drivers/i2c/ and remove old versions in misc/
++# layout, so we install in drivers/i2c/ and remove old versions in misc/
+ # Otherwise we install in misc/ as before.
+ #
+ install-kernel: all-kernel
+ if [ -n "$(KERNELTARGETS)" ] ; then \
+- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c ; \
+- $(INSTALL) -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c ; \
++ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c ; \
++ $(INSTALL) -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c ; \
+ for i in $(KERNELTARGETS) ; do \
+- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz ; \
++ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz ; \
+ done ; \
+ for i in i2c-elektor.o i2c-pcf-epp.o ; do \
+- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz ; \
++ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i` $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz ; \
+ done ; \
+ $(RMDIR) $(DESTDIR)$(MODPREF)/misc 2> /dev/null || true ; \
+ fi
diff --git a/sys-apps/i2c/i2c-2.9.2.ebuild b/sys-apps/i2c/i2c-2.9.2.ebuild
new file mode 100644
index 000000000000..057853b7b35c
--- /dev/null
+++ b/sys-apps/i2c/i2c-2.9.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.9.2.ebuild,v 1.1 2005/09/06 21:00:52 brix Exp $
+
+inherit eutils toolchain-funcs linux-info
+
+DESCRIPTION="I2C Bus kernel modules for linux-2.4.x"
+HOMEPAGE="http://www2.lm-sensors.nu/~lm78/"
+SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -ppc ~x86"
+
+IUSE=""
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 2 4 10; then
+ eerror "${P} requires kernel 2.4.10 or later"
+ die "${P} requires kernel 2.4.10 or later"
+ fi
+
+ if kernel_is gt 2 4; then
+ eerror "${P} is only needed for kernel 2.4.x"
+ eerror "You need to use the in-kernel I2C drivers for later kernels."
+ die "Non 2.4.x kernel detected"
+ fi
+
+ if linux_chkconfig_present I2C; then
+ eerror "${P} requires kernel CONFIG_I2C to be disabled."
+ die "Kernel with CONFIG_I2C detected"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-module-path.patch
+}
+
+src_compile () {
+ einfo
+ einfo "You may safely ignore any errors from compilation"
+ einfo "that contain \"No such file or directory\" references."
+ einfo
+
+ emake CC=$(tc-getCC) LINUX=${KV_DIR} || die "emake failed"
+}
+
+src_install() {
+ einfo
+ einfo "This package will need to overwrite your kernel I2C headers."
+ einfo "If this fails, please emerge with FEATURES=\"-collision-protect\""
+ einfo
+ ebeep 5
+
+ emake CC=$(tc-getCC) \
+ LINUX=${KV_DIR} LINUX_INCLUDE_DIR=${KV_DIR}/include/linux MODPREF=/lib/modules/${KV_FULL} \
+ DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man install \
+ || die "emake install failed"
+
+ dodoc CHANGES README TODO
+
+ dodoc doc/*
+}