ports-wide: remove all occurrences of triggers="dkms"

There is no need for triggers="dkms" since having dkms_modules="" set
also adds the dkms trigger automatically.

This occoured problably since one template did it and everyone else
just copied it (understandable since dkms_modules is not documented)

[ci skip]
This commit is contained in:
maxice8 2018-08-18 18:51:38 -03:00
parent 61ed9229de
commit d2eb199ebd
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
19 changed files with 11 additions and 34 deletions

View File

@ -11,7 +11,6 @@ homepage="https://github.com/damadmai/acpi_call"
distfiles="$homepage/archive/v$version.tar.gz" distfiles="$homepage/archive/v$version.tar.gz"
checksum=c48a0a8768d657a8da7b59d7dbf6276554313fa6a0cb012fa4cf85a77e55f44b checksum=c48a0a8768d657a8da7b59d7dbf6276554313fa6a0cb012fa4cf85a77e55f44b
triggers="dkms"
dkms_modules="acpi_call ${version}" dkms_modules="acpi_call ${version}"
depends="dkms" depends="dkms"

View File

@ -9,7 +9,6 @@ homepage="http://www.open-mesh.org/"
distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz" distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"
checksum=ec1848023308c41710eeefb544580f5853d68b88a627a3f2dabaa3472b988c15 checksum=ec1848023308c41710eeefb544580f5853d68b88a627a3f2dabaa3472b988c15
triggers="dkms"
dkms_modules="batman-adv ${version}" dkms_modules="batman-adv ${version}"
depends="dkms" depends="dkms"

View File

@ -12,7 +12,6 @@ conflicts="batman-adv>=0"
wrksrc="batman-adv-$version" wrksrc="batman-adv-$version"
provides="batman-adv-${version}_${revision}" provides="batman-adv-${version}_${revision}"
triggers="dkms"
dkms_modules="batman-adv14 ${version}" dkms_modules="batman-adv14 ${version}"
depends="dkms" depends="dkms"

View File

@ -6,7 +6,6 @@ hostmakedepends="git"
makedepends="dkms" makedepends="dkms"
depends="dkms" depends="dkms"
dkms_modules="${pkgname} ${version}" dkms_modules="${pkgname} ${version}"
triggers="dkms"
short_desc="kernel module allowing to switch dedicated graphics card on Optimus laptops" short_desc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"

View File

@ -12,7 +12,6 @@ repository="nonfree"
create_wrksrc=yes create_wrksrc=yes
short_desc="Broadcom proprietary wireless drivers for Linux - DKMS kernel module" short_desc="Broadcom proprietary wireless drivers for Linux - DKMS kernel module"
triggers="dkms"
dkms_modules="wl ${version}" dkms_modules="wl ${version}"
depends="dkms" depends="dkms"

View File

@ -122,7 +122,6 @@ do_install() {
catalyst-dkms_package() { catalyst-dkms_package() {
short_desc="${_desc} - DKMS kernel module" short_desc="${_desc} - DKMS kernel module"
triggers="dkms"
depends="dkms" depends="dkms"
dkms_modules="fglrx ${version}_${revision}" dkms_modules="fglrx ${version}_${revision}"
pkg_install() { pkg_install() {

View File

@ -11,7 +11,6 @@ homepage="https://github.com/dorimanx/exfat-nofuse"
distfiles="https://github.com/dorimanx/exfat-nofuse/archive/${_commit}.tar.gz" distfiles="https://github.com/dorimanx/exfat-nofuse/archive/${_commit}.tar.gz"
checksum=b88a98f0a7e1b987465f5ccfcafb384b293506c7fec9d3b91b803e0fe5b16e0a checksum=b88a98f0a7e1b987465f5ccfcafb384b293506c7fec9d3b91b803e0fe5b16e0a
triggers="dkms"
dkms_modules="exfat ${version}" dkms_modules="exfat ${version}"
depends="dkms" depends="dkms"

View File

@ -10,7 +10,6 @@ homepage="https://lttng.org"
distfiles="${homepage}/files/lttng-modules/lttng-modules-${version}.tar.bz2" distfiles="${homepage}/files/lttng-modules/lttng-modules-${version}.tar.bz2"
checksum=f049428d3d131e103a7a7038d184731bf7bcdce00503fc19a2c9b5693ecbb3b5 checksum=f049428d3d131e103a7a7038d184731bf7bcdce00503fc19a2c9b5693ecbb3b5
triggers="dkms"
dkms_modules="lttng-modules ${version}" dkms_modules="lttng-modules ${version}"
depends="dkms" depends="dkms"

View File

@ -274,7 +274,6 @@ nvidia-libs_package() {
} }
nvidia-dkms_package() { nvidia-dkms_package() {
short_desc="${_desc} - DKMS kernel module" short_desc="${_desc} - DKMS kernel module"
triggers="dkms"
dkms_modules="nvidia ${version}" dkms_modules="nvidia ${version}"
depends="dkms" depends="dkms"
pkg_install() { pkg_install() {

View File

@ -9,7 +9,7 @@ license="Proprietary NVIDIA license"
homepage="http://www.nvidia.com" homepage="http://www.nvidia.com"
nopie=yes nopie=yes
repository="nonfree" repository=nonfree
create_wrksrc=yes create_wrksrc=yes
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
short_desc="${_desc} - Libraries and Utilities" short_desc="${_desc} - Libraries and Utilities"
@ -81,7 +81,7 @@ do_install() {
# CUDA # CUDA
vbin nvidia-cuda-proxy-control vbin nvidia-cuda-proxy-control
vbin nvidia-cuda-proxy-server vbin nvidia-cuda-proxy-server
vinstall nvidia-cuda-proxy-control.1.gz 644 usr/share/man/man1 vman nvidia-cuda-proxy-control.1.gz
vinstall libcuda.so.${version} 755 usr/lib vinstall libcuda.so.${version} 755 usr/lib
ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so
@ -93,11 +93,11 @@ do_install() {
# nvidia-xconfig # nvidia-xconfig
vbin nvidia-xconfig vbin nvidia-xconfig
vinstall nvidia-xconfig.1.gz 644 usr/share/man/man1 vman nvidia-xconfig.1.gz
# nvidia-settings # nvidia-settings
vbin nvidia-settings vbin nvidia-settings
vinstall nvidia-settings.1.gz 644 usr/share/man/man1 vman nvidia-settings.1.gz
vinstall nvidia-settings.desktop 644 usr/share/applications vinstall nvidia-settings.desktop 644 usr/share/applications
vinstall nvidia-settings.png 644 usr/share/pixmaps vinstall nvidia-settings.png 644 usr/share/pixmaps
sed -e 's:__UTILS_PATH__:/usr/bin:' \ sed -e 's:__UTILS_PATH__:/usr/bin:' \
@ -110,7 +110,7 @@ do_install() {
# nvidia-smi # nvidia-smi
vbin nvidia-smi vbin nvidia-smi
vinstall nvidia-smi.1.gz 644 usr/share/man/man1 vman nvidia-smi.1.gz
# License and documentation. # License and documentation.
vlicense LICENSE vlicense LICENSE
@ -155,7 +155,6 @@ do_install() {
nvidia304-dkms_package() { nvidia304-dkms_package() {
short_desc="${_desc} - DKMS kernel module" short_desc="${_desc} - DKMS kernel module"
depends="dkms" depends="dkms"
triggers="dkms"
dkms_modules="nvidia ${version}" dkms_modules="nvidia ${version}"
provides="nvidia-dkms-${version}_${revision}" provides="nvidia-dkms-${version}_${revision}"
replaces="nvidia-dkms>=0" replaces="nvidia-dkms>=0"

View File

@ -1,4 +1,4 @@
# Template file for 'nvidia' # Template file for 'nvidia340'
_desc="NVIDIA drivers (GeForce 8, 9, 9M, 100, 100M, 200, 300 series)" _desc="NVIDIA drivers (GeForce 8, 9, 9M, 100, 100M, 200, 300 series)"
@ -11,7 +11,7 @@ homepage="http://www.nvidia.com"
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
nopie=yes nopie=yes
repository="nonfree" repository=nonfree
create_wrksrc=yes create_wrksrc=yes
short_desc="${_desc} - Libraries and Utilities" short_desc="${_desc} - Libraries and Utilities"
depends="${pkgname}-dkms-${version}_${revision} pkg-config" depends="${pkgname}-dkms-${version}_${revision} pkg-config"
@ -95,8 +95,7 @@ do_install() {
# CUDA # CUDA
vbin nvidia-cuda-mps-control vbin nvidia-cuda-mps-control
vbin nvidia-cuda-mps-server vbin nvidia-cuda-mps-server
gzip -d nvidia-cuda-mps-control.1.gz vman nvidia-cuda-mps-control.1.gz
vman nvidia-cuda-mps-control.1
vinstall libcuda.so.${version} 755 usr/lib vinstall libcuda.so.${version} 755 usr/lib
ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so
@ -108,13 +107,11 @@ do_install() {
# nvidia-xconfig # nvidia-xconfig
vbin nvidia-xconfig vbin nvidia-xconfig
gzip -d nvidia-xconfig.1.gz vman nvidia-xconfig.1.gz
vman nvidia-xconfig.1
# nvidia-settings # nvidia-settings
vbin nvidia-settings vbin nvidia-settings
gzip -d nvidia-settings.1.gz vman nvidia-settings.1.gz
vman nvidia-settings.1
vinstall nvidia-settings.desktop 644 usr/share/applications vinstall nvidia-settings.desktop 644 usr/share/applications
vinstall nvidia-settings.png 644 usr/share/pixmaps vinstall nvidia-settings.png 644 usr/share/pixmaps
sed -e 's:__UTILS_PATH__:/usr/bin:' \ sed -e 's:__UTILS_PATH__:/usr/bin:' \
@ -127,8 +124,7 @@ do_install() {
# nvidia-smi # nvidia-smi
vbin nvidia-smi vbin nvidia-smi
gzip -d nvidia-smi.1.gz vman nvidia-smi.1.gz
vman nvidia-smi.1
# License and documentation. # License and documentation.
vlicense LICENSE vlicense LICENSE
@ -179,7 +175,6 @@ do_install() {
nvidia340-dkms_package() { nvidia340-dkms_package() {
short_desc="${_desc} - DKMS kernel module" short_desc="${_desc} - DKMS kernel module"
triggers="dkms"
dkms_modules="nvidia ${version}" dkms_modules="nvidia ${version}"
depends="dkms" depends="dkms"
provides="nvidia-dkms-${version}_${revision}" provides="nvidia-dkms-${version}_${revision}"

View File

@ -34,7 +34,6 @@ openrazer-daemon_package() {
openrazer-driver-dkms_package() { openrazer-driver-dkms_package() {
short_desc="Kernel driver for Razer devices (DKMS-variant)" short_desc="Kernel driver for Razer devices (DKMS-variant)"
depends="dkms" depends="dkms"
triggers="dkms"
dkms_modules="openrazer-driver 1.0.0" dkms_modules="openrazer-driver 1.0.0"
system_groups="plugdev" system_groups="plugdev"
pkg_install() { pkg_install() {

View File

@ -8,7 +8,6 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://www.dlink.com" homepage="http://www.dlink.com"
triggers="dkms"
dkms_modules="rtl8812au 4.3.14" dkms_modules="rtl8812au 4.3.14"
hostmakedepends="git" hostmakedepends="git"
depends="dkms" depends="dkms"

View File

@ -13,7 +13,6 @@ homepage="http://zfsonlinux.org/"
distfiles="https://github.com/zfsonlinux/${pkgname}/archive/${pkgname}-${version/r/-}.tar.gz" distfiles="https://github.com/zfsonlinux/${pkgname}/archive/${pkgname}-${version/r/-}.tar.gz"
checksum=432b2ef0ca1f5cf7c1a64dec643ab5d92681a5097bf95b336aabaa252bad96e1 checksum=432b2ef0ca1f5cf7c1a64dec643ab5d92681a5097bf95b336aabaa252bad96e1
triggers="dkms"
dkms_modules="spl ${version/r/-}" dkms_modules="spl ${version/r/-}"
depends="dkms>=2.2.0.3_9 ${pkgname}-devel>=${version}_${revision}" depends="dkms>=2.2.0.3_9 ${pkgname}-devel>=${version}_${revision}"

View File

@ -9,7 +9,6 @@ hostmakedepends="wget"
makedepends="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel makedepends="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel
ncurses-devel zlib-devel elfutils-devel" ncurses-devel zlib-devel elfutils-devel"
depends="dkms" depends="dkms"
triggers="dkms"
dkms_modules="sysdig ${version}" dkms_modules="sysdig ${version}"
short_desc="Open source system-level exploration and troubleshooting tool" short_desc="Open source system-level exploration and troubleshooting tool"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"

View File

@ -11,7 +11,6 @@ homepage="http://www.thinkwiki.org/wiki/Tp_smapi"
distfiles="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F${version}/tp_smapi-${version}.tgz" distfiles="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F${version}/tp_smapi-${version}.tgz"
checksum=bcef9cd045d52a74d719b2a67ac4f5324994a856f123c0fbc55f1d769d367110 checksum=bcef9cd045d52a74d719b2a67ac4f5324994a856f123c0fbc55f1d769d367110
triggers="dkms"
dkms_modules="tp_smapi ${version}" dkms_modules="tp_smapi ${version}"
depends="dkms" depends="dkms"

View File

@ -11,7 +11,6 @@ homepage="http://cdemu.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/cdemu/vhba-module-${version}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/cdemu/vhba-module-${version}.tar.bz2"
checksum=7970c93f989d9c4f2629371bf5ee7a76f95e4c12342c3320ddc528d0df02d9ec checksum=7970c93f989d9c4f2629371bf5ee7a76f95e4c12342c3320ddc528d0df02d9ec
triggers="dkms"
dkms_modules="vhba-module ${version}" dkms_modules="vhba-module ${version}"
depends="dkms" depends="dkms"

View File

@ -15,7 +15,6 @@ homepage="https://www.wireguard.com/"
distfiles="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz" distfiles="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz"
checksum=3e351c42d22de427713f1da06d21189c5896a694a66cf19233a7c33295676f19 checksum=3e351c42d22de427713f1da06d21189c5896a694a66cf19233a7c33295676f19
triggers="dkms"
dkms_modules="wireguard ${version}" dkms_modules="wireguard ${version}"
post_extract() { post_extract() {

View File

@ -18,7 +18,6 @@ homepage="http://zfsonlinux.org/"
distfiles="https://github.com/zfsonlinux/zfs/archive/zfs-${version/r/-}.tar.gz" distfiles="https://github.com/zfsonlinux/zfs/archive/zfs-${version/r/-}.tar.gz"
checksum=d17c57a5a06f476cd9658e8775a11ee8e1fc7d08cc99d74a5ef1509657c29a97 checksum=d17c57a5a06f476cd9658e8775a11ee8e1fc7d08cc99d74a5ef1509657c29a97
triggers="dkms"
dkms_modules="zfs ${version/r/-}" dkms_modules="zfs ${version/r/-}"
depends="dkms>=2.2.0.3_9 spl>=${version} perl" depends="dkms>=2.2.0.3_9 spl>=${version} perl"