aboutsummaryrefslogtreecommitdiffstats
path: root/main/eudev
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-20 11:38:29 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-30 14:36:36 +0100
commitedfeb55d42dc2197f90a5154b4ef2e92b8265a72 (patch)
treeaf94f6ad5c7c932b57c571a34472d5037ba0d737 /main/eudev
parent15f770ff8ca13cd66ad4a2212b94da0e9eb8b465 (diff)
downloadaports-edfeb55d42dc2197f90a5154b4ef2e92b8265a72.tar.bz2
aports-edfeb55d42dc2197f90a5154b4ef2e92b8265a72.tar.xz
main/eudev: set group for /dev/kvm to 'kvm'
This is in accordance with the default mdev configuration file shipped by main/busybox-initscripts.
Diffstat (limited to 'main/eudev')
-rw-r--r--main/eudev/APKBUILD6
-rw-r--r--main/eudev/default-rules.patch9
2 files changed, 14 insertions, 1 deletions
diff --git a/main/eudev/APKBUILD b/main/eudev/APKBUILD
index 448d995fd8..8126dbc5be 100644
--- a/main/eudev/APKBUILD
+++ b/main/eudev/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eudev
pkgver=3.2
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC compatible fork of systemd-udev"
url="https://wiki.gentoo.org/wiki/Project:Eudev"
arch="all"
@@ -15,6 +15,7 @@ makedepends="$depends_dev gperf glib-dev linux-headers kmod-dev
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-netifnames"
source="http://dev.gentoo.org/~blueness/$pkgname/$pkgname-$pkgver.tar.gz
+ default-rules.patch
udev-postmount.initd
setup-udev
"
@@ -77,11 +78,14 @@ netifnames() {
}
md5sums="7e42d9b9ed8162021665139520676367 eudev-3.2.tar.gz
+1320c4b4cf1c19a714baae7d6ac6fcbf default-rules.patch
17ca36a764f5e8a89454344cde828740 udev-postmount.initd
6fe6a4b05f2768e240c3a20caa0f0cee setup-udev"
sha256sums="d84a5f7942393a009afc6af0bf31e98841147a0521b91ffbed161dccac303c25 eudev-3.2.tar.gz
+8d6dcd3acbc9c32e0c1ed071e9584a8c78f758198e0e6441c6a202fa60f2fbc9 default-rules.patch
b0327069dbb57b39600079b87df80915dabb77c2fa298d6ae109ca04f8ba08b5 udev-postmount.initd
7c961c05700e881677249d3aa0ac3a4b489d203cab7464d38f1a78c3692026be setup-udev"
sha512sums="84c4dc6683531a3efb1e6b4e3ce4108c1747a7d7f07519d46009a9d1b77323d4e0331aa4c2870a4b571bfb01f6bec3444f1bf0d4ed0a524118b32ded49c3eb7c eudev-3.2.tar.gz
+683e3c26ca4f058303f8db7d4977e436d728386ee6866719c4f11ff31db27572d3f486f51d3173310e1ec2cf995fa4c396f2415bdf45dabdd80e6e55e798a314 default-rules.patch
8ef1b911843ab13acb1c1b9b7a0a5cd76659f395c3db9e579429556f23eacebb414507dc0231e2455e7589bc70054fa1e6b6dd93dd833f7101c0da0597aabf88 udev-postmount.initd
aa8a040ad503633bf751e8cab34535715f0db2a8b4b716a1dc0b00a6f9c6a78fabc0652daba3e43df91d4d80c68563c00a27b7bc6f419573bc7704a5c7f76ee1 setup-udev"
diff --git a/main/eudev/default-rules.patch b/main/eudev/default-rules.patch
new file mode 100644
index 0000000000..0786a98261
--- /dev/null
+++ b/main/eudev/default-rules.patch
@@ -0,0 +1,9 @@
+--- a/rules/50-udev-default.rules
++++ b/rules/50-udev-default.rules
+@@ -73,5 +73,6 @@ KERNEL=="rfkill", MODE="0664"
+ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
+
+ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
++KERNEL=="kvm", GROUP="kvm", MODE="0660"
+
+ LABEL="default_end"