From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ImkEi-0000zL-Qb for garchives@archives.gentoo.org; Tue, 30 Oct 2007 06:06:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9U64V6W029935; Tue, 30 Oct 2007 06:04:31 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9U60lkp023613 for ; Tue, 30 Oct 2007 06:00:47 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A2A2D65709; Tue, 30 Oct 2007 06:00:46 +0000 (UTC) Date: Mon, 29 Oct 2007 23:00:45 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, dertobi123@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-plugins: ChangeLog nagios-plugins-1.4.10-r1.ebuild Message-ID: <20071030060044.GB30328@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 9b7bf064-aa3a-4334-8eb0-42af87240bb5 X-Archives-Hash: 0838a442d9b91143cf5c527a1e8a7d33 On 19:51 Mon 29 Oct , Tobias Scherbaum (dertobi123) wrote: > 1.1 net-analyzer/nagios-plugins/nagios-plugins-1.4.10-r1.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.10-r1.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.10-r1.ebuild?rev=1.1&content-type=text/plain > src_install() { > 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 || die "sed failed" > sed -i -e '30s/use lib utils.pm;/use utils;/' \ > "${S}"/plugins-scripts/check_file_age.pl || die "sed failed" > > dodoc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING \ > ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT THANKS > > emake DESTDIR="${D}" install || die "make install failed" > > if use mysql || use postgres; then > dodir /usr/nagios/libexec > exeinto /usr/nagios/libexec > doexe "${S}"/contrib/check_nagios_db.pl > fi > > dodir /usr/nagios/libexec/ > mv "${S}"/contrib "${D}"/usr/nagios/libexec/contrib > > chown root:nagios "${D}"/usr/nagios || die "Failed Chown of ${D}usr/nagios" > chown -R root:nagios "${D}"/usr/nagios/libexec || die "Failed Chown of ${D}usr/nagios/libexec" > > chmod -R o-rwx "${D}"/usr/nagios/libexec || die "Failed Chmod of ${D}usr/nagios/libexec" > > chmod 04710 "${D}"/usr/nagios/libexec/check_icmp || die "Failed Chmod of ${D}usr/nagios/libexec/check_icmp" This may not be worth changing, but if you're ever working on it, fperms/fowners could be nice to use instead of these. It lets you clean out all those references to $D. Thanks, Donnie -- gentoo-dev@gentoo.org mailing list