Merge pull request #6722 from cr6git/dkms

dkms: update to 2.4.0
This commit is contained in:
Enno Boland 2017-06-20 00:23:24 +02:00 committed by GitHub
commit 7497ed8e26
2 changed files with 7 additions and 29 deletions

View File

@ -1,22 +0,0 @@
From: Darik Horn <dajhorn@vanadac.com>
Date: Mon, 27 Feb 2012 20:45:37 -0600
Subject: Add POST_BUILD to the dkms_conf_variables list.
The POST_BUILD directive is ignored by the read_conf() function
because it not in dkms_conf_variables list.
---
dkms | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- dkms
+++ dkms
@@ -23,7 +23,7 @@
# All of the variables we will accept from dkms.conf.
# Does not include directives
readonly dkms_conf_variables="CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
- PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD
+ PACKAGE_VERSION POST_ADD POST_BUILD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
--

View File

@ -1,15 +1,15 @@
# Template file for 'dkms'
pkgname=dkms
version=2.2.0.3
revision=12
version=2.4.0
revision=1
conf_files="/etc/dkms/framework.conf"
depends="bash kmod gcc make coreutils linux-headers"
homepage="http://linux.dell.com/dkms"
distfiles="${homepage}/permalink/dkms-$version.tar.gz"
homepage="https://github.com/dell/dkms"
distfiles="${homepage}/archive/v${version}.tar.gz"
short_desc="Dynamic Kernel Modules System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
checksum=352a080351410e29ae8cda7a794ba1e607b87ca913d0410d56209f08875378fc
checksum=53f09dbd5db8c12eca2c80c959793389e14355dfed1363133a0e08e751bb9053
case "$XBPS_TARGET_MACHINE" in
*-musl) depends+=" musl-devel";;
@ -18,8 +18,8 @@ esac
do_install() {
# We are only interested in the bare minimum.
vinstall dkms 755 usr/bin
vinstall dkms.8 644 usr/share/man/man8
vbin dkms
vman dkms.8
vinstall dkms_dbversion 644 var/lib/dkms
vinstall dkms.bash-completion 644 usr/share/bash-completion/completions dkms
vinstall dkms_framework.conf 644 etc/dkms framework.conf