main/apache2: add www-data group if its missing

ref #2245
This commit is contained in:
Natanael Copa 2013-10-28 10:47:53 +00:00
parent e15798a474
commit 71f74b583d
2 changed files with 7 additions and 1 deletions

View File

@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apache2
pkgver=2.4.6
pkgrel=1
pkgrel=2
pkgdesc="A high performance Unix-based HTTP server"
url="http://httpd.apache.org/"
arch="all"
license="APACHE"
depends=""
install="$pkgname.pre-upgrade"
pkgusers="apache"
pkggroups="apache"
makedepends="openssl-dev zlib-dev apr-util-dev apr-dev pcre-dev sed lua-dev

View File

@ -0,0 +1,5 @@
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup apache www-data 2>/dev/null
exit0