summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-23 21:28:49 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-23 21:28:49 +0000
commit2cde948aa648d6f17d6887fb99aafc123bf27dd6 (patch)
tree664bb99f40f4a0ba94279cbb5d859668133d9c51 /net-analyzer
parentMove from net-analyzer/nagios-nsca to net-analyzer/nsca, as the package work ... (diff)
downloadgentoo-2-2cde948aa648d6f17d6887fb99aafc123bf27dd6.tar.gz
gentoo-2-2cde948aa648d6f17d6887fb99aafc123bf27dd6.tar.bz2
gentoo-2-2cde948aa648d6f17d6887fb99aafc123bf27dd6.zip
Remove old and cleanup ebuild after pkgmove.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nsca/ChangeLog8
-rw-r--r--net-analyzer/nsca/nsca-2.7.2-r102.ebuild63
-rw-r--r--net-analyzer/nsca/nsca-2.7.2-r103.ebuild8
3 files changed, 9 insertions, 70 deletions
diff --git a/net-analyzer/nsca/ChangeLog b/net-analyzer/nsca/ChangeLog
index 959de3b72c40..1e83a582ed34 100644
--- a/net-analyzer/nsca/ChangeLog
+++ b/net-analyzer/nsca/ChangeLog
@@ -1,6 +1,10 @@
-# ChangeLog for net-analyzer/nagios-nsca
+# ChangeLog for net-analyzer/nsca
# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/ChangeLog,v 1.1 2012/08/23 21:27:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/ChangeLog,v 1.2 2012/08/23 21:28:49 flameeyes Exp $
+
+ 23 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> -nsca-2.7.2-r102.ebuild,
+ nsca-2.7.2-r103.ebuild:
+ Remove old and cleanup ebuild after pkgmove.
*nagios-nsca-2.7.2-r103 (23 Aug 2012)
diff --git a/net-analyzer/nsca/nsca-2.7.2-r102.ebuild b/net-analyzer/nsca/nsca-2.7.2-r102.ebuild
deleted file mode 100644
index 2d919a04ca14..000000000000
--- a/net-analyzer/nsca/nsca-2.7.2-r102.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/nsca-2.7.2-r102.ebuild,v 1.1 2012/08/23 21:27:08 flameeyes Exp $
-
-EAPI=4
-
-inherit multilib user
-
-DESCRIPTION="Nagios NSCA - Nagios Service Check Acceptor"
-HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="tcpd +crypt"
-
-DEPEND="crypt? ( >=dev-libs/libmcrypt-2.5.1-r4 )
- tcpd? ( sys-apps/tcp-wrappers )"
-
-RDEPEND="${DEPEND}
- sys-apps/openrc"
-
-S="${WORKDIR}/nsca-${PV}"
-
-pkg_setup() {
- enewgroup nagios
- enewuser nagios -1 /bin/bash /var/nagios/home nagios
-}
-
-src_configure() {
- use tcpd || export ac_cv_lib_wrap_main=no
- use crypt || export ac_cv_path_LIBMCRYPT_CONFIG=/bin/false
-
- econf
- --localstatedir=/var/nagios \
- --sysconfdir=/etc/nagios \
- --with-nsca-user=nagios \
- --with-nsca-grp=nagios
-}
-
-src_install() {
- dodoc LEGAL Changelog README SECURITY
-
- insinto /etc/nagios
- doins "${S}"/sample-config/nsca.cfg
- doins "${S}"/sample-config/send_nsca.cfg
-
- dobin src/send_nsca
-
- exeinto /usr/libexec
- doexe src/nsca
-
- newinitd "${FILESDIR}"/nsca.init nsca
-}
-
-pkg_postinst() {
- elog "If you are using the nsca daemon, remember to edit"
- elog "the config file /etc/nagios/nsca.cfg"
- elog ""
- elog "If you intend to use nsca with Icinga, make sure you"
- elog "change the value of command_file in nsca.cfg."
-}
diff --git a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild b/net-analyzer/nsca/nsca-2.7.2-r103.ebuild
index 1880d143b597..1640e116d908 100644
--- a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild
+++ b/net-analyzer/nsca/nsca-2.7.2-r103.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/nsca-2.7.2-r103.ebuild,v 1.1 2012/08/23 21:27:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/nsca-2.7.2-r103.ebuild,v 1.2 2012/08/23 21:28:49 flameeyes Exp $
EAPI=4
inherit multilib user eutils
-DESCRIPTION="Nagios NSCA - Nagios Service Check Acceptor"
+DESCRIPTION="Nagios Service Check Acceptor"
HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/nagios/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -22,8 +22,6 @@ RDEPEND="${DEPEND}
!minimal? ( || ( net-analyzer/icinga net-analyzer/nagios ) )
sys-apps/openrc"
-S="${WORKDIR}/nsca-${PV}"
-
pkg_setup() {
if ! use minimal; then
enewgroup nagios