mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
added core/module-init-tools
This commit is contained in:
parent
1392fc71f6
commit
245b78ddce
4 changed files with 155 additions and 0 deletions
57
core/module-init-tools/PKGBUILD
Normal file
57
core/module-init-tools/PKGBUILD
Normal file
|
@ -0,0 +1,57 @@
|
|||
# $Id: PKGBUILD 144464 2011-12-06 10:57:38Z dreisner $
|
||||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
||||
# Maintainer: Aaron Griffin <aaron@archlinux.org>
|
||||
# Contributor: judd <jvinet@zeroflux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - bringing back this package due to kmod not quite working for us yet
|
||||
# - this package replaces and provides kmod
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=module-init-tools
|
||||
pkgver=3.16
|
||||
pkgrel=4
|
||||
pkgdesc="Utilities needed by Linux systems for managing loadable kernel modules"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://modules.wiki.kernel.org"
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('docbook2x')
|
||||
provides=('kmod')
|
||||
replaces=('kmod')
|
||||
backup=('etc/modprobe.d/modprobe.conf'
|
||||
'etc/depmod.d/depmod.conf')
|
||||
source=("http://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.bz2"
|
||||
modprobe.conf
|
||||
depmod.conf
|
||||
docfix.patch)
|
||||
md5sums=('bc44832c6e41707b8447e2847d2019f5'
|
||||
'325657db471b3190f685e5a89c9b90e3'
|
||||
'4b8cbcbc54b9029c99fd730e257d4436'
|
||||
'4320d19902ded43bed55c804b065cdc7')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
# fix headers in SGML manpage sources and an XML typo
|
||||
patch -Np0 < "$srcdir/docfix.patch"
|
||||
|
||||
./configure --prefix=/usr --exec-prefix=/ --enable-zlib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# extra modprobe.d and depmod.d conf dirs
|
||||
install -dm755 "$pkgdir/lib/modprobe.d" "$pkgdir/etc/depmod.d"
|
||||
|
||||
# Install custom depmod config to allow searching extramodules/
|
||||
install -Dm644 "$srcdir/depmod.conf" "$pkgdir/etc/depmod.d/depmod.conf"
|
||||
|
||||
# Install our custom (empty) modprobe.conf
|
||||
install -Dm644 "$srcdir/modprobe.conf" "$pkgdir/etc/modprobe.d/modprobe.conf"
|
||||
}
|
5
core/module-init-tools/depmod.conf
Normal file
5
core/module-init-tools/depmod.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# /etc/depmod.d/depmod.conf
|
||||
#
|
||||
|
||||
search updates extramodules built-in
|
90
core/module-init-tools/docfix.patch
Normal file
90
core/module-init-tools/docfix.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
--- doc/depmod.conf.sgml.orig 2011-06-25 10:07:15.897805024 -0400
|
||||
+++ doc/depmod.conf.sgml 2011-06-25 10:07:48.810805020 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/depmod.sgml.orig 2011-06-25 10:07:15.898805024 -0400
|
||||
+++ doc/depmod.sgml 2011-06-25 10:07:56.636805021 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
@@ -52,7 +52,7 @@
|
||||
<arg><option>-n</option></arg>
|
||||
<arg><option>-v</option></arg>
|
||||
<arg><option>-P <replaceable>prefix</replaceable></option></arg>
|
||||
- <arg><option>-w</option><arg>
|
||||
+ <arg><option>-w</option></arg>
|
||||
<arg><option><replaceable>version</replaceable></option></arg>
|
||||
<arg rep='repeat'><option><replaceable>filename</replaceable></option></arg>
|
||||
</cmdsynopsis>
|
||||
--- doc/insmod.sgml.orig 2011-06-25 10:07:15.899805024 -0400
|
||||
+++ doc/insmod.sgml 2011-06-25 10:07:59.228805019 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/lsmod.sgml.orig 2011-06-25 10:07:15.899805024 -0400
|
||||
+++ doc/lsmod.sgml 2011-06-25 10:08:04.804805020 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/modinfo.sgml.orig 2011-06-25 10:07:15.900805024 -0400
|
||||
+++ doc/modinfo.sgml 2011-06-25 10:08:07.630805019 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/modprobe.conf.sgml.orig 2011-06-25 10:07:15.901805024 -0400
|
||||
+++ doc/modprobe.conf.sgml 2011-06-25 10:08:10.173805018 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/modprobe.sgml.orig 2011-06-25 10:07:15.902805024 -0400
|
||||
+++ doc/modprobe.sgml 2011-06-25 10:08:13.623805019 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/modules.dep.sgml.orig 2011-06-25 10:07:15.903805024 -0400
|
||||
+++ doc/modules.dep.sgml 2011-06-25 10:08:19.323805019 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
||||
--- doc/rmmod.sgml.orig 2011-06-25 10:07:15.904805024 -0400
|
||||
+++ doc/rmmod.sgml 2011-06-25 10:08:27.691805017 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
|
||||
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
|
||||
<!ENTITY docbook "<productname>DocBook</productname>">
|
||||
<!ENTITY sgml "<abbrev>SGML</abbrev>">
|
3
core/module-init-tools/modprobe.conf
Normal file
3
core/module-init-tools/modprobe.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
#
|
||||
# /etc/modprobe.d/modprobe.conf
|
||||
#
|
Loading…
Reference in a new issue