Repoman feedback in sensu
This commit is contained in:
parent
187362f43d
commit
05bb423481
@ -7,6 +7,7 @@
|
|||||||
</flag>
|
</flag>
|
||||||
<flag name="backend">
|
<flag name="backend">
|
||||||
Install Sensu dashboard and backend server
|
Install Sensu dashboard and backend server
|
||||||
|
</flag>
|
||||||
<flag name="gcc">
|
<flag name="gcc">
|
||||||
Compile with GCC's Go compiler instead of Google's reference Go compiler (NOT SUPPORTED)
|
Compile with GCC's Go compiler instead of Google's reference Go compiler (NOT SUPPORTED)
|
||||||
</flag>
|
</flag>
|
||||||
|
@ -108,7 +108,7 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||||
|
|
||||||
IUSE="gcc systemd backend agent"
|
IUSE="agent backend gcc systemd"
|
||||||
|
|
||||||
BDEPEND+="
|
BDEPEND+="
|
||||||
!gcc? ( dev-lang/go )
|
!gcc? ( dev-lang/go )
|
||||||
@ -141,7 +141,7 @@ src_unpack() {
|
|||||||
if use backend && (use x86 || use arm) && [ ${I_KNOW_WHAT_IM_DOING} -eq 0 ]; then
|
if use backend && (use x86 || use arm) && [ ${I_KNOW_WHAT_IM_DOING} -eq 0 ]; then
|
||||||
die "Backend does not work reliably on 32bit hosts. If you really want this, re-emerge with I_KNOW_WHAT_IM_DOING=1"
|
die "Backend does not work reliably on 32bit hosts. If you really want this, re-emerge with I_KNOW_WHAT_IM_DOING=1"
|
||||||
fi
|
fi
|
||||||
tar -xf ${DISTDIR}/sensu-${PV}.tar.gz
|
tar -xf "${DISTDIR}"/sensu-${PV}.tar.gz
|
||||||
cd ${PN}-go-${PV}
|
cd ${PN}-go-${PV}
|
||||||
local TODAY=$(date +%Y-%m-%d)
|
local TODAY=$(date +%Y-%m-%d)
|
||||||
local BUILD_SIGNATURE="-X github.com/sensu/sensu-go/version.Version=${PV} -X github.com/sensu/sensu-go/version.BuildDate=${TODAY}"
|
local BUILD_SIGNATURE="-X github.com/sensu/sensu-go/version.Version=${PV} -X github.com/sensu/sensu-go/version.BuildDate=${TODAY}"
|
||||||
@ -187,4 +187,3 @@ pkg_postinst() {
|
|||||||
elog "Remember that this command has to be run WHILE sensu-backend service is running."
|
elog "Remember that this command has to be run WHILE sensu-backend service is running."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user