www-apps/drone: Add the 'enterprise' USE flag.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
parent
3be8e076fb
commit
320c9e461b
3 changed files with 21 additions and 9 deletions
|
@ -513,6 +513,6 @@ DIST k8s.io%2Fklog%2F@v%2Fv0.1.0.mod 19 BLAKE2B 2af8f84f1cc7227be731c55dbe33e87e
|
|||
DIST k8s.io%2Fklog%2F@v%2Fv0.1.0.zip 28757 BLAKE2B cbea92840eaba2bd725a55e0157be5c5427e651499810b9b36829f7a3dcf621e5371e5ace909f925973d973f0f3d600492ff5bcf21b5a397555ac2772d71af86 SHA512 3de1ad08b415a50448cc48ef23e952bee3710a7ceb45137499ab85154dde851ab9dbf113341a38663e9c19cdc312ea14b1db4eb5aef297ba2c6e89d4b70abcb9
|
||||
DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.1.0.mod 24 BLAKE2B d33080dbc62b185d029eb43f75d66328dbfa7c463a3117b3efd5419ab8e1e52cc6f5d5a288d553421025c785ec6948b3aa68588cae19bd325f6acc0d043bb5fb SHA512 78f6402daccb04510f4ef35ee457ee13e4f447fba8e6aa33b4d32aa666e925861bf3b3f22c5ba9573871ec7e830f99e4caae0969724a54eadf40e6a7ed7931a0
|
||||
DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.1.0.zip 18120 BLAKE2B 244d3089322264e2fab71fa27e6e49396f724026674970eac309bb027d7bbc7030e9780fbc1c3803b20d893b8621f4e24d5c7824e0315440c14ceb850ec391f9 SHA512 c6e23fe09971b82d52e14d67e68458d3884b0f1d56a7fa9131fe4dafbfa971dd1f134f2d9eeab2599eae02c96132502036fd6b37eda92cd62f3129de6e04e7c3
|
||||
EBUILD drone-1.10.1.ebuild 28246 BLAKE2B c5ecc72c0fe89f00da9ca7e3c4bf63fa14756130f5803ee9817f8b640db7d5e96d8bbecc2af440982bebcab299a2585a5ec1dead099af6fbf204dff009700f45 SHA512 5ebf23a244b2d10daa86acd6d2cdb51101f11d41d765b97881417aee153b3d752b3056b3ff92f77788da8adcc4e1139f6a04e05f2ad24ebed1d5d63999d5d024
|
||||
EBUILD drone-1.10.1.ebuild 28309 BLAKE2B e45b77c32c612e6c4f80b8c2b3af14fdb4dbb2e19e8aa4f5bfb20c2c91f88a400f380b5a8a1e9f7bc94483126ad47aeba177c54c5d5f26e571796ddaa711bc64 SHA512 5589ff2025a746cb2ef7416105187e220d9b0497ebcdcf4ededc8cd108d48e1b0c6ff9648da8e1d82de8c129865d81f24652a750ca09b45ba5d37a50fe3cfc59
|
||||
MISC ChangeLog 237 BLAKE2B d4aa98c696717586987d43b8e122efc582737421e00a6374a99e0a61738fabe730bf82f76156e479482678538ee10f9df8eeb9e4a2e02f6347480534c9d44117 SHA512 5d286606f23c2c650630415345e331996b83dafb9fea2b24a9da1da32cf1fedd2ae5a0a02b648a6991c2b51af5393a88b68d63618b825f99c2bf4e8ac4d538de
|
||||
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2
|
||||
MISC metadata.xml 388 BLAKE2B b31f55757af23dda8f8082dc1ac88e86430deaed43d46ae4a2041def1b5ceede2eef8d81457fe4cf9cd3078260016ee1dd8766e0822ce6e73795077fa45149bd SHA512 39e5ee9680f74b7a4bd0a6d21869fd87f59f1c1bd43f9d00d4f2142869779ed6212ea4835c0fea9c4a80e1b419fa33bd523852b0c2302e72ab18043e84c67628
|
||||
|
|
|
@ -540,7 +540,7 @@ fi
|
|||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="mysql sqlite"
|
||||
IUSE="enterprise mysql sqlite"
|
||||
|
||||
RESTRICT="mirror"
|
||||
DEPEND="!dev-util/drone"
|
||||
|
@ -551,19 +551,28 @@ RDEPEND="acct-user/drone
|
|||
|
||||
src_compile() {
|
||||
pushd "${P}" || die
|
||||
# OSS variant
|
||||
go build -tags "oss nolimit" github.com/drone/drone/cmd/drone-server || die
|
||||
|
||||
# Enterprise variant (not supported as of now)
|
||||
# go build github.com/drone/drone/cmd/drone-server || die
|
||||
# go build github.com/drone/drone/cmd/drone-agent || die
|
||||
# go build github.com/drone/drone/cmd/drone-controller || die
|
||||
if use enterprise ; then
|
||||
go build github.com/drone/drone/cmd/drone-server || die
|
||||
go build github.com/drone/drone/cmd/drone-agent || die
|
||||
go build github.com/drone/drone/cmd/drone-controller || die
|
||||
else
|
||||
go build -tags "oss nolimit" github.com/drone/drone/cmd/drone-server || die
|
||||
fi
|
||||
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${P}" || die
|
||||
|
||||
dosbin drone-server
|
||||
|
||||
if use enterprise ; then
|
||||
dosbin drone-agent
|
||||
dosbin drone-controller
|
||||
fi
|
||||
|
||||
popd || die
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
|
|
@ -5,4 +5,7 @@
|
|||
<email>manuel@fritteli.ch</email>
|
||||
<name>Manuel Friedli</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="enterprise">Build the enterprise version used in the official docker image, instead of the OSS version.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
Loading…
Reference in a new issue