mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
caddy: update to 0.11.2.
This commit is contained in:
parent
5f00419cb5
commit
496737a919
2 changed files with 7 additions and 12 deletions
9
srcpkgs/caddy/files/caddy/run
Executable file → Normal file
9
srcpkgs/caddy/files/caddy/run
Executable file → Normal file
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
export CADDYPATH=/var/lib/caddy
|
||||||
CADDYPATH="/var/lib/caddy"
|
|
||||||
export CADDYPATH
|
|
||||||
|
|
||||||
mkdir -p "$CADDYPATH"
|
|
||||||
chmod 0700 "$CADDYPATH"
|
|
||||||
chown caddy:caddy "$CADDYPATH"
|
|
||||||
|
|
||||||
cd /etc/caddy
|
cd /etc/caddy
|
||||||
exec chpst -o 8192 -u caddy caddy
|
exec chpst -o 8192 -u caddy caddy
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'caddy'
|
# Template file for 'caddy'
|
||||||
pkgname=caddy
|
pkgname=caddy
|
||||||
version=0.11.1
|
version=0.11.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/mholt/caddy
|
go_import_path=github.com/mholt/caddy
|
||||||
go_package="${go_import_path}/caddy"
|
go_package="${go_import_path}/caddy"
|
||||||
|
@ -11,10 +11,12 @@ maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://caddyserver.com"
|
homepage="https://caddyserver.com"
|
||||||
distfiles="https://github.com/mholt/caddy/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mholt/caddy/archive/v${version}.tar.gz"
|
||||||
checksum=e24ddb1690a265fb3c40efa5bc720964b85b9d2cad8d994ee4ed6271761984bf
|
checksum=61779a09959bf6a0e7007e8ff5c2a94811dd12b7628166cb31e9648a97c0e75b
|
||||||
|
|
||||||
system_accounts="caddy"
|
system_accounts="caddy"
|
||||||
make_dirs="/etc/caddy 0700 caddy caddy"
|
make_dirs="
|
||||||
|
/etc/caddy 0700 caddy caddy
|
||||||
|
/var/lib/caddy 0700 caddy caddy"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv caddy
|
vsv caddy
|
||||||
|
|
Loading…
Add table
Reference in a new issue