aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-01 18:56:45 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-01 18:18:42 +0000
commit035f1e687d1b006633257ae9dcfc80e056b84c08 (patch)
treebc482b04d593cc38835d6ec61e79e67d8a0dbec9
parentf9dbe36405c236b51c640ef3a59f0f14baeee18d (diff)
downloadaports-035f1e687d1b006633257ae9dcfc80e056b84c08.tar.gz
aports-035f1e687d1b006633257ae9dcfc80e056b84c08.tar.bz2
aports-035f1e687d1b006633257ae9dcfc80e056b84c08.tar.xz
main/apache2: modernize
-rw-r--r--main/apache2/APKBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD
index 535a4753bd..612926b3ac 100644
--- a/main/apache2/APKBUILD
+++ b/main/apache2/APKBUILD
@@ -8,25 +8,24 @@ pkgdesc="A high performance Unix-based HTTP server"
url="https://httpd.apache.org/"
arch="all"
license="Apache-2.0"
-depends=""
install="$pkgname.pre-install $pkgname.pre-upgrade"
pkgusers="apache"
pkggroups="apache"
makedepends="apr-dev apr-util-dev autoconf automake libxml2-dev lua-dev
- nghttp2-dev openssl-dev pcre-dev sed zlib-dev"
+ nghttp2-dev openssl-dev pcre-dev sed zlib-dev"
subpackages="$pkgname-ctl
- $pkgname-dev
- $pkgname-doc
- $pkgname-error:_error:noarch
- $pkgname-http2
- $pkgname-icons::noarch
- $pkgname-ldap
- $pkgname-lua:_lua
- $pkgname-proxy-html:proxy_html
- $pkgname-proxy
- $pkgname-ssl
- $pkgname-utils
- $pkgname-webdav"
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-error:_error:noarch
+ $pkgname-http2
+ $pkgname-icons::noarch
+ $pkgname-ldap
+ $pkgname-lua:_lua
+ $pkgname-proxy-html:proxy_html
+ $pkgname-proxy
+ $pkgname-ssl
+ $pkgname-utils
+ $pkgname-webdav"
source="https://archive.apache.org/dist/$_pkgreal/$_pkgreal-$pkgver.tar.bz2
apache2.confd
apache2.logrotate
@@ -95,8 +94,6 @@ builddir="$srcdir"/$_pkgreal-$pkgver
# - CVE-2017-7679
prepare() {
- cd "$builddir"
-
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$(basename $i);;
@@ -107,7 +104,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--enable-layout=Alpine \
@@ -152,7 +148,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
# config