[arch-commits] Commit in kmod/repos (8 files)
Dave Reisner
dreisner at archlinux.org
Fri Jan 6 00:39:17 UTC 2012
Date: Thursday, January 5, 2012 @ 19:39:17
Author: dreisner
Revision: 146200
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kmod/repos/testing-i686/
kmod/repos/testing-i686/PKGBUILD
(from rev 146199, kmod/trunk/PKGBUILD)
kmod/repos/testing-i686/depmod-search.conf
(from rev 146199, kmod/trunk/depmod-search.conf)
kmod/repos/testing-i686/kmod.install
(from rev 146199, kmod/trunk/kmod.install)
kmod/repos/testing-x86_64/
kmod/repos/testing-x86_64/PKGBUILD
(from rev 146199, kmod/trunk/PKGBUILD)
kmod/repos/testing-x86_64/depmod-search.conf
(from rev 146199, kmod/trunk/depmod-search.conf)
kmod/repos/testing-x86_64/kmod.install
(from rev 146199, kmod/trunk/kmod.install)
-----------------------------------+
testing-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
testing-i686/depmod-search.conf | 5 +++
testing-i686/kmod.install | 10 ++++++
testing-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
testing-x86_64/depmod-search.conf | 5 +++
testing-x86_64/kmod.install | 10 ++++++
6 files changed, 142 insertions(+)
Copied: kmod/repos/testing-i686/PKGBUILD (from rev 146199, kmod/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=kmod
+pkgver=3
+pkgrel=1
+pkgdesc="Linux kernel module handling"
+arch=('i686' 'x86_64')
+url="http://git.profusion.mobi/cgit.cgi/kmod.git"
+license=('GPL2')
+depends=('glibc' 'zlib')
+options=('!libtool')
+provides=('module-init-tools=3.16')
+conflicts=('module-init-tools')
+replaces=('module-init-tools')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"
+ "depmod-search.conf")
+install='kmod.install'
+md5sums=('bc0e69f75c2ac22c091f05e166e86c5d'
+ '4b8cbcbc54b9029c99fd730e257d4436')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure \
+ --with-rootprefix= \
+ --with-rootlibdir=/lib \
+ --with-zlib
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # binary directories
+ install -dm755 "$pkgdir"/{,s}bin
+
+ # configuration directories
+ install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d
+
+ # add symlinks to kmod
+ ln -s /usr/bin/kmod "$pkgdir/bin/lsmod"
+ for tool in {ins,rm,dep}mod mod{info,probe}; do
+ ln -s ../usr/bin/kmod "$pkgdir/sbin/$tool"
+ done
+
+ # install depmod.d file for search/ dir
+ install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/lib/depmod.d/search.conf"
+}
+
+# vim: ft=sh syn=sh et
Copied: kmod/repos/testing-i686/depmod-search.conf (from rev 146199, kmod/trunk/depmod-search.conf)
===================================================================
--- testing-i686/depmod-search.conf (rev 0)
+++ testing-i686/depmod-search.conf 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,5 @@
+#
+# /etc/depmod.d/depmod.conf
+#
+
+search updates extramodules built-in
Copied: kmod/repos/testing-i686/kmod.install (from rev 146199, kmod/trunk/kmod.install)
===================================================================
--- testing-i686/kmod.install (rev 0)
+++ testing-i686/kmod.install 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+post_upgrade() {
+ echo "Updating module dependency files"
+ depmod -A
+}
+
+post_install() {
+ post_upgrade
+}
Copied: kmod/repos/testing-x86_64/PKGBUILD (from rev 146199, kmod/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=kmod
+pkgver=3
+pkgrel=1
+pkgdesc="Linux kernel module handling"
+arch=('i686' 'x86_64')
+url="http://git.profusion.mobi/cgit.cgi/kmod.git"
+license=('GPL2')
+depends=('glibc' 'zlib')
+options=('!libtool')
+provides=('module-init-tools=3.16')
+conflicts=('module-init-tools')
+replaces=('module-init-tools')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"
+ "depmod-search.conf")
+install='kmod.install'
+md5sums=('bc0e69f75c2ac22c091f05e166e86c5d'
+ '4b8cbcbc54b9029c99fd730e257d4436')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure \
+ --with-rootprefix= \
+ --with-rootlibdir=/lib \
+ --with-zlib
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # binary directories
+ install -dm755 "$pkgdir"/{,s}bin
+
+ # configuration directories
+ install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d
+
+ # add symlinks to kmod
+ ln -s /usr/bin/kmod "$pkgdir/bin/lsmod"
+ for tool in {ins,rm,dep}mod mod{info,probe}; do
+ ln -s ../usr/bin/kmod "$pkgdir/sbin/$tool"
+ done
+
+ # install depmod.d file for search/ dir
+ install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/lib/depmod.d/search.conf"
+}
+
+# vim: ft=sh syn=sh et
Copied: kmod/repos/testing-x86_64/depmod-search.conf (from rev 146199, kmod/trunk/depmod-search.conf)
===================================================================
--- testing-x86_64/depmod-search.conf (rev 0)
+++ testing-x86_64/depmod-search.conf 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,5 @@
+#
+# /etc/depmod.d/depmod.conf
+#
+
+search updates extramodules built-in
Copied: kmod/repos/testing-x86_64/kmod.install (from rev 146199, kmod/trunk/kmod.install)
===================================================================
--- testing-x86_64/kmod.install (rev 0)
+++ testing-x86_64/kmod.install 2012-01-06 00:39:17 UTC (rev 146200)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+post_upgrade() {
+ echo "Updating module dependency files"
+ depmod -A
+}
+
+post_install() {
+ post_upgrade
+}
More information about the arch-commits
mailing list