From: Donnie Berkholz <dberkholz@gentoo.org>
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
Date: Mon, 29 Oct 2007 23:00:45 -0700 [thread overview]
Message-ID: <20071030060044.GB30328@supernova> (raw)
In-Reply-To: <E1Imae7-0007vQ-0j@stork.gentoo.org>
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
next parent reply other threads:[~2007-10-30 6:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Imae7-0007vQ-0j@stork.gentoo.org>
2007-10-30 6:00 ` Donnie Berkholz [this message]
2007-10-30 19:54 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-plugins: ChangeLog nagios-plugins-1.4.10-r1.ebuild Tobias Scherbaum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071030060044.GB30328@supernova \
--to=dberkholz@gentoo.org \
--cc=dertobi123@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox