diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-09 00:01:45 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-09 00:01:45 +0200 |
commit | 1697e91d7660982fe701a3432bf5a62ecc70e8c4 (patch) | |
tree | b096dbc5f895c9c53abdebf9ef87ee59f219967f /www-servers | |
parent | app-emulation/docker: Remove old (diff) | |
download | gentoo-1697e91d7660982fe701a3432bf5a62ecc70e8c4.tar.gz gentoo-1697e91d7660982fe701a3432bf5a62ecc70e8c4.tar.bz2 gentoo-1697e91d7660982fe701a3432bf5a62ecc70e8c4.zip |
www-servers/caddy: Version bump to 0.10.7
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/caddy/Manifest | 1 | ||||
-rw-r--r-- | www-servers/caddy/caddy-0.10.7.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/www-servers/caddy/Manifest b/www-servers/caddy/Manifest index b71ddeeb04b5..724f938d7784 100644 --- a/www-servers/caddy/Manifest +++ b/www-servers/caddy/Manifest @@ -1 +1,2 @@ DIST caddy-0.10.6.tar.gz 2671165 SHA256 89c0276bfbb85bd1a42af9eded31b8e16851555decf34cfd53d86215ef2cfd06 SHA512 21c72ff1f018467104059533bc9ced765b1bf3a625e180907781c190c34fb62cf1f58a7bbec26a71bf4a2ce89fa228e0c4f9a0b3f10af4928fd5b2cdd5980edd WHIRLPOOL a36c304dc8882c7f816ca04ecc5309b6f2bac59c9368e57528b7b3dc95964585ffb739865197b8f2d36689f45d1c5282b9d4eba0958088fa1b8045c92c0cd0ad +DIST caddy-0.10.7.tar.gz 2680089 SHA256 5693045653e15f92f28ce944690162a4897079b7e98d3c9c46e0907d08049ad6 SHA512 ef580c3e5e04cb42a05aef037e70b670abcb484fa9b82f2fb84a0bbdb059af7c5cdb99349f6d728e43ce2562c1f8eccf16e00d7552e45dce52c75ef1c62dad16 WHIRLPOOL 678e0e4948ec29aa3c2d81562b79a3792b472a39dad31ba371a865a182355794c5d1fe25100ee99ea21fa1dd0e6e3aa7ee5ea4112f83a6472fcb3dd8ecf26c10 diff --git a/www-servers/caddy/caddy-0.10.7.ebuild b/www-servers/caddy/caddy-0.10.7.ebuild new file mode 100644 index 000000000000..28d63e7aab2d --- /dev/null +++ b/www-servers/caddy/caddy-0.10.7.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 +} |