diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-27 10:41:27 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-10-31 08:41:35 +0000 |
commit | f22963eb8177ad5e3ebcb6de94c9dcf93dd382a4 (patch) | |
tree | 55c4110ca3f6c158dc997e2904bfc27bc8f0840f | |
parent | f299ad93ca03aa23fedd9a36e47d309e9e10f5cd (diff) | |
download | aports-f22963eb8177ad5e3ebcb6de94c9dcf93dd382a4.tar.bz2 aports-f22963eb8177ad5e3ebcb6de94c9dcf93dd382a4.tar.xz |
main/busybox-initscripts: set 0666 permissions on /dev/net/{tun,tap} instead of 0660
According to https://www.kernel.org/doc/Documentation/networking/tuntap.txt this
is fine, you need additional capabilities to use them anyway.
This is also what the default udev rules use.
While we're at it: fix the homepage
fixes #10903
-rw-r--r-- | main/busybox-initscripts/APKBUILD | 12 | ||||
-rw-r--r-- | main/busybox-initscripts/mdev.conf | 5 |
2 files changed, 7 insertions, 10 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD index 2e33217115..4f574727a9 100644 --- a/main/busybox-initscripts/APKBUILD +++ b/main/busybox-initscripts/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox-initscripts pkgver=3.2 -pkgrel=0 +pkgrel=1 pkgdesc="Init scripts for busybox daemons" -url="https://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" +url="https://git.alpinelinux.org/aports/tree/main/busybox-initscripts" arch="noarch" -license="GPL-2.0" +license="GPL-2.0-only" depends="busybox openrc>=0.24.1-r6" makedepends="" install="$pkgname.post-install $pkgname.post-upgrade" @@ -20,10 +20,6 @@ source="acpid.initd crond.initd dnsd.initd httpd.initd inetd.initd klogd.initd xvd_links default.script " -prepare() { - return 0 -} - package() { local i cd "$srcdir" @@ -72,7 +68,7 @@ b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54 bf8173ee33a5d2b61cbdbc1b070e599a17a21e5433a0d8aa9beef71e4ac831304076af8e7e58dc594cdee61562329793afdc57af91e5496bf5fffb9b734a3d9c syslog.confd 359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4 watchdog.confd acbba3385fb2c416362eb9176f24146b617a2e394ee0e00b9eff89350f82468a5ab8396f4f52b0aaf03d341ac6150c73182e808fa3f29a2dc71c69271cdfb811 loadkmap.confd -074968c03931c5b9b88c36e3db54d5ef40f5ab42a57d682a28d9a3ee49bf140293cdd1177eea31106d8799c9c7a1353cceaeb3804cf2230dd203996079df7492 mdev.conf +cb269ed1ede0714dfc767d03cc0253aed3b30cec74a19d792bad42b844a942941c7e9f2c54e12c85ae2ceef0f173d38b91fe2376d91ffd55b3093f5cf4341fe4 mdev.conf ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d4e8f4294545d3a9ab6708ae2e77c5b108b5f091bbce8f94a dvbdev 0142234d0bda86ad1e5f88f1da34669e5fda46a0fd52ce507bd49ce74d2b7c12c323e8db863bccb924e6d632b568db8b243361b217c5b2e1d92a25feb6e62dec ide_links b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a usbdev diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf index 9099b97d7e..5285139b53 100644 --- a/main/busybox-initscripts/mdev.conf +++ b/main/busybox-initscripts/mdev.conf @@ -100,8 +100,9 @@ dvb.* root:video 0660 */lib/mdev/dvbdev usb[0-9]+ root:root 0660 */lib/mdev/usbdev # net devices -net/tun[0-9]* root:netdev 0660 -net/tap[0-9]* root:netdev 0660 +# 666 is fine: https://www.kernel.org/doc/Documentation/networking/tuntap.txt +net/tun[0-9]* root:netdev 0666 +net/tap[0-9]* root:netdev 0666 # zaptel devices zap(.*) root:dialout 0660 =zap/%1 |