diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-01-07 17:21:41 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-01-07 17:21:41 +0000 |
commit | 22a46424802d0a5cbcd801850ed8fc9f9ce3182c (patch) | |
tree | f05c80bd10947b82c36ff528c8c51ceb099b1d57 /sys-apps/module-init-tools | |
parent | Update version. Fix copyright of all ebuilds. (diff) | |
download | historical-22a46424802d0a5cbcd801850ed8fc9f9ce3182c.tar.gz historical-22a46424802d0a5cbcd801850ed8fc9f9ce3182c.tar.bz2 historical-22a46424802d0a5cbcd801850ed8fc9f9ce3182c.zip |
Update version. Fix copyright of all ebuilds.
Diffstat (limited to 'sys-apps/module-init-tools')
10 files changed, 188 insertions, 23 deletions
diff --git a/sys-apps/module-init-tools/Manifest b/sys-apps/module-init-tools/Manifest index 404dff28e7f8..6132bd92b201 100644 --- a/sys-apps/module-init-tools/Manifest +++ b/sys-apps/module-init-tools/Manifest @@ -1,13 +1,13 @@ -MD5 b048068fbd625ad11940c6069a3794bc module-init-tools-0.9.15_pre3.ebuild 4464 -MD5 45e1e804448b6be2c8ab49a7bb7f9f76 module-init-tools-0.9.13_pre2.ebuild 4727 -MD5 465e47737fa70b77b6ff412c144d0af7 ChangeLog 9964 -MD5 7f4d423b04e2de09c1751b68fcd25691 module-init-tools-3.0_pre5.ebuild 4472 -MD5 7c7bc0686633525168414a46cc48ac56 module-init-tools-0.9.14.ebuild 4620 -MD5 3d429ef95481c4593ffc66dac26fbb13 module-init-tools-0.9.12-r1.ebuild 4818 +MD5 48c50136cbb97ac10bab45bdae440367 module-init-tools-0.9.15_pre3.ebuild 4461 +MD5 e7498d0d86aa59d1c8dd030e2179c750 module-init-tools-0.9.13_pre2.ebuild 4728 +MD5 3e7717f7a7f748d33f5e48ff6903b230 ChangeLog 10146 +MD5 38b704a286623cb836079a3b5a484eff module-init-tools-3.0_pre5.ebuild 4469 +MD5 37b13e637493884e16fe2488cfb37b8c module-init-tools-0.9.14.ebuild 4620 +MD5 37f6f26e92d282a4eb40879380073b5b module-init-tools-0.9.12-r1.ebuild 4820 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 7f4d423b04e2de09c1751b68fcd25691 module-init-tools-0.9.15_pre4.ebuild 4472 -MD5 84fd34c0fab48ffc68a7ab6cad0b1d7f module-init-tools-0.9.15_pre1.ebuild 4344 -MD5 750347b3ed077e7af344b8f89fddcea1 module-init-tools-0.9.15_pre2.ebuild 4431 +MD5 8b2beab65a9197c4f9e2e370f3987266 module-init-tools-0.9.15_pre4.ebuild 4472 +MD5 ff547b3448cab1496dfd9870f98acb00 module-init-tools-0.9.15_pre1.ebuild 4344 +MD5 de52ca2de9574ccee78e04b64111ccf3 module-init-tools-0.9.15_pre2.ebuild 4431 MD5 45ebc93263c86224eb12c3f2c71d9275 files/module-init-tools-0.9.11-be-quiet-for-devfsd.patch 4208 MD5 06447c844280435b8a96e8b21f5b0a59 files/module-init-tools-0.9.12-includes-should-override.patch 524 MD5 6cd7fbd67d72ab12cec430aa0e81d184 files/digest-module-init-tools-0.9.15_pre2 150 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre5 b/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre5 new file mode 100644 index 000000000000..eb82b7b8580f --- /dev/null +++ b/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre5 @@ -0,0 +1,2 @@ +MD5 29dd79a3bb86390487c7453ac77cd999 module-init-tools-3.0-pre5.tar.bz2 120141 +MD5 704c8d2834bcaa6f31d4ad79d154157a modutils-2.4.26.tar.bz2 235135 diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild index 0d714ce764c9..191b2ab797f9 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild,v 1.9 2003/10/10 18:38:06 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.12-r1.ebuild,v 1.10 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild index c69d14bbfd4c..317914391c81 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild,v 1.6 2003/10/10 18:38:06 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.13_pre2.ebuild,v 1.7 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild index 7e32d37b03c3..cda57879928d 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild,v 1.2 2003/09/23 14:51:03 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.14.ebuild,v 1.3 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild index b33221763916..367085994175 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild,v 1.3 2003/09/23 14:51:03 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre1.ebuild,v 1.4 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild index 70b951390f6d..75969b811946 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild,v 1.3 2003/11/13 09:06:59 trance Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre2.ebuild,v 1.4 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild index 75716cc02e3c..0b5621fbabdb 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild,v 1.3 2003/11/26 15:38:28 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre3.ebuild,v 1.4 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild index a7866a5aab64..8b3a15500e32 100644 --- a/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild +++ b/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild,v 1.4 2003/12/17 19:37:25 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.15_pre4.ebuild,v 1.5 2004/01/07 17:21:29 azarah Exp $ # This ebuild includes backwards compatability for stable 2.4 kernels IUSE="" diff --git a/sys-apps/module-init-tools/module-init-tools-3.0_pre5.ebuild b/sys-apps/module-init-tools/module-init-tools-3.0_pre5.ebuild new file mode 100644 index 000000000000..145c4c130ac5 --- /dev/null +++ b/sys-apps/module-init-tools/module-init-tools-3.0_pre5.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.0_pre5.ebuild,v 1.1 2004/01/07 17:21:29 azarah Exp $ + +# This ebuild includes backwards compatability for stable 2.4 kernels +IUSE="" + +inherit flag-o-matic eutils gnuconfig + +MYP="${P/_pre/-pre}" +S="${WORKDIR}/${MYP}" +MODUTILS_PV="2.4.26" +DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" +SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 + mirror://kernel/linux/kernel/people/rusty/modules/old/${MYP}.tar.bz2 + mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" + +KEYWORDS="~x86 amd64 ~ppc ~sparc ~alpha ~mips ~arm ~ia64 ppc64 hppa" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="virtual/glibc + sys-libs/zlib" + +PROVIDE="virtual/modutils" + +src_unpack() { + unpack ${A} + + # With the b0rked modutils, "modprobe hid" does work. But if something + # (like hotplug) tries to auto-load hid (because another module needs it, + # via the kernel module auto-loader) and keybdev.o or mousedev.o don't + # exist, then the "above" clause fails and the hid module never gets + # loaded, and then things like USB will fail. Thus we remove it all + # together. + # + # <drobbins@gentoo.org> (26 Mar 2003) + cd ${WORKDIR}/modutils-${MODUTILS_PV} + epatch ${FILESDIR}/modutils-2.4.22-no-above-below.patch + + # Support legacy .o modules + cd ${S}; epatch ${FILESDIR}/${PN}-0.9.15-legacy-modext-support.patch + + cd ${S} + rm -f missing + automake --add-missing +} + +src_compile() { + + # If running mips64, we need updated configure data + use mips && gnuconfig_update + + local myconf= + + filter-flags -fPIC + + einfo "Building modutils..." + cd ${WORKDIR}/modutils-${MODUTILS_PV} + + econf \ + --disable-strip \ + --prefix=/ \ + --disable-insmod-static \ + --disable-zlib \ + ${myconf} + + emake || die "emake modutils failed" + einfo "Building module-init-tools..." + cd ${S} + + econf \ + --prefix=/ \ + --enable-zlib \ + ${myconf} + + emake || die "emake module-init-tools failed" +} + +src_install () { + + cd ${WORKDIR}/modutils-${MODUTILS_PV} + einstall prefix="${D}" + + docinto modutils-${MODUTILS_PV} + 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; new versions will execve() the .old version if + # a 2.4 kernel is running... + # This code was borrowed from the module-init-tools Makefile + local runme= + local f= + for f in lsmod modprobe rmmod depmod insmod modinfo + do + if [ -L ${D}/sbin/${f} ] + then + einfo "Moving symlink $f to ${f}.old" + #runme = the target of the symlink with a .old tagged on. + runme="`ls -l ${D}/sbin/${f} | sed 's/.* -> //'`.old" + [ ! -e ${D}/sbin/${runme} ] || einfo "${D}/sbin/${runme} not found" + dosym $runme /sbin/${f} || die + elif [ -e ${D}/sbin/${f} ] + then + einfo "Moving executable $f to ${f}.old" + fi + mv -f ${D}/sbin/${f} ${D}/sbin/${f}.old + done + # Move the man pages as well. We only do this for the man pages of the + # tools that module-init-tools will replace. + for f in ${D}/usr/share/man/man8/{lsmod,modprobe,rmmod,depmod,insmod}.8 + do + mv -f ${f} ${f%\.*}.old.${f##*\.} + done + + einstall prefix=${D} + + # Install compat symlink + dosym ../bin/lsmod /sbin/lsmod + dosym ../sbin/insmod.old /bin/lsmod.old + # Install the modules.conf2modprobe.conf tool, so we can update + # modprobe.conf. + into / + dosbin ${S}/generate-modprobe.conf + # Create the new modprobe.conf + dodir /etc + rm -f ${D}/etc/modprobe.conf + if [ ! -f ${ROOT}/etc/modprobe.devfs ] + then + # Support file for the devfs hack .. needed else modprobe borks. + # Baselayout-1.8.6.3 or there abouts will have a modules-update that + # will correctly generate /etc/modprobe.devfs .... + echo "### This file is automatically generated by modules-update" \ + > ${D}/etc/modprobe.devfs + else + # This is dynamic, so we do not want this in the package ... + rm -f ${D}/etc/modprobe.devfs + fi + + doman *.[1-8] + docinto / + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] + then + einfo "Updating config files..." + if [ -x /sbin/modules-update ] + then + /sbin/modules-update + elif [ -x /sbin/update-modules ] + then + /sbin/update-modules + elif [ -x /usr/sbin/update-modules ] + then + /usr/sbin/update-modules + fi + fi +} + |