aboutsummaryrefslogtreecommitdiffstats
path: root/main/uwsgi
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-02-22 22:59:01 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-02-22 23:01:31 +0100
commite4bd91aed9afc74a7d4cb97debda0d09f82b7d4d (patch)
treeb9dc363303903cfc03495617f867762c01a3c603 /main/uwsgi
parent7b8d41699ae88a726e7203d0ba67c025e4ae5169 (diff)
downloadaports-e4bd91aed9afc74a7d4cb97debda0d09f82b7d4d.tar.bz2
aports-e4bd91aed9afc74a7d4cb97debda0d09f82b7d4d.tar.xz
main/uwsgi: fix config files perms, explicitly set perms for all
/etc/uwgi/uwsgi.ini and /etc/uwsgi/conf.d/readme.emperor had executable bit.
Diffstat (limited to 'main/uwsgi')
-rw-r--r--main/uwsgi/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/uwsgi/APKBUILD b/main/uwsgi/APKBUILD
index 6610efc3f8..3e02674fb3 100644
--- a/main/uwsgi/APKBUILD
+++ b/main/uwsgi/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=uwsgi
pkgver=2.0.14
-pkgrel=4
+pkgrel=5
pkgdesc="uWSGI application container server"
url="http://projects.unbit.it/uwsgi/"
arch="all"
@@ -166,13 +166,13 @@ _build() {
package() {
cd "$builddir"
- install -D uwsgi \
+ install -m 755 -D uwsgi \
"$pkgdir"/usr/sbin/uwsgi || return 1
- install -D "$srcdir"/readme.emperor \
+ install -m 644 -D "$srcdir"/readme.emperor \
"$pkgdir"/etc/uwsgi/conf.d/readme.emperor || return 1
- install -D "$srcdir"/uwsgi.ini \
+ install -m 644 -D "$srcdir"/uwsgi.ini \
"$pkgdir"/etc/uwsgi/uwsgi.ini || return 1
- install -Dm755 "$srcdir"/uwsgi.initd \
+ install -m 755 -D "$srcdir"/uwsgi.initd \
"$pkgdir"/etc/init.d/uwsgi || return 1
# Disable emutramp/mprotect, this is needed for luajit and cffi.
@@ -186,7 +186,7 @@ _plugin() {
depends="uwsgi"
cd "$builddir"
- install -D ${name}_plugin.so \
+ install -m 755 -D ${name}_plugin.so \
"$subpkgdir"/usr/lib/uwsgi/${name}_plugin.so || return 1
}