summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-02-21 15:32:51 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-02-21 15:32:51 +0100
commitc8f8347f2c4c0e98bf7657d8337401b50c528677 (patch)
tree9959aa1504bf11be1e1e4c87281580664acd0cb9 /www-servers/caddy
parentdev-python/path-py: Bump to 10.3.1 (diff)
downloadgentoo-c8f8347f2c4c0e98bf7657d8337401b50c528677.tar.gz
gentoo-c8f8347f2c4c0e98bf7657d8337401b50c528677.tar.bz2
gentoo-c8f8347f2c4c0e98bf7657d8337401b50c528677.zip
www-servers/caddy: Version bump to 0.10.11
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-servers/caddy')
-rw-r--r--www-servers/caddy/Manifest1
-rw-r--r--www-servers/caddy/caddy-0.10.11.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/www-servers/caddy/Manifest b/www-servers/caddy/Manifest
index af21f8146727..b998345d17db 100644
--- a/www-servers/caddy/Manifest
+++ b/www-servers/caddy/Manifest
@@ -1,2 +1,3 @@
DIST caddy-0.10.10.tar.gz 2706112 BLAKE2B 23ba725f3e8530233bc604b8f16342782c349b58bc78db49412fe72885a872a200407e3b27d5c28b24c5d0e286cbb2886d9ea54d0c034839cd04075366024a17 SHA512 78152e01739ffbe6d36f5d10cab92ad0d112242d679064199c271c20fd22c24f8d51ed884ddef6d80291d15d41d4620d6431e9a6fb0e8c0eab66cc50d57d5b0d
+DIST caddy-0.10.11.tar.gz 2860871 BLAKE2B 9050ee76a325c5ae183dcafec05b0d234a1308103f617908ec31a2bd8c3ce55c8d9ced9e30a36d616ff2c6f1581e1496bed4379a6f1ba3d0b5e7f9242edfabf8 SHA512 03539ae59f654d56ad0b441e7f67eb51135b1ffd539f9eb5953445089e72d3eab905ad9b08b001ef27e5054b760887a898b89ea85b48b4f852398b073e6e4924
DIST caddy-0.10.9.tar.gz 2695894 BLAKE2B db6ecb92b199a28df730ceb17c17eb6ec7a61322df484d6962aface9fc18032aa454ec235acf3709ab33f05c615d1dc02c81350bbddf97711384293298bcb1b0 SHA512 dc61a059f1e1abacdf1e2baa154b4c53e68e32d27dabc9bf17157d5a54d92e0976539a90ebe9ba74f9f726660f17610dfa938f715b2466d3e4db514b1104098d
diff --git a/www-servers/caddy/caddy-0.10.11.ebuild b/www-servers/caddy/caddy-0.10.11.ebuild
new file mode 100644
index 000000000000..90366d4aca4c
--- /dev/null
+++ b/www-servers/caddy/caddy-0.10.11.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/mholt/${PN}"
+
+inherit golang-build golang-vcs-snapshot
+
+EGIT_COMMIT="v${PV}"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Fast, cross-platform HTTP/2 web server with automatic HTTPS"
+HOMEPAGE="https://github.com/mholt/caddy"
+
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}" go install -ldflags "-X github.com/mholt/caddy/caddy/caddymain.gitTag=${PV}" ${EGO_PN}/caddy || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc src/${EGO_PN}/README.md src/${EGO_PN}/dist/CHANGES.txt
+}