mjo         14/11/22 21:19:19

  Modified:             metadata.xml ChangeLog
  Added:                nagios-plugins-2.0.3.ebuild
  Log:
  Version bump with permission from creffett, bug #522946.
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
0x6F48D3DA05C2DADB!)

Revision  Changes    Path
1.11                 net-analyzer/nagios-plugins/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/metadata.xml?rev=1.11&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/metadata.xml?rev=1.11&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/metadata.xml?r1=1.10&r2=1.11

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/metadata.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- metadata.xml        26 Jan 2014 03:39:11 -0000      1.10
+++ metadata.xml        22 Nov 2014 21:19:19 -0000      1.11
@@ -35,6 +35,10 @@
       Install <pkg>net-misc/openssh</pkg> required for monitoring SSH
       servers. Disabling the flag does not remove any plugin file.
     </flag>
+    <flag name='ssh'>
+      Install <pkg>net-misc/openssh</pkg> required for monitoring SSH
+      servers. Disabling the flag does not remove any plugin file.
+    </flag>
     <flag name='ups'>
       Install <pkg>sys-power/nut</pkg> required for monitoring
       compatible UPS units. Disabling the flag does not remove any



1.168                net-analyzer/nagios-plugins/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?rev=1.168&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?rev=1.168&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?r1=1.167&r2=1.168

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- ChangeLog   3 Nov 2014 13:26:54 -0000       1.167
+++ ChangeLog   22 Nov 2014 21:19:19 -0000      1.168
@@ -1,6 +1,12 @@
 # ChangeLog for net-analyzer/nagios-plugins
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 
1.167 2014/11/03 13:26:54 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 
1.168 2014/11/22 21:19:19 mjo Exp $
+
+*nagios-plugins-2.0.3 (22 Nov 2014)
+
+  22 Nov 2014; Michael Orlitzky <[email protected]> +nagios-plugins-2.0.3.ebuild,
+  metadata.xml:
+  Version bump with permission from creffett, bug #522946.
 
   03 Nov 2014; Aaron W. Swenson <[email protected]>
   nagios-plugins-1.4.16-r2.ebuild, nagios-plugins-1.4.16-r3.ebuild:



1.1                  net-analyzer/nagios-plugins/nagios-plugins-2.0.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-2.0.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-2.0.3.ebuild?rev=1.1&content-type=text/plain

Index: nagios-plugins-2.0.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-2.0.3.ebuild,v
 1.1 2014/11/22 21:19:19 mjo Exp $

EAPI=5

inherit eutils multilib user

DESCRIPTION="Official set of plugins for Nagios"
HOMEPAGE="http://nagios-plugins.org/";
SRC_URI="http://nagios-plugins.org/download/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres samba snmp 
ssh +ssl"

DEPEND="ldap? ( net-nds/openldap )
        mysql? ( virtual/mysql )
        postgres? ( dev-db/postgresql-base )
        ssl? ( dev-libs/openssl )"

# tests try to ssh into the box itself
RESTRICT="test"

RDEPEND="${DEPEND}
        dev-lang/perl
        mysql? ( virtual/mysql )
        nagios-dns? ( net-dns/bind-tools )
        nagios-ping? ( net-analyzer/fping )
        nagios-game? ( games-util/qstat )
        samba? ( net-fs/samba )
        snmp? ( dev-perl/Net-SNMP )
        ssh? ( net-misc/openssh )"

src_prepare() {
        # Fix the path to our perl interpreter
        sed -i -e '1s:/usr/local/bin/perl:/usr/bin/perl:' \
                "${S}"/plugins-scripts/*.pl || die
}

src_configure() {
        if use ssl; then
                myconf+="$(use_with ssl openssl /usr)"
        else
                myconf+=" --without-openssl --without-gnutls"
        fi

        econf \
                $(use_with mysql) \
                $(use_with ipv6) \
                $(use_with ldap) \
                $(use_with postgres pgsql /usr) \
                ${myconf} \
                --libexecdir=/usr/$(get_libdir)/nagios/plugins \
                --sysconfdir=/etc/nagios
}

DOCS=( ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ \
                NEWS README REQUIREMENTS SUPPORT THANKS )

pkg_preinst() {
        enewgroup nagios
        enewuser nagios -1 /bin/bash /var/nagios/home nagios
}

pkg_postinst() {
        elog "This ebuild has a number of USE flags which determines what 
nagios"
        elog "is able to monitor. Depending on what you want to monitor with"
        elog "nagios, some or all of these USE flags need to be set for nagios"
        elog "to function correctly. Plugins are installed into"
        elog "/usr/$(get_libdir)/nagios/plugins"
}




Reply via email to