Initial commit
This commit is contained in:
commit
ca44c532ac
|
@ -0,0 +1,4 @@
|
||||||
|
./src/Makefile
|
||||||
|
./src/i2c-piix4.c
|
||||||
|
./src/90-i2c-aura.rules
|
||||||
|
./src/i2c-aura.conf
|
|
@ -0,0 +1,6 @@
|
||||||
|
The Debian Package i2c-piix4-aura-dkms
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
See Bug 202587 at Kernel.org Bugzilla for more information
|
||||||
|
|
||||||
|
-- crt0mega <crt0mega@c-r-t.tk> Sun, 19 Jan 2020 21:18:11 +0100
|
|
@ -0,0 +1,5 @@
|
||||||
|
i2c-piix4-aura-dkms (5.6.4) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial Release.
|
||||||
|
|
||||||
|
-- crt0mega <crt0mega@c-r-t.tk> Sun, 19 Jan 2020 21:18:11 +0100
|
|
@ -0,0 +1,17 @@
|
||||||
|
Source: i2c-piix4-aura-dkms
|
||||||
|
Section: unknown
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: crt0mega <crt0mega@c-r-t.tk>
|
||||||
|
Build-Depends: debhelper-compat (= 12)
|
||||||
|
Standards-Version: 4.4.1
|
||||||
|
#Homepage: <insert the upstream URL, if relevant>
|
||||||
|
#Vcs-Browser: https://salsa.debian.org/debian/i2c-piix4-aura-dkms-5.4.6
|
||||||
|
#Vcs-Git: https://salsa.debian.org/debian/i2c-piix4-aura-dkms-5.4.6.git
|
||||||
|
|
||||||
|
Package: i2c-piix4-aura-dkms
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, dkms
|
||||||
|
Description: The i2c-piix4 kernel driver, patched to be used with OpenRGB
|
||||||
|
i2c-piix4 needs a patch to enable a second SMBUS controller (see
|
||||||
|
Bug 202587 at Kernel.org Bugzilla). This package provides a patched module
|
||||||
|
ready for DKMS as well as some helper files found at Archlinux' AUR.
|
|
@ -0,0 +1,39 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: i2c-piix4-aura-dkms-5.4.6
|
||||||
|
Upstream-Contact: <preferred name and address to reach the upstream project>
|
||||||
|
Source: <url://example.com>
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: <years> <put author's name and email here>
|
||||||
|
<years> <likewise for another author>
|
||||||
|
License: GPL-2.0+
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2020 crt0mega <crt0mega@c-r-t.tk>
|
||||||
|
License: GPL-2.0+
|
||||||
|
|
||||||
|
License: GPL-2.0+
|
||||||
|
This package 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 package 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, see <https://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||||
|
|
||||||
|
# Please also look if there are files or directories which have a
|
||||||
|
# different copyright/license attached and list them here.
|
||||||
|
# Please avoid picking licenses with terms that are more restrictive than the
|
||||||
|
# packaged work, as it may make Debian's contributions unacceptable upstream.
|
||||||
|
#
|
||||||
|
# If you need, there are some extra license texts available in two places:
|
||||||
|
# /usr/share/debhelper/dh_make/licenses/
|
||||||
|
# /usr/share/common-licenses/
|
|
@ -0,0 +1 @@
|
||||||
|
i2c-piix4-aura-dkms
|
|
@ -0,0 +1,6 @@
|
||||||
|
PACKAGE_NAME="i2c-piix4-aura"
|
||||||
|
PACKAGE_VERSION="5.4.6"
|
||||||
|
BUILT_MODULE_NAME[0]="i2c-piix4"
|
||||||
|
MAKE[0]="make"
|
||||||
|
DEST_MODULE_LOCATION[0]="/kernel/drivers/i2c/busses"
|
||||||
|
AUTOINSTALL="yes"
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
|
# output every command that modifies files on the build system.
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
VERSION=$(shell dpkg-parsechangelog |grep ^Version:|cut -d ' ' -f 2)
|
||||||
|
|
||||||
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||||
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||||
|
# package maintainers to append CFLAGS
|
||||||
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
# package maintainers to append LDFLAGS
|
||||||
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
|
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with dkms
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
dh_install src/Makefile src/i2c-piix4.c usr/src/i2c-piix4-aura-$(VERSION)/
|
||||||
|
dh_install src/90-i2c-aura.rules lib/udev/rules.d/
|
||||||
|
dh_install src/i2c-aura.conf usr/lib/modules-load.d/
|
||||||
|
|
||||||
|
override_dh_dkms:
|
||||||
|
dh_dkms -V $(VERSION)
|
||||||
|
|
||||||
|
|
||||||
|
# dh_make generated override targets
|
||||||
|
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
||||||
|
#override_dh_auto_configure:
|
||||||
|
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
|
@ -0,0 +1,2 @@
|
||||||
|
KERNEL=="i2c-*", ATTR{name}=="SMBus*" SUBSYSTEM=="i2c-dev" MODE="0660", GROUP="wheel"
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
obj-m := i2c-piix4.o
|
||||||
|
|
||||||
|
ifndef KERNELRELEASE
|
||||||
|
KRELEASE := $(shell uname -r)
|
||||||
|
else
|
||||||
|
KRELEASE := $(KERNELRELEASE)
|
||||||
|
endif
|
||||||
|
|
||||||
|
KDIR := /lib/modules/$(KRELEASE)/build
|
||||||
|
PWD := $(shell pwd)
|
||||||
|
|
||||||
|
|
||||||
|
default:
|
||||||
|
|
||||||
|
$(MAKE) -C $(KDIR) M=$(PWD) modules
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -C $(KDIR) M=$(PWD) clean
|
|
@ -0,0 +1,2 @@
|
||||||
|
i2c-piix4
|
||||||
|
i2c-dev
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue