commit:     0e9bc4dfd9a127bb30d220ba0b03a397c5c50616
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 13:44:22 2015 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 13:44:22 2015 +0000
URL:        https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=0e9bc4df

consul on portage by zmedico

 app-admin/consul/Manifest                 |  4 --
 app-admin/consul/consul-0.5.2.ebuild      | 71 -------------------------------
 app-admin/consul/consul-9999.ebuild       | 70 ------------------------------
 app-admin/consul/files/consul-agent.confd | 11 -----
 app-admin/consul/files/consul-agent.initd | 47 --------------------
 5 files changed, 203 deletions(-)

diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest
deleted file mode 100644
index 0e67c86..0000000
--- a/app-admin/consul/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX consul-agent.confd 382 SHA256 
f1c9bc500314f507f34362bea2b2e55258414b779c14e4f3ddc169aa78f875c2 SHA512 
1068517b4c64d9d12072e04c8b50ab0c9a57d0780c50a9e501d51af99d3fffd86cdcab6c913e23b1de187bc698ef0a79b6ac58cd2f28a425d74596a606f3dc62
 WHIRLPOOL 
08029897a59e6d74670e78f80d299a1c7a4b118e583067cd26a4bf385e40a4e5772a139f40c5e7fefea94f46408b3eeb36d906352c3ff9c9f7a2cc200414c174
-AUX consul-agent.initd 1269 SHA256 
2799e56571fc6359d291592d1350e0754dc792f138746aa246f3cd25132039ca SHA512 
746d233ddd68f5343c526356a00d4af032917832d33b2695639cdce7f7e829335ddc2f1ecdf2bba0c76f5ceb14ca6a3f542e2e7ff450f504e775667082ae1286
 WHIRLPOOL 
55050e26d28034bf7473260dee0ee2d4a4313ec97aceb0de07e5b872103beca99f7e211a2ea8160cdd2f114d4c67b8845823cdc979c66525d5cd4c12129ec369
-EBUILD consul-0.5.2.ebuild 1222 SHA256 
0036dde3278181656a70804f2d636ffa07563521ca59cbcf371d96af081299e7 SHA512 
afccca73fad04ad29dd427ff00927d08808b8c2020ed52bf84ba437a124a1f3db5e4f7431564c148c357fdbd85fbce2780d77749ebe5dfd910cd3299e4e78f0f
 WHIRLPOOL 
1326bd780a0a80945decaf1e87a95d9a423935fa1b54d48fcdfede3a90ccc8410f663557e2ff6de4cf71ff609e39fdd4e141a04d84c56f34ab026f162a073a7c
-EBUILD consul-9999.ebuild 1221 SHA256 
85fc7b1ae380fd0c53b2e6b2be3b186ef0d7b1598c888ecfa695a5df8e908c7f SHA512 
cd96aaa135bb3f034f0fa37dd27c4fcc63ace8c2bd078b39399d55c719ef889c64fa2f218863171295cb7712991e0f28995703a3db2a2d2d3990b1b7fe51aee9
 WHIRLPOOL 
7a5c12163b60f6bec384570cb685aba683b3866cd44865f17fb44700e103b23da52fd09f41d6a410d4e599226143f3da7b3e44f792c3ca7e276cef5bc822188b

diff --git a/app-admin/consul/consul-0.5.2.ebuild 
b/app-admin/consul/consul-0.5.2.ebuild
deleted file mode 100644
index 7451f69..0000000
--- a/app-admin/consul/consul-0.5.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-DESCRIPTION="tool for service discovery, monitoring and configuration."
-HOMEPAGE="http://www.consul.io";
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/hashicorp/consul.git"
-S="${WORKDIR}/src/github.com/hashicorp/${PN}"
-
-if [[ ${PV} == *9999 ]]; then
-       KEYWORDS=""
-else
-       EGIT_COMMIT="v${PV}"
-       KEYWORDS="~amd64 ~x86"
-fi
-
-inherit git-2 user
-
-LICENSE="MPL-2.0"
-SLOT="0"
-IUSE="web"
-
-DEPEND=">=dev-lang/go-1.4
-       dev-vcs/git
-       dev-vcs/mercurial
-       web? ( dev-ruby/bundler dev-ruby/sass )"
-RDEPEND="${DEPEND}"
-
-
-pkg_setup() {
-       enewgroup consul
-       enewuser consul -1 -1 /var/lib/${PN} consul
-}
-
-src_compile() {
-       # create a suitable GOPATH
-       export GOPATH="${WORKDIR}"
-
-       # let's do something fun
-       emake
-
-       # build the web UI
-       if use web; then
-               cd ui
-               bundle
-               emake dist
-       fi
-}
-
-src_install() {
-       dobin bin/consul
-
-       dodir /etc/consul.d
-
-       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-agent.initd" "${PN}-agent"
-       newconfd "${FILESDIR}/consul-agent.confd" "${PN}-agent"
-}

diff --git a/app-admin/consul/consul-9999.ebuild 
b/app-admin/consul/consul-9999.ebuild
deleted file mode 100644
index dead9aa..0000000
--- a/app-admin/consul/consul-9999.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-DESCRIPTION="tool for service discovery, monitoring and configuration."
-HOMEPAGE="http://www.consul.io";
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/hashicorp/consul.git"
-S="${WORKDIR}/src/github.com/hashicorp/${PN}"
-
-if [[ ${PV} == *9999 ]]; then
-       KEYWORDS=""
-else
-       EGIT_COMMIT="v${PV}"
-       KEYWORDS="~amd64 ~x86"
-fi
-
-inherit git-2 user
-
-LICENSE="MPL-2.0"
-SLOT="0"
-IUSE="web"
-
-DEPEND=">=dev-lang/go-1.4
-       dev-vcs/git
-       dev-vcs/mercurial
-       web? ( dev-ruby/bundler dev-ruby/sass )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-       enewgroup consul
-       enewuser consul -1 -1 /var/lib/${PN} consul
-}
-
-src_compile() {
-       # create a suitable GOPATH
-       export GOPATH="${WORKDIR}"
-
-       # let's do something fun
-       emake
-
-       # build the web UI
-       if use web; then
-               cd ui
-               bundle
-               emake dist
-       fi
-}
-
-src_install() {
-       dobin bin/consul
-
-       dodir /etc/consul.d
-
-       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-agent.initd" "${PN}-agent"
-       newconfd "${FILESDIR}/consul-agent.confd" "${PN}-agent"
-}

diff --git a/app-admin/consul/files/consul-agent.confd 
b/app-admin/consul/files/consul-agent.confd
deleted file mode 100644
index 03243c2..0000000
--- a/app-admin/consul/files/consul-agent.confd
+++ /dev/null
@@ -1,11 +0,0 @@
-# you can change the init script behavior by setting those parameters
-# - data_dir (default: /var/lib/consul/${SVCNAME})
-# - group (default: consul)
-# - pidfile (default: /run/consul/${SVCNAME}.pid)
-# - user (default: consul)
-
-# extra arguments for the consul agent
-command_args="-server -config-dir=/etc/consul.d -bootstrap"
-
-# upstream strongly recommends > 1
-export GOMAXPROCS=10
\ No newline at end of file

diff --git a/app-admin/consul/files/consul-agent.initd 
b/app-admin/consul/files/consul-agent.initd
deleted file mode 100644
index 19ad385..0000000
--- a/app-admin/consul/files/consul-agent.initd
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-data_dir=${data_dir:-"/var/lib/consul/${SVCNAME}"}
-group=${group:-consul}
-pidfile=${pidfile:-"/run/consul/${SVCNAME}.pid"}
-user=${user:-consul}
-
-command="/usr/bin/consul"
-command_args="agent -data-dir=${data_dir} ${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} --stdout 
/var/log/consul/${SVCNAME}.log --stderr 
/var/log/consul/${SVCNAME}.telemetry.log"
-
-description="tool for service discovery, monitoring and configuration."
-extra_started_commands="reload telemetry"
-
-depend() {
-       need hostname
-       use net
-}
-
-reload() {
-       ebegin "Reloading ${SVCNAME}"
-       start-stop-daemon --signal SIGHUP --pidfile "${pidfile}"
-       eend $?
-}
-
-start_pre() {
-       checkpath -d -m 0750 -o "${user}":"${group}" $(dirname "${pidfile}")
-}
-
-stop() {
-       # We need to override the default stop function
-       # because it uses SIGTERM whereas consul needs a SIGINT
-       # to shutdown gracefully
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --signal SIGINT --pidfile "${pidfile}"
-       eend $?
-}
-
-telemetry() {
-       ebegin "Logging telemetry for ${SVCNAME}"
-       start-stop-daemon --signal SIGUSR1 --pidfile "${pidfile}"
-       eend $?
-}
\ No newline at end of file

Reply via email to