[arch-commits] Commit in dkms/repos/community-testing-any (10 files)
Sébastien Luttringer
seblu at archlinux.org
Fri Feb 19 15:47:47 UTC 2016
Date: Friday, February 19, 2016 @ 16:47:46
Author: seblu
Revision: 162592
archrelease: copy trunk to community-testing-any
Added:
dkms/repos/community-testing-any/02-no-kernel-hook.patch
(from rev 162591, dkms/trunk/02-no-kernel-hook.patch)
dkms/repos/community-testing-any/PKGBUILD
(from rev 162591, dkms/trunk/PKGBUILD)
dkms/repos/community-testing-any/alpm-hook
(from rev 162591, dkms/trunk/alpm-hook)
dkms/repos/community-testing-any/dkms.hook
(from rev 162591, dkms/trunk/dkms.hook)
dkms/repos/community-testing-any/dkms.install
(from rev 162591, dkms/trunk/dkms.install)
Deleted:
dkms/repos/community-testing-any/02-no-kernel-hook.patch
dkms/repos/community-testing-any/PKGBUILD
dkms/repos/community-testing-any/alpm-hook
dkms/repos/community-testing-any/dkms.hook
dkms/repos/community-testing-any/dkms.install
-------------------------+
02-no-kernel-hook.patch | 26 +++++-----
PKGBUILD | 114 +++++++++++++++++++++++-----------------------
alpm-hook | 58 +++++++++++------------
dkms.hook | 22 ++++----
dkms.install | 34 ++++++-------
5 files changed, 127 insertions(+), 127 deletions(-)
Deleted: 02-no-kernel-hook.patch
===================================================================
--- 02-no-kernel-hook.patch 2016-02-19 15:47:23 UTC (rev 162591)
+++ 02-no-kernel-hook.patch 2016-02-19 15:47:46 UTC (rev 162592)
@@ -1,13 +0,0 @@
-# Author: Sébastien Luttringer <seblu at seblu.net>
---- a/Makefile 2011-12-07 19:23:51.000000000 +0100
-+++ b/Makefile 2013-05-13 00:48:19.620000000 +0200
-@@ -46,9 +46,6 @@
- gzip -c -9 dkms.8 > $(MAN)/dkms.8.gz
- chmod 0644 $(MAN)/dkms.8.gz
- touch --reference=dkms.8 $(MAN)/dkms.8.gz
-- mkdir -p -m 0755 $(KCONF)/prerm.d $(KCONF)/postinst.d
-- install -p -m 0755 kernel_prerm.d_dkms $(KCONF)/prerm.d/dkms
-- install -p -m 0755 kernel_postinst.d_dkms $(KCONF)/postinst.d/dkms
-
- DOCFILES=sample.spec sample.conf AUTHORS COPYING README.dkms sample-suse-9-mkkmp.spec sample-suse-10-mkkmp.spec
-
Copied: dkms/repos/community-testing-any/02-no-kernel-hook.patch (from rev 162591, dkms/trunk/02-no-kernel-hook.patch)
===================================================================
--- 02-no-kernel-hook.patch (rev 0)
+++ 02-no-kernel-hook.patch 2016-02-19 15:47:46 UTC (rev 162592)
@@ -0,0 +1,13 @@
+# Author: Sébastien Luttringer <seblu at seblu.net>
+--- a/Makefile 2011-12-07 19:23:51.000000000 +0100
++++ b/Makefile 2013-05-13 00:48:19.620000000 +0200
+@@ -46,9 +46,6 @@
+ gzip -c -9 dkms.8 > $(MAN)/dkms.8.gz
+ chmod 0644 $(MAN)/dkms.8.gz
+ touch --reference=dkms.8 $(MAN)/dkms.8.gz
+- mkdir -p -m 0755 $(KCONF)/prerm.d $(KCONF)/postinst.d
+- install -p -m 0755 kernel_prerm.d_dkms $(KCONF)/prerm.d/dkms
+- install -p -m 0755 kernel_postinst.d_dkms $(KCONF)/postinst.d/dkms
+
+ DOCFILES=sample.spec sample.conf AUTHORS COPYING README.dkms sample-suse-9-mkkmp.spec sample-suse-10-mkkmp.spec
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-19 15:47:23 UTC (rev 162591)
+++ PKGBUILD 2016-02-19 15:47:46 UTC (rev 162592)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: Balwinder S "bsd" Dheeman (bdheeman AT gmail.com)
-
-pkgname=dkms
-pkgver=2.2.0.3+git151023
-pkgrel=2
-pkgdesc='Dynamic Kernel Modules System'
-arch=('any')
-url='http://linux.dell.com/dkms/'
-license=('GPL2')
-depends=('bash' 'kmod' 'gcc' 'make' 'patch')
-makedepends=('git')
-optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS Arch kernel')
-backup=('etc/dkms/framework.conf')
-install=$pkgname.install
-source=('git+git://linux.dell.com/dkms.git#commit=7b6e78f'
- '02-no-kernel-hook.patch'
- 'alpm-hook'
- "$pkgname.hook")
-md5sums=('SKIP'
- '82d520c39c99c34977e48b313a189c6c'
- '87715a4b2f8520eb85b380fa5509ac10'
- '579ec5e7d91acbf75eaf0ed154864a05')
-
-prepare() {
- cd dkms
- # patching
- patches=("$srcdir"/*.patch)
- if (( ${#patches[*]} > 0 )); then
- for p in "${patches[@]}"; do
- msg2 "Apply patch: ${p##*/}"
- patch -p1 -i "$p"
- done
- fi
- # /usr move
- msg2 '/usr move patching'
- for i in dkms{,_framework.conf,.bash-completion,.8,_common.postinst}; do
- sed -ri 's,/lib/modules,/usr/lib/modules,g' "$i"
- done
-}
-
-package() {
- # alpm hook
- install -D -m 644 dkms.hook "$pkgdir/usr/share/libalpm/hooks/dkms.hook"
- install -D -m 755 alpm-hook "$pkgdir/usr/lib/dkms/alpm-hook"
- # upstream installer
- cd dkms
- make \
- DESTDIR="$pkgdir" \
- SBIN="$pkgdir/usr/bin" \
- BASHDIR="$pkgdir/usr/share/bash-completion/completions" \
- install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dkms/repos/community-testing-any/PKGBUILD (from rev 162591, dkms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-19 15:47:46 UTC (rev 162592)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Balwinder S "bsd" Dheeman (bdheeman AT gmail.com)
+
+pkgname=dkms
+pkgver=2.2.0.3+git151023
+pkgrel=3
+pkgdesc='Dynamic Kernel Modules System'
+arch=('any')
+url='http://linux.dell.com/dkms/'
+license=('GPL2')
+depends=('bash' 'kmod' 'gcc' 'make' 'patch')
+makedepends=('git')
+optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS Arch kernel')
+backup=('etc/dkms/framework.conf')
+install=$pkgname.install
+source=('git+git://linux.dell.com/dkms.git#commit=7b6e78f'
+ '02-no-kernel-hook.patch'
+ 'alpm-hook'
+ "$pkgname.hook")
+md5sums=('SKIP'
+ '82d520c39c99c34977e48b313a189c6c'
+ '87715a4b2f8520eb85b380fa5509ac10'
+ '579ec5e7d91acbf75eaf0ed154864a05')
+
+prepare() {
+ cd dkms
+ # patching
+ patches=("$srcdir"/*.patch)
+ if (( ${#patches[*]} > 0 )); then
+ for p in "${patches[@]}"; do
+ msg2 "Apply patch: ${p##*/}"
+ patch -p1 -i "$p"
+ done
+ fi
+ # /usr move
+ msg2 '/usr move patching'
+ for i in dkms{,_framework.conf,.bash-completion,.8,_common.postinst}; do
+ sed -ri 's,/lib/modules,/usr/lib/modules,g' "$i"
+ done
+}
+
+package() {
+ # alpm hook
+ install -D -m 644 dkms.hook "$pkgdir/usr/share/libalpm/hooks/70-dkms.hook"
+ install -D -m 755 alpm-hook "$pkgdir/usr/lib/dkms/alpm-hook"
+ # upstream installer
+ cd dkms
+ make \
+ DESTDIR="$pkgdir" \
+ SBIN="$pkgdir/usr/bin" \
+ BASHDIR="$pkgdir/usr/share/bash-completion/completions" \
+ install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: alpm-hook
===================================================================
--- alpm-hook 2016-02-19 15:47:23 UTC (rev 162591)
+++ alpm-hook 2016-02-19 15:47:46 UTC (rev 162592)
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-# Copyright © Sébastien Luttringer
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-if (( EUID )); then
- echo 'You must be root to use this hook' >&2
- exit 1
-fi
-
-# build modules for all kernels
-cd /usr/lib/modules
-for buildpath in */build; do
- [[ -d "$buildpath" ]] || continue
- dkms autoinstall -k "${buildpath%/*}"
-done
Copied: dkms/repos/community-testing-any/alpm-hook (from rev 162591, dkms/trunk/alpm-hook)
===================================================================
--- alpm-hook (rev 0)
+++ alpm-hook 2016-02-19 15:47:46 UTC (rev 162592)
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+# Copyright © Sébastien Luttringer
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if (( EUID )); then
+ echo 'You must be root to use this hook' >&2
+ exit 1
+fi
+
+# build modules for all kernels
+cd /usr/lib/modules
+for buildpath in */build; do
+ [[ -d "$buildpath" ]] || continue
+ dkms autoinstall -k "${buildpath%/*}"
+done
Deleted: dkms.hook
===================================================================
--- dkms.hook 2016-02-19 15:47:23 UTC (rev 162591)
+++ dkms.hook 2016-02-19 15:47:46 UTC (rev 162592)
@@ -1,11 +0,0 @@
-[Trigger]
-Operation = Install
-Operation = Upgrade
-Type = Package
-Target = *-dkms
-
-[Action]
-Description = Build required modules
-Depends = dkms
-When = PostTransaction
-Exec = /usr/lib/dkms/alpm-hook
Copied: dkms/repos/community-testing-any/dkms.hook (from rev 162591, dkms/trunk/dkms.hook)
===================================================================
--- dkms.hook (rev 0)
+++ dkms.hook 2016-02-19 15:47:46 UTC (rev 162592)
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = *-dkms
+
+[Action]
+Description = Build required modules
+Depends = dkms
+When = PostTransaction
+Exec = /usr/lib/dkms/alpm-hook
Deleted: dkms.install
===================================================================
--- dkms.install 2016-02-19 15:47:23 UTC (rev 162591)
+++ dkms.install 2016-02-19 15:47:46 UTC (rev 162592)
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( "$(vercmp $2 2.2.0.3-12)" <= 0 )); then
- echo '===> dkms startup config file moved to /etc/default/dkms'
- fi
-
- if (( "$(vercmp $2 '2.2.0.3+git151023-2')" <= 0 )); then
- echo '===> dkms systemd service has been removed'
- echo '===> modules building is now handled by alpm hooks at install time'
- echo '===> startup modules loading must be done via modules-load.d'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: dkms/repos/community-testing-any/dkms.install (from rev 162591, dkms/trunk/dkms.install)
===================================================================
--- dkms.install (rev 0)
+++ dkms.install 2016-02-19 15:47:46 UTC (rev 162592)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( "$(vercmp $2 2.2.0.3-12)" <= 0 )); then
+ echo '===> dkms startup config file moved to /etc/default/dkms'
+ fi
+
+ if (( "$(vercmp $2 '2.2.0.3+git151023-2')" <= 0 )); then
+ echo '===> dkms systemd service has been removed'
+ echo '===> modules building is now handled by alpm hooks at install time'
+ echo '===> startup modules loading must be done via modules-load.d'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
More information about the arch-commits
mailing list