summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-02-19 17:54:16 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-02-19 17:54:16 +0000
commit710a6bc9b817f4d16df2e4edbe2581e72c1a3242 (patch)
tree120272e0b16d08c30e888938f50864f7e16ade0c /sys-apps
parentUpdate version. (Manifest recommit) (diff)
downloadgentoo-2-710a6bc9b817f4d16df2e4edbe2581e72c1a3242.tar.gz
gentoo-2-710a6bc9b817f4d16df2e4edbe2581e72c1a3242.tar.bz2
gentoo-2-710a6bc9b817f4d16df2e4edbe2581e72c1a3242.zip
Cleanup
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre62
-rw-r--r--sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre72
-rw-r--r--sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre82
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.0_pre6.ebuild163
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.0_pre7.ebuild163
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.0_pre8.ebuild163
6 files changed, 0 insertions, 495 deletions
diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre6 b/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre6
deleted file mode 100644
index 43eab991fedb..000000000000
--- a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre6
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 00424ac848b93edf79ff7ce70ffa1e22 module-init-tools-3.0-pre6.tar.bz2 120426
-MD5 704c8d2834bcaa6f31d4ad79d154157a modutils-2.4.26.tar.bz2 235135
diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre7 b/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre7
deleted file mode 100644
index f8bb213c5f4e..000000000000
--- a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre7
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c07df8bc75e7d6e3c1939449b207e2e4 module-init-tools-3.0-pre7.tar.bz2 120644
-MD5 704c8d2834bcaa6f31d4ad79d154157a modutils-2.4.26.tar.bz2 235135
diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre8 b/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre8
deleted file mode 100644
index b1da006d82d2..000000000000
--- a/sys-apps/module-init-tools/files/digest-module-init-tools-3.0_pre8
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 bb8d33e000d0ed9f623a1e8ab467ab32 module-init-tools-3.0-pre8.tar.bz2 120705
-MD5 704c8d2834bcaa6f31d4ad79d154157a modutils-2.4.26.tar.bz2 235135
diff --git a/sys-apps/module-init-tools/module-init-tools-3.0_pre6.ebuild b/sys-apps/module-init-tools/module-init-tools-3.0_pre6.ebuild
deleted file mode 100644
index 9619e4fa1d96..000000000000
--- a/sys-apps/module-init-tools/module-init-tools-3.0_pre6.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# 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_pre6.ebuild,v 1.1 2004/01/25 14:21:59 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
-}
-
diff --git a/sys-apps/module-init-tools/module-init-tools-3.0_pre7.ebuild b/sys-apps/module-init-tools/module-init-tools-3.0_pre7.ebuild
deleted file mode 100644
index 6094045859c3..000000000000
--- a/sys-apps/module-init-tools/module-init-tools-3.0_pre7.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# 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_pre7.ebuild,v 1.1 2004/01/26 22:43:54 dorileo 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
-}
-
diff --git a/sys-apps/module-init-tools/module-init-tools-3.0_pre8.ebuild b/sys-apps/module-init-tools/module-init-tools-3.0_pre8.ebuild
deleted file mode 100644
index 38f115758ff0..000000000000
--- a/sys-apps/module-init-tools/module-init-tools-3.0_pre8.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# 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_pre8.ebuild,v 1.1 2004/01/30 04:35:10 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
-}
-