Commit a9566e70 authored by Linux User's avatar Linux User Committed by Kevin Daudt
Browse files

community/caddy: upgrade v2.1.1

parent 46fb141b
Pipeline #28651 failed with stages
in 1 minute and 43 seconds
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Chloe Kudryavtsev <toast@toastin.space>
pkgname=caddy
pkgver=1.0.4
pkgrel=3
pkgver=2.1.1
pkgrel=0
pkgdesc="Fast, cross-platform HTTP/2 web server with automatic HTTPS"
url="https://caddyserver.com/"
arch="all !s390x"
......@@ -37,7 +37,7 @@ prepare() {
build() {
GO111MODULE=on go build -v -o bin/caddy -ldflags \
"-X github.com/mholt/caddy/caddy/caddymain.gitTag=$pkgver" \
./caddy
./cmd/caddy
}
check() {
......@@ -71,7 +71,7 @@ cleanup_srcdir() {
default_cleanup_srcdir
}
sha512sums="49dae9c0965000ba1cf36a6148ff78718383a511d671fb73edc3b08e4219db0a9902fc70e40bcbb13ffa7afaa520fd1e6303ea3776059de04085896c018d9c02 caddy-1.0.4.tar.gz
sha512sums="4359935f4267ada37e0ab2f3c3daeb30cb1853b03a11f988e0f25716ba385d90237d76334b66a66f914bc21b3b36bbc5112e572f17a9453a865c088013ad4ca6 caddy-2.1.1.tar.gz
1fbab66fbc913f194a94eee6e60e218fcc762b9467258ff22eed43dc98664692f2f2525226068fe3ca101cfe5b6727f16774c2a49c575abb83782416680f399a caddy.initd
7808688e92ab9950403a9b8ad29777f5bd0f75aa8cccc1d49958bb1e5af1b972dfba0c6d31931354f702a3a13933d0a1b8f28b82eed263773d71b79ec95cc15c caddy.confd
c24805d17234e6cf40fe1dd102c03f05cf6129d43f58f5567d540a0e4400ce89994820bb0e317f611c65459ae26bcf7110e23a8fecaae11ca78a561892b45d75 caddy.conf"
# caddy options file
CADDY_OPTS="-conf /etc/caddy/caddy.conf -agree"
CADDY_CONFIG="/etc/caddy/caddy.conf"
CADDY_OPTS="run -config $CADDY_CONFIG"
......@@ -15,7 +15,7 @@ depend() {
checkconfig() {
ebegin "Checking configuration for $RC_SVCNAME"
su -s /bin/sh ${command_user%:*} -c "$command $command_args -validate"
su -s /bin/sh ${command_user%:*} -c "$command validate -config $CADDY_CONFIG"
eend $?
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment