summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-09 16:05:33 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-09 16:05:33 +0200
commit7eb00d239c67893a1a553e985ad25891b91e9494 (patch)
tree0619962ab190a94e235a9155eae023efce6d5abd /www-servers
parentnet-im/prosody: Fix broken bitops dep for v0.10.0 (diff)
downloadgentoo-7eb00d239c67893a1a553e985ad25891b91e9494.tar.gz
gentoo-7eb00d239c67893a1a553e985ad25891b91e9494.tar.bz2
gentoo-7eb00d239c67893a1a553e985ad25891b91e9494.zip
www-servers/caddy: Version bump to 0.10.10
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/caddy/Manifest1
-rw-r--r--www-servers/caddy/caddy-0.10.10.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/www-servers/caddy/Manifest b/www-servers/caddy/Manifest
index 8825545c2de8..b43b5253d2a7 100644
--- a/www-servers/caddy/Manifest
+++ b/www-servers/caddy/Manifest
@@ -1 +1,2 @@
+DIST caddy-0.10.10.tar.gz 2706112 SHA256 aafaeb092e7b1bcff8ec31f19a1ded1253ff95cfdd4441378e5a530508614e8d SHA512 78152e01739ffbe6d36f5d10cab92ad0d112242d679064199c271c20fd22c24f8d51ed884ddef6d80291d15d41d4620d6431e9a6fb0e8c0eab66cc50d57d5b0d WHIRLPOOL a08be3aec673cfffb7ca5047247f35cee2cc96e9aa747ba6dce31dfbf36a0be3039781159d4b330f3ca2f1e6c2f85013038d6f73a94d9fb94fa2418a05cb3734
DIST caddy-0.10.9.tar.gz 2695894 SHA256 be70a4324e3f6cd4da5e379b31562d07f40f6e39439c7274d4bb94fe482b86e4 SHA512 dc61a059f1e1abacdf1e2baa154b4c53e68e32d27dabc9bf17157d5a54d92e0976539a90ebe9ba74f9f726660f17610dfa938f715b2466d3e4db514b1104098d WHIRLPOOL 0a29f2eaaf9babadcf7478d6e315e54c280c9ea14e839bc675a65fa6217d763b8e8d441d7bf73f0e7c443cb2ab93b1bd421a932ab5488872b1e5032d1b27c2cb
diff --git a/www-servers/caddy/caddy-0.10.10.ebuild b/www-servers/caddy/caddy-0.10.10.ebuild
new file mode 100644
index 000000000000..28d63e7aab2d
--- /dev/null
+++ b/www-servers/caddy/caddy-0.10.10.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 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
+}