summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-11-21 11:08:39 +0000
committerEldad Zack <eldad@gentoo.org>2004-11-21 11:08:39 +0000
commit595a85ed8e0c89a7a847e0e9c6d5abad7ad8d5dc (patch)
tree2f5de9acbcdd710c701966c836933565a00a2b91 /net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
parentadded conficts with app-misc/glimpse and dev-libs/tre as per bug #71795 (diff)
downloadhistorical-595a85ed8e0c89a7a847e0e9c6d5abad7ad8d5dc.tar.gz
historical-595a85ed8e0c89a7a847e0e9c6d5abad7ad8d5dc.tar.bz2
historical-595a85ed8e0c89a7a847e0e9c6d5abad7ad8d5dc.zip
contribs nitpicks
Diffstat (limited to 'net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild')
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
index ce97161ce881..f382aa80e148 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild,v 1.11 2004/10/25 03:05:45 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild,v 1.12 2004/11/21 11:08:39 eldad Exp $
inherit eutils
@@ -52,6 +52,13 @@ src_compile() {
}
src_install() {
+ # bring contribs into shape... (21 Nov 2004 eldad)
+ mv ${S}/contrib/check_compaq_insight.pl ${S}/contrib/check_compaq_insight.pl.msg
+ chmod +x ${S}/contrib/*.pl
+
+ sed -i -e '1s;#!.*;#!/usr/bin/perl -w;' ${S}/contrib/*.pl
+ sed -i -e '30s/use lib utils.pm;/use utils;/' ${S}/contrib/check_file_age.pl
+
dodoc AUTHORS CODING COPYING ChangeLog FAQ INSTALL LEGALNEWS README REQUIREMENTS ROADMAP Requirements
make DESTDIR=${D} install || die