diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/consul | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/consul')
-rw-r--r-- | app-admin/consul/Manifest | 27 | ||||
-rw-r--r-- | app-admin/consul/consul-0.5.2-r1.ebuild | 159 | ||||
-rw-r--r-- | app-admin/consul/consul-0.5.2.ebuild | 159 | ||||
-rw-r--r-- | app-admin/consul/consul-9999.ebuild | 115 | ||||
-rw-r--r-- | app-admin/consul/files/bootstrap.json.example | 4 | ||||
-rw-r--r-- | app-admin/consul/files/consul.confd | 10 | ||||
-rw-r--r-- | app-admin/consul/files/consul.initd | 40 | ||||
-rw-r--r-- | app-admin/consul/files/consul.service | 16 | ||||
-rw-r--r-- | app-admin/consul/files/data-dir.json.example | 3 | ||||
-rw-r--r-- | app-admin/consul/files/ui-dir.json.example | 3 | ||||
-rw-r--r-- | app-admin/consul/metadata.xml | 13 |
11 files changed, 549 insertions, 0 deletions
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest new file mode 100644 index 000000000000..b4da8afaac84 --- /dev/null +++ b/app-admin/consul/Manifest @@ -0,0 +1,27 @@ +DIST bolt-2c04100eb9793f2b8541d243494e2909d2112325.tar.gz 69587 SHA256 c0cdbaa6ec724c73799003ba166a4c9f1c6f1cc1b9760f98ef2d2a2a431577da SHA512 98a34fc045a6646df61d69f156164172e4446159fd790a1875c489583935b644dca4b14de097c0d1331cf46aa5221c77b8d1273a1f74121ac954dc04ef849f86 WHIRLPOOL 0380733bfc41010bc1ba14fb8be1b464a5dcd33cdc784aebc47298ee352d2b1b628ed1ee91d7f35c4346458d6ead87408db0bbe869126c46dd70faf5605d4ae1 +DIST circbuf-f092b4f207b6e5cce0569056fba9e1a2735cb6cf.tar.gz 2748 SHA256 b67d2ffc0a725b6844895680d52ba4a63757987637c8dabbb2c3e4d836512d52 SHA512 0e1db19e79cd0f584adcb0ec0d6f04cad1e855abf0872a5bcf4ac5fedace55374a50e2c5c2086f26d20c63ff46d9f370119959d6ff20ead32bb4888df16e6948 WHIRLPOOL a375ffa2214e527c47815b82579bee7a270bb652582605a83c1a0d13087b2ef2f09cc6ee16f7e735fa61846c106203f3db51822d38eac18345f26f9e942a1ca2 +DIST cli-6cc8bc522243675a2882b81662b0b0d2e04b99c9.tar.gz 12690 SHA256 87d7f733c0f2e778fa72951c55a7fe65ea8694f2a1f621c368ecffb111098b05 SHA512 942f8a30a4570f04932ad263bb6760ec8d940d46058c65e56ffc81b1b5cc2d205afd61908260ce7d8dee44db879c861aafc0112335493b0b5018fa7b3b91fb62 WHIRLPOOL 5ea03493adee35661ed7bd30e857b171160a1a71d10c65aa8eee6e439ddf7d9c7f5ae9c1b9e3c0d70cf2a82d513b3b5570fcb089912822a50cc123fe4bc3ad68 +DIST columnize-44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a.tar.gz 3680 SHA256 504519c9befbac3045a00a7a70e82cc437622294ece6ac19b85ffd4aa915369f SHA512 1117d4a7efc1f029aef27ad711073fe4f8cff4ddf42021f917ad44cdf246153a39ca9a911892b783128563d09594aec5ffc4f8ee1d44218dd8ead1635ab4a040 WHIRLPOOL bb0417093ff993358cbacfade5df8c416e911ef352ebd760152dbce37b9e3c7c2d0064decc3efee7fe61672b13372b077cc19c579f186128175d2b05fc32d0c4 +DIST consul-0.5.2.tar.gz 1821228 SHA256 acaa3b7a7c874d247175faaa9178bb1e93eabb2d810dc842c79ccf272b4518b6 SHA512 77e76cd090f668a963202aa68fcf5c676edeb30078de1f35ff9af6681c34dd4171eb0da24fedcd376cbe5fa0fa87f7a3453dda4075bfc55a8ba949d4c407ef04 WHIRLPOOL 746cef01f7733838de0774fcde4ef1b8f7c686ed90593218e623a3fc68bd6d590ecda427c8b94d1b412f1e83ebf76b4a357ecb89c39695ebdd890fc9f7976eb1 +DIST consul-migrate-0.1.0.tar.gz 12844 SHA256 f9c2699cf5686065b69c3c0af58f140c65c6c0963e699b35b6e03e06fa7f996b SHA512 8884112f8529dbd48afccc21e89b5e0c401a056d7ca2f223803648c6cfe12a6582a2f91ee548672c10c57bad11028a01297ad039c0be39243180deb165d262df WHIRLPOOL bb977a8823360c8159d356aca9273665b41f02b390984e91c005ef8a57e57d9d77143c575fe0b38933522a8ff03743f9b49bc5583c58c1b37bcb04f8f3ec08b9 +DIST dns-bb1103f648f811d2018d4bedcb2d4b2bce34a0f1.tar.gz 117777 SHA256 4b539f47f2ccf7fffd35490b4840fa4503506223bdb25ce957797b5a373d2743 SHA512 e7c5c5c321147e973d09e516054ef233e59a1326a094f2f07c6ecf4392f50bd0493a9f197789982d4de6ca373e713214ad6166fb513b2beebaa0d94ab5b01aea WHIRLPOOL fdaab64471665f6d5dc9e06599ec9e9de6dac225d5117ca7c008ce385a7b31a707c8fa0ecd13e03e83f9dafd500b3fd8180392e386319dfce53cb37d50b830fc +DIST go-checkpoint-88326f6851319068e7b34981032128c0b1a6524d.tar.gz 9830 SHA256 ea62599bfbe3ec9b616a8b75a14013ccfc288b8b0ccdcac4dac93c82503d41ae SHA512 94c90964fdd343afc4a4054c1e10e71eff04e0e410e72f6f19056471d41258ec1d976b8f0d9d61284832872fbd39a157fb64908a4195d183823b7f21638b0ffb WHIRLPOOL 694685c0fe9141be69bf889a710c357a011342772ac0a1bc7b39a2a43ce4824e1ed98dd8be77dc62216948c1f113e8570bd8781146ac16de154f69451e461308 +DIST go-metrics-a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz 11268 SHA256 2f4206d5d50eaab383cdc4f5c57179e285b93649c028a69dd9e2a4a45b69afe3 SHA512 e3da3f7b98edd32da5c3381afc3e92021b92416d7ea9de0423a05c06bc9ff808e28d29ca9f689c0029809a4b1643819954039516d6ab5890bb5512f5fe99fd6d WHIRLPOOL 815f83ae08bb6a37ee1774a718a8c3b4087ee9a95f190b8a77453f0d1ba1ca88a331e8be12b2f63d0c1fdb9472f2ff35786b94eaf1f61f5cb33fe1e6d9e4e460 +DIST go-msgpack-71c2886f5a673a35f909803f38ece5810165097b.tar.gz 49485 SHA256 c32b90e67762a375981b38154cae65222bb1aaa7722727d0225d5f8de773e4c8 SHA512 e4141e664c3237f7ab4c283b110d04e933bfb36a9d57af374ab42fed00a4ad6d8399e3399b206eebe76c5e142746412b2ada6c20b1ec09088f3bb7d82a7b01a9 WHIRLPOOL 1434e72897de4063515a0d3319e96b066406c110e3e36f710970886ba6ec9411f71908d9696a4528ee0fcb88bea54ab9c064faa230761ce38b82bb5506a2c073 +DIST go-multierror-fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz 8058 SHA256 af90f9be029c091eb011ff25d270772fdb51edf3c6396cf99f224c4e7ad724c3 SHA512 f5cb12407f9bc986867a274c623037edab04f8e2b664c7d4db3bb7e32f970dd073a3d233d18549a5f01b5e88abff0eb0c1fcf79b6696a531c208e6fe8137080e WHIRLPOOL c997792a5c1b3029b32d0fad3a55a281b5ced2bef306367a1fd49df75cab831b93a3752e76f8a18ce5d08e155f66b3826aa5d9878fb9655821cef7a69b71de31 +DIST go-radix-0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz 5446 SHA256 f4e628adceee06d7717dce0bf566d5ebd8c009599807f2436b3cda259011b331 SHA512 350904076752e2fda17e9c2891a50b037d2ca165924880d6d5e466b8ed76685d79ff00bbbfbe9a665668e0ebde23c87129d3c1c4bf27ffe0c034df160db9d08f WHIRLPOOL 8571b9e818904a56ea16c35883725013d2009dc294acfdf4f28920a03baff36ffcd3d4d6d8be0ecfc78eefbfeef57e4b2ca224f2ce37d665caae724389346f88 +DIST go-syslog-42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz 4397 SHA256 378f5249729661db9d0c65030fbf636f6ec1d60ee926e67abf8c6dd7921d3907 SHA512 42257d0599936bb215f4a9f9189518418f02bc43e4d7417823ea460bfc45c6fd1f9b0bf5a35dd73881b57cd9e892c702b813a68fe6e417e82dd31c6635c1b24e WHIRLPOOL 26cf1464bf0899ae9bad0067481f57a121433c5fe7c93fef92523a157d7906b8c1c4216c2a4fe738222e4afaa85fc0a7b7b29149254125a3e8b2e7064add6cb1 +DIST golang-lru-995efda3e073b6946b175ed93901d729ad47466a.tar.gz 7872 SHA256 cac6e889020e8b31e46d50b98e0af9acbb44bf352ad0ca9d30db79b6235849e2 SHA512 29eee70cbdc9c712d1cece1f911f3a74ebfd44318b91dcd1932f0bff031286f0a80db93772dd04be350c0cca3cc77c0676659ef0f85229f31a1140e23c1fc3f5 WHIRLPOOL c4711d30caf5c2d880aeec7330bc06011dc4e741e305f6dcac8d983734b3706cb5967b06755f7684370ca61a91f356a97c9866ffda0e275e26bb11d3a74d0145 +DIST gomdb-151f2e08ef45cb0e57d694b2562f351955dff572.tar.gz 100298 SHA256 de5119016d4e12885c474f4f1e682c80984b464a0ae2809f28699aeba1badc68 SHA512 f8f0268b49a091166302440ee34e40ff89a4c6adacfcd2daa62161a04f8ebe2a5e66074c125afa40147eba7493ce5fd5fb75e33b3955ef9f0f836ecc409603a3 WHIRLPOOL bdc42de4d1b8fecd2a9770745d8b80ebaf3afc3471e672e4dd512f8e60272d9cfd7d6991ecafd424f20036b55b894e5befde81281b0a01fefc274df57044050e +DIST hcl-513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz 28692 SHA256 109ec067ff8ff7f30538e0d2ba1384c1fe25694c99d56972003b1c669d19d0b2 SHA512 90f568373d20cccbb56ada29257bd2ea808bbacb668fd1b82e71abf8f5e2592b4a58dc5d3f1174a2b38c660316cd0227eb333e747aae7a846e94168ebe9d2297 WHIRLPOOL cf5685f25d3c3b69d330e30ad089e2cbc9c6636b0f2ac4933638d6bcad06aa5a50f92d5228a1f1ddabd5e0f8187bc5b16f38f4a3bd86bbbf161a5409d5102ec0 +DIST logutils-367a65d59043b4f846d179341d138f01f988c186.tar.gz 7704 SHA256 9b2173d9277574adbc45400101cb0b65534a5cd3defe62eeb3bff652eeb3e34c SHA512 9a4444fbae3bd1c0b2391981edf2f8155ebdd90a14a367f718bc7bcdced68b37b563ae38141fc3cb35409ff70820bd32b5a44cb218630418bce37f78181ef109 WHIRLPOOL 4973a7ef035807c9ef1135cface87cce4707910e6c33cece87dc8200df5e3d3c351d129ce20214e2cbf6bf58a7b040e9d1c5e12f5414cf37e45890a6a8ec439c +DIST mapstructure-442e588f213303bec7936deba67901f8fc8f18b1.tar.gz 12220 SHA256 b4fa5d3b888734f849c5d6784fc1c5749e4ece168fda65c604676fca39c085d2 SHA512 de79f2579a086cccc047b280ae7e2b5dc5f8a95d504ead9d7f0cbaf01e70d37cb4eea8e7ab9aec446a7c2f1771152add3e2e488c18963d63ca3dac43ed2a33b7 WHIRLPOOL ecf8bd2bc9e50bb9e5ad3b6ebb04f5fdc10cf0e515f25d1381bbd1591c074887706b7c25f03a749ff212555fc537534056dab58eaece9357de9045ba2edd9a51 +DIST memberlist-6025015f2dc659ca2c735112d37e753bda6e329d.tar.gz 51853 SHA256 7b808ff100db2e484e6cf338d32ed55512f4c371c5cbba498aeca632f21c830f SHA512 fb70a58c6914919e68210bd2486051e64bdbb03475dc02734b7c03ed51e7537ca19162264bffafb83eccf7ebd24ae7d6f9b400f23be0aeae9d80210addd91de2 WHIRLPOOL 981208444af8343157837c6cd3cb2ae886b1078d27c40f9cbff2a7acd52c682b1e29b9743bef7a709aafa35c3a5f9c1345578c27fb89f7330128e53ba435415a +DIST muxado-f693c7e88ba316d1a0ae3e205e22a01aa3ec2848.tar.gz 25816 SHA256 237354d5acf550d05d20841e0ec6e88cea29ece70fdf8fc73a2d59884ea6be01 SHA512 2ce026db7d0dbe3704e5855970126658c33f45c28ab7c0ad60ab5dcd3c107ea9a3a2617efa59d89148c0dbbfa5dd2c30358e6b5855d9525772685e2c676b3e8e WHIRLPOOL 1a992c5ba09b9bce80dac43d5df2d0d6c72402e7b63cd56a168db5ceecbc6a7c5fad4b51f6e725c21d4e619dbc052270cacfcaf2d0d58dab7accf69eda49a6f4 +DIST net-rpc-msgpackrpc-d377902b7aba83dd3895837b902f6cf3f71edcb2.tar.gz 2805 SHA256 0eb8244654cf9e461ce6338cdb7c6ab28dc118d425497e5f6045808e24932a0f SHA512 635c48bbbdce634fee720038a77a2c80f19a3b1e44cef1566b6eda6623bd00d1bf7cc89eb621517d620917c26f0ee80a23006edd903f8f03cf9d18e64b16ecfe WHIRLPOOL 7874f34649b22630d11f03655a35943b03375575cf5140e2d0de2194bab17b95489afa572fa19137a8001558d4139eae0e84b61b6604aa4d08a771af9f619467 +DIST raft-a8065f298505708bf60f518c09178149f3c06f21.tar.gz 56934 SHA256 a952ce8348085be36a1accbb7555e8c5a1a1c2292066d1966f17994ec90276ef SHA512 66aae260f4aa2b0a64669ff7abf4975fc933a7b873454c63a5eea807d5028360ba9f0396f3f9ac78136d96003af23b50ab4b922bad2b4f821db4faf057ce35ff WHIRLPOOL dd9f36d0213228717c428db9132f67a9efbdd882da1f320cb7893cd40ce569dd981c8aa4542f1d43f2bdc8ceb5b891197d45cbfa7bf055a3a69a4a98471bd0b5 +DIST raft-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz 8881 SHA256 490ced07cc72baede9b997dcf92499fa0d4298926fbc51ee632bde3d3ea0979e SHA512 4f98cf8cf375561f255822cbd21b6926d3bd12ff2a1d9307b59ce5e12628034f197f6efc85d9cc9cf951eac7402b36954c2ea686bb033075ec840106614f2039 WHIRLPOOL 337d399c6b73893bb72d77a77e6b2c7b5ee914d191b719dec13f72975c0a4ece1ee6a902d32197bbf0f0300bdc3ce8efda082363a1e79a7d3f2d8aec6eb2d436 +DIST raft-mdb-4ec3694ffbc74d34f7532e70ef2e9c3546a0c0b0.tar.gz 9811 SHA256 9873fa73d17174e0e7175216848a2a7c58a9c66701459ed4d4866ab063ef58c1 SHA512 a592adb161dc9c8e40b17606ec0366e61c7ab76d7fb9f074d01abfb1ba1b1f7629582ce103e39989c269d1d49506b4ac24b7a265161aad2c855b60df7e02169b WHIRLPOOL 65f3f2ec309e0d7c0ab6246853fc584a4abb64cf6a09657dad047d4be89509177aabdd149360aa506281187068a1ee0dc465dd717be3479315a3e602794f7a1b +DIST scada-client-c26580cfe35393f6f4bf1b9ba55e6afe33176bae.tar.gz 15805 SHA256 74d7195f4d7b213cb82278ed34c16808a79923be9009aab7e8f1267d5a6675f7 SHA512 dab4b8b2bd6e57727e89e22eec89f0b381cf492797364e8891f2308e381290f4d7359edc5833b47e260e27cce77d7fed32672889c45f24397ad6ae06bb027642 WHIRLPOOL c04510ca20ff25ef4521d2e71b0f27abfdf484bfe24680ee9b92502e93dc1d8bce9e468ce5202f175a7cbc20d787e74618392a1f8f3d8858db303dec46e2d424 +DIST serf-558a6876882b2c5c61df29fd3990fb1765fd71d3.tar.gz 572608 SHA256 ccc9f543adb1c41e0541fd6f0d302e4a7b4e2b1695de695466d5c9e572971edf SHA512 7c6c1c8ae40952311a3a722d0f10b9e236bac1f291e4cd2014ccde495e3ab4b8f0922e619ac90e8bd38ed6b20db6238d66e786ef0f25cab2540663004672334e WHIRLPOOL 9623ab60e0547781f7de058ba96fa6d8bc447b898500054578bdfc3d9dcae531e701e604d3d3cd323143a67f8c6af5b6fb5b1aba37368deccdd43e268f0d8144 +DIST yamux-b2e55852ddaf823a85c67f798080eb7d08acd71d.tar.gz 19249 SHA256 e4ca04b27f2899bd04033d4bb8cf2c5d0eac6e916c87851ded9cfa57d1f70b5f SHA512 9e889a25c20e1de7ffc59d785fba574152689303c41055ee0cb046fa18346df23ce875e1dce6607e3a0a7211b336c6033b66073ae811b7a08aa121bf147dcf1d WHIRLPOOL 3fb8dd868ba126f6044685a848260451ebe611332ecda152145243b150b995fcaa7c36a8205bcc97af00975c2b44901fb1731a8e6a78f40bc2a22a76b3bc7951 diff --git a/app-admin/consul/consul-0.5.2-r1.ebuild b/app-admin/consul/consul-0.5.2-r1.ebuild new file mode 100644 index 000000000000..6fec48bdf537 --- /dev/null +++ b/app-admin/consul/consul-0.5.2-r1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit systemd user + +KEYWORDS="~amd64" +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="http://www.consul.io" +GO_PN="github.com/hashicorp/consul" +LICENSE="MPL-2.0" +SLOT="0" +IUSE="test web" + +DEPEND=">=dev-lang/go-1.4:= + dev-go/go-crypto:= + test? ( dev-go/go-tools ) + web? ( + dev-ruby/sass + dev-ruby/uglifier + )" +RDEPEND="" + +SRC_URI="https://github.com/hashicorp/consul/archive/v0.5.2.tar.gz -> ${P}.tar.gz +https://github.com/armon/circbuf/archive/f092b4f207b6e5cce0569056fba9e1a2735cb6cf.tar.gz -> circbuf-f092b4f207b6e5cce0569056fba9e1a2735cb6cf.tar.gz +https://github.com/armon/go-metrics/archive/a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz -> go-metrics-a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz +https://github.com/armon/go-radix/archive/0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz -> go-radix-0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz +https://github.com/armon/gomdb/archive/151f2e08ef45cb0e57d694b2562f351955dff572.tar.gz -> gomdb-151f2e08ef45cb0e57d694b2562f351955dff572.tar.gz +https://github.com/boltdb/bolt/archive/2c04100eb9793f2b8541d243494e2909d2112325.tar.gz -> bolt-2c04100eb9793f2b8541d243494e2909d2112325.tar.gz +https://github.com/hashicorp/consul-migrate/archive/v0.1.0.tar.gz -> consul-migrate-0.1.0.tar.gz +https://github.com/hashicorp/go-checkpoint/archive/88326f6851319068e7b34981032128c0b1a6524d.tar.gz -> go-checkpoint-88326f6851319068e7b34981032128c0b1a6524d.tar.gz +https://github.com/hashicorp/go-msgpack/archive/71c2886f5a673a35f909803f38ece5810165097b.tar.gz -> go-msgpack-71c2886f5a673a35f909803f38ece5810165097b.tar.gz +https://github.com/hashicorp/go-multierror/archive/fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz -> go-multierror-fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz +https://github.com/hashicorp/go-syslog/archive/42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz -> go-syslog-42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz +https://github.com/hashicorp/golang-lru/archive/995efda3e073b6946b175ed93901d729ad47466a.tar.gz -> golang-lru-995efda3e073b6946b175ed93901d729ad47466a.tar.gz +https://github.com/hashicorp/hcl/archive/513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz -> hcl-513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz +https://github.com/hashicorp/logutils/archive/367a65d59043b4f846d179341d138f01f988c186.tar.gz -> logutils-367a65d59043b4f846d179341d138f01f988c186.tar.gz +https://github.com/hashicorp/memberlist/archive/6025015f2dc659ca2c735112d37e753bda6e329d.tar.gz -> memberlist-6025015f2dc659ca2c735112d37e753bda6e329d.tar.gz +https://github.com/hashicorp/net-rpc-msgpackrpc/archive/d377902b7aba83dd3895837b902f6cf3f71edcb2.tar.gz -> net-rpc-msgpackrpc-d377902b7aba83dd3895837b902f6cf3f71edcb2.tar.gz +https://github.com/hashicorp/raft/archive/a8065f298505708bf60f518c09178149f3c06f21.tar.gz -> raft-a8065f298505708bf60f518c09178149f3c06f21.tar.gz +https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> raft-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz +https://github.com/hashicorp/raft-mdb/archive/4ec3694ffbc74d34f7532e70ef2e9c3546a0c0b0.tar.gz -> raft-mdb-4ec3694ffbc74d34f7532e70ef2e9c3546a0c0b0.tar.gz +https://github.com/hashicorp/scada-client/archive/c26580cfe35393f6f4bf1b9ba55e6afe33176bae.tar.gz -> scada-client-c26580cfe35393f6f4bf1b9ba55e6afe33176bae.tar.gz +https://github.com/hashicorp/serf/archive/558a6876882b2c5c61df29fd3990fb1765fd71d3.tar.gz -> serf-558a6876882b2c5c61df29fd3990fb1765fd71d3.tar.gz +https://github.com/hashicorp/yamux/archive/b2e55852ddaf823a85c67f798080eb7d08acd71d.tar.gz -> yamux-b2e55852ddaf823a85c67f798080eb7d08acd71d.tar.gz +https://github.com/inconshreveable/muxado/archive/f693c7e88ba316d1a0ae3e205e22a01aa3ec2848.tar.gz -> muxado-f693c7e88ba316d1a0ae3e205e22a01aa3ec2848.tar.gz +https://github.com/miekg/dns/archive/bb1103f648f811d2018d4bedcb2d4b2bce34a0f1.tar.gz -> dns-bb1103f648f811d2018d4bedcb2d4b2bce34a0f1.tar.gz +https://github.com/mitchellh/cli/archive/6cc8bc522243675a2882b81662b0b0d2e04b99c9.tar.gz -> cli-6cc8bc522243675a2882b81662b0b0d2e04b99c9.tar.gz +https://github.com/mitchellh/mapstructure/archive/442e588f213303bec7936deba67901f8fc8f18b1.tar.gz -> mapstructure-442e588f213303bec7936deba67901f8fc8f18b1.tar.gz +https://github.com/ryanuber/columnize/archive/44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a.tar.gz -> columnize-44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a.tar.gz" + +STRIP_MASK="*.a" +S="${WORKDIR}/src/${GO_PN}" + +pkg_setup() { + enewgroup consul + enewuser consul -1 -1 /var/lib/${PN} consul +} + +get_archive_go_package() { + local archive=${1} uri x + for x in ${SRC_URI}; do + if [[ ${x} == http* ]]; then + uri=${x} + elif [[ ${x} == ${archive} ]]; then + break + fi + done + uri=${uri#https://} + echo ${uri%/archive/*} +} + +unpack_go_packages() { + local go_package x + # Unpack packages to appropriate locations for GOPATH + for x in ${A}; do + unpack ${x} + if [[ ${x} == *.tar.gz ]]; then + go_package=$(get_archive_go_package ${x}) + mkdir -p src/${go_package%/*} + mv ${go_package##*/}-* src/${go_package} || die + fi + done +} + +src_unpack() { + unpack_go_packages + # Create a writable GOROOT in order to avoid sandbox violations + # or other interference from installed instances. + export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot" + cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die + while read -r path; do + rm -rf "${GOROOT}/src/${path#${WORKDIR}/src}" \ + "${GOROOT}/pkg/linux_${ARCH}/${path#${WORKDIR}/src}" || die + done < <(find "${WORKDIR}"/src -maxdepth 3 -mindepth 3 -type d) +} + +src_prepare() { + # Avoid the need to have a git checkout + sed -e 's:^GIT.*::' \ + -e 's:-X main.GitCommit.*:" \\:' \ + -i scripts/build.sh || die + + # Disable tests that fail under network-sandbox + sed -e 's:TestServer_StartStop:_TestServer_StartStop:' \ + -i consul/server_test.go || die + sed -e 's:TestRetryJoin(:_TestRetryJoin(:' \ + -i command/agent/command_test.go || die +} + +src_compile() { + emake + + if use web; then + pushd ui >/dev/null || die + emake dist + fi +} + +src_install() { + local x + + dobin bin/* + rm -rf bin + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + for x in /var/{lib,log}/${PN}; do + keepdir "${x}" + fowners consul:consul "${x}" + done + + if use web; then + insinto /var/lib/${PN}/ui + doins -r ui/dist/* + fi + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" + + find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null + find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type f -delete + while read -r -d '' x; do + x=${x#${WORKDIR}/src} + [[ -d ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x} || + -f ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x}.a ]] && continue + rm -rf "${WORKDIR}"/src/${x} + done < <(find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type d -print0) + insopts -m0644 -p # preserve timestamps for bug 551486 + insinto /usr/lib/go/pkg/${KERNEL}_${ARCH}/${GO_PN%/*} + doins -r "${WORKDIR}"/pkg/${KERNEL}_${ARCH}/${GO_PN} + insinto /usr/lib/go/src/${GO_PN%/*} + doins -r "${WORKDIR}"/src/${GO_PN} +} diff --git a/app-admin/consul/consul-0.5.2.ebuild b/app-admin/consul/consul-0.5.2.ebuild new file mode 100644 index 000000000000..9c47b7fa54e1 --- /dev/null +++ b/app-admin/consul/consul-0.5.2.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit systemd user + +KEYWORDS="~amd64" +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="http://www.consul.io" +GO_PN="github.com/hashicorp/consul" +LICENSE="MPL-2.0" +SLOT="0" +IUSE="test web" + +DEPEND=">=dev-lang/go-1.4 + dev-go/go-crypto + test? ( dev-go/go-tools ) + web? ( + dev-ruby/sass + dev-ruby/uglifier + )" +RDEPEND="" + +SRC_URI="https://github.com/hashicorp/consul/archive/v0.5.2.tar.gz -> ${P}.tar.gz +https://github.com/armon/circbuf/archive/f092b4f207b6e5cce0569056fba9e1a2735cb6cf.tar.gz -> circbuf-f092b4f207b6e5cce0569056fba9e1a2735cb6cf.tar.gz +https://github.com/armon/go-metrics/archive/a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz -> go-metrics-a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz +https://github.com/armon/go-radix/archive/0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz -> go-radix-0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz +https://github.com/armon/gomdb/archive/151f2e08ef45cb0e57d694b2562f351955dff572.tar.gz -> gomdb-151f2e08ef45cb0e57d694b2562f351955dff572.tar.gz +https://github.com/boltdb/bolt/archive/2c04100eb9793f2b8541d243494e2909d2112325.tar.gz -> bolt-2c04100eb9793f2b8541d243494e2909d2112325.tar.gz +https://github.com/hashicorp/consul-migrate/archive/v0.1.0.tar.gz -> consul-migrate-0.1.0.tar.gz +https://github.com/hashicorp/go-checkpoint/archive/88326f6851319068e7b34981032128c0b1a6524d.tar.gz -> go-checkpoint-88326f6851319068e7b34981032128c0b1a6524d.tar.gz +https://github.com/hashicorp/go-msgpack/archive/71c2886f5a673a35f909803f38ece5810165097b.tar.gz -> go-msgpack-71c2886f5a673a35f909803f38ece5810165097b.tar.gz +https://github.com/hashicorp/go-multierror/archive/fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz -> go-multierror-fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz +https://github.com/hashicorp/go-syslog/archive/42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz -> go-syslog-42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz +https://github.com/hashicorp/golang-lru/archive/995efda3e073b6946b175ed93901d729ad47466a.tar.gz -> golang-lru-995efda3e073b6946b175ed93901d729ad47466a.tar.gz +https://github.com/hashicorp/hcl/archive/513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz -> hcl-513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz +https://github.com/hashicorp/logutils/archive/367a65d59043b4f846d179341d138f01f988c186.tar.gz -> logutils-367a65d59043b4f846d179341d138f01f988c186.tar.gz +https://github.com/hashicorp/memberlist/archive/6025015f2dc659ca2c735112d37e753bda6e329d.tar.gz -> memberlist-6025015f2dc659ca2c735112d37e753bda6e329d.tar.gz +https://github.com/hashicorp/net-rpc-msgpackrpc/archive/d377902b7aba83dd3895837b902f6cf3f71edcb2.tar.gz -> net-rpc-msgpackrpc-d377902b7aba83dd3895837b902f6cf3f71edcb2.tar.gz +https://github.com/hashicorp/raft/archive/a8065f298505708bf60f518c09178149f3c06f21.tar.gz -> raft-a8065f298505708bf60f518c09178149f3c06f21.tar.gz +https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> raft-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz +https://github.com/hashicorp/raft-mdb/archive/4ec3694ffbc74d34f7532e70ef2e9c3546a0c0b0.tar.gz -> raft-mdb-4ec3694ffbc74d34f7532e70ef2e9c3546a0c0b0.tar.gz +https://github.com/hashicorp/scada-client/archive/c26580cfe35393f6f4bf1b9ba55e6afe33176bae.tar.gz -> scada-client-c26580cfe35393f6f4bf1b9ba55e6afe33176bae.tar.gz +https://github.com/hashicorp/serf/archive/558a6876882b2c5c61df29fd3990fb1765fd71d3.tar.gz -> serf-558a6876882b2c5c61df29fd3990fb1765fd71d3.tar.gz +https://github.com/hashicorp/yamux/archive/b2e55852ddaf823a85c67f798080eb7d08acd71d.tar.gz -> yamux-b2e55852ddaf823a85c67f798080eb7d08acd71d.tar.gz +https://github.com/inconshreveable/muxado/archive/f693c7e88ba316d1a0ae3e205e22a01aa3ec2848.tar.gz -> muxado-f693c7e88ba316d1a0ae3e205e22a01aa3ec2848.tar.gz +https://github.com/miekg/dns/archive/bb1103f648f811d2018d4bedcb2d4b2bce34a0f1.tar.gz -> dns-bb1103f648f811d2018d4bedcb2d4b2bce34a0f1.tar.gz +https://github.com/mitchellh/cli/archive/6cc8bc522243675a2882b81662b0b0d2e04b99c9.tar.gz -> cli-6cc8bc522243675a2882b81662b0b0d2e04b99c9.tar.gz +https://github.com/mitchellh/mapstructure/archive/442e588f213303bec7936deba67901f8fc8f18b1.tar.gz -> mapstructure-442e588f213303bec7936deba67901f8fc8f18b1.tar.gz +https://github.com/ryanuber/columnize/archive/44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a.tar.gz -> columnize-44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a.tar.gz" + +STRIP_MASK="*.a" +S="${WORKDIR}/src/${GO_PN}" + +pkg_setup() { + enewgroup consul + enewuser consul -1 -1 /var/lib/${PN} consul +} + +get_archive_go_package() { + local archive=${1} uri x + for x in ${SRC_URI}; do + if [[ ${x} == http* ]]; then + uri=${x} + elif [[ ${x} == ${archive} ]]; then + break + fi + done + uri=${uri#https://} + echo ${uri%/archive/*} +} + +unpack_go_packages() { + local go_package x + # Unpack packages to appropriate locations for GOPATH + for x in ${A}; do + unpack ${x} + if [[ ${x} == *.tar.gz ]]; then + go_package=$(get_archive_go_package ${x}) + mkdir -p src/${go_package%/*} + mv ${go_package##*/}-* src/${go_package} || die + fi + done +} + +src_unpack() { + unpack_go_packages + # Create a writable GOROOT in order to avoid sandbox violations + # or other interference from installed instances. + export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot" + cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die + while read -r path; do + rm -rf "${GOROOT}/src/${path#${WORKDIR}/src}" \ + "${GOROOT}/pkg/linux_${ARCH}/${path#${WORKDIR}/src}" || die + done < <(find "${WORKDIR}"/src -maxdepth 3 -mindepth 3 -type d) +} + +src_prepare() { + # Avoid the need to have a git checkout + sed -e 's:^GIT.*::' \ + -e 's:-X main.GitCommit.*:" \\:' \ + -i scripts/build.sh || die + + # Disable tests that fail under network-sandbox + sed -e 's:TestServer_StartStop:_TestServer_StartStop:' \ + -i consul/server_test.go || die + sed -e 's:TestRetryJoin(:_TestRetryJoin(:' \ + -i command/agent/command_test.go || die +} + +src_compile() { + emake + + if use web; then + pushd ui >/dev/null || die + emake dist + fi +} + +src_install() { + local x + + dobin bin/* + rm -rf bin + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + for x in /var/{lib,log}/${PN}; do + keepdir "${x}" + fowners consul:consul "${x}" + done + + if use web; then + insinto /var/lib/${PN}/ui + doins -r ui/dist/* + fi + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" + + find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null + find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type f -delete + while read -r -d '' x; do + x=${x#${WORKDIR}/src} + [[ -d ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x} || + -f ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x}.a ]] && continue + rm -rf "${WORKDIR}"/src/${x} + done < <(find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type d -print0) + insopts -m0644 -p # preserve timestamps for bug 551486 + insinto /usr/lib/go/pkg/${KERNEL}_${ARCH}/${GO_PN%/*} + doins -r "${WORKDIR}"/pkg/${KERNEL}_${ARCH}/${GO_PN} + insinto /usr/lib/go/src/${GO_PN%/*} + doins -r "${WORKDIR}"/src/${GO_PN} +} diff --git a/app-admin/consul/consul-9999.ebuild b/app-admin/consul/consul-9999.ebuild new file mode 100644 index 000000000000..49971f1f012a --- /dev/null +++ b/app-admin/consul/consul-9999.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit git-r3 systemd user + +KEYWORDS="" +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="http://www.consul.io" +GO_PN="github.com/hashicorp/consul" +EGIT_REPO_URI="git://${GO_PN}.git" +LICENSE="MPL-2.0" +SLOT="0" +IUSE="test web" + +DEPEND=">=dev-lang/go-1.4:= + dev-go/go-crypto:= + test? ( dev-go/go-tools ) + web? ( + dev-ruby/sass + dev-ruby/uglifier + )" +RDEPEND="" +SRC_URI="" + +STRIP_MASK="*.a" +S="${WORKDIR}/src/${GO_PN}" +EGIT_CHECKOUT_DIR="${S}" + +pkg_setup() { + enewgroup consul + enewuser consul -1 -1 /var/lib/${PN} consul +} + +src_unpack() { + git-r3_src_unpack + cd "${S}" || die + + # Create a writable GOROOT in order to avoid sandbox violations + # or other interference from installed instances. + export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot" + cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die + + # Use latest versions of some packages, in case of incompatible + # API changes + rm -rf "${GOROOT}/src/${GO_PN%/*}" \ + "${GOROOT}/pkg/linux_${ARCH}/${GO_PN%/*}" || die + + # Fetch dependencies + emake deps + + # Avoid interference from installed instances + while read -r path; do + rm -rf "${GOROOT}/src/${path#${WORKDIR}/src}" \ + "${GOROOT}/pkg/linux_${ARCH}/${path#${WORKDIR}/src}" || die + done < <(find "${WORKDIR}"/src -maxdepth 3 -mindepth 3 -type d) +} + +src_prepare() { + # Disable tests that fail under network-sandbox + sed -e 's:TestServer_StartStop:_TestServer_StartStop:' \ + -i consul/server_test.go || die + sed -e 's:TestRetryJoin(:_TestRetryJoin(:' \ + -i command/agent/command_test.go || die +} + +src_compile() { + emake + + if use web; then + pushd ui >/dev/null || die + emake dist + fi +} + +src_install() { + local x + + dobin bin/* + rm -rf bin + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + for x in /var/{lib,log}/${PN}; do + keepdir "${x}" + fowners consul:consul "${x}" + done + + if use web; then + insinto /var/lib/${PN}/ui + doins -r ui/dist/* + fi + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" + + find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null + find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type f -delete + while read -r -d '' x; do + x=${x#${WORKDIR}/src} + [[ -d ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x} || + -f ${WORKDIR}/pkg/${KERNEL}_${ARCH}/${x}.a ]] && continue + rm -rf "${WORKDIR}"/src/${x} + done < <(find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type d -print0) + insopts -m0644 -p # preserve timestamps for bug 551486 + insinto /usr/lib/go/pkg/${KERNEL}_${ARCH}/${GO_PN%/*} + doins -r "${WORKDIR}"/pkg/${KERNEL}_${ARCH}/${GO_PN} + insinto /usr/lib/go/src/${GO_PN%/*} + doins -r "${WORKDIR}"/src/${GO_PN} +} diff --git a/app-admin/consul/files/bootstrap.json.example b/app-admin/consul/files/bootstrap.json.example new file mode 100644 index 000000000000..b7d573c0d2b3 --- /dev/null +++ b/app-admin/consul/files/bootstrap.json.example @@ -0,0 +1,4 @@ +{ + "server": true, + "bootstrap_expect": 1 +} diff --git a/app-admin/consul/files/consul.confd b/app-admin/consul/files/consul.confd new file mode 100644 index 000000000000..b15e19c77013 --- /dev/null +++ b/app-admin/consul/files/consul.confd @@ -0,0 +1,10 @@ +# you can change the init script behavior by setting those parameters +# - group (default: consul) +# - pidfile (default: /run/consul/consul.pid) +# - user (default: consul) + +# extra arguments for the consul agent +command_args="-config-dir=/etc/consul.d" + +# upstream strongly recommends > 1 +GOMAXPROCS=2 diff --git a/app-admin/consul/files/consul.initd b/app-admin/consul/files/consul.initd new file mode 100644 index 000000000000..1fb48d016aa1 --- /dev/null +++ b/app-admin/consul/files/consul.initd @@ -0,0 +1,40 @@ +#!/sbin/openrc-run +# Copyright 2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="consul agent" +extra_started_commands="reload" +export GOMAXPROCS=${GOMAXPROCS:-2} +group=${group:-${SVCNAME}} +pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} +user=${user:-${SVCNAME}} + +command="/usr/bin/${SVCNAME}" +command_args="agent -config-dir=/etc/consul.d ${command_args}" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ + --stderr /var/log/${SVCNAME}/${SVCNAME}.log" + +depend() { + need net + after net +} + +reload() { + ebegin "Reloading ${SVCNAME}" + ${command} reload + eend $? +} + +start_pre() { + checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" +} + +stop() { + # SIGINT is required for graceful shutdown of consul agent + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --signal SIGINT --pidfile "${pidfile}" + eend $? +} diff --git a/app-admin/consul/files/consul.service b/app-admin/consul/files/consul.service new file mode 100644 index 000000000000..496fe4814789 --- /dev/null +++ b/app-admin/consul/files/consul.service @@ -0,0 +1,16 @@ +[Unit] +Description=consul agent +Requires=network-online.target +After=network-online.target + +[Service] +User=consul +Environment=GOMAXPROCS=2 +Environment=CONSUL_AGENT_OPTS="-config-dir=/etc/consul.d" +ExecStart=/usr/bin/consul agent $CONSUL_AGENT_OPTS +Restart=on-failure +KillSignal=SIGINT +ExecReload=/usr/bin/consul reload + +[Install] +WantedBy=default.target diff --git a/app-admin/consul/files/data-dir.json.example b/app-admin/consul/files/data-dir.json.example new file mode 100644 index 000000000000..af162113af62 --- /dev/null +++ b/app-admin/consul/files/data-dir.json.example @@ -0,0 +1,3 @@ +{ + "data_dir": "/var/lib/consul" +} diff --git a/app-admin/consul/files/ui-dir.json.example b/app-admin/consul/files/ui-dir.json.example new file mode 100644 index 000000000000..e5cf7464b123 --- /dev/null +++ b/app-admin/consul/files/ui-dir.json.example @@ -0,0 +1,3 @@ +{ + "ui_dir": "/var/lib/consul/ui" +} diff --git a/app-admin/consul/metadata.xml b/app-admin/consul/metadata.xml new file mode 100644 index 000000000000..fb274723e247 --- /dev/null +++ b/app-admin/consul/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zmedico@gentoo.org</email> + </maintainer> + <maintainer> + <email>ultrabug@gentoo.org</email> + </maintainer> + <use> + <flag name="web">Build the web UI.</flag> + </use> +</pkgmetadata> |