feat(sys-apps/module-init-tools) delete the ebuilds as kmod is being used

No more need for this ebuild to even hang around anymore, kmod handles
it all now.
This commit is contained in:
Greg Kroah-Hartman 2013-07-10 23:10:00 -07:00
parent ae5b8d940e
commit 20ecb6b6b4
10 changed files with 0 additions and 2091 deletions

View File

@ -1,2 +0,0 @@
DIST module-init-tools-3.16-man.tar.bz2 9300 RMD160 9a2f8801f353c0a6ecfe53955dd59dc21227a89d SHA1 6138725eff35e2d465ca133a32902b22fe43c383 SHA256 a80cfeb48279964b2c515ab5ca06925dd22d2187ae1043992650bf7950fc36c8
DIST module-init-tools-3.16.tar.bz2 228821 RMD160 55b0f26bcf15ab39d9852c94a3d65beec3e079e0 SHA1 919c9fb3e8c73a5790411da1c4d79efda19db195 SHA256 e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b

View File

@ -1,395 +0,0 @@
#!/bin/bash
# vim:ts=4
# Distributed under the terms of the GNU General Public License v2
#
# This script will do:
# - create /etc/modules.conf from /etc/modules.d/*
# - create /etc/modprobe.conf from /etc/modprobe.d/*
# - update modules.dep if modules.conf has been updated so depmod doesnt whine
#
# This is all for backwards compatibility. In the perfect world, we would be
# running a linux-2.6 kernel and not have any modules.d directory. Then there
# would be no work for us as module-init-tools automatically scans modprobe.d.
# Until that happens, we'll keep scanning and warning and being a pita.
#
ROOT="${ROOT%/}/"
[ "${ROOT}" = "${ROOT#/}" ] && ROOT="${PWD}/${ROOT}"
cd "${ROOT}"
argv0=${0##*/}
. /etc/init.d/functions.sh || {
echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2
exit 1
}
umask 022
esyslog() { :; }
export PATH=/sbin:${PATH}
[ "${argv0}" = "modules-update" ] && ewarn "Please run 'update-modules' from now on; 'modules-update' is going away"
#
# Setup some variables
#
HEADER="### This file is automatically generated by update-modules"
#
# Parse command-line
#
VERBOSE=0
DEBUG=0
FORCE="false"
BACKUP="false"
KV=
while [ -n "$1" ] ; do
case $1 in
--assume-kernel=*) KV=${1#*=};;
-b|--backup) BACKUP="true";;
-f|--force|force) FORCE="true";;
-v|--verbose) ((VERBOSE+=1));;
-d|--debug) ((DEBUG+=1));;
-V|--version) exec echo "${argv0}$Revision: 1.1 $ $Date: 2008/10/25 23:55:43 $";;
-h|--help)
cat <<-EOF
Usage: update-modules [options]
Options:
--assume-kernel=KV Assume the kernel is at least version KV
-b, --backup Backup existing config files (add .old ext)
-f, --force Force execution in face of bad things
-v, --verbose Be a bit more verbose in what we do
-d, --debug Helpful debug output
-V, --version Dump version info
-h, --help This help screen, duh
EOF
exit 0
;;
*)
eerror "Error: I don't understand $1"
exit 1
;;
esac
shift
done
if [ ! -w ./etc ] ; then
eerror "You must be root to do this"
exit 2
fi
[ ${DEBUG} -gt 0 ] && set -x
veinfo() { [ ${VERBOSE} -gt 0 ] && einfo "$*" ; return 0 ; }
vewarn() { [ ${VERBOSE} -gt 0 ] && ewarn "$*" ; return 0 ; }
[ "${ROOT}" != "/" ] && veinfo "Operating on ROOT = '${ROOT}'"
#
# Let's check the optimal case first: nothing to do
#
if ! ${FORCE} ; then
if [ ! -d "./etc/modules.d" ] ; then
if [ ! -d "./etc/modprobe.d" ] ; then
veinfo "No /etc/modules.d or /etc/modprobe.d dir; Nothing to do!"
exit 0
elif [ -e "./etc/modprobe.conf" ] ; then
vewarn "You should put settings in /etc/modprobe.d/ rather than modprobe.conf"
elif [ -e "./etc/modules.conf" ] ; then
vewarn "If you only run linux-2.4, you should delete /etc/modules.conf"
else
veinfo "We have just /etc/modprobe.d; Nothing to do!"
exit 0
fi
else
vewarn "You have /etc/modules.d, so things need to get coalesced"
fi
fi
#
# Build list of config files to generate and verify none
# have been modified in any way
#
for x in modprobe.conf modules.conf ; do
x="./etc/${x}"
[ -r ${x} ] || continue
if [ "$(sed -ne 1p ${x})" != "${HEADER}" ] ; then
ewarn "Warning: ${x#.} has not been automatically generated"
if ${FORCE} ; then
ewarn "--force specified, (re)generating file anyway"
else
eerror "Use \"update-modules force\" to force (re)generation"
exit 1
fi
fi
done
#
# If the system doesnt have old modutils, then this is prob linux-2.6 only
#
if type -P modprobe.old > /dev/null || \
LC_ALL=C modprobe -V 2>/dev/null | grep -qs "modprobe version"
then
GENERATE_OLD="true"
else
GENERATE_OLD="false"
fi
# Reset the sorting order since we depend on it
export LC_COLLATE="C"
KV=${KV:-$(uname -r)}
#
# Desc: backup a config file if need be and replace with new one
# Usage: backup <old config file to backup> <new config file to replace with>
# Ex: backup /etc/modules.conf /etc/modules.conf.tempfile
#
backup() {
if ${BACKUP} && [ -e "$1" ] ; then
mv -f "$1" "$1".old
fi
mv -f "$2" "$1"
}
#
# Desc: Create module header
# Usage: create_header <config dir>
# Ex: create_header /etc/modules.d
create_header() {
local moddir=$1
cat <<-EOF
${HEADER}
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in ${moddir} and read
# the manpage for update-modules(8).
#
EOF
}
#
# Desc: Combine all config files in a dir and place output in a file
# Usage: generate_config <output config file> <config dir> <reference config dir> <silent>
# Ex: generate_config /etc/modules.conf /etc/modules.d
#
generate_config() {
local config=$1
local moddir=$2
local refdir=$3
local silent=$4
local tmpfile="${config}.$$"
[ -z "${silent}" ] && ebegin "Updating ${config#./etc/}"
create_header ${refdir:-${moddir}} > "${tmpfile}"
for cfg in "${moddir}"/* ; do
[ -d "${cfg}" ] && continue
[ ! -r "${cfg}" ] && continue
# Skip backup and RCS files #20597
case ${cfg} in *~|*.bak|*,v) continue;; esac
# If config file is found in the reference dir, then skip it
[ -n "${refdir}" ] && [ -e "${refdir}/${cfg##*/}" ] && continue
(
echo "### update-modules: start processing ${cfg#.}"
if [ -x "${cfg}" ] ; then
# $cfg can be executable; nice touch, Wichert! :)
"${cfg}"
else
cat "${cfg}"
fi
echo
echo "### update-modules: end processing ${cfg#.}"
echo
) >> "${tmpfile}"
done
backup "${config}" "${tmpfile}"
[ -z "${silent}" ] && eend 0
return 0
}
#
# Generate the old modules.conf file based upon all the snippets in
# modules.d. Since modprobe doesnt handle modules.d, we need to gather
# the files together in modules.conf for it.
#
if [ ! -d "./etc/modules.d" ] ; then
veinfo "No need to generate modules.conf :)"
elif ${FORCE} || is_older_than ./etc/modules.conf ./etc/modules.d ; then
generate_config ./etc/modules.conf ./etc/modules.d
else
veinfo "modules.conf: already up-to-date wheatness"
fi
#
# Call depmod to keep insmod from complaining that modules.conf is more
# recent then the modules.dep file.
#
if [ -e "./etc/modules.conf" ] ; then
depfile=$(
# the modules.conf file has optional syntax:
# depfile=/path/to/modules.dep
ret=$(sed -n -e '/^[[:space:]]*depfile=/s:.*=::p' ./etc/modules.conf)
eval echo "${ret:-/lib/modules/${KV}/modules.dep}"
)
if [ -d "${depfile%/*}" ] ; then
if [ ./etc/modules.conf -nt "${depfile}" ] ; then
arch=$(uname -m)
ebegin "Updating modules.dep"
for cfg in /lib/modules/${KV}/build /usr/src/linux-${KV} \
/lib/modules/${KV} /boot /usr/src/linux ""
do
cfg=".${cfg}/System.map"
for suffix in -genkernel-${arch}-${KV} -genkernel-'*'-${KV} -${KV} "" ; do
scfg=$(echo ${cfg}${suffix})
scfg=${scfg%% *}
[ -f "${scfg}" ] && cfg=${scfg} && break 2
done
cfg=""
done
[ -n "${cfg}" ] && cfg="-F ${cfg}"
depmod -b "${ROOT}" -a ${cfg} ${KV}
eend $?
veinfo "Ran: depmod -b '${ROOT}' -a ${cfg} ${KV}"
else
veinfo "modules.dep: already up-to-date goodness"
fi
else
vewarn "The dir '${depfile}' does not exist, skipping call to depmod"
fi
fi
#
# Generate the new modprobe.conf file if possible. What this entails is
# grabbing details from the old modprobe via the -c option and sticking
# it in the newer config file. This is useful for backwards compat support
# and for packages that provide older style /etc/modules.d/ files but not
# newer style /etc/modprobe.d/ files.
#
# First we try to use the script `generate-modprobe.conf` from the
# module-init-tools and if that fails us, we try and generate modprobe.conf
# ourselves from the /etc/modules.d/ files.
#
if ! type -P generate-modprobe.conf > /dev/null ; then
vewarn "Skipping /etc/modprobe.conf generation (generate-modprobe.conf doesn't exist)"
elif ! ${FORCE} && ! is_older_than ./etc/modprobe.conf ./etc/modules.d ./etc/modprobe.d ; then
veinfo "modprobe.conf: already up-to-date nutness"
elif [ ! -e ./etc/modules.conf -a ! -e ./etc/modules.d ] ; then
veinfo "No need to generate modprobe.conf :)"
rm -f ./etc/modprobe.conf
else
#
# First, bitch like crazy
#
for f in ./etc/modules.d/* ; do
# hack: ignore baselayout ;x
case ${f##*/} in
aliases|i386) continue;;
esac
[ -e "${f}" ] || continue
if [ ! -e "./etc/modprobe.d/${f##*/}" ] ; then
ewarn "Please file a bug about ${f#.}: it needs an /etc/modprobe.d/${f##*/}"
fi
done
generated_ok=0
tmpfile="./etc/modprobe.conf.$$"
#
# First we try to use regular generate-modprobe.conf
#
if ${GENERATE_OLD} ; then
ebegin "Updating modprobe.conf"
create_header /etc/modprobe.d > "${tmpfile}"
if generate-modprobe.conf ${ASSUME_KV:+--assume-kernel=${KV}} \
>> "${tmpfile}" 2> "${tmpfile}.err"
then
backup "./etc/modprobe.conf" "${tmpfile}"
eend 0
generated_ok=1
else
[[ ${VERBOSE} -gt 0 ]] && cat "${tmpfile}.err"
eend 1 "Warning: could not generate /etc/modprobe.conf!"
fi
fi
#
# If the helper script failed, we fall back to doing it by hand
#
if [[ ${generated_ok} -eq 0 ]] ; then
ebegin "Updating modprobe.conf by hand"
generate_config ./etc/modprobe.conf ./etc/modules.d ./etc/modprobe.d 0
create_header /etc/modprobe.d > "${tmpfile}"
# Just use generate-modprobe.conf to filter compatible syntax
if TESTING_MODPROBE_CONF=./etc/modprobe.conf \
generate-modprobe.conf ${ASSUME_KV:+--assume-kernel=${KV}} \
>> "${tmpfile}" 2> "${tmpfile}.err"
then
# we use mv here instead of backup_config() as the call to
# generate_config() above already took care of the backup
mv -f "${tmpfile}" "./etc/modprobe.conf"
eend $?
else
[[ ${VERBOSE} -gt 0 ]] && cat "${tmpfile}.err"
eend 1 "Warning: could not generate /etc/modprobe.conf!"
fi
fi
#
# Now append all the new files ... modprobe will not scan /etc/modprobe.d/
# if /etc/modprobe.conf exists, so we need to append /etc/modprobe.conf with
# /etc/modprobe.d/* ... http://bugs.gentoo.org/145962
#
if [[ -e ./etc/modprobe.conf ]] ; then
for cfg in ./etc/modprobe.d/* ; do
[ -d "${cfg}" ] && continue
[ ! -r "${cfg}" ] && continue
# Skip backup and RCS files #20597
case ${cfg} in *~|*.bak|*,v) continue;; esac
(
echo
echo "### update-modules: start processing ${cfg#.}"
cat "${cfg}"
echo "### update-modules: end processing ${cfg#.}"
) >> "./etc/modprobe.conf"
done
fi
rm -f "${tmpfile}" "${tmpfile}.err"
fi
: # make sure we fall through with 0 exit status

View File

@ -1,74 +0,0 @@
.TH UPDATE-MODULES 8 "Gentoo Linux" "2007"
.SH NAME
update\-modules \- (re)generate module config files in /etc/
.SH SYNOPSIS
\fBupdate\-modules\fR \fI[options]\fR
.SH DESCRIPTION
\fBupdate\-modules\fR is a simple tool to manage the module config files found
in the /etc/ directory.
The old Linux module utilities use a single file for all their configuration.
This makes it difficult for packages to dynamically add information about their
own modules.
\fBupdate-modules\fR makes the dynamic addition of information easier by
generating the single configuration file from the many files located in
\fI/etc/modules.d/\fR. All files in that directory are assembled together to
form \fI/etc/modules.conf\fR.
Newer Linux module utilities include support automatically for a directory of
configuration files in \fI/etc/modprobe.d/\fR. However, to maintain backwards
compatibility with packages that do not yet support this, we still need to
assemble the contents of \fI/etc/modules.d/\fR and \fI/etc/modprobe.d/\fR and
produce the corresponding \fI/etc/modules.conf\fR and \fI/etc/modprobe.conf\fR.
Also, when requested, it is also possible to generate \fI/etc/modules.devfs\fR.
.SH OPTIONS
.TP
\fI\-\-assume-kernel=<KV>\fR
When calculating which files need to be generated, assume the kernel version
is at least the specified \fIKV\fR.
.TP
\fI\-b\fR, \fI\-\-backup\fR
When updating configuration files, make backups by renaming files with a '.old'
suffix if they are going to be updated.
.TP
\fI\-d\fR, \fI\-\-debug\fR
Run with shell debugging enabled. Really only useful for tracking down
misbehavior.
.TP
\fI\-D\fR, \fI\-\-devfs\fR
Force generation of the deprecated \fI/etc/modules.devfs\fR file.
.TP
\fI\-f\fR, \fI\-\-force\fR
Force generation of files regardless of timestamps. By default,
\fBupdate-modules\fR will regenerate files only when timestamps indicate that
the configuration files are out of date.
.TP
\fI\-v\fR, \fI\-\-verbose\fR
Enable verbose output since by default, \fBupdate-modules\fR only displays
information when it does something and not when it skips steps.
.SH "FILES"
There are two types of file you can put in the module directories: normal files
and exectuable files. Normal files contain standard modules configuration
information, as described in \fBmodules.conf\fR(5) (for files in
\fI/etc/modules.d/\fR) or as described in \fBmodprobe.conf\fR(5) (for files in
\fI/etc/modprobe.d/\fR). Executable files are executed and their output is
used as extra configuration information. Error messages are sent to stderr and
thus do not become part of the configuration file.
.nf
\fI/etc/modules.d/\fR - config snippets for old module utilities (<= linux-2.4)
\fI/etc/modules.conf\fR - sum of all files in \fI/etc/modules.d/\fR
\fI/etc/modprobe.d/\fR - config snippets for new module utilities (>= linux-2.6)
\fI/etc/modprobe.conf\fR - sum of all files in \fI/etc/modprobe.d/\fR
.fi
.SH "REPORTING BUGS"
Please report bugs via http://bugs.gentoo.org/
.SH AUTHORS
This manual page was written by Wichert Akkerman <wakkerma@debian.org>
for the Debian GNU/Linux system. Modified for \fIGentoo Linux\fR.
.SH "SEE ALSO"
.BR depmod (1),
.BR modules.conf (5),
.BR modprobe.conf (5)

View File

@ -1,100 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# 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.16-r1.ebuild,v 1.4 2011/08/16 13:18:35 chainsaw Exp $
inherit eutils flag-o-matic
DESCRIPTION="tools for managing linux kernel modules"
HOMEPAGE="http://modules.wiki.kernel.org/"
SRC_URI="mirror://kernel/linux/utils/kernel/module-init-tools/${P}.tar.bz2
mirror://gentoo/${P}-man.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
IUSE="static"
RESTRICT="test"
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}
!<sys-apps/baselayout-2.0.1
!sys-apps/modutils"
src_unpack() {
unpack ${A}
cd "${S}"
touch *.5 *.8 # dont regen manpages
}
src_compile() {
mkdir build && cd build #290207
use static && append-ldflags -static
ECONF_SOURCE=.. \
econf \
--prefix=/ \
--enable-zlib \
--enable-zlib-dynamic \
--disable-static-utils
emake || die
}
src_test() {
# this manually runs configure and stuff, so ignore it
./tests/runtests -v || die
}
src_install() {
emake -C build install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README TODO
into /
newsbin "${FILESDIR}"/update-modules-3.5.sh update-modules || die
doman "${FILESDIR}"/update-modules.8 || die
cat <<-EOF > "${T}"/usb-load-ehci-first.conf
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd \$CMDLINE_OPTS
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd \$CMDLINE_OPTS
EOF
insinto /etc/modprobe.d
doins "${T}"/usb-load-ehci-first.conf || die #260139
}
pkg_postinst() {
# cheat to keep users happy
if grep -qs modules-update "${ROOT}"/etc/init.d/modules ; then
sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules
fi
# For files that were upgraded but not renamed via their ebuild to
# have a proper .conf extension, rename them so etc-update tools can
# take care of things. #274942
local i f cfg
eshopts_push -s nullglob
for f in "${ROOT}"etc/modprobe.d/* ; do
# The .conf files need no upgrading unless a non-.conf exists,
# so skip this until later ...
[[ ${f} == *.conf ]] && continue
# If a .conf doesn't exist, then a package needs updating, or
# the user created it, or it's orphaned. Either way, we don't
# really know, so leave it alone.
[[ ! -f ${f}.conf ]] && continue
i=0
while :; do
cfg=$(printf "%s/._cfg%04d_%s.conf" "${f%/*}" ${i} "${f##*/}")
[[ ! -e ${cfg} ]] && break
((i++))
done
elog "Updating ${f}; please run 'etc-update'"
mv "${f}.conf" "${cfg}"
mv "${f}" "${f}.conf"
done
# Whine about any non-.conf files that are left
for f in "${ROOT}"etc/modprobe.d/* ; do
[[ ${f} == *.conf ]] && continue
ewarn "The '${f}' file needs to be upgraded to end with a '.conf'."
ewarn "Either upgrade the package that owns it, or manually rename it."
done
eshopts_pop
}

View File

@ -1,925 +0,0 @@
# ChangeLog for sys-apps/module-init-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.189 2013/01/22 11:21:07 ssuominen Exp $
22 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
module-init-tools-3.16-r2.ebuild:
Update ebuild basics and change usb-load-ehci-first.conf modprobe.d install
path from /etc to /lib. No revision bump since it works fine in /etc too but
is not correct place.
19 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
-files/modutils-2.4.27-alias.patch, -files/modutils-2.4.27-build.patch,
-files/modutils-2.4.27-flex.patch, -files/modutils-2.4.27-gcc.patch,
-files/modutils-2.4.27-hppa.patch,
-files/modutils-2.4.27-no-nested-function.patch,
-files/module-init-tools-3.1_generate-modprobe-assume-kernel.patch,
-files/module-init-tools-3.2.2-handle-dupliate-aliases.patch,
-files/module-init-tools-3.2_pre7-abort-on-modprobe-failure.patch,
-module-init-tools-3.6-r1.ebuild,
-files/module-init-tools-3.6-hidden-dirs.patch,
-files/module-init-tools-3.6-skip-sys-check.patch,
-module-init-tools-3.10.ebuild, -module-init-tools-3.11.1.ebuild,
-module-init-tools-3.12-r1.ebuild, -module-init-tools-3.13.ebuild:
old
24 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
-module-init-tools-3.5.ebuild, -module-init-tools-3.8.ebuild,
-module-init-tools-3.9.ebuild, -module-init-tools-3.11.ebuild,
-module-init-tools-3.12.ebuild, -module-init-tools-3.16.ebuild,
-module-init-tools-3.16-r1.ebuild:
old
24 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
module-init-tools-3.16-r2.ebuild:
Stabilize for everyone
11 Nov 2012; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.16-r2.ebuild:
Use correct `ar` #440274 by Agostino Sarubbo.
*module-init-tools-3.16-r2 (20 Oct 2012)
20 Oct 2012; Samuli Suominen <ssuominen@gentoo.org>
+module-init-tools-3.16-r2.ebuild:
Convert from modprobe install to softdep wrt #396147 by Gustavo Sverzut
Barbieri
04 Feb 2012; William Hubbs <williamh@gentoo.org>
module-init-tools-3.16-r1.ebuild:
add a blocker for sys-apps/kmod for bug #401899
12 Oct 2011; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.16-r1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #375807
03 Oct 2011; Joseph Jezak <josejx@gentoo.org>
module-init-tools-3.16-r1.ebuild:
Marked ppc/ppc64 stable for bug #375807.
27 Aug 2011; Jeroen Roovers <jer@gentoo.org>
module-init-tools-3.16-r1.ebuild:
Stable for HPPA (bug #375807).
16 Aug 2011; Tony Vroon <chainsaw@gentoo.org>
module-init-tools-3.16-r1.ebuild:
Marked stable on AMD64 based on arch testing by both Tomas Pruzina and
Agostino "ago" Sarubbo in bug #375807.
07 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
module-init-tools-3.16-r1.ebuild:
x86 stable wrt bug #375807
31 Jul 2011; Markus Meier <maekke@gentoo.org>
module-init-tools-3.16-r1.ebuild:
arm stable, bug #375807
28 Jun 2011; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Mark m68k/s390 stable #323031.
*module-init-tools-3.16-r1 (17 Jun 2011)
17 Jun 2011; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.16-r1.ebuild:
Generate the man pages rather than relying on docbook.
17 Jun 2011; Jeroen Roovers <jer@gentoo.org> module-init-tools-3.16.ebuild:
Fix RDEPEND/DEPEND again.
17 Jun 2011; Jeroen Roovers <jer@gentoo.org> module-init-tools-3.16.ebuild:
Set RDEPEND explicitly (bug #371837).
*module-init-tools-3.16 (15 Jun 2011)
15 Jun 2011; Jeroen Roovers <jer@gentoo.org> +module-init-tools-3.16.ebuild:
Version bump. Add docbook2man dependency since all pre-generated man pages
were removed. Set empty RDEPEND.
13 Jun 2011; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.12-r1.ebuild:
ia64/sh/sparc stable wrt #323031
*module-init-tools-3.13 (01 Jun 2011)
01 Jun 2011; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.13.ebuild:
Version bump.
01 Jun 2011; Tobias Klausmann <klausman@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Stable on alpha, bug #323031
23 May 2011; Joseph Jezak <josejx@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Marked ppc/ppc64 stable for bug #323031.
20 May 2011; Markus Meier <maekke@gentoo.org>
module-init-tools-3.12-r1.ebuild:
arm stable, bug #323031
20 May 2011; Thomas Kahle <tomka@gentoo.org>
module-init-tools-3.12-r1.ebuild:
x86 stable per bug 323031
18 May 2011; Jeroen Roovers <jer@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Stable for HPPA (bug #323031).
16 May 2011; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Disable tests as integrating user build settings is a pain.
11 May 2011; Christoph Mende <angelos@gentoo.org>
module-init-tools-3.12-r1.ebuild:
Stable on amd64 wrt bug #323031
24 Apr 2011; Ulrich Mueller <ulm@gentoo.org> module-init-tools-3.5.ebuild,
module-init-tools-3.6-r1.ebuild, module-init-tools-3.8.ebuild,
module-init-tools-3.9.ebuild, module-init-tools-3.10.ebuild,
module-init-tools-3.11.ebuild, module-init-tools-3.11.1.ebuild,
module-init-tools-3.12.ebuild, module-init-tools-3.12-r1.ebuild:
Remove old-style virtual/modutils, bug 358891.
*module-init-tools-3.12-r1 (04 Sep 2010)
04 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+module-init-tools-3.12-r1.ebuild:
Install /etc/modprobe.d/usb-load-ehci-first.conf that will ensure ehci is
loaded before uhci or ohci wrt #260139. Thanks to Szymon Zygmunt, Martin
Mokrejš, Pacho Ramos and Mike Frysinger.
06 Aug 2010; Mike Frysinger <vapier@gentoo.org> module-init-tools-3.5.ebuild,
module-init-tools-3.6-r1.ebuild, module-init-tools-3.8.ebuild,
module-init-tools-3.9.ebuild, module-init-tools-3.10.ebuild,
module-init-tools-3.11.ebuild, module-init-tools-3.11.1.ebuild,
module-init-tools-3.12.ebuild:
Update HOMEPAGE to new wiki.
*module-init-tools-3.12 (07 Jun 2010)
07 Jun 2010; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.12.ebuild:
Version bump.
15 Feb 2010; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.11.1.ebuild:
Handle upgrades of .conf files for people #274942 by Peter Volkov.
08 Jan 2010; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.11.1.ebuild:
Add support for USE=static #299932 by Brad Laue.
*module-init-tools-3.11.1 (23 Nov 2009)
23 Nov 2009; Robin H. Johnson <robbat2@gentoo.org>
+module-init-tools-3.11.1.ebuild:
Version bump. Upstream has included pre-generated manpages again.
24 Oct 2009; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.11.ebuild:
Force out-of-tree building to avoid bugs in local implementation #290207
by Brian Dolbec.
16 Oct 2009; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.11.ebuild:
Generate & distribute man pages to avoid docbook dependencies #289278 by
Marcin Mirosław.
*module-init-tools-3.11 (16 Oct 2009)
16 Oct 2009; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.11.ebuild:
Version bump.
*module-init-tools-3.10 (23 Sep 2009)
23 Sep 2009; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.10.ebuild:
Version bump #286131 by Lars Wendler.
*module-init-tools-3.9 (27 May 2009)
27 May 2009; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.9.ebuild:
Version bump.
*module-init-tools-3.8 (24 May 2009)
24 May 2009; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.8.ebuild:
Version bump #271074 by Lars Wendler.
17 Mar 2009; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.5.ebuild:
m68k stable wrt #258213, thanks to kolla for testing
14 Mar 2009; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.5.ebuild:
arm/ia64/s390/sh/sparc stable wrt #258213
*module-init-tools-3.6-r1 (16 Feb 2009)
16 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+files/module-init-tools-3.6-skip-sys-check.patch,
+module-init-tools-3.6-r1.ebuild:
Do not fail when /sys is not yet mounted #258442.
14 Feb 2009; Brent Baude <ranger@gentoo.org> module-init-tools-3.5.ebuild:
stable ppc, bug 258213
12 Feb 2009; Brent Baude <ranger@gentoo.org> module-init-tools-3.5.ebuild:
stable ppc64, bug 258213
12 Feb 2009; Jeroen Roovers <jer@gentoo.org> module-init-tools-3.5.ebuild:
Stable for HPPA (bug #258213).
09 Feb 2009; Markus Meier <maekke@gentoo.org>
module-init-tools-3.5.ebuild:
amd64/x86 stable, bug #258213
09 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
module-init-tools-3.5.ebuild:
Stable on alpha, bug #258213
09 Feb 2009; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.6.ebuild:
Bundle man pages to avoid docbook stuff #258241 by BedOS_Gui.
*module-init-tools-3.6 (08 Feb 2009)
08 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+files/module-init-tools-3.6-hidden-dirs.patch,
+module-init-tools-3.6.ebuild:
Version bump and ignore hidden dirs #245271 by Philipp Riegger.
*module-init-tools-3.5 (25 Oct 2008)
25 Oct 2008; Mike Frysinger <vapier@gentoo.org>
+files/update-modules-3.5.sh, +module-init-tools-3.5.ebuild:
Version bump #244196 by Lars (Polynomial-C). Also make sure we do not
generate /etc/modprobe.conf if we dont need to.
*module-init-tools-3.4-r1 (19 Mar 2008)
19 Mar 2008; Mike Frysinger <vapier@gentoo.org>
+files/update-modules-3.4.sh, +module-init-tools-3.4-r1.ebuild:
Rewrite update-modules script. It is now leaner, POSIX-compat, and
encourages people to stop using deprecated module config files.
12 Dec 2007; Jeroen Roovers <jer@gentoo.org> module-init-tools-3.4.ebuild:
Stable for HPPA (bug #201444).
10 Dec 2007; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.4.ebuild:
alpha/ia64 stable wrt #201444
10 Dec 2007; Ferris McCormick <fmccor@gentoo.org>
module-init-tools-3.4.ebuild:
Sparc stable --- Bug #201444
07 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
module-init-tools-3.4.ebuild:
ppc stable, bug #201444
07 Dec 2007; Markus Rothe <corsair@gentoo.org>
module-init-tools-3.4.ebuild:
Stable on ppc64; bug #201444
07 Dec 2007; Christian Faulhammer <opfer@gentoo.org>
module-init-tools-3.4.ebuild:
stable x86, bug 201444
06 Dec 2007; Steve Dibb <beandog@gentoo.org> module-init-tools-3.4.ebuild:
amd64 stable, bug 201444
09 Oct 2007; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.4.ebuild:
Include pregenerated man-pages #195164.
*module-init-tools-3.4 (08 Oct 2007)
08 Oct 2007; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.4.ebuild:
Version bump.
*module-init-tools-3.2.2-r3 (13 Apr 2007)
13 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.2.2-r3.ebuild:
Push out incremental updates to update-modules files.
07 Apr 2007; Mike Frysinger <vapier@gentoo.org> -files/modules-update,
+files/update-modules, +files/update-modules.8,
module-init-tools-3.2.2-r2.ebuild:
Rename to update-modules and move/update the manpage from baselayout.
27 Mar 2007; Stephen Bennett <spb@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
mips stable
14 Feb 2007; Jeroen Roovers <jer@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
Stable for HPPA (bug #158637).
14 Feb 2007; Bryan Østergaard <kloeri@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
Stable on IA64.
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
Stable on alpha wrt bug #158637.
13 Feb 2007; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
x86 stable wrt bug 158637
13 Feb 2007; Joseph Jezak <josejx@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
Marked ppc stable.
06 Feb 2007; Simon Stelling <blubb@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
stable on amd64; bug 159097
03 Feb 2007; Mike Frysinger <vapier@gentoo.org> files/modules-update:
Search for System.map with kernel suffixes as suggested by Lloeki #165134.
02 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
module-init-tools-3.2.2-r2.ebuild:
Stable on sparc
06 Jan 2007; Tom Gall <tgall@gentoo.org> module-init-tools-3.2.2-r2:
stable on ppc64, part of the baselayout aggressive move.
*module-init-tools-3.2.2-r2 (14 Dec 2006)
14 Dec 2006; Mike Frysinger <vapier@gentoo.org>
+files/module-init-tools-3.2.2-handle-dupliate-aliases.patch,
+files/modules-update, +module-init-tools-3.2.2-r2.ebuild:
Move modules-update from baselayout to here, fix by Martin Väth for
infinite recursion troubles #149426, and make sure /etc/modprobe.d/ files
get added to /etc/modprobe.conf #145962 by Greg Kroah-Hartman.
06 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+files/modutils-2.4.27-build.patch, module-init-tools-3.2.2-r1.ebuild:
Generate .depend files with CPPFLAGS rather than CFLAGS #154281.
04 Sep 2006; Joshua Kinard <kumba@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Marked stable on mips.
29 Aug 2006; Bryan Østergaard <kloeri@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Stable on Alpha, bug 144559.
29 Aug 2006; Joseph Jezak <josejx@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Marked ppc stable for bug #144559.
25 Aug 2006; <ticho@gentoo.org> module-init-tools-3.2.2-r1.ebuild:
Stable on x86, bug #144559.
25 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Stable on sparc wrt #144559
23 Aug 2006; Jeroen Roovers <jer@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Stable for HPPA (bug #144559).
23 Aug 2006; Jeroen Roovers <jer@gentoo.org>
+files/modutils-2.4.27-hppa.patch, module-init-tools-3.2.2-r1.ebuild:
Fixed modutils build for hppa1.1, tx to vapier (fixes bug #144788).
21 Aug 2006; Brent Baude <ranger@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Marking module-init-tools-3.2.2-r1 wrt bug #144559
21 Aug 2006; Daniel Gryniewicz <dang@gentoo.org>
module-init-tools-3.2.2-r1.ebuild:
Marked stable on amd64 for bug #144559
*module-init-tools-3.2.2-r1 (04 May 2006)
04 May 2006; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.2.2-r1.ebuild:
Add back in support for USE=no-old-linux with newer modules-update script
#66504.
27 Apr 2006; Alec Warner <antarus@gentoo.org>
files/digest-module-init-tools-3.0-r2,
files/digest-module-init-tools-3.1-r1,
files/digest-module-init-tools-3.2.1,
files/digest-module-init-tools-3.2.2, Manifest:
Fixing SHA256 digest, pass four
21 Apr 2006; Stephen P. Becker <geoman@gentoo.org>
files/modutils-2.4.27-gcc.patch:
fix obj_mips.c for gcc4
26 Feb 2006; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.2.2.ebuild:
Delete man pages provided by the man-pages package #124127.
19 Feb 2006; Joshua Kinard <kumba@gentoo.org>
module-init-tools-3.2.1.ebuild:
Marked stable on mips.
08 Feb 2006; Aron Griffis <agriffis@gentoo.org>
module-init-tools-3.2.1.ebuild:
Mark 3.2.1 stable on alpha
07 Feb 2006; Simon Stelling <blubb@gentoo.org>
module-init-tools-3.2.1.ebuild:
stable on amd64
29 Jan 2006; Mike Frysinger <vapier@gentoo.org>
-files/3.1-modprobe.d.5.bz2, module-init-tools-3.1-r1.ebuild,
module-init-tools-3.2_pre7.ebuild, module-init-tools-3.2_pre7-r1.ebuild,
module-init-tools-3.2.1.ebuild, module-init-tools-3.2.2.ebuild:
Remove modprobe.d(5) manpage and just symlink it to modprobe.conf(5) #120692
by Simon Stelling.
02 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
module-init-tools-3.2.1.ebuild:
Stable on ppc.
30 Dec 2005; Markus Rothe <corsair@gentoo.org>
module-init-tools-3.2.1.ebuild:
Stable on ppc64
29 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org>
module-init-tools-3.2.1.ebuild:
Stable on sparc
29 Dec 2005; Mark Loeser <halcy0n@gentoo.org>
module-init-tools-3.2.1.ebuild:
Stable on x86; bug #114060
*module-init-tools-3.2.2 (28 Dec 2005)
28 Dec 2005; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.2.2.ebuild:
Version bump #116986 by Michael Cramer.
*module-init-tools-3.2.1 (03 Dec 2005)
03 Dec 2005; Mike Frysinger <vapier@gentoo.org>
+module-init-tools-3.2.1.ebuild:
Version bump #114058 by Henrik Brix Andersen.
16 Sep 2005; Aron Griffis <agriffis@gentoo.org>
module-init-tools-3.1-r1.ebuild:
Mark 3.1-r1 stable on alpha
05 Sep 2005; Markus Rothe <corsair@gentoo.org>
module-init-tools-3.1-r1.ebuild:
Stable on ppc64
23 Aug 2005; Aron Griffis <agriffis@gentoo.org>
module-init-tools-3.1-r1.ebuild:
stable on ia64
18 Aug 2005; Mike Frysinger <vapier@gentoo.org>
+files/modutils-2.4.27-no-nested-function.patch:
Fix by the PaX guys to remove executable stack markings.
26 Jul 2005; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.2_pre7-r1.ebuild:
Disable tests since they clear our the results of src_compile().
17 Jul 2005; MATSUU Takuto <matsuu@gentoo.org>
module-init-tools-3.0-r2.ebuild:
Stable on sh.
15 Jul 2005; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.2_pre7-r1.ebuild:
Add manpage back.
*module-init-tools-3.2_pre7-r1 (15 Jul 2005)
15 Jul 2005; Martin Schlemmer <azarah@gentoo.org>
+files/module-init-tools-3.2_pre7-abort-on-modprobe-failure.patch,
module-init-tools-3.0-r2.ebuild, module-init-tools-3.1-r1.ebuild,
+module-init-tools-3.2_pre7-r1.ebuild:
Abort generate-modprobe.conf if modprobe fails, bug #68689.
*module-init-tools-3.2_pre7 (27 Jun 2005)
27 Jun 2005; Aron Griffis <agriffis@gentoo.org>
+module-init-tools-3.2_pre7.ebuild:
Bump to 3.2-pre7
12 May 2005; <solar@gentoo.org> module-init-tools-3.2_pre4.ebuild:
- fix typo in patch, only 3.1 exists.. add die statements around file i/o
statements to keep this bug from happening again
*module-init-tools-3.2_pre4 (11 May 2005)
11 May 2005; Martin Schlemmer <azarah@gentoo.org>
+module-init-tools-3.2_pre4.ebuild:
Add -pre version that support loading of all aliases - maybe that will urge
gregkh in getting hotplug-ng in/ready for the tree 8)
*module-init-tools-3.1-r1 (20 Mar 2005)
20 Mar 2005; <solar@gentoo.org> module-init-tools-3.0-r2.ebuild,
+module-init-tools-3.1-r1.ebuild:
- Our zlib.so is in /lib vs /usr/lib so it should be safe for us to link with
just -lz - By not linking with -Wl,-Bstatic -lz -Wl,-Bsynamic we save a few
bytes on the final linked elf executable binary sizes. This also fixes text
relocations that were showing up in this package.
18 Feb 2005; Tony Vroon <chainsaw@gentoo.org>
+files/modutils-2.4.27-gcc4.patch, module-init-tools-3.1.ebuild:
GCC 4 compatability update; closes bug #80588
16 Feb 2005; <solar@gentoo.org> module-init-tools-3.1.ebuild:
- filtering pic is no longer needed
12 Jan 2005; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.0-r2.ebuild, module-init-tools-3.1.ebuild:
Remove USE=no-old-linux until modules-update can be updated to use 2.6 depmod.
23 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+files/modutils-2.4.27-gcc34.patch, module-init-tools-3.0-r2.ebuild,
module-init-tools-3.1.ebuild:
Add patch to fix gcc-3.4.x building #74538 by splite.
07 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+files/modutils-2.4.27-PATH_MAX.patch, module-init-tools-3.1.ebuild:
PATH_MAX can be found in sys/param.h.
22 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+files/3.1-modprobe.d.5.bz2, module-init-tools-3.1.ebuild:
Make sure we dont try to regen manpages.
*module-init-tools-3.1 (22 Nov 2004)
22 Nov 2004; Robin H. Johnson <robbat2@gentoo.org>
+files/module-init-tools-3.1_generate-modprobe-assume-kernel.patch,
+module-init-tools-3.1.ebuild:
version bump - bug #71958.
03 Oct 2004; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.0-r2.ebuild:
Allow users to compile without old modutils via USE=no-old-linux #43671 by
Christophe Saout.
03 Oct 2004; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.0-r2.ebuild:
Fix the ksyms links #35601.
02 Sep 2004; Mike Frysinger <vapier@gentoo.org>
module-init-tools-3.0-r1.ebuild, module-init-tools-3.0-r2.ebuild,
module-init-tools-3.0.ebuild:
Start blocking modutils.
04 Jun 2004; Aron Griffis <agriffis@gentoo.org>
module-init-tools-3.0-r2.ebuild:
Stable everywhere since baselayout-1.9.4 depends on it
02 Jun 2004; Travis Tilley <lv@gentoo.org> module-init-tools-3.0-r2.ebuild:
stable on amd64
15 May 2004; Joshua Kinard <kumba@gentoo.org> module-init-tools-3.0.ebuild:
Marked stable on mips.
*module-init-tools-3.0-r2 (07 May 2004)
07 May 2004; Aron Griffis <agriffis@gentoo.org>
+module-init-tools-3.0-r2.ebuild:
Add patch to allow --assume-kernel option to generate-modprobe.conf for bug
49926
*module-init-tools-3.0-r1 (03 May 2004)
03 May 2004; Jon Portnoy <avenj@gentoo.org> module-init-tools-3.0-r1.ebuild :
Install static insmod for 2.4 kernels. Fix from Sascha Silbe in bug
#45279.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
module-init-tools-0.9.15_pre4.ebuild, module-init-tools-3.0.ebuild,
module-init-tools-3.0_pre10.ebuild, module-init-tools-3.0_pre5.ebuild,
module-init-tools-3.0_pre9.ebuild:
Add die following econf for bug 48950
23 Apr 2004; Guy Martin <gmsoft@gentoo.org> module-init-tools-3.0.ebuild:
Added a guess fix for modutils on hppa.
23 Apr 2004; Ciaran McCreesh <ciaranm@gentoo.org>
module-init-tools-3.0.ebuild:
Stable on sparc (blame me), x86, amd64, ppc64 (blame johnm)
*module-init-tools-3.0 (29 Mar 2004)
29 Mar 2004; Jon Portnoy <avenj@gentoo.org>
module-init-tools-3.0.ebuild :
Version bump. Bug 43087.
29 Mar 2004; Jon Portnoy <avenj@gentoo.org>
module-init-tools-3.0_pre10.ebuild,
module-init-tools-3.0_pre9.ebuild,
module-init-tools-3.0_pre4.ebuild,
module-init-tools-0.9.15_pre4.ebuild :
Update ebuilds to use automake 1.6, fixes bug 37743.
Marked 3.0_pre10 stable on AMD64.
*module-init-tools-3.0_pre10 (19 Feb 2004)
19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.0_pre10.ebuild:
Update version.
*module-init-tools-3.0_pre9 (02 Feb 2004)
02 Feb 2004; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.0_pre9.ebuild,
files/module-init-tools-3.0_pre9-properly-handle-alias_off.patch:
Update version. Handle cases where generate-modprobe.conf do not detect an
alias set to 'off' due to trailing space.
01 Feb 2004; Joshua Kinard <kumba@gentoo.org>
module-init-tools-0.9.15_pre4.ebuild:
Bump to mips stable (needed for upcoming stageballs)
*module-init-tools-3.0_pre8 (30 Jan 2004)
30 Jan 2004; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.0_pre8.ebuild:
Update version, fixing bug #39397.
*module-init-tools-3.0_pre7 (26 Jan 2004)
26 Jan 2004; Leandro Dorileo <dorileo@gentoo.org>
module-init-tools-3.0_pre7.ebuild:
Update version.
*module-init-tools-3.0_pre6 (25 Jan 2004)
25 Jan 2004; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.0_pre6.ebuild:
Update version.
15 Jan 2004; <agriffis@gentoo.org> module-init-tools-0.9.15_pre4.ebuild:
stable on ia64
07 Jan 2004; Jon Portnoy <avenj@gentoo.org>
module-init-tools-0.9.15_pre4.ebuild :
Some emergency keywording.
*module-init-tools-3.0_pre5 (07 Jan 2004)
07 Jan 2004; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-3.0_pre5.ebuild:
Update version. Fix copyright of all ebuilds.
17 Dec 2003; Guy Martin <gmsoft@gentoo.org>
module-init-tools-0.9.15_pre4.ebuild:
Marked stable on hppa.
14 Dec 2003; Brad House <brad_mssw@gentoo.org>
module-init-tools-0.9.15_pre4.ebuild:
mark stable on amd64
*module-init-tools-0.9.15_pre4 (09 Dec 2003)
09 Dec 2003; <plasmaroo@gentoo.org> module-init-tools-0.9.15_pre4.ebuild:
Version bumped to -pre4, closes bug #35396.
26 Nov 2003; Brad House <brad_mssw@gentoo.org>
module-init-tools-0.9.15_pre3.ebuild:
Marked stable on 'amd64'.
*module-init-tools-0.9.15_pre3 (02 Nov 2003)
02 Nov 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.15_pre3.ebuild:
Update version. Update modutils to 2.4.26. Enable zlib for module-init-tools.
*module-init-tools-0.9.15_pre2 (18 Oct 2003)
20 Oct 2003; Joshua Kinard <kumba@gentoo.org>
module-init-tools-0.9.15_pre2.ebuild:
Added gnuconfig support for 'mips64'.
18 Oct 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.15_pre2.ebuild:
Update version.
10 Oct 2003; Alexander Gabert <pappy@gentoo.org> :
filter-flags -fPIC will introduce -yet_exec for hardened-gcc
09 Oct 2003; Alexander Gabert <pappy@gentoo.org>
module-init-tools-0.9.12-r1.ebuild, module-init-tools-0.9.13_pre2.ebuild:
added hardened-gcc hppa behaviour
17 Sep 2003; Jon Portnoy <avenj@gentoo.org>
module-init-tools-0.9.15_pre1.ebuild :
ia64 keywords.
*module-init-tools-0.9.15_pre1 (17 Sep 2003)
23 Sep 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.12-r1.ebuild, module-init-tools-0.9.13_pre2.ebuild,
module-init-tools-0.9.14.ebuild, module-init-tools-0.9.15_pre1.ebuild:
Update SRC_URI to hangle older tarballs moved to old/, bug #29315.
17 Sep 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.15_pre1.ebuild,
files/module-init-tools-0.9.15-legacy-modext-support.patch:
New version. Add support for legacy modules (.o). bug #28831.
*module-init-tools-0.9.14 (15 Sep 2003)
15 Sep 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.14.ebuild,
files/module-init-tools-0.9.14-be-quiet-for-devfsd.patch:
New version. Update patch to quiet output when called from devfsd
06 Sep 2003; Alexander Gabert <pappy@gentoo.org>
module-init-tools-0.9.12-r1.ebuild, module-init-tools-0.9.13_pre2.ebuild:
added hardened-gcc exclude flags
10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.12-r1.ebuild:
Bump to stable on x86.
*module-init-tools-0.9.13_pre2 (10 Aug 2003)
10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.13_pre2.ebuild,
files/module-init-tools-0.9.13-quiet-on-devfsd-probe-aliases.patch,
files/module-init-tools-0.9.7-export-gpl.patch:
New version. Add export-gpl.patch from MDK. Cleanup the
be-quiet-for-devfsd.patch and rename to quiet-on-devfsd-probe-aliases.patch.
*module-init-tools-0.9.12-r1 (12 Jul 2003)
03 Aug 2003; Joshua Kinard <kumba@gentoo.org> module-init-tools-0.9.12-r1.ebuild:
Changed ~mips to mips in KEYWORDS
12 Jul 2003; Martin Schlemmer <azarah@gentoo.org>
module-init-tools-0.9.12-r1.ebuild,
files/module-init-tools-0.9.12-includes-should-override.patch:
Module options/aliases already accuired, should be replaced by
newer if they are aquired from a file 'included' after the original
options/aliases ...
*module-init-tools-0.9.12 (02 Jun 2003)
02 Jun 2003; Martin Schlemmer <azarah@gentoo.org> Manifest,
module-init-tools-0.9.12.ebuild:
New version.
25 May 2003; Martin Holzer <mholzer@gentoo.org>
module-init-tools-0.9.10-r3.ebuild, module-init-tools-0.9.10-r4.ebuild,
module-init-tools-0.9.10-r5.ebuild, module-init-tools-0.9.11-r1.ebuild,
module-init-tools-0.9.11-r2.ebuild, module-init-tools-0.9.11-r3.ebuild,
module-init-tools-0.9.11.ebuild, module-init-tools-0.9.11a.ebuild,
module-init-tools-0.9.9.ebuild:
now uses mirror://kernel
*module-init-tools-0.9.11a (26 Apr 2003)
26 Apr 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.11a.ebuild :
Version update.
*module-init-tools-0.9.11-r3 (21 Apr 2003)
21 Apr 2003; Daniel Robbins <drobbins@gentoo.org>: removed pkg_setup "check
for kernel" vestige, closing bug #19183.
21 Apr 2003; Daniel Robbins <drobbins@gentoo.org> two fixes: first, include a
modinfo.old for 2.4 modinfo compatibility. Second, add a /bin/lsmod.old
symlink to allow a normal user to list loaded modules rather than return a
"lsmod.old" not found error. These symlinks can be confusing, but it appears
to be working well now.
*module-init-tools-0.9.11-r2 (30 Mar 2003)
30 Mar 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.11-r2.ebuild :
The moving of /sbin/lsmod to /bin, causes some breakage, so install a compat
symlink.
*module-init-tools-0.9.11-r1 (30 Mar 2003)
30 Mar 2003; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.11-r1.ebuild :
Update modutils to 2.4.25
*module-init-tools-0.9.11 (30 Mar 2003)
30 Mar 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.11.ebuild :
Update version. Really get the ${P}-be-quiet-for-devfsd.patch to be
effective. Move manpages for insmod, modprobe, etc to <name>.old.8 so that
they are still available.
*module-init-tools-0.9.10-r5 (24 Mar 2003)
24 Mar 2003; Daniel Robbins <drobbins@gentoo.org>: new rev to include a
PROVIDE="virtual/module-tools" and an unmasking for x86. Bumped modutils
to 2.4.24.
15 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-be-quiet-for-devfsd.patch :
Tweak slightly to be more effective on recursive calls.
*module-init-tools-0.9.10-r4 (15 March 2003)
15 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-r4 :
- Fix modprobe to handle calls from devfsd more like modprobe from modutils ...
it basically do not output and do not fail for invalid modules if:
1) It was called with '-C /etc/modprobe.devfs'
2) The module starts with '/dev'
- Redo the /sbin/modprobe.conf stuff to not build both modutils-2.4.22 and
2.4.21.
*module-init-tools-0.9.10-r3 (10 March 2003)
10 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-r3 :
Fix recursive calls to modprobe not honoring -s, -q, -v and -C. Use older
modprobe that we install as modprobe.conf when calling generate-modprobe.conf,
as the newer modprobe (2.4.22 and later) generate /etc/modprobe.conf with
invalid modules ... Fix modprobe to _only_ log to syslog if -s was given.
*module-init-tools-0.9.10-r2 (09 March 2003)
09 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-r2 :
Fix -s when modprobe calls itself recursive. Do the same for -v and -C. Also
let commandline override env variables.
*module-init-tools-0.9.10-r1 (02 March 2003)
06 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-r1 :
Add pkg_setup() to check for a valid kernel, bug #15568.
02 March 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.10-r1 :
Fix '-q' to be really quiet. Patch generate-modprobe.conf to create sub
install commands with 'modprobe -q'.
*module-init-tools-0.9.10 (27 Feb 2003)
27 Feb 2003; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.10 :
Bump, and drop a patch that is now merged mainline
*module-init-tools-0.9.9 (01 Feb 2003)
18 Feb Feb 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.9 :
Hack modprobe to look at /etc/modprobe.devfs rather than /etc/modules.devfs
... this is to support a later modules-update that should generate this and
fix the lot of errors/warnings during devfs/hotplug startup.
09 Feb 2003; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.9 :
Make not die if the user doesn't have a modules.conf file already...
01 Feb 2003; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.9 :
New version.
*module-init-tools-0.9.9_pre1 (17 Jan 2003)
17 Jan 2003; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.9_pre1.ebuild;
Filter -fPIC from flags. It breaks.
17 Jan 2003; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.9_pre1.ebuild;
Update to latest version needed for >=development-sources-2.5.59.
*module-init-tools-0.9.7 (28 Dec 2002)
28 Dec 2002; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.7 :
Fix generate-modprobe.conf not adding the last ';' to commands in braces,
causing modprobe to fail do to its calling 'sh -c ...' failing ...
28 Dec 2002; Martin Schlemmer <azarah@gentoo.org> module-init-tools-0.9.7 :
New version. Also generate-modprobe.conf not accepting 2 parameters, it
replaced the modules.conf2modprobe.conf tool.
*module-init-tools-0.9.5 (19 Dec 2002)
19 Dec 2002; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.5 :
Bump.
*module-init-tools-0.9.4 (19 Dec 2002)
19 Dec 2002; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.4 :
Changes as submitted by Tony Murray <murrant@bvu.edu>:
added modules.conf2modprobe.conf tool
made warning after emerge visible
added IUSE
fixed spacing
*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)
10 Dec 2002; Brandon Low <lostlogic@gentoo.org> module-init-tools-0.9.1 :
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 :)

View File

@ -1,21 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX update-modules-3.5.sh 10519 SHA256 b8866f643d369569de040b89c997b6a864ec3f0767a5e86b78d4b0badaa267c9 SHA512 53b420eedf3f70e675de8cf80978d198424ed426584fc799e2f106e1cf4b65fbfcf172f3a0e7b5e1684e07420d67c0d27866a901b40df46623ec67a3a018b7f0 WHIRLPOOL c80dd21ac00b42be379a43e9cfc2a8359e47de1a6ad5e7f4120e3bf9d7ddc4d3306317a97a8c724da2f0631d00dbb35108917d9046354542458958d0feb10481
AUX update-modules.8 3210 SHA256 4e352ee28ecaf79fac2a0216b8b4b52ced864cd258752f33213d1ac8f4a5849c SHA512 47a5e0e14e321e29a1d16705a8d2de19b9e3bbf15b6955a0e8c6963a50d30d12b71c4eb8237a7a37fd881d217f41ce5ea87a768be30b94dedf709e379ee5a31d WHIRLPOOL 7c2da6b779ef8a749272c7186669e08c270873aa49a0df7ff1d57756adb3512b26c3f56cd1585d1ad2e07732ce7163fb6d85d7ed0058e68fd9aa2a50e18b4c5b
DIST module-init-tools-3.16-man.tar.bz2 9300 SHA256 a80cfeb48279964b2c515ab5ca06925dd22d2187ae1043992650bf7950fc36c8 SHA512 02c7d01412493c8b24d9fd6f7c8bd758a804936e7ccf2dbfe2aeafb01b9e612d55d769ea7c16366fd4a1d07653adace087ab1d84ca9cf60a830dc5866fa7b278 WHIRLPOOL 31d9aaf6cc9ed0a1a11e344610520a2cfd8134e951e4946171c4e92923b3ea3cb1d86e7d9d815d352155af401f558ac6dcfa1a310ed24582cb87854a297c456e
DIST module-init-tools-3.16.tar.bz2 228821 SHA256 e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b SHA512 c234d66b5981cf9b74a5bec2a9c139f33088c8c65c32c1a30ef6d2b335d72761eac09fd958d694828860ab85dffee518286d8a5f41565539a7cca5d402e467a2 WHIRLPOOL d27ad6694dc44536d61dd90746e6a7e9b852bc49d5c67c9203a817dd3f9ce62552711add0221c1abb24373b8d1e223fd9047d6a6bdc256484698b3e3844b86a4
EBUILD module-init-tools-3.16-r2.ebuild 2871 SHA256 6745f352ca431e42b6cfcc36a51b2889411c43277634e63e70c67cf7cf236b38 SHA512 e094a5e10a76cd3216a3075ccde66f7269711930e9e8f8edd5cc5bb20a8bb1d96161a1834c84c741811c3ed63342e1bc107bcaa38a1ec4bbff6c40c6ec1ff438 WHIRLPOOL 42e3c37f4d4a15c060c49c5be5c099bdb5ef9a5ef84d703f712c2a1b94c588aace46949809f12f9f01fde9b92b9f2de519e0839b6515cf4cd44c4ca417e5a004
MISC ChangeLog 33157 SHA256 06d29d652a4c07a6cd7a935223f286ba8afd2cbea58fcd5d79b619fc5ab7e571 SHA512 3f8c23f7a0d859e38ef262f6ff157d5ce22c9f0a972b0b8bd3beb2469b964fd7dd9d78b64a5993e5c2b9ce106380256df81d679bec08fef780c7eb9e6c7b41ef WHIRLPOOL 3d955264c4933ca6a74a37e1cd3b11e2ad0086555405969de1fafbfca28f4980e193adb67cecdcd7dcd4db57b3bb8b3978d17b5c98b8c41836d795a5c0e5c84c
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQEcBAEBCAAGBQJQ/nYgAAoJEEdUh39IaPFN6PAIAIDZp062Jqah6ULfQtl60GEP
fK3We+73RDTVOqLPffeham5SB+j6iPhB3LbELhX3nFVZmLdS8c+0jBJWdZab5QwZ
o76ByM/udL4MDP/MIPoJkHVV/RXQiK6a51yORlSczt2pYODbPZoEqduF72ESDuj8
ixOUKI0nOLtxbwHcat2LiSsFTS1yad5CqmKDBPlRD0hQdNHhQJNDsBa9F1A062fI
BHoPt8PxHmoqyIVaSk2thah3x7L3t/YPsZx/5fDzIM0hNxaIt3sbzZkAsO5IZqDe
LWJGavrE/ujLHRm3ruZEQqjyixoRxEX3muLaTZuCPRPpfA3J0iviQFBcWrXrNL8=
=YJ5U
-----END PGP SIGNATURE-----

View File

@ -1,395 +0,0 @@
#!/bin/bash
# vim:ts=4
# Distributed under the terms of the GNU General Public License v2
#
# This script will do:
# - create /etc/modules.conf from /etc/modules.d/*
# - create /etc/modprobe.conf from /etc/modprobe.d/*
# - update modules.dep if modules.conf has been updated so depmod doesnt whine
#
# This is all for backwards compatibility. In the perfect world, we would be
# running a linux-2.6 kernel and not have any modules.d directory. Then there
# would be no work for us as module-init-tools automatically scans modprobe.d.
# Until that happens, we'll keep scanning and warning and being a pita.
#
ROOT="${ROOT%/}/"
[ "${ROOT}" = "${ROOT#/}" ] && ROOT="${PWD}/${ROOT}"
cd "${ROOT}"
argv0=${0##*/}
. /etc/init.d/functions.sh || {
echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2
exit 1
}
umask 022
esyslog() { :; }
export PATH=/sbin:${PATH}
[ "${argv0}" = "modules-update" ] && ewarn "Please run 'update-modules' from now on; 'modules-update' is going away"
#
# Setup some variables
#
HEADER="### This file is automatically generated by update-modules"
#
# Parse command-line
#
VERBOSE=0
DEBUG=0
FORCE="false"
BACKUP="false"
KV=
while [ -n "$1" ] ; do
case $1 in
--assume-kernel=*) KV=${1#*=};;
-b|--backup) BACKUP="true";;
-f|--force|force) FORCE="true";;
-v|--verbose) ((VERBOSE+=1));;
-d|--debug) ((DEBUG+=1));;
-V|--version) exec echo "${argv0}$Revision: 1.1 $ $Date: 2008/10/25 23:55:43 $";;
-h|--help)
cat <<-EOF
Usage: update-modules [options]
Options:
--assume-kernel=KV Assume the kernel is at least version KV
-b, --backup Backup existing config files (add .old ext)
-f, --force Force execution in face of bad things
-v, --verbose Be a bit more verbose in what we do
-d, --debug Helpful debug output
-V, --version Dump version info
-h, --help This help screen, duh
EOF
exit 0
;;
*)
eerror "Error: I don't understand $1"
exit 1
;;
esac
shift
done
if [ ! -w ./etc ] ; then
eerror "You must be root to do this"
exit 2
fi
[ ${DEBUG} -gt 0 ] && set -x
veinfo() { [ ${VERBOSE} -gt 0 ] && einfo "$*" ; return 0 ; }
vewarn() { [ ${VERBOSE} -gt 0 ] && ewarn "$*" ; return 0 ; }
[ "${ROOT}" != "/" ] && veinfo "Operating on ROOT = '${ROOT}'"
#
# Let's check the optimal case first: nothing to do
#
if ! ${FORCE} ; then
if [ ! -d "./etc/modules.d" ] ; then
if [ ! -d "./etc/modprobe.d" ] ; then
veinfo "No /etc/modules.d or /etc/modprobe.d dir; Nothing to do!"
exit 0
elif [ -e "./etc/modprobe.conf" ] ; then
vewarn "You should put settings in /etc/modprobe.d/ rather than modprobe.conf"
elif [ -e "./etc/modules.conf" ] ; then
vewarn "If you only run linux-2.4, you should delete /etc/modules.conf"
else
veinfo "We have just /etc/modprobe.d; Nothing to do!"
exit 0
fi
else
vewarn "You have /etc/modules.d, so things need to get coalesced"
fi
fi
#
# Build list of config files to generate and verify none
# have been modified in any way
#
for x in modprobe.conf modules.conf ; do
x="./etc/${x}"
[ -r ${x} ] || continue
if [ "$(sed -ne 1p ${x})" != "${HEADER}" ] ; then
ewarn "Warning: ${x#.} has not been automatically generated"
if ${FORCE} ; then
ewarn "--force specified, (re)generating file anyway"
else
eerror "Use \"update-modules force\" to force (re)generation"
exit 1
fi
fi
done
#
# If the system doesnt have old modutils, then this is prob linux-2.6 only
#
if type -P modprobe.old > /dev/null || \
LC_ALL=C modprobe -V 2>/dev/null | grep -qs "modprobe version"
then
GENERATE_OLD="true"
else
GENERATE_OLD="false"
fi
# Reset the sorting order since we depend on it
export LC_COLLATE="C"
KV=${KV:-$(uname -r)}
#
# Desc: backup a config file if need be and replace with new one
# Usage: backup <old config file to backup> <new config file to replace with>
# Ex: backup /etc/modules.conf /etc/modules.conf.tempfile
#
backup() {
if ${BACKUP} && [ -e "$1" ] ; then
mv -f "$1" "$1".old
fi
mv -f "$2" "$1"
}
#
# Desc: Create module header
# Usage: create_header <config dir>
# Ex: create_header /etc/modules.d
create_header() {
local moddir=$1
cat <<-EOF
${HEADER}
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in ${moddir} and read
# the manpage for update-modules(8).
#
EOF
}
#
# Desc: Combine all config files in a dir and place output in a file
# Usage: generate_config <output config file> <config dir> <reference config dir> <silent>
# Ex: generate_config /etc/modules.conf /etc/modules.d
#
generate_config() {
local config=$1
local moddir=$2
local refdir=$3
local silent=$4
local tmpfile="${config}.$$"
[ -z "${silent}" ] && ebegin "Updating ${config#./etc/}"
create_header ${refdir:-${moddir}} > "${tmpfile}"
for cfg in "${moddir}"/* ; do
[ -d "${cfg}" ] && continue
[ ! -r "${cfg}" ] && continue
# Skip backup and RCS files #20597
case ${cfg} in *~|*.bak|*,v) continue;; esac
# If config file is found in the reference dir, then skip it
[ -n "${refdir}" ] && [ -e "${refdir}/${cfg##*/}" ] && continue
(
echo "### update-modules: start processing ${cfg#.}"
if [ -x "${cfg}" ] ; then
# $cfg can be executable; nice touch, Wichert! :)
"${cfg}"
else
cat "${cfg}"
fi
echo
echo "### update-modules: end processing ${cfg#.}"
echo
) >> "${tmpfile}"
done
backup "${config}" "${tmpfile}"
[ -z "${silent}" ] && eend 0
return 0
}
#
# Generate the old modules.conf file based upon all the snippets in
# modules.d. Since modprobe doesnt handle modules.d, we need to gather
# the files together in modules.conf for it.
#
if [ ! -d "./etc/modules.d" ] ; then
veinfo "No need to generate modules.conf :)"
elif ${FORCE} || is_older_than ./etc/modules.conf ./etc/modules.d ; then
generate_config ./etc/modules.conf ./etc/modules.d
else
veinfo "modules.conf: already up-to-date wheatness"
fi
#
# Call depmod to keep insmod from complaining that modules.conf is more
# recent then the modules.dep file.
#
if [ -e "./etc/modules.conf" ] ; then
depfile=$(
# the modules.conf file has optional syntax:
# depfile=/path/to/modules.dep
ret=$(sed -n -e '/^[[:space:]]*depfile=/s:.*=::p' ./etc/modules.conf)
eval echo "${ret:-/lib/modules/${KV}/modules.dep}"
)
if [ -d "${depfile%/*}" ] ; then
if [ ./etc/modules.conf -nt "${depfile}" ] ; then
arch=$(uname -m)
ebegin "Updating modules.dep"
for cfg in /lib/modules/${KV}/build /usr/src/linux-${KV} \
/lib/modules/${KV} /boot /usr/src/linux ""
do
cfg=".${cfg}/System.map"
for suffix in -genkernel-${arch}-${KV} -genkernel-'*'-${KV} -${KV} "" ; do
scfg=$(echo ${cfg}${suffix})
scfg=${scfg%% *}
[ -f "${scfg}" ] && cfg=${scfg} && break 2
done
cfg=""
done
[ -n "${cfg}" ] && cfg="-F ${cfg}"
depmod -b "${ROOT}" -a ${cfg} ${KV}
eend $?
veinfo "Ran: depmod -b '${ROOT}' -a ${cfg} ${KV}"
else
veinfo "modules.dep: already up-to-date goodness"
fi
else
vewarn "The dir '${depfile}' does not exist, skipping call to depmod"
fi
fi
#
# Generate the new modprobe.conf file if possible. What this entails is
# grabbing details from the old modprobe via the -c option and sticking
# it in the newer config file. This is useful for backwards compat support
# and for packages that provide older style /etc/modules.d/ files but not
# newer style /etc/modprobe.d/ files.
#
# First we try to use the script `generate-modprobe.conf` from the
# module-init-tools and if that fails us, we try and generate modprobe.conf
# ourselves from the /etc/modules.d/ files.
#
if ! type -P generate-modprobe.conf > /dev/null ; then
vewarn "Skipping /etc/modprobe.conf generation (generate-modprobe.conf doesn't exist)"
elif ! ${FORCE} && ! is_older_than ./etc/modprobe.conf ./etc/modules.d ./etc/modprobe.d ; then
veinfo "modprobe.conf: already up-to-date nutness"
elif [ ! -e ./etc/modules.conf -a ! -e ./etc/modules.d ] ; then
veinfo "No need to generate modprobe.conf :)"
rm -f ./etc/modprobe.conf
else
#
# First, bitch like crazy
#
for f in ./etc/modules.d/* ; do
# hack: ignore baselayout ;x
case ${f##*/} in
aliases|i386) continue;;
esac
[ -e "${f}" ] || continue
if [ ! -e "./etc/modprobe.d/${f##*/}" ] ; then
ewarn "Please file a bug about ${f#.}: it needs an /etc/modprobe.d/${f##*/}"
fi
done
generated_ok=0
tmpfile="./etc/modprobe.conf.$$"
#
# First we try to use regular generate-modprobe.conf
#
if ${GENERATE_OLD} ; then
ebegin "Updating modprobe.conf"
create_header /etc/modprobe.d > "${tmpfile}"
if generate-modprobe.conf ${ASSUME_KV:+--assume-kernel=${KV}} \
>> "${tmpfile}" 2> "${tmpfile}.err"
then
backup "./etc/modprobe.conf" "${tmpfile}"
eend 0
generated_ok=1
else
[[ ${VERBOSE} -gt 0 ]] && cat "${tmpfile}.err"
eend 1 "Warning: could not generate /etc/modprobe.conf!"
fi
fi
#
# If the helper script failed, we fall back to doing it by hand
#
if [[ ${generated_ok} -eq 0 ]] ; then
ebegin "Updating modprobe.conf by hand"
generate_config ./etc/modprobe.conf ./etc/modules.d ./etc/modprobe.d 0
create_header /etc/modprobe.d > "${tmpfile}"
# Just use generate-modprobe.conf to filter compatible syntax
if TESTING_MODPROBE_CONF=./etc/modprobe.conf \
generate-modprobe.conf ${ASSUME_KV:+--assume-kernel=${KV}} \
>> "${tmpfile}" 2> "${tmpfile}.err"
then
# we use mv here instead of backup_config() as the call to
# generate_config() above already took care of the backup
mv -f "${tmpfile}" "./etc/modprobe.conf"
eend $?
else
[[ ${VERBOSE} -gt 0 ]] && cat "${tmpfile}.err"
eend 1 "Warning: could not generate /etc/modprobe.conf!"
fi
fi
#
# Now append all the new files ... modprobe will not scan /etc/modprobe.d/
# if /etc/modprobe.conf exists, so we need to append /etc/modprobe.conf with
# /etc/modprobe.d/* ... http://bugs.gentoo.org/145962
#
if [[ -e ./etc/modprobe.conf ]] ; then
for cfg in ./etc/modprobe.d/* ; do
[ -d "${cfg}" ] && continue
[ ! -r "${cfg}" ] && continue
# Skip backup and RCS files #20597
case ${cfg} in *~|*.bak|*,v) continue;; esac
(
echo
echo "### update-modules: start processing ${cfg#.}"
cat "${cfg}"
echo "### update-modules: end processing ${cfg#.}"
) >> "./etc/modprobe.conf"
done
fi
rm -f "${tmpfile}" "${tmpfile}.err"
fi
: # make sure we fall through with 0 exit status

View File

@ -1,74 +0,0 @@
.TH UPDATE-MODULES 8 "Gentoo Linux" "2007"
.SH NAME
update\-modules \- (re)generate module config files in /etc/
.SH SYNOPSIS
\fBupdate\-modules\fR \fI[options]\fR
.SH DESCRIPTION
\fBupdate\-modules\fR is a simple tool to manage the module config files found
in the /etc/ directory.
The old Linux module utilities use a single file for all their configuration.
This makes it difficult for packages to dynamically add information about their
own modules.
\fBupdate-modules\fR makes the dynamic addition of information easier by
generating the single configuration file from the many files located in
\fI/etc/modules.d/\fR. All files in that directory are assembled together to
form \fI/etc/modules.conf\fR.
Newer Linux module utilities include support automatically for a directory of
configuration files in \fI/etc/modprobe.d/\fR. However, to maintain backwards
compatibility with packages that do not yet support this, we still need to
assemble the contents of \fI/etc/modules.d/\fR and \fI/etc/modprobe.d/\fR and
produce the corresponding \fI/etc/modules.conf\fR and \fI/etc/modprobe.conf\fR.
Also, when requested, it is also possible to generate \fI/etc/modules.devfs\fR.
.SH OPTIONS
.TP
\fI\-\-assume-kernel=<KV>\fR
When calculating which files need to be generated, assume the kernel version
is at least the specified \fIKV\fR.
.TP
\fI\-b\fR, \fI\-\-backup\fR
When updating configuration files, make backups by renaming files with a '.old'
suffix if they are going to be updated.
.TP
\fI\-d\fR, \fI\-\-debug\fR
Run with shell debugging enabled. Really only useful for tracking down
misbehavior.
.TP
\fI\-D\fR, \fI\-\-devfs\fR
Force generation of the deprecated \fI/etc/modules.devfs\fR file.
.TP
\fI\-f\fR, \fI\-\-force\fR
Force generation of files regardless of timestamps. By default,
\fBupdate-modules\fR will regenerate files only when timestamps indicate that
the configuration files are out of date.
.TP
\fI\-v\fR, \fI\-\-verbose\fR
Enable verbose output since by default, \fBupdate-modules\fR only displays
information when it does something and not when it skips steps.
.SH "FILES"
There are two types of file you can put in the module directories: normal files
and exectuable files. Normal files contain standard modules configuration
information, as described in \fBmodules.conf\fR(5) (for files in
\fI/etc/modules.d/\fR) or as described in \fBmodprobe.conf\fR(5) (for files in
\fI/etc/modprobe.d/\fR). Executable files are executed and their output is
used as extra configuration information. Error messages are sent to stderr and
thus do not become part of the configuration file.
.nf
\fI/etc/modules.d/\fR - config snippets for old module utilities (<= linux-2.4)
\fI/etc/modules.conf\fR - sum of all files in \fI/etc/modules.d/\fR
\fI/etc/modprobe.d/\fR - config snippets for new module utilities (>= linux-2.6)
\fI/etc/modprobe.conf\fR - sum of all files in \fI/etc/modprobe.d/\fR
.fi
.SH "REPORTING BUGS"
Please report bugs via http://bugs.gentoo.org/
.SH AUTHORS
This manual page was written by Wichert Akkerman <wakkerma@debian.org>
for the Debian GNU/Linux system. Modified for \fIGentoo Linux\fR.
.SH "SEE ALSO"
.BR depmod (1),
.BR modules.conf (5),
.BR modprobe.conf (5)

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
</pkgmetadata>

View File

@ -1,100 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# 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.16-r2.ebuild,v 1.4 2013/01/22 11:21:07 ssuominen Exp $
EAPI=4
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="legacy tools for managing linux kernel modules"
HOMEPAGE="http://modules.wiki.kernel.org/"
SRC_URI="mirror://kernel/linux/utils/kernel/module-init-tools/${P}.tar.bz2
mirror://gentoo/${P}-man.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="static"
RESTRICT="test"
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}
!<sys-apps/baselayout-2.0.1
!sys-apps/kmod
!sys-apps/modutils"
src_prepare() {
touch *.5 *.8 # dont regen manpages
sed -i -e "/^AR\>/s:=.*:=$(tc-getAR):" Makefile.in #440274
}
src_configure() {
mkdir build && cd build #290207
use static && append-ldflags -static
ECONF_SOURCE=.. \
econf \
--prefix=/ \
--enable-zlib \
--enable-zlib-dynamic \
--disable-static-utils
}
src_test() {
# this manually runs configure and stuff, so ignore it
./tests/runtests -v || die
}
src_install() {
emake -C build install DESTDIR="${D}"
dodoc AUTHORS ChangeLog NEWS README TODO
into /
newsbin "${FILESDIR}"/update-modules-3.5.sh update-modules
doman "${FILESDIR}"/update-modules.8
cat <<-EOF > "${T}"/usb-load-ehci-first.conf
softdep uhci_hcd pre: ehci_hcd
softdep ohci_hcd pre: ehci_hcd
EOF
insinto /lib/modprobe.d
doins "${T}"/usb-load-ehci-first.conf #260139
}
pkg_postinst() {
# cheat to keep users happy
if grep -qs modules-update "${ROOT}"/etc/init.d/modules ; then
sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules
fi
# For files that were upgraded but not renamed via their ebuild to
# have a proper .conf extension, rename them so etc-update tools can
# take care of things. #274942
local i f cfg
eshopts_push -s nullglob
for f in "${ROOT}"etc/modprobe.d/* ; do
# The .conf files need no upgrading unless a non-.conf exists,
# so skip this until later ...
[[ ${f} == *.conf ]] && continue
# If a .conf doesn't exist, then a package needs updating, or
# the user created it, or it's orphaned. Either way, we don't
# really know, so leave it alone.
[[ ! -f ${f}.conf ]] && continue
i=0
while :; do
cfg=$(printf "%s/._cfg%04d_%s.conf" "${f%/*}" ${i} "${f##*/}")
[[ ! -e ${cfg} ]] && break
((i++))
done
elog "Updating ${f}; please run 'etc-update'"
mv "${f}.conf" "${cfg}"
mv "${f}" "${f}.conf"
done
# Whine about any non-.conf files that are left
for f in "${ROOT}"etc/modprobe.d/* ; do
[[ ${f} == *.conf ]] && continue
ewarn "The '${f}' file needs to be upgraded to end with a '.conf'."
ewarn "Either upgrade the package that owns it, or manually rename it."
done
eshopts_pop
}