diff --git a/srcpkgs/caddy/INSTALL b/srcpkgs/caddy/INSTALL new file mode 100644 index 0000000000..5eaa8fe062 --- /dev/null +++ b/srcpkgs/caddy/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap CAP_NET_BIND_SERVICE=+ep usr/bin/caddy + ;; +esac diff --git a/srcpkgs/caddy/template b/srcpkgs/caddy/template new file mode 100644 index 0000000000..10661880ea --- /dev/null +++ b/srcpkgs/caddy/template @@ -0,0 +1,14 @@ +# Template file for 'caddy' +pkgname=caddy +version=0.10.4 +revision=1 +build_style=go +go_import_path="github.com/mholt/caddy" +go_package="${go_import_path}/caddy" +makedepends="git" +short_desc="Fast, cross-platform HTTP/2 web server with automatic HTTPS" +maintainer="Dominic Monroe " +license="Apache-2.0" +homepage="https://caddyserver.com" +distfiles="https://github.com/mholt/caddy/archive/v${version}.tar.gz" +checksum=411e6bf10520e938712887a31f2132bfd19e2c79543e7aef158f7c77d03ae2bf