|
|
|
@ -16,7 +16,7 @@ LICENSE="GPL-2"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
WEBAPP_MANUAL_SLOT="yes"
|
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
IUSE="+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle +postgres proxy server ssh ssl snmp sqlite odbc static"
|
|
|
|
|
IUSE="+agent agent2 java curl frontend ipv6 ldap libxml2 mysql openipmi oracle +postgres proxy server ssh ssl snmp sqlite odbc static"
|
|
|
|
|
REQUIRED_USE="|| ( agent frontend proxy server )
|
|
|
|
|
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
|
|
|
|
server? ( ^^ ( mysql oracle postgres odbc ) )
|
|
|
|
@ -32,7 +32,6 @@ COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
|
|
|
|
|
sqlite? ( >=dev-db/sqlite-3.3.5 )
|
|
|
|
|
postgres? ( >=dev-db/postgresql-8.1:* )
|
|
|
|
|
oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 )
|
|
|
|
|
xmpp? ( dev-libs/iksemel )
|
|
|
|
|
libxml2? ( dev-libs/libxml2 )
|
|
|
|
|
curl? ( net-misc/curl )
|
|
|
|
|
openipmi? ( sys-libs/openipmi )
|
|
|
|
@ -41,7 +40,8 @@ COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
|
|
|
|
|
odbc? ( dev-db/unixODBC )
|
|
|
|
|
server? ( sys-libs/zlib )
|
|
|
|
|
proxy? ( sys-libs/zlib )
|
|
|
|
|
ssl? ( dev-libs/openssl:=[-bindist] )"
|
|
|
|
|
ssl? ( dev-libs/openssl:=[-bindist] )
|
|
|
|
|
agent2? ( dev-lang/go )"
|
|
|
|
|
|
|
|
|
|
RDEPEND="${COMMON_DEPEND}
|
|
|
|
|
proxy? ( net-analyzer/fping[suid] )
|
|
|
|
@ -130,13 +130,13 @@ src_configure() {
|
|
|
|
|
$(use_enable ipv6) \
|
|
|
|
|
$(use_enable static) \
|
|
|
|
|
$(use_enable java) \
|
|
|
|
|
$(use_enable agent2) \
|
|
|
|
|
$(use_with ldap) \
|
|
|
|
|
$(use_with snmp net-snmp) \
|
|
|
|
|
$(use_with mysql) \
|
|
|
|
|
$(use_with postgres postgresql) \
|
|
|
|
|
$(use_with oracle) \
|
|
|
|
|
$(use_with sqlite sqlite3) \
|
|
|
|
|
$(use_with xmpp jabber) \
|
|
|
|
|
$(use_with curl libcurl) \
|
|
|
|
|
$(use_with openipmi openipmi) \
|
|
|
|
|
$(use_with ssh ssh2) \
|
|
|
|
@ -280,8 +280,7 @@ pkg_postinst() {
|
|
|
|
|
ewarn "custom alert scripts."
|
|
|
|
|
ewarn
|
|
|
|
|
ewarn "A real homedir might be needed for configfiles"
|
|
|
|
|
ewarn "for custom alert scripts (e.g. ~/.sendxmpprc when"
|
|
|
|
|
ewarn "using sendxmpp for Jabber alerts)."
|
|
|
|
|
ewarn "for custom alert scripts"
|
|
|
|
|
ewarn
|
|
|
|
|
ewarn "To change the homedir use:"
|
|
|
|
|
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|