⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module-init-tools.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
📖 第 1 页 / 共 2 页
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}%define prever pre5Summary: Linux 2.6 kernel module management utilities.Name: module-init-toolsVersion: 3.1Release: 0.%{prever}.3License: GPLVendor: Freescale Inc.Packager: Steve PapacharalambousGroup: System Environment/KernelSource: module-init-tools-%{version}-%{prever}.tar.bz2Source1: module-init-tools-%{version}-%{prever}.tar.bz2.signSource2: modprobe.conf.distPatch1: module-init-tools-defconfig.patchExclusiveos: Linux#Prereq: /sbin/chkconfig sh-utilsObsoletes: modules modutils-devel modutilsProvides: modutils = %{version}# BuildPrereq: zlib-develBuildRoot: %{_tmppath}/%{name}-%{version}Prefix: %{pfx}%descriptionModule loading for the Linux kernel for 2.6 kernels.For older kernels use the modutils package.%prep%setup -q -n module-init-tools-%{version}-%{prever}%patch1 -p1 -b .dist%build# insmod.static (diet)# %ifarch i386# if [ -x /usr/bin/diet ]; then#   export CC="diet gcc"# fi# %endif# Note: module-init-tools is not backward compatbile, if you remove# DCONFIG_NO_BACKWARDS_COMPAT, it will just try to run 'prog.old'# so you'll need to have modutils installedexport CFLAGS="-Os -g -DCONFIG_NO_BACKWARDS_COMPAT=1"./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/%{pfx}/sbinmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx} sbindir=/sbin bindir=/sbin mandir=/usr/share/maninstall -m 755 generate-modprobe.conf \ $RPM_BUILD_ROOT/%{pfx}/sbinmkdir -p $RPM_BUILD_ROOT/%{pfx}/etcinstall -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{pfx}/etc/modprobe.conf.dist#find $RPM_BUILD_ROOT/%{pfx}/sbin/ -name '*.static' -exec rm {} \;#mv $RPM_BUILD_ROOT/%{pfx}/%{_bindir}/lsmod $RPM_BUILD_ROOT/%{pfx}/sbin#install -m 755 insmod-static $RPM_BUILD_ROOT/%{pfx}/sbin/insmod.static%cleanrm -rf $RPM_BUILD_ROOTrm -rf ${RPM_BUILD_DIR}/%{name}-%{version}-%{prever}# %post# get rid of the old installations on upgrade# if [ -x /etc/rc.d/init.d/kerneld ] ; then#     /sbin/chkconfig --del kerneld# fi# if [ -f /etc/conf.modules -a ! -f /etc/modules.conf ] ; then#    mv -f /etc/conf.modules /etc/modules.conf# fi# if [ -f /etc/modules.conf -a ! -f /etc/modprobe.conf ] ; then#    echo "# Note: for use under 2.4, changes must also be made to modules.conf!" >/etc/modprobe.conf#    /sbin/generate-modprobe.conf --stdin < /etc/modules.conf >> /etc/modprobe.conf 2>/dev/null#    chmod 644 /etc/modprobe.conf#    echo "# Note: for use under 2.6, changes must also be made to modprobe.conf!" >> /etc/modules.conf# fi%files%defattr(-,root,root)# /etc/modprobe.conf.dist# /sbin/*# %{_mandir}/*/*%{pfx}/*%changelog* Wed Sep 22 2004 Bill Nottingham <notting@redhat.com> 3.1-0.pre5.3- add rule for emu10k1 synth (#133280)* Wed Sep  1 2004 Bill Nottingham <notting@redhat.com> 3.1-0.pre5.2- fix segfault (#131441)* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> 3.1-0.pre5.1- update to 3.1-pre5* Thu Aug 26 2004 Bill Nottingham <notting@redhat.com> 3.0-2- more modprobe.conf.dist sound tweaks* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>- rebuilt* Fri Jun  4 2004 Bill Nottingham <notting@redhat.com> 3.0-0.pre10.1- remove back compat, rename to module-init-tools* Wed May  5 2004 Bill Nottingham <notting@redhat.com> 2.4.26-16- fix sound restoring on module load when done via OSS compat* Thu Apr 15 2004 Bill Nottingham <notting@redhat.com> 2.4.26-15- don't buildreq autoconf-2.13 (#116770)- sound-slot-0/snd-card-0 hacking-around* Mon Mar 29 2004 Bill Nottingham <notting@redhat.com> 2.4.26-14- modinfo: use new modinfo if passed <foo>.ko* Tue Mar 23 2004 Steve Dickson <SteveD@RedHat.com>- Added the mounting of /proc/fs/nfsd to modprobe.conf.dist  so it gets mounted when nfsd is loaded.* Tue Mar 16 2004 Steve Dickson <SteveD@RedHat.com>- /var/lib/nfs/rpc_pipefs not /var/lib/rpc_pipes should be  mounted when sunrpc is loaded.* Fri Mar 12 2004 Steve Dickson <SteveD@RedHat.com>- umount rpc_pipefs when sunrpc is unloaded* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 2.4.26-9- add nfsv4 aliases to modprobe.conf.dist- clean out upstreamed aliases in modprobe.conf.dist- mount rpc_pipefs when sunrpc is loaded* Fri Mar  5 2004 Bill Nottingham <notting@redhat.com> 2.4.26-7- blacklist eth1394 (#117383)* Mon Feb 23 2004 Bill Nottingham <notting@redhat.com> 2.4.26-6- update module-init-tools to 3.0pre10- fix modinfo (#116305)- always include /etc/modprobe.conf.dist (don't require the line in modprobe.conf)- ship a static modprobe.conf.dist, don't generate it at build time- clean up modprobe.conf.dist a little (#113772, #113768)* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>- rebuilt* Wed Feb 11 2004 Bill Nottingham <notting@redhat.com>- don't use trampolines in insmod, working around #106005* Thu Jan 29 2004 Bill Nottingham <notting@redhat.com> 2.4.26-3- fix irda (#114268), bluetooth (#114019) and alsa aliases* Tue Dec 16 2003 Bill Nottingham <notting@redhat.com> 2.4.26-2- add OSS compat ALSA module aliases for 2.6* Mon Dec 15 2003 Bill Nottingham <notting@redhat.com> 2.4.26-1- update to 2.4.26- switch around man pages; the module-init-tools man pages are now  the default- add backwards compat usb aliases for the simple case- add some commentary to modules.conf/modprobe.conf on conversion- modutils-devel goes away* Tue Oct  7 2003 Bill Nottingham <notting@redhat.com> 2.4.25-13- fix handling of updates path (#106482)* Tue Sep 30 2003 Bill Nottingham <notting@redhat.com> 2.4.25-12- add modprobe.conf(5) (#105760, <salimma1@yahoo.co.uk>)* Tue Sep 30 2003 Bill Nottingham <notting@redhat.com> 2.4.25-11- update to module-init-tools-0.9.14, enable zlib, adjust patches* Thu Sep 25 2003 Bill Nottingham <notting@redhat.com> 2.4.25-10- provide module-init-tools* Mon Sep  8 2003 Bill Nottingham <notting@redhat.com> 2.4.25-9- fix bluetooth typo (#88859)- add viocd alias (#89232)* Mon Jul  7 2003 Bill Nottingham <notting@redhat.com> 2.4.25-8- fix leak in module-init-tools-depmod (<arjanv@redhat.com>)- look in /lib/modules/`uname -r`/updates for modules* Fri Jun 20 2003 Bill Nottingham <notting@redhat.com> 2.4.25-6- fix modprobe -C when there is no modules.dep file* Mon Jun  9 2003 Bill Nottingham <notting@redhat.com> 2.4.25-5- add IPSEC encryption & auth aliases- fix alias* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>- rebuilt* Wed May 28 2003 Bill Nottingham <notting@redhat.com> 2.4.25-2- add joystick alias (#91309)- add alias for af_key for IPSEC- update module-init-tools to 0.9.12- ship a modprobe.conf.dist with the aliases that are built into 2.4  modutils- generate a modprobe.conf if needed on install* Fri Apr 25 2003 Bill Nottingham <notting@redhat.com> 2.4.25-1- update to 2.4.25- add floppy alias back (#89097)- add bluetooth aliases (#88859)* Tue Apr  3 2003 Bill Nottingham <notting@redhat.com> 2.4.22-10- quick hack fix for depmod so the installer will work* Wed Apr  2 2003 Bill Nottingham <notting@redhat.com> 2.4.22-9- include support for 2.5/2.6 kernels* Tue Feb 11 2003 Bill Nottingham <notting@redhat.com> 2.4.22-8- alias block-major-2 off, we never ship it as a module (#71036)* Mon Feb  3 2003 Bill Nottingham <notting@redhat.com> 2.4.22-7- make sure we don't use diet anywhere but x86, even if it's lying around- fix zlib linkage, for real- switch ftape alias (#7674)* Fri Jan 31 2003 Florian La Roche <Florian.LaRoche@redhat.de>- add patch for genksyms to not segfault in drivers/char/joystick  for mainframe kernel builds* Wed Jan 22 2003 Tim Powers <timp@redhat.com>- rebuilt* Thu Jan 16 2003 Bill Nottingham <notting@redhat.com> 2.4.22-4- fix zlib static linkage patch* Tue Dec 31 2002 Bill Nottingham <notting@redhat.com> 2.4.22-3- add alias for tun/tap (#80491)* Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>- add an IBM patch to also load 64bit kernel modules via a 31bit compiled app* Mon Nov 25 2002 Bill Nottingham <notting@redhat.com> 2.4.22-1- update to 2.4.22- don't link zlib dynamically* Tue Nov 19 2002 Bill Nottingham <notting@redhat.com> 2.4.21-1- update to 2.4.21- enable zlib for insmod.static, normal* Fri Aug 16 2002 Bill Nottingham <notting@redhat.com> 2.4.18-2- add check for gcc version mismatch between kernel/modules  (<arjanv@redhat.com>)* Tue Jul 23 2002 Bill Nottingham <notting@redhat.com> 2.4.18-1- update to 2.4.18- add some more default aliases- fix checking of kernel version* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 2.4.16-1- update to 2.4.16* Fri Jun 21 2002 Tim Powers <timp@redhat.com>- automated rebuild* Thu May 23 2002 Tim Powers <timp@redhat.com>- automated rebuild* Tue Apr 16 2002 Bill Nottingham <notting@redhat.com> 2.4.14-3- force kallsyms on modules* Mon Apr  1 2002 Bill Nottingham <notting@redhat.com> 2.4.14-2- fix support for symbols that contain _R (<streeter@redhat.com>)* Sat Mar  2 2002 Bill Nottingham <notting@redhat.com> 2.4.14-1- update to 2.4.14- take out genksyms.old, no more buildprereq for gperf* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 2.4.13-7/8- rebuild against diet- reenable rmmod in the library version, shrink it too* Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 2.4.13-5- rebuild in earlier environments* Sun Feb 10 2002 Bill Nottingham <notting@redhat.com> 2.4.13-4- various space shavings in -devel* Fri Feb  8 2002 Bill Nottingham <notting@redhat.com> 2.4.13-3- bump rev- buildprereq gperf* Mon Feb  4 2002 Bill Nottingham <notting@redhat.com> 2.4.13-1- update to 2.4.13- fix GPL symbol export* Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 2.4.12-9- shrink insmod.static* Thu Jan 24 2002 Bill Nottingham <notting@redhat.com> 2.4.12-8- fix installation of extra libraries (#58427)* Thu Jan 17 2002 Bill Nottingham <notting@redhat.com> 2.4.12-7- hack to allow depmod of 64bit kernels on 32bit PPC* Tue Jan 15 2002 Bill Nottingham <notting@redhat.com> 2.4.12-6- more ppc64 fixes * Thu Jan 10 2002 Bill Nottingham <notting@redhat.com> 2.4.12-5

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -