summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-03-23 01:25:17 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-03-23 01:25:46 -0500
commit5774572bc167e50ef7a9c14f00ae1476435b0534 (patch)
tree1d679f9c109053199a79572decae453adc98a6be /dev-util/drone
parentgnome-base/gnome-settings-daemon: Version bump to 42.1 (diff)
downloadgentoo-5774572bc167e50ef7a9c14f00ae1476435b0534.tar.gz
gentoo-5774572bc167e50ef7a9c14f00ae1476435b0534.tar.bz2
gentoo-5774572bc167e50ef7a9c14f00ae1476435b0534.zip
dev-util/drone: add 2.11.1
Closes: https://bugs.gentoo.org/781302 Closes: https://bugs.gentoo.org/688382 Closes: https://bugs.gentoo.org/679216 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest2
-rw-r--r--dev-util/drone/drone-2.11.1.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index 067291ed15ba..c4e8bf3a5fc5 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,4 +1,6 @@
DIST drone-0.8.9.tar.gz 4767398 BLAKE2B 7c32f01a692e1a29e8b2e602a804bea3997efe01257f2fe5aa39f8d7f321f42f714b909a470f2ec7ee6d69bfdc2f06f75cb990e98769502b68725adc43ebd579 SHA512 97b773356bb770a8ca060e4696ba0d288a7204d0cffd966d1124a71ec1110981ac7cdce9ce4df04b8ce33faa745f853d59502b0bce5fc708435379924e3850ac
+DIST drone-2.11.1-deps.tar.xz 135830428 BLAKE2B 8b1c42d6ebf445477018bb58776eea8b0d5133a99efc4fc366314c2985e534303d20fec704dcd6799bd6a050bf89f8d3a18e00c8030e4bc5211733827327047f SHA512 ae0b21475d716ceeddf44e449958d678e81a00b85cca71262e7093971b35a4432d0ae7252ffce561f76b19de7f71cb6798804de3f63dd832ed24d8fdf57800f4
+DIST drone-2.11.1.tar.gz 311271 BLAKE2B 319a04ca2fac7d43bfc86a94a6008d07aa2565967b849f824f4a9be688d629e2b41ad98cd8319549687c842545af12260daa435e29dc1d394fa22708bdb5970a SHA512 f782427321ed990f503041ed4a4a692133f89797a16453f4238648cbd8b924bc3fb473e991668f3cba8bde0dcf87c79a5a11c02c4dfe738dd82e94009f95a685
DIST github.com-drone-drone-ui-e7597b5234814a2c2f2a7f489b631a76649c335a.tar.gz 230464 BLAKE2B 23641867938e85a716a8628209892861578d519e49b9e3aa70e08d9099b4628a744e5bb8bb3f622640ef1438eac50df21b5c32064328165c4aafc2496ca54361 SHA512 6f997ec14fa59859436ed995d52cce2105abab5aceca21c6740869c651078f1ffdcaff8b5a117d624d624cf47382f89824f7868dd8e8df3598d6e632db341212
DIST github.com-golang-net-9b4f9f5ad5197c79fd623a3638e70d8b26cef344.tar.gz 968084 BLAKE2B d89bb8a09a497dd0adc2819e1c5e70b8c5bf4f3ff50bdb0b2f1293659cf6e01e8b97f4b8da310759d227371ec58b54749e41be02bce879b3bb6aa92dc08ab160 SHA512 894362dcc231ff03c9424d26eaa5260c1655c0add30df10ccbccafcc345bd40e127338703a776b9b8981f9869677b105771f349f5d4fff0da5b2c351af797821
DIST github.com-golang-protobuf-aa810b61a9c79d51363740d207bb46cf8e620ed5.tar.gz 332903 BLAKE2B b05fa3e3316bd6adbad623ab239795172ee70c38380873ee52a32c10f8f3e750c26b27fc43da4a290d82eda5723fd56063bffe01fdedb2d3a65bf5349abdb376 SHA512 80407835aef3553f655c35e89aa884038c90a3667460af1db60b069ae31e870efc59d6907743ee080d85e167c20d778440b9a6d19ff79f9055bc666c8314fe30
diff --git a/dev-util/drone/drone-2.11.1.ebuild b/dev-util/drone/drone-2.11.1.ebuild
new file mode 100644
index 000000000000..09dea1a22a72
--- /dev/null
+++ b/dev-util/drone/drone-2.11.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go"
+HOMEPAGE="https://github.com/drone/drone"
+SRC_URI="https://github.com/drone/drone/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="acct-group/drone
+ acct-user/drone"
+ RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+src_compile() {
+ ego build -ldflags "-extldflags \"-static\"" \
+ -o drone-server ./cmd/drone-server
+}
+
+src_install() {
+ dobin drone-server
+ dodoc CHANGELOG.md HISTORY.md
+ newinitd "${FILESDIR}"/drone-server.initd drone-server
+ newconfd "${FILESDIR}"/drone-server.confd drone-server
+ keepdir /var/log/drone /var/lib/drone
+ fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone
+}