summaryrefslogtreecommitdiff
path: root/dev-util/drone
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest11
-rw-r--r--dev-util/drone/drone-0.8.3.ebuild52
2 files changed, 59 insertions, 4 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index f442895d8a45..15eb8b289b4c 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -5,11 +5,14 @@ AUX drone-server.initd 455 BLAKE2B 73d173c4fb2c53826d6f0f9395a18dfc9802c01f23c28
AUX drone.confd 1238 BLAKE2B efa7a96761fb7f57ce2d34396dce7c3fafc12942e45603bd89334e16f99f81c35d9334a7db14de7f42bfcedca34577d0c60430cf8470c843cf736e77d1065e87 SHA512 bbe3944eca8d82afd3161f53d9359422b2fb8985e69facd781a81f1c55ec647e8647f0fffc284375dc091b15ab5d665669cd6a2818ff62f4afe255e0a22a21cc
AUX drone.initd 472 BLAKE2B ad8966d5703fe092d3fb3b7e34344c092bf3a221945405f34329d936052c435d4f68537c1f6ec889e35d1b989dc5b395dc77bcdcf224d8159eabdb12d327782f SHA512 54b4ef6943a018c0d194658c267bda50c51b2594aaab1d25350d512e50ec5136eb5bc6249f22d1b3e055574848bd50025a6158b1e02bd89da8213611ac41a16d
DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f
-DIST drone-0.8.2.tar.gz 4758508 SHA256 db1469def1a102f3130eac4278e0e1d10d12dc66955077259c386535c884a829 SHA512 3bec1b93210349e7c82386b5e16c04c458987633dc56493d52741dcdd6d3887f3f2db454f1e18c4cb71f455eadc7232cd1f089118880a70be53eefbf8203f5d5 WHIRLPOOL 276a30788acbf86982a9836d381840fae9bda841dcb3c5e6be8a3cfc3b057a0a2432beaec95f38b0b1465357032a9528fe2f1244714141ca7a617c8edac68b97
+DIST drone-0.8.2.tar.gz 4758508 BLAKE2B f5fa4617a9596d3bd7d03a031f78bce46991200612e8bf6008756ca42ced6e562165a488dc1f3a4c15ec39317a5166966a498c38fe19a146a62721c09c2c0214 SHA512 3bec1b93210349e7c82386b5e16c04c458987633dc56493d52741dcdd6d3887f3f2db454f1e18c4cb71f455eadc7232cd1f089118880a70be53eefbf8203f5d5
+DIST drone-0.8.3.tar.gz 4758661 BLAKE2B 39b08d77921a1acec9834881d08ab2f64a0cf752a90f5cfdca80a5cd276de79bbac9d2815c5d013fb08ae9250076efe213a950b00f5a111022050c41beb3b841 SHA512 f11f0a00ad4cc4071f32275a8e2721e4a2d1bab4ad6b3ae796ea2fd9f838d31e3c9c88dbbf365e1f09b8540e1b6559fdd3ed75d5b662496c528a30e4ba6e11d1
DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de
-DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 SHA256 275fa3c0357eb926833f5a26b1ea368c9648692836cfa681b0ece2e16f7d4dd7 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798 WHIRLPOOL f510f892d65f772a39e8124982dea5907d054e2a2cf5c89e008f2f1edd1c8d7ba96c068796917e7b0529869add5cd6bb07da15c0b6a1265fbbeb990e852719fa
-DIST github.com-golang-net-9dfe39835686865bff950a07b394c12a98ddc811.tar.gz 926294 SHA256 4f8800a39f9972bf081fc3e429fb5e8e11885d4d8dbcc77369a8dc69c25d5ec1 SHA512 038f90bb667b63228b554066fd1efd608eb24615b549cea40314761022e0d0a775d268b6ac9072ad50b83e162467f8280f16b3d8fcd83c9bdace509279f3823f WHIRLPOOL 311a7e20234c25d5f022eeffdbc1f463135546958a55aa5423e43cf24aa777f0509d00656c39d63ce58b7c0e2ec5a3daf982ff6747774b03bc7352210f1b437c
-DIST github.com-golang-protobuf-1e59b77b52bf8e4b449a57e6f79f21226d571845.tar.gz 268477 SHA256 705b8b16ed83d86673bee31a04d865416eeefa3f5ad31e0b0a68c83e9779c06a SHA512 07de72078a66528d864da78c88be36351cf79be5235ec9f4ed1d71061a56b9b216fd29984ccfb2a610223a86b80aba2b9ca28a0d36fc2346b23070e25e72e29b WHIRLPOOL ae596793c0e983cc4f2aae9e4c066e7c91d24e8020e67c694da724b8f94a04794b4d1e74dd0eb114cce0291d0a9a40287ef71a3c9e8e55a853ab5cbdbfd79524
+DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 BLAKE2B 6ecf7a24405d5881a6dae751a77bcc0a41f2e4d01e8166a1edd92f7d4bc4e7a1ab1fa310765ded55068d20d3a4abdd1c2f54f15fc42ca17756e7fd89b43f1b96 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798
+DIST github.com-golang-net-9dfe39835686865bff950a07b394c12a98ddc811.tar.gz 926294 BLAKE2B 873eddc079f9891d3c72c865ac7f496ebea25b6fc2d4cf935f61ac2e422c04e1f8883dd0e9b97e359257c554d8986625a52015c2da2a8a93da4ce4204f858b50 SHA512 038f90bb667b63228b554066fd1efd608eb24615b549cea40314761022e0d0a775d268b6ac9072ad50b83e162467f8280f16b3d8fcd83c9bdace509279f3823f
+DIST github.com-golang-net-a8b9294777976932365dabb6640cf1468d95c70f.tar.gz 930031 BLAKE2B af7aec68203e6226d8c4472a00f2b1c775000de3130f9239fb5511e4092a91cc3d8f9ea65ee35a5b4f063806a3b7eabbb9dc13f5040895ef74afa01f54d76bdd SHA512 ad71e5c2f7e4877eae6a8ecd0e49a2e3cc4836f29ac14838624878237199f7a0739110bfede44eb0fa3bfa43b26b4bacffea7951caf41e4ba82fb71a1c279681
+DIST github.com-golang-protobuf-1e59b77b52bf8e4b449a57e6f79f21226d571845.tar.gz 268477 BLAKE2B af1775f715a7c8434fe46872d8edf75241c851fb93e1e3f888c5fa1b603397e68c3878c9c69afe618ff1b7ae3d0c219ec96b8648af2fd2c2c9424a33f1710a2e SHA512 07de72078a66528d864da78c88be36351cf79be5235ec9f4ed1d71061a56b9b216fd29984ccfb2a610223a86b80aba2b9ca28a0d36fc2346b23070e25e72e29b
EBUILD drone-0.7.3.ebuild 1406 BLAKE2B 857aef910f1354aed8dfec202e7c404da7eea3f9048df6086853a062436a5a6463b24664ab556a9d3f3bb3297a0ae9c76d21895475e3c29e9257ce3543a17c70 SHA512 26edd24f0e66e13a3f397cac24b14c0ee0237ead70fa8204f7b2a76aa0495670a9783b7dddc7d363c778f2d973fb5bc6c75dcb61c8fc9359ee168a2d3356b0df
EBUILD drone-0.8.2.ebuild 1806 BLAKE2B a6a17b3d445045ddc33a1bb21d0bd62634bba73795596cfa3b4b2b1d677364776d394fc72447fe112e49775f8e8d1b75bbbac870ff4cd1be374d453ccc08cad1 SHA512 4f33e00b716668793d6f0e5f76d2e74ae1b1e14686e5b24513049cd9e33f25dd546c8a74ea23160c7ed2d3b69193f36d9f18ef2dae6dee2032f1c1365087c282
+EBUILD drone-0.8.3.ebuild 1806 BLAKE2B 8bdf7e123e65cdad8a4cad6aa41856a8415df87da7f7e33dbf2322ce99fde9117e23838ff115ff2a9314e7b67439556d2816ee02fe1b1f22b3f26f8cfa8d9b7d SHA512 c95ec0231c57c6d61ab339aa0f441d70607bf24fdbb0122630c4993cf590d17ca765a91aa118ee854156538ddff8b0bb30dbabf25cbc54ebcfc29e05ab8be86f
MISC metadata.xml 321 BLAKE2B 7e3819d8553451b8b4938040d4e25afd6a1b456c16ad7366b648274cb84a5a694f9a8d88f125023298d5e7e8f098de3c233d397cad44682813fca82329f55e5a SHA512 01b1dd14592873025099119b28c840eefa31d098e77de1e8e26ecc6894dad73778e4eb8d4df6232a2a444bc906057e8d7f853ecdc1f3091cdd27a43c19d8b950
diff --git a/dev-util/drone/drone-0.8.3.ebuild b/dev-util/drone/drone-0.8.3.ebuild
new file mode 100644
index 000000000000..3053f1715725
--- /dev/null
+++ b/dev-util/drone/drone-0.8.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/drone/drone"
+EGIT_COMMIT="3daf6797ab6378d4a27b9fb1d4877e3a55a6c922"
+EGO_VENDOR=( "github.com/drone/drone-ui cc079b1279f70e54f64cf0c14e1e531b6689232b"
+ "github.com/golang/protobuf 1e59b77b52bf8e4b449a57e6f79f21226d571845"
+ "golang.org/x/net a8b9294777976932365dabb6640cf1468d95c70f github.com/golang/net"
+ )
+
+inherit golang-build golang-vcs-snapshot user
+
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go"
+HOMEPAGE="https://github.com/drone/drone"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/go-bindata
+ dev-go/go-bindata-assetfs:="
+
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/drone ${PN}
+}
+
+src_compile() {
+ pushd src || die
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-server ${EGO_PN}/cmd/drone-server || die
+ GOPATH="${WORKDIR}/${P}" go build -ldflags "-X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-agent ${EGO_PN}/cmd/drone-agent || die
+ popd || die
+}
+
+src_install() {
+ dobin src/release/drone-{agent,server}
+ dodoc src/github.com/drone/drone/README.md
+ keepdir /var/log/drone /var/lib/drone
+ fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone
+ newinitd "${FILESDIR}"/drone-server.initd drone-server
+ newconfd "${FILESDIR}"/drone-server.confd drone-server
+ newinitd "${FILESDIR}"/drone-agent.initd drone-agent
+ newconfd "${FILESDIR}"/drone-agent.confd drone-agent
+}