Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 6129 Details for
Bug 11288
Ebuild for module-init-tools, required for devel-kernel.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
module-init-tools-0.9.ebuild beta
module-init-tools-0.9.ebuild (text/plain), 2.03 KB, created by
Tony Murray
on 2002-12-01 23:24:42 UTC
(
hide
)
Description:
module-init-tools-0.9.ebuild beta
Filename:
MIME Type:
Creator:
Tony Murray
Created:
2002-12-01 23:24:42 UTC
Size:
2.03 KB
patch
obsolete
># 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:$ > ># This includes backwards compatability for stabil kernels > >S="${WORKDIR}/${P}-beta" >MODUTILS_PV=2.4.22 >DESCRIPTION="Kernel module tools for the development kernel >=2.5.47" >SRC_URI="http://www.kernel.org/pub/linux/kernel/people/rusty/modules/${P}-beta.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 ~sparc64 ~alpha" >LICENSE="GPL-2" > > >DEPEND="virtual/glibc" >RDEPEND=">=development-sources-2.5.47" > >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 > for f in insmod lsmod modprobe rmmod depmod; do \ > if [ -L ${D}/sbin/$f ]; then \ > ln -sf `readlink ${D}/sbin/$f`.old ${D}/sbin/$f; \ > fi; \ > mv ${D}/sbin/$f ${D}/sbin/$f.old; \ > done || 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 crap, hope for a better way ;-) > einfo "" > einfo "This overwrites the modutils files, so if you remove this," > einfo "remember to emerge modutils." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11288
:
5988
|
6093
|
6128
| 6129 |
6229