summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-12-11 08:11:35 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-12-11 08:11:35 +0000
commitd10a832904cf8baa82e89b48f2d7f994ba8b14ff (patch)
tree8996bb9bc7cd3a1a00d060abec2ead59d241111c /sys-apps
parentremoved sparc64 keyword - per recent discussion on -core (diff)
downloadhistorical-d10a832904cf8baa82e89b48f2d7f994ba8b14ff.tar.gz
historical-d10a832904cf8baa82e89b48f2d7f994ba8b14ff.tar.bz2
historical-d10a832904cf8baa82e89b48f2d7f994ba8b14ff.zip
bump
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/module-init-tools/ChangeLog11
-rw-r--r--sys-apps/module-init-tools/files/digest-module-init-tools-0.9.32
-rw-r--r--sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild4
-rw-r--r--sys-apps/module-init-tools/module-init-tools-0.9.3.ebuild102
4 files changed, 116 insertions, 3 deletions
diff --git a/sys-apps/module-init-tools/ChangeLog b/sys-apps/module-init-tools/ChangeLog
index 508736392096..775db72bb669 100644
--- a/sys-apps/module-init-tools/ChangeLog
+++ b/sys-apps/module-init-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/module-init-tools
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.1 2002/12/11 00:47:06 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.2 2002/12/11 08:11:35 lostlogic Exp $
+
+*module-init-tools-0.9.3 (11 Dec 2002)
+
+ 11 Dec 2002; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.3 :
+ Updated to version 0.9.3
+ Removed extra keyword.
+ Update thanks again to Tony Murray <murrant@bvu.edu>.
*module-init-tools-0.9.1 (10 Dec 2002)
@@ -8,3 +15,5 @@
New unstable package for managing modules in 2.5 series kernels. A
bit complicated as it does overwrite the modutils system package,
we'll need to take another look at this before 2.6 comes out.
+
+ This ebuild is thanks to Tony Murray <murrant@bvu.edu> for this :)
diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.3 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.3
new file mode 100644
index 000000000000..ae5fb5c630c2
--- /dev/null
+++ b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.3
@@ -0,0 +1,2 @@
+MD5 a8cf95b1f91d19b0952c3cc755d17385 module-init-tools-0.9.3.tar.bz2 77618
+MD5 6c5d2a62ae98708f3ad0c57900d63919 modutils-2.4.22.tar.bz2 219457
diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild
index 96951a624525..eb5025ba4666 100644
--- a/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild
+++ b/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Tony Murray <murrant@bvu.edu>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild,v 1.1 2002/12/11 00:47:06 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.1.ebuild,v 1.2 2002/12/11 08:11:35 lostlogic Exp $
# This includes backwards compatability for stable kernels
@@ -13,7 +13,7 @@ SRC_URI="http://www.kernel.org/pub/linux/kernel/people/rusty/modules/${P}.tar.bz
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules"
KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
LICENSE="GPL-2"
-
+SLOT="0"
DEPEND="virtual/glibc"
RDEPEND=">=development-sources-2.5.48"
diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.3.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.3.ebuild
new file mode 100644
index 000000000000..d6182f45a149
--- /dev/null
+++ b/sys-apps/module-init-tools/module-init-tools-0.9.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Tony Murray <murrant@bvu.edu>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.3.ebuild,v 1.1 2002/12/11 08:11:35 lostlogic Exp $
+
+# This includes backwards compatability for stable kernels
+
+S="${WORKDIR}/${P}"
+MODUTILS_PV=2.4.22
+DESCRIPTION="Kernel module tools for the development kernel >=2.5.48"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/people/rusty/modules/${P}.tar.bz2
+ http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2"
+HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+RDEPEND=">=development-sources-2.5.48"
+
+src_compile() {
+ einfo "Building modutils..."
+ cd ${WORKDIR}/modutils-${MODUTILS_PV}
+
+ econf \
+ --disable-strip \
+ --prefix=/ \
+ --enable-insmod-static \
+ --disable-zlib \
+ ${myconf}
+ emake || die "emake modultils failed"
+
+ einfo "Building module-init-tools..."
+ cd ${S}
+
+ econf \
+ --host=${CHOST} \
+ --prefix=/ \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man
+ emake || die "emake module-init-tools failed"
+}
+
+src_install () {
+
+ cd ${WORKDIR}/modutils-${MODUTILS_PV}
+ einstall prefix="${D}"
+ dodoc COPYING CREDITS ChangeLog NEWS README TODO
+ cd ${S}
+
+ #this copies the old version of modutils to *.old so it still works
+ #with kernels <= 2.4
+ #This code was borrowed from the module-init-tools Makefile
+ for f in lsmod modprobe rmmod depmod insmod; do
+ if [ -L ${D}/sbin/${f} ]; then
+ ln -sf `ls -l ${D}/sbin/${f} | \
+ sed 's/.* -> //'`.old ${D}/sbin/${f};
+ fi;
+ mv ${D}/sbin/${f} ${D}/sbin/${f}.old;
+ done
+# make prefix=${D} move-old-targets || die "Renaming old bins to *.old failed"
+
+ einstall \
+ prefix=${D} \
+ mandir=${D}/usr/share/man
+ #create the new modprobe.conf
+ dodir /etc
+ ${S}/modules.conf2modprobe.conf /etc/modules.conf ${D}/etc/modprobe.conf || die "Could not create modprobe.conf"
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+
+ #Notify user of evilness, hope for a better way ;-)
+ einfo "This overwrites the modutils files, so if you remove this,"
+ einfo "remember to remerge modutils. However, this package has"
+ einfo "installed a copy of the modutils files with suffix .old"
+ einfo "in your /sbin directory."
+}
+
+#pkg_prerm() {
+# for f in lsmod modprobe rmmod depmod insmod; do
+# if [ -L /sbin/${f}.old ]; then
+# ln -sf `ls -l /sbin/${f}.old | \
+# sed 's/.* -> \(.*\)\.old/\1/'` /sbin/${f};
+# fi;
+# mv /sbin/${f}.old /sbin/${f};
+# done
+#}
+
+pkg_postrm() {
+# ewarn "Uninstalling this package has switched you to"
+# ewarn "a modutils installtion which is not managed"
+# ewarn "by the portage system. Your system should"
+# ewarn "function acceptably on the 2.4 or lower kernels"
+# ewarn "just as it is, but we do recommend remerging"
+# ewarn "modutils."
+ if [ "$(best_version ${PN})" == "${CATEGORY}/${PF}" -a ! -f /sbin/insmod ]; then
+ ewarn "Uninstalling module-init-tools has left you"
+ ewarn "without a modutils installtion. we recommend"
+ ewarn "emerging modutils immediately or remerging"
+ ewarn "module-init-tools."
+ fi
+}
+