aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-18 13:56:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-18 13:56:56 +0000
commitd36045ec2d54bba93140a56c2382256dcfa44e16 (patch)
treeba17dce94f33d1a89ba2129a9bef1adff80e0018 /main
parente846fdda4eb9806c36115bd24242c2d5cef4eb98 (diff)
downloadaports-d36045ec2d54bba93140a56c2382256dcfa44e16.tar.bz2
aports-d36045ec2d54bba93140a56c2382256dcfa44e16.tar.xz
main/wpa_supplicant: fix config permissions
ref #5592
Diffstat (limited to 'main')
-rw-r--r--main/wpa_supplicant/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/wpa_supplicant/APKBUILD b/main/wpa_supplicant/APKBUILD
index d72cfafefb..e1cc00dce1 100644
--- a/main/wpa_supplicant/APKBUILD
+++ b/main/wpa_supplicant/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wpa_supplicant
pkgver=2.5
-pkgrel=1
+pkgrel=2
pkgdesc="A utility providing key negotiation for WPA wireless networks"
url="https://w1.fi/wpa_supplicant/"
arch="all"
@@ -61,7 +61,7 @@ package() {
# dbus
cd dbus || return 1
install -d "$pkgdir"/etc/dbus-1/system.d
- install dbus-wpa_supplicant.conf \
+ install -m644 dbus-wpa_supplicant.conf \
"$pkgdir"/etc/dbus-1/system.d/wpa_supplicant.conf || return 1
install -d "$pkgdir"/usr/share/dbus-1/system-services
install fi.epitest.hostap.WPASupplicant.service \
@@ -69,7 +69,7 @@ package() {
install -d "$pkgdir"/var/run/wpa_supplicant
install -Dm755 "$srcdir"/wpa_supplicant.initd \
"$pkgdir"/etc/init.d/wpa_supplicant || return 1
- install -Dm755 "$srcdir"/wpa_supplicant.confd \
+ install -Dm644 "$srcdir"/wpa_supplicant.confd \
"$pkgdir"/etc/conf.d/wpa_supplicant || return 1
}