diff options
author | Thomas Fanninger | 2016-09-29 17:03:28 +0200 |
---|---|---|
committer | Andreas Linz | 2016-09-29 18:26:21 +0200 |
commit | 68c914ab36e9125563888c4231bd88c8d814fb87 (patch) | |
tree | 089b461511922537a4ab61bc0fddcc0a897daec5 | |
parent | 58cf2b8275c3f999421d52b07cd80b02a4929935 (diff) | |
download | aur-68c914ab36e9125563888c4231bd88c8d814fb87.tar.gz |
Update PKGBUILD version
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | caddy-full-bin.install | 4 |
3 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Sep 29 14:59:33 UTC 2016 +# Thu Sep 29 15:03:11 UTC 2016 pkgbase = caddy-full-bin pkgdesc = A configurable, general-purpose HTTP/2 web server for any platform (All features enabled) pkgver = 0.9.3 - pkgrel = 4 + pkgrel = 5 url = https://caddyserver.com install = caddy-full-bin.install arch = i686 @@ -1,3 +1,4 @@ +# Contributor: Thomas Fanninger <thomas@fanninger.at> # Maintainer: Andreas Linz <alinz@klingt.net> # Based on `caddy=all-features` by Eric Engestrom: https://aur.archlinux.org/packages/caddy-all-features/ # Enable Cross Origin Resource Sharing @@ -9,7 +10,7 @@ _features=('awslambda' 'cors' 'filemanager' 'git' 'hugo' 'ipfilter' 'jwt' 'local pkgname=caddy-full-bin _realname=caddy pkgver=0.9.3 -pkgrel=4 +pkgrel=5 pkgdesc="A configurable, general-purpose HTTP/2 web server for any platform (All features enabled)" arch=('i686' 'x86_64' 'armv7h' 'aarch64') url="https://caddyserver.com" diff --git a/caddy-full-bin.install b/caddy-full-bin.install index abafe456684f..4d810ad9c9c4 100644 --- a/caddy-full-bin.install +++ b/caddy-full-bin.install @@ -8,14 +8,14 @@ pre_upgrade() { post_upgrade() { systemctl daemon-reload - if [ $(vercmp $2 0.9.3-4) -lt 0 ]; then + if [ $(vercmp $2 0.9.3-5) -lt 0 ]; then userdel -r -f www-data groupdel www-data chown -R http:http /etc/ssl/caddy echo "Migration guide for caddy <0.9: https://github.com/klingtnet/caddy-AUR/blob/master/README.md" - echo "With the package level 0.9.3-4 the caddy user is changed from 'www-data' to 'http'." + echo "With the package level 0.9.3-5 the caddy user is changed from 'www-data' to 'http'." echo "You need to update the right for your caddy web directory with 'chown -R http:http <web-root>'" fi } |